The composer is where you write to the agent. Its footer has, from the left: attach (the paper clip), the mode chip, the agent chip (agent, model and effort), the context meter once it's worth a look, and send.
Under it, the context strip says where a new thread runs: the machine, the checkout or worktree, and the branch. It's fixed once the thread starts.
Send a message
Enter sends and ⇧Enter adds a line. To send with ⌘↩ instead, change Settings → Chat → Send with.
| Keys | In a new thread | In an open thread |
|---|---|---|
| Enter | Send | Send; while the agent works, Steer (or Queue, see below) |
| ⌘↩ | Start it in the background, with a new draft ready | Send; while the agent works, the other of Steer and Queue |
| ⌥⌘↩ | Start it in the background, with a new draft ready | Send, then open a new thread |
↑ and ↓ in an empty composer bring back the prompts you sent in this thread.
A message can be up to 120,000 characters. A counter appears past 90%.
Mention files, threads, pull requests and skills
Type a trigger and a few letters; a menu rises from the composer. ↑/↓ choose, Enter or a click picks, Esc closes.
| Type | To add |
|---|---|
@ | A file or folder in the project, or another thread (after the files) |
# | A pull request or issue in the repository, by number or words |
$ | One of the agent's skills |
/ | A command (below), then the agent's skills |
What you pick becomes a chip in the text. Arrow keys step over a chip as one; Backspace removes it. A file goes to the agent as its path; a thread as its link and an excerpt; a pull request as its title, state and link.
Chips also come from elsewhere: a diff or file comment, a terminal's Add to chat, the Browser's element picker and screenshots, Cite in composer on selected reply text, and a thread dragged from the sidebar.
To type plain text with no styling or chips, turn off Settings → Chat → Rich text.
Use slash commands
| Command | What it does |
|---|---|
/model | Pick the agent, model and effort |
/plan | Plan the next message before doing it |
/default | Back to the agent's own model, effort and mode |
/compact | Ask the agent to compact its context |
/clear | Start a new thread in the same project |
/side | A side chat beside this thread, in the right panel |
/btw | By the way: a side chat about something else |
/goal | A goal the agent keeps working towards: /goal clear, pause or resume |
/usage-limits | Your agents' usage limits, and when they reset |
/welcome | Run first-run setup again |
/feedback | Report a problem: an email opens with diagnostics in it |
/logout | Sign this thread's agent account out on its machine (asks first) |
Attach files and pictures
Paste a picture, drop files on the composer (or on a thread's row), or click the paper clip. Each file uploads at once to the machine the thread runs on, shown above the editor with its progress, Retry and ×. Pictures go to the agent as images; other files as their paths.
- At most 100 files. A picture can be up to 10 MiB, and all pictures together 80 MiB. Other files can be up to 50 MiB each.
- A paste of 32 KiB of text or more becomes a file (
pasted-text-1.txt). ⌘⇧V pastes it as text. - Hover a picture for the pencil, to draw boxes, arrows and text on it.
- Files you attach but never send are cleared after a day.
Pick the agent and model
Click the agent chip, or press ⌘⇧M. The picker has the agents on the left and that agent's models, with a search field.
- Star a model to keep it at the top; hide models you don't use (Show N hidden brings them back). Settings → Agents lists both.
- ⌘1 to ⌘9 pick the first nine rows; ⌘⇧↑ and ⌘⇧↓ step through the models.
- ⌘⇧E opens the effort menu, with Fast where the model has a faster tier.
- With more than one account for an agent, an Account row picks which one.
- Picking another agent in an open thread asks first: the new agent carries on from a summary of the thread ("Continued from Claude Code" in the header).
A thread's model and effort apply from its next turn. New threads start from Settings → Threads.
Pick a permission mode
Click the mode chip, or press ⌘⇧A.
| Mode | What the agent may do without asking |
|---|---|
| Supervised | Nothing: it asks before every edit and command |
| Auto-accept edits | Edit files; it asks before commands |
| Auto (the default) | What it judges safe: it asks only when something looks risky |
| Full access | Anything: it never asks |
An agent without a mode falls back to the next safer one and says so (Claude Code's Auto falls back to Auto-accept edits when its auto mode isn't there). The default for new threads is per agent, in Settings → Threads.
Plan before doing
Press ⇧Tab (outside a list) or type /plan: a Plan chip shows until the message goes, and the agent plans instead of acting. Its plan comes back as a card with Implement and Refine, and Copy, Download .md and Save to workspace (plan.md in the thread's folder).
Codex has no plan mode, and says so.
Steer, queue or stop while the agent works
With text in the composer, send becomes Steer: the message joins the turn that's running. Or Queue: the message waits and starts the next turn. Settings → Chat → While the agent works picks which one Enter does; ⌘↩ does the other.
Queued messages wait above the composer as dashed bubbles, each with Send now, Edit and Remove. ⌘⇧↩ sends the first one now; ⌥↑ edits the last.
With the composer empty, send becomes Stop. A stop holds what's queued ("Held after the stop") until you click Resume.
Watch the context meter
Once the last turn used half of the model's context, a small ring and its percentage show by the model. Click it for the numbers and Compact, which sends /compact. It turns red when what you've typed won't fit.
When an agent compacts (by itself, or when you ask), the transcript shows a divider: "Context compacted from 121k tokens".
Coming back to a thread with a long context (past 100k tokens) that sat idle (an hour by default), a Compact / Keep chip over the composer offers to compact it first. Settings → Agents → Compact idle threads can do it by itself, or never; it applies to Claude Code and Codex threads.
Stash a draft
⌘S puts what you've written (text, chips and files) away and empties the composer. The stash button in the footer, or ⌘K → Prompt stash, lists your stashed drafts; pick one to bring it back. ⌘S with nothing written opens the list. Files uploaded more than a day ago come back with Attach again.
Set a goal
/goal Make the tests pass sets a goal the agent is reminded of at the start of every turn. A line under the composer shows it, with Pause (or Resume) and Clear. In a new thread, /goal … starts the thread with the goal as its first message.
The agent doesn't start the next turn by itself: you still send each message.
Share a prompt as a link
Hover your message and click Copy prompt link for a caret://new?prompt=… link, or ⌘K → Copy prompt link for the draft. Opening one asks first, showing the prompt and where it would start: Open as a draft, Run it, or Cancel. Remember my choice keeps your answer in Settings → Chat → Prompt links.
A link can name a project, an agent and a model: caret://new?prompt=Fix%20the%20tests&repo=web&agent=codex. Hidden characters (zero-width, direction marks) are taken out of the prompt, and the dialog says how many.