Using the app
The chat screen piece by piece, plus everything built around it: modes, approvals, sandboxing, review and shipping, checkpoints, goals, stored workflows, and parallel conversations. Shortcuts are written as Cmd+… — use Ctrl instead on Windows and Linux.
The chat screen, piece by piece
The header
- Mode selector — three color-coded buttons: Plan Build Fast. See Modes.
- Model selector — switch the active model for this chat. It's searchable: type to filter long model lists.
- think — extended-thinking level (off / low / medium / high / xhigh / max). Higher levels are slower but better on hard problems; which levels apply depends on the selected model.
- auto-approve — the "yolo" switch. On, the agent runs tools and edits files without asking; off, you approve each sensitive action.
- sandbox — run this chat's shell commands inside an OS-level sandbox. While it's on, a green shield chip appears next to the switch — click it to configure network access and allowed paths. See Full sandbox.
- Threads (Cmd+P) — switch, rename, clone, or delete conversation threads. See Threads and subchats.
- checkpoints — a quick popover listing the chat's rollback checkpoints (auto and named, with ages and tags), deep-linking to the checkpoint manager. See Checkpoints.
- details — toggle the details panel: a resizable side panel with the chat's changed files, live tasks, latest plan, session timeline, and the branch's open-PR comments.
-
The ⋯ menu — occasional tools live behind the ⋯ button:
Code review (review this chat's changes or an open PR/MR, see
Agent code review),
Verify work (per-chat Default / On / Off override for the
self-verification pass, see Confidence & verification),
Auto-continue (per-chat Default / On / Off override for resuming runs
that stop with unfinished tasks, see
Auto-continue for long task lists),
Observational memory (
/omstatus and tuning), Scheduled runs (/schedules— recurring agent runs, see Scheduled runs), Workflows (/workflows— reusable workflow run-books, see Workflows), Session insights (an agent-written summary of the chat, see Session insights), PR subscriptions (/github), MCP servers (live status of this chat's MCP servers with a quick per-server enable/disable switch — no trip to Settings needed), Open folder in… (reveal the chat's folder in your file manager — Finder, File Explorer, Files — or open it in a detected editor or terminal such as VS Code, Cursor, Zed, Terminal, iTerm, Warp, or Ghostty), Export transcript (download the thread as a Markdown file), and Context audit (/context).
The transcript
- Tool calls appear as expandable cards — click one to see the exact command, file diff, or output.
- Approval prompts appear inline when the agent wants to do something sensitive, with Allow once / Always allow / Deny buttons.
- Plan approval: in Plan mode the agent ends with a plan card with two choices — Approve plan & build (the agent switches to build mode and starts implementing) or Request changes (reject it and tell the agent what to revise).
- Questions from the agent appear as answer cards with options or a free-text field.
- Task checklist — when the agent breaks work into tasks, a collapsible "Tasks n/m" strip appears under the header showing live progress. It hides itself when everything is done.
- Marker lines — actions triggered from buttons (like reviews) don't post a user bubble; the transcript shows a compact muted one-liner (e.g. "Review: PR #42 — fix auth") instead. Hover it to roll back, like any message.
- Git activity badges — when the agent commits, pushes, merges, or switches branches during a turn, small badges under the reply summarize it at a glance (e.g. "2 commits", "pushed", "→ branch-name").
- Copy a message — hover any message and click the copy button to grab its text, or select any text in the transcript and use the floating Copy button that appears next to the selection. A Quote button next to it drops the selection into the composer as an attachment, so your next prompt can reference it.
- Find in chat — Cmd+F opens a search overlay with a match counter; Enter / Shift+Enter step through matches, Esc closes.
-
Mermaid diagrams —
mermaidcode blocks in agent replies render as diagrams (flowcharts, sequence diagrams, …), following the app theme; invalid syntax falls back to the plain code block. - Follow-up suggestions — after finishing a substantial task the agent proposes next steps as clickable chips under its reply. Clicking one prefills the composer (never auto-sends) so you can edit before sending; dismiss the row with the ×. On by default — turn off in Settings → Preferences.
The composer
- Enter sends; Shift+Enter inserts a newline.
-
/opens slash-command autocomplete (arrow keys to navigate, Tab to complete, Enter to run). -
@searches project files and inserts a mention so the agent looks at that file. -
!searches the project's knowledge notes by title and attaches the chosen note's text to your prompt as a chip — for notes you want in one specific prompt without pinning them. - Attachments — click the paperclip, or paste/drag-and-drop files straight into the composer. Images and PDFs are sent to the model directly; any text-like file (markdown, logs, CSV, source files, config files, … — detected by content, not just extension) is inlined into the prompt so any model can read it. Pasting a long block of text turns it into an attachment chip instead of flooding the composer.
- Mic button — voice dictation, if enabled. See Voice dictation.
- Goal button — set an objective the agent works toward across runs. The button is color-coded once a goal is set: blue while active, amber when paused, green when done. See Goals.
- While the agent is running, the send button becomes Queue: messages you send are queued in a strip above the composer and delivered in order when the current run finishes. Queued prompts can be dragged to reorder, edited inline, copied, or dismissed. The red square button stops the current run. Quitting the app while agents are still running asks for confirmation first.
- Send now — to correct the agent without waiting, press the lightning button (or Send now on a queued prompt): the message reaches the running agent at its next step. Unavailable while an approval or question is pending.
-
btw button — opens a side panel for a quick question about this chat
that never enters the main conversation (also
/btw). See Working across chats. - Drafts are automatic — whatever you've typed is saved per chat, so switching chats or restarting the app never loses an unfinished prompt.
The details panel
The details button in the chat header opens a side panel next to the transcript (drag its edge to resize) with live sections:
- Changed files — everything modified in the chat's worktree, with per-file additions/deletions; click a file to view it.
- Tasks — the agent's current task checklist as it progresses.
- Plan — the most recent plan the agent submitted.
- Timeline — a chronological record of the session: your prompts, commands the agent ran (with pass/fail status), file changes (click one to open it in the IDE), subagent runs, model switches, and checkpoints.
-
PR comments — when the chat's branch has an open pull request (GitHub,
via the
ghCLI), its comments and reviews appear here and refresh periodically.
The command palette
Press Cmd+K anywhere to open the command palette. It fuzzy-searches across slash commands (commands that take arguments prefill the composer instead of running immediately), tabs, settings sections, and your chats — one keystroke to run, jump, or switch.
Modes: Plan, Build, Fast
| Mode | Color | What it does |
|---|---|---|
| Plan | blue | Read-only research. The agent explores and proposes a plan for approval. |
| Build | green | Full agent: edits files, runs commands, commits. |
| Fast | amber | A lighter/faster model for quick tasks and questions. |
Switch with the header buttons or /plan, /build,
/fast. Each chat remembers its own mode across restarts, and each mode can
have its own default model (Settings → Models).
A good rhythm for nontrivial work: start in Plan, let the agent explore and propose, approve the plan, and let it flip to Build to execute.
Confidence & verification
Confidence ratings
When the agent takes on a task it states how confident it is that it understood the request and can deliver: a green / yellow / red confidence chip appears inline on the reply that rated the task (and on plan cards), with the agent's reasoning in the tooltip. The agent rates every new task you give it, so each chip scores exactly the task it sits next to. On yellow or red the agent asks clarifying questions before diving in rather than guessing.
Ratings are on by default and can be turned off in Settings → Preferences. They rely on the model following instructions — if a model doesn't emit a rating, the chip simply doesn't appear; nothing is blocked.
Verify work before finishing
An opt-in self-verification pass: before declaring a task done, the agent discovers the project's own checks (test/lint/build scripts, Makefile targets, CI config), runs them, fixes failures, and re-runs — and reports honestly if something still fails instead of claiming success. When the browser tool is configured it can also smoke-test the running app.
Off by default. Enable it globally in Settings → Preferences, or per chat via Verify work in the chat header's ⋯ menu (Default follows the global setting). Expect longer, more thorough runs when it's on.
Auto-continue for long task lists
On long task lists, models sometimes end a turn with items still unfinished — leaving you to type "continue" over and over. Auto-continue does that for you: when a run ends normally but the agent's task list still has pending or in-progress items, Yardarm sends a hidden continue prompt and the run resumes. Each round adds an Auto-continued line to the transcript so you can see it working.
It never fires after you press Stop, after an error or stall, or while the agent is waiting on a question or approval — only after a clean finish with work left. Two safeties stop runaway loops: a budget of 25 rounds per prompt (any message from you re-arms it), and a no-progress check — if a round changes nothing on the task list, auto-continue stops and tells you.
Off by default. Enable it globally in Settings → Preferences (Auto-continue unfinished tasks), or per chat via Auto-continue in the chat header's ⋯ menu (Default follows the global setting).
Approvals and permissions
Unless auto-approve is on, the agent asks before sensitive actions (running commands, editing files, calling MCP tools). Each prompt offers:
- Allow once — just this call.
- Always allow — this tool for the rest of the session.
- Deny — block it and tell the agent why, if you like.
For finer control, run /permissions to open the permissions panel: per
category (read / edit / execute / MCP / other) and per tool, set
allow / ask / deny for the session.
The auto-approve switch in the header is the blunt instrument: everything runs without asking. Recommended only in isolated worktrees (the default) and projects you can afford to roll back.
Full sandbox (OS isolation)
Approvals control whether a command runs; the full sandbox controls what it can
touch once it does. Flip the sandbox switch in the chat header (or run
/sandbox) to execute the agent's shell commands inside an OS-level sandbox —
seatbelt on macOS, bubblewrap on Linux (install the bwrap package first). Not
available on Windows.
What it does — and, honestly, what it doesn't:
- Writes are contained. Sandboxed commands can only write inside the chat's worktree, the sandbox allowed paths, and temp directories; writes anywhere else fail.
- Reads are not restricted. The sandbox limits damage, not what the agent can look at.
- Network is all-or-nothing. Allowed by default; the Allow network switch blocks it entirely (installs, fetches, and pushes will fail while blocked).
If the agent needs to write somewhere else, it asks with a sandbox access request card — approving adds that directory to the allowed paths, and the grant applies to sandboxed commands immediately, no restart needed. With auto-approve (YOLO) on, these requests are granted automatically like any other tool call.
The setting persists per chat, and a green shield chip appears in the header while it's active (with "no net" when the network is blocked) — click it to reconfigure. Defaults for new chats live in Settings → Preferences → Agent sandbox. Pairs well with auto-approve: yolo speed, contained blast radius.
The same /sandbox dialog holds the rest of the session's settings: smart
editing, completion notifications, and a skip global instructions switch
that leaves your ~/.mastracode global agent instructions out of this one
session (project instructions still apply).
Token compression
Long sessions accumulate big tool outputs the model keeps re-reading on every turn. Flip Token compression in Settings → Preferences to shrink stale tool outputs in the prompt sent to the model:
- duplicate results are replaced with a stub pointing at the first occurrence
- big homogeneous JSON arrays are crushed to their head and tail (error-like items are preserved), including arrays nested one level inside objects
- noisy text is cleaned: ANSI color codes stripped, repeated log lines collapsed
-
outputs are compressed by what they are: build/server logs lose progress bars, repeated
lines, and the middle of deep stack traces; unified diffs are compacted without dropping
a single
+/-line (only context and, if needed, whole trailing hunks); HTML is stripped to its text - anything still long is reduced to a head+tail excerpt
Recent turns are never touched, and compression is reversible: every replacement names its
toolCallId, and the agent can fetch the original via the built-in
retrieve_full_output tool (or just re-run the original tool). The toggle is
global and applies to all chats immediately, no restart needed. Stored chat history is
never modified: compression happens transiently per model call, so transcripts, rollbacks,
and threads are unaffected. The estimated tokens saved show up as a green
Saved by compression line in the cost popover (/cost) and as
a green figure next to the usage counter in the chat header while compression is on.
The separate Verbosity steering switch in the same card appends a short constant instruction to the system prompt asking the agent not to restate tool outputs and to keep replies brief — it works with or without output compression and doesn't disturb provider prompt caching.
Reviewing and shipping changes
The Changes tab (Cmd+4) is a full review-and-ship surface for the chat's worktree:
- Diffs — side-by-side Monaco diffs of every changed file.
- Quote diff lines — select text in any diff and a floating Quote button appears: it drops the selection into the chat composer as an attachment named after the file and switches to the Chat tab, so you can ask about exactly those lines.
- Stage / unstage files and commit with a message. Drag the file list's right edge to resize it.
- Commit history for the worktree branch.
-
Push, pull, and merge into base —
merge the
yardarm/…branch back into the branch you started from, or use the CLI integration for PR/MR flows:ghfor GitHub repos,glabfor GitLab (the PR title is prefilled from your last commit). The host is auto-detected from the origin remote; for self-hosted instances set it explicitly in Project Settings → General → Repository host. - Draft with AI — inside the Create PR/MR dialog, the Draft with AI button has the chat's agent read the branch's commits and diff and write the PR title and description for you. Both fields stay editable, so polish before creating. Needs the chat's agent to be idle.
- Branch switching — the branch selector checks out another branch. If the working tree has uncommitted changes, Yardarm asks first: stash them and switch, carry them over, or cancel.
- Agent review — the magnifier button asks the chat's agent to review the branch's local changes. See Agent code review.
- Compare against any branch — the compare button in the header diffs the worktree against another branch (from their merge-base), read-only: staging and committing come back when you switch back to Current (HEAD).
Nothing the agent does in a worktree touches your own checkout until you merge it.
Commenting, partial reverts, and PR checks
- Line comments — hover a diff line and click the + in the gutter (or select lines and choose Comment) to leave a draft comment. Drafts collect across files in the Review comments bar; Send to agent puts all of them — with file, lines and quoted code — into the message box as one prompt for you to send.
- Revert this change — under each changed block of a file, reverts just that block instead of discarding the whole file.
- Merge conflicts — if merging or pulling hits conflicts, the merge is aborted so your project folder is never left half-merged, and Have the agent resolve it prefills a prompt asking the agent to merge the base branch into the chat's branch and fix the conflicts there.
- PR checks — when the chat's branch has a pull/merge request, the details panel shows its CI checks. Fix failing checks hands the failures to the agent; Merge when ready turns on auto-merge.
- Open tasks — the merge and create-PR dialogs warn if the agent's task list still has unfinished items.
Agent code review
Pick Code review from the ⋯ menu in the chat header (or type
/review) to open the review picker:
- Review local changes — reviews the branch's committed work against its base branch, plus anything uncommitted.
-
Open PRs / MRs — pick any open pull request (GitHub, requires the
GitHub CLI,
gh) or merge request (GitLab, requires the GitLab CLI,glab) from the list to review it. - The optional focus field steers the review toward a specific concern ("error handling", "security", a file name, …).
- A reviewer persona selector applies a named reviewer profile — e.g. a "security reviewer" or an "API-compatibility hawk" — defined in Project Settings → General → Reviewers (a name plus instructions describing what that reviewer cares about).
Each finding in the review carries a severity tag (critical / major / minor / nit) and a confidence tag (high / medium / low), so you can triage at a glance.
Reviews run silently: no user message is posted — the transcript just shows a compact "Review: local changes" or "Review: PR #42 — …" marker line (hover it to roll back, like any message). If a run is already active, the review queues behind it.
When the review finishes, a follow-up bar appears above the composer:
-
Post review as PR/MR comments — the agent posts its findings on the PR
with
gh(or the MR withglab; comment only — it never approves or requests changes). Offered after PR/MR reviews, and after local reviews when the branch has an open PR/MR. - Build a plan to execute — switches to Plan mode and turns the findings into a prioritized implementation plan for approval.
If the agent performed the review but never wrote the findings out, the bar says so and offers a one-click nudge that asks the agent to share the review it just did — the comment/plan follow-ups appear once it does.
The same review can be started from the magnifier button on the Changes tab or from the
keyboard: /review changes (local), /review <pr-number> (a
PR or MR), /review alone (list open PRs/MRs to pick from); append a focus to
either form, e.g. /review 42 security.
Codebase Q&A (Ask)
Ask answers questions about the codebase read-only — the agent explores
but never edits files or runs state-changing commands. Answers cite their sources as
clickable path:line references that open the file in the IDE at that line.
Great for "where is X handled?" or "how does Y work?" before you start a task.
- Ask panel — the Ask button on the Wiki tab (and the question-mark button in the sidebar footer, which opens the wiki with the panel) slides out a Q&A panel on the right, so the wiki stays visible and navigable while you ask. Questions run in a hidden, per-project "Codebase Q&A" chat (no worktree — it answers about the project's current state); answers stream right in the panel, and follow-up questions share the same context. No chat needs to be selected.
-
/ask in a chat —
/ask <question>runs the same read-only Q&A inside the current chat, handy when the question relates to work already underway there.
Repo wiki
The Wiki tab (book icon in the tab bar or the sidebar footer) holds
agent-generated architecture docs for the selected project: an overview page with a
Mermaid diagram plus a page per major module, with clickable path:line source
references that open the IDE and links between pages.
-
Generate — click Generate (or run
/wiki generate): generation runs behind the scenes in a dedicated "Repo wiki" chat the app creates for the project — no chat selection needed, and your own chats stay untouched (the app-managed chat is hidden from the sidebar chat list; View run opens it when needed). Tool calls in that chat are auto-approved so the run never stalls waiting for permission; it only writes into the git-excluded staging folder. The Wiki tab shows progress with a View run button to watch the run; pages are collected automatically when it finishes. If the agent asks a question, the banner turns amber ("waiting for your input") — open the run and answer to continue. If the run fails (for example an expired provider sign-in), a red banner on the Wiki tab shows the error with a View run link. -
Storage — pages live in Yardarm's app data folder, per project — never
inside your repository, so diffs, reviews, and commits stay clean. (The temporary
.yardarm-wiki/staging folder the agent writes to is git-excluded and removed on collection.) See Workspace. - Staleness — when the repository has new commits since generation, a banner shows how many commits behind the wiki is, with a one-click Refresh.
-
/wikiopens the tab; the trash button deletes all pages (regenerate any time).
Checkpoints and rollback
Every message you send pins a checkpoint: a real git ref
(refs/yardarm/checkpoints/*) snapshotting the worktree at that moment.
To rewind, hover over one of your messages and click the circular-arrow pill next to it (it only appears when there is actually something to roll back). Confirming will:
- Restore all files to the snapshot taken just before that message.
- Remove that message and everything after it from the conversation.
- Put the message text back in the composer so you can edit and resend it.
- Tell the agent (on your next message) that a rollback happened, so it doesn't act on stale memory.
A fork pill may appear beside the rollback pill — that branches the conversation into a new subchat tab instead of rewinding it. See Threads, forking, and split view.
The checkpoint manager
The checkpoints panel in the Changes tab gives you the full picture: every checkpoint of the chat — the automatic per-message ones and any you created yourself — in one list. From there you can:
- Create a named checkpoint now, before trying something risky.
- Rename or tag checkpoints so the important ones stand out.
- Compare any two checkpoints as a read-only diff to see exactly what changed between two moments.
- Prune stale automatic checkpoints that are no longer referenced by any message (rollback targets are never pruned).
The checkpoints button in the chat header shows the same list as a quick popover — each checkpoint's name (or short id), auto/named badge, age, and tag — with a one-click jump to the manager in the Changes tab.
Checkpoints are ordinary git refs inside the repository — they never leave your machine and don't appear on your branches.
Goals: let the agent run to completion
For bigger objectives, click the Goal button in the composer (or use
/goal) and describe the outcome you want. The agent keeps working across runs
until an independent judge model agrees the goal is met — not just until
the agent claims it is.
By default Set goal & start kicks off a run toward the goal immediately. Untick Start working right away if you'd rather set the goal first and launch it with your own detailed prompt — the judge then starts evaluating from your next message. If a run is already in progress, the goal simply attaches to it. Resuming a paused goal also picks the work back up right away when the agent is idle.
In the goal popover you can:
- set or edit the objective,
- choose the judge model,
- cap the number of runs,
- pause/resume, or clear the goal.
A banner above the transcript shows live goal status: blue while active, amber when paused, green when the judge signs off.
The popover also keeps an evaluation history: every past objective with its per-iteration pass/fail verdicts and the judge's reasoning, so you can see how a goal converged (or why it kept failing) long after it finished.
Scheduled runs
Scheduled runs fire a prompt on a recurring cadence — a nightly
dependency audit, a weekly changelog draft, an hourly health check. Open them from the
chat header's ⋯ menu (or /schedules).
- Cadence — every N minutes (up to 7 days), daily at a time, or weekly on a day — local wall-clock time.
- Prompt or workflow — a schedule fires either a prompt or a workflow: workflow schedules run the linked stored definition instead of sending text.
- Where runs land — each schedule gets its own dedicated chat ("Schedule: <name>"), created on first fire, so recurring output never clutters your working chats. Schedules can optionally run in an isolated worktree.
- Controls — each schedule shows its next-run countdown and last-run status, with enable/disable, Run now, edit, and delete.
- Overlap — if the schedule's chat is still busy when the next fire comes due, that fire is skipped (shown as "skipped"), never queued — a recurring prompt that stacked up behind a long run would replay itself.
Schedules fire only while Yardarm is open; an overdue schedule fires once at launch, then re-anchors to its normal cadence.
Not the same as the agent's experimental schedule tools (Settings →
Preferences): those give the agent schedule_* tools to manage recurring
prompts on its own thread, and they live inside one agent process — they end when it
exits. Scheduled runs are managed by the app and survive restarts.
Workflows: save and re-run multi-step processes
When you find yourself asking the agent for the same multi-step process again and again,
ask it to save the process as a workflow. The agent builds a stored
workflow definition in chat, and from then on it's a repeatable procedure
you can run on demand — no re-explaining, no forgotten steps. Stored definitions are
shared with the mastracode CLI.
Where workflows shine:
- Release checklists — bump the version, run the test suite, build the installers, draft the release notes, tag: one workflow, the same way every time.
- Repeated multi-step refactors — apply the same mechanical transformation (rename a pattern, migrate an API, update imports) across the codebase, module by module, whenever the next batch is ready.
- Codebase audits — a standing security / dependency / dead-code audit you re-run before every release and get comparable results each time.
- PR-review pipelines — fetch the PR, review it with your team's checklist, summarize the findings, and post the comments — the same rigor for every review.
- Scaffolding routines — "new API endpoint", "new React feature folder", "new microservice": generate the files, tests, and docs your conventions require, fed with a JSON input for the parts that vary (names, paths, options).
The Workflows library — open it from the chat header's ⋯ menu or
/workflows — wraps each stored definition in a named, reusable run-book: a
friendly name and description, a linked definition, and default inputs — so a repeatable
process is one click away instead of a raw definition id and a JSON blob.
- Create — pick one of the project's stored definitions, name it, and optionally set default JSON input. No definition yet? Draft with agent sends your description to the chat's agent, which builds and saves a definition with its workflow tools — then link it.
- Run — when the definition declares a simple input schema, the Run view shows a real form (text / number / toggle fields) seeded from the defaults; otherwise you get a raw-JSON editor. Runs execute in the active chat's agent host, drop a "Workflow" marker into the transcript, and show per-step results; each workflow remembers its last run status.
- Schedule — a scheduled run can fire a workflow instead of a prompt. Deleting a workflow disables schedules linked to it rather than letting them fire nothing.
The raw definitions live in Project Settings → Workflow definitions: the tab lists each stored definition with its description and lets you run one directly, view and edit its stored JSON (fully validated before anything is saved), or delete ones you no longer need. For bigger changes, just ask the agent in chat and have it save the definition again.
Naming things: workflow definitions are the step sequences stored by the agent runtime (shared with the CLI); workflows are Yardarm's run-books over them — metadata, input forms, and scheduling. Deleting a workflow entry never deletes its stored definition.
Session insights
Pick Session insights from the chat header's ⋯ menu for an agent-written summary of the conversation: an Outcome section, What changed, and Risks & follow-ups — plus the chat's total token usage and when the summary was generated. Generation runs silently in the chat (a compact marker line appears in the transcript); Regenerate replaces the saved summary any time. Useful before handing a branch to a teammate or picking a chat back up after a few days.
Knowledge notes & agent knowledge
Two distinct systems share the "knowledge" name — one you write, one the agent writes.
Knowledge notes (you write them)
Knowledge notes (Project Settings → Knowledge) are durable, user-authored
facts the agent should always know about the project — "deploys go through
make release", "never touch legacy/". Each note can be:
- Pinned — its full text rides along in the agent's instructions on every run.
-
Unpinned — only its title is listed; the agent fetches the body on
demand with the auto-approved
knowledge_note_lookuptool, keeping prompts lean.
Notes can be toggled off without deleting, and there's a pinned-size budget so instructions stay bounded. Edits apply at the next run — running chats in the project restart.
Triggers — give a note trigger keywords (comma-separated) and its full text is injected automatically whenever a prompt you send mentions one (whole-word, case-insensitive). A small "Injected knowledge notes" marker in the transcript shows which notes matched. Pinned notes skip triggers — they're always present anyway.
! macros — type ! in the composer to search the project's
notes by title and attach the chosen note's body to your prompt as a text chip — handy for
notes you want in one specific prompt without pinning or triggers.
Suggested notes — when you correct the agent or it learns something durable, it may end its reply with a suggestion; a card appears under the reply with Save (lands in the Knowledge tab, unpinned, marked "suggested") and Dismiss. On by default — turn off via Suggest knowledge notes in Settings → Preferences.
Agent knowledge base (the agent writes it)
With Knowledge enabled, the agent builds up durable notes about your
project — knowledge it captures and reuses across conversations. It's experimental and off
by default: turn it on in Settings → Preferences → Experimental (shared
with the CLI's "Experimental Knowledge" setting), then restart running agents. Once on,
agents get knowledge tools (including knowledge_list) and
/knowledge opens the knowledge browser:
- Scopes — browse knowledge attached to the whole organization, the current project (resource), or just this thread.
- Nodes — each entry shows its kind, age, and record count; open one to read its full markdown content, its individual records, where it's mentioned, and related nodes (click a related node to jump to it).
Knowledge lives in mastracode's shared local storage, so the CLI sees the same knowledge base.
Working across chats
-
Inbox (
/inbox, Cmd+I, or the inbox button at the bottom of the sidebar) — every chat across all projects that needs you: Needs approval (approve or deny right there), Asked a question, Finished — not viewed, and Running. Click a row to jump to the chat. -
Search all chats (
/search, Cmd+Shift+F) — full-text search over what you and the agent wrote in every chat. Choosing a result opens the chat at that message. Older chats are indexed in the background the first time you search. -
Compare models (
/compare) — send one prompt to 2–4 models at once. Each runs in its own worktree chat, opened side by side; Keep this one archives the others (nothing is deleted). Needs a git project. - Send now — while the agent is working, the lightning button in the composer (or Send now on a queued prompt) delivers your message to the running agent at its next step instead of waiting for the run to finish. It is unavailable while an approval or question is pending.
-
Side question (
/btw, or the btw button by the composer) — ask a quick question about the current chat in a side panel. It is answered from the chat's context by a separate read-only helper and never enters the main conversation.
Threads, subchats, forking, and split view
Each chat can hold multiple threads — independent conversation histories
over the same worktree. Press Cmd+P or use /threads to switch,
rename, clone, or delete threads, or open one in a new subchat (its own
agent process, running in parallel). The cost popover (/cost) breaks token
usage down per thread.
Forking. To branch a conversation at a specific point, hover one of your messages and click the fork pill next to it. The agent's memory is cloned as a new Mastra thread — truncated to just before that message — and opens as a new subchat tab over the same worktree. The original conversation continues unchanged, so you can explore an alternative direction without losing anything. (Rollback pills in the forked transcript only cover messages sent after the fork.) Forked tabs carry a small fork icon, and their tooltip names the tab they were forked from.
Split view. The columns button at the right of the tab bar adds extra chat panes beside the current one — pick any other chat in the project (or drag one from the sidebar onto a pane) and they run side by side, up to six columns. Cmd+\ adds a pane and Cmd+Shift+\ closes the last one; each pane also has its own add/close buttons and chat picker. Useful for watching one agent work while briefing another. Cmd+P and other global shortcuts stay with the left (primary) pane.
Remote messaging (Slack / Discord)
Settings → Integrations connects Slack and Discord bots so you can work with Yardarm away from your desk: send prompts from your phone or any chat client, get the agent's final reply, answer its questions, and approve or deny tool calls. Both bots connect outbound from the desktop app (Slack Socket Mode, Discord Gateway), so no public URL is needed — but the app must be running for any of it to work. Token and setup details live on the Configuration page.
Access is deny-by-default: each platform's Access setting is either Allowlisted users only (the default — only the user IDs you add can talk to the bot, and an empty allowlist refuses everyone, so add your own ID first) or All users (anyone who can message the bot may drive Yardarm — only for workspaces or servers you fully trust). Each external conversation (a Slack channel or DM, a Discord channel) is bound to one project + chat; plain messages go to that chat as prompts and the agent's final reply comes back when the run finishes, split into numbered chunks to fit the platform's message limits (no token streaming).
The first word of a message is checked against the bot commands; anything else is sent to the bound chat as a prompt:
help— list the commands-
projects/chats <project>— browse your projects and chats (name substrings are fine) -
use <project> <chat>— bind this conversation to that chat -
new <project> [title…]— create a fresh chat (own worktree) and bind to it status— bound target, running state, pending approvals/questionsunbind— remove this conversation's binding-
approve/deny [reason…]— resolve the pending tool approval (the reason is passed to the agent); when several are pending the bot lists them and you pick one withapprove <n>/deny <n> [reason…]
When a run hits a tool approval or the agent asks a question, the bot relays it to every
bound conversation. Questions are answered by simply replying; approvals are only ever
resolved by an explicit approve or deny — a queued follow-up
prompt never implicitly approves anything, and requests you handle in the app are marked
as handled. Bindings are listed (and deletable) at the bottom of Settings → Integrations;
deleting a bound chat in the app removes its bindings automatically.