Guide sections

04 Work

Composer

The composer is the message box at the bottom of every session. Use it to start a session, choose the engine, model, effort and permission mode, and send, queue or steer messages while the agent works.

Start a session#

  1. Press ⌘N (macOS) / Ctrl+N (Windows), or click + in the sidebar.
  2. Pick the engine, if both are set up: Claude (Claude Code) or Codex. Each tile also shows who pays: your plan or API key.
  3. Optionally pick a model, effort and permission mode in the box (see below), and whether to work in a separate worktree (see Running many sessions).
  4. Describe the task and press Enter, or click Start session.

The engine is fixed once the session starts. To continue the work on the other engine, fork the session: type /fork codex or /fork claude, or use the fork button under an answer.

The session is created when you send. A new session with a Codex engine that is not signed in cannot start; the button says why.

Choose the model and effort#

The model name and the effort sit on the left of the box, after the +.

The model menu open above the composer, listing current models, an Older models row and the Fast switchThe model menu open above the composer, listing current models, an Older models row and the Fast switch
  1. Click the model name, or press ⌘⇧I (macOS) / Ctrl+Shift+I (Windows).
  2. Pick a model. Each row shows the model's context size. Older models opens the earlier ones.
  3. If the model offers Fast, a switch at the foot of the menu turns fast mode on and off for this session.

Switching to a more expensive model in a long session can force the earlier conversation to be sent again at full price. The menu then offers Compact, then switch or Switch now.

To change effort, click the effort name, or press ⌘⇧E (macOS) / Ctrl+Shift+E (Windows), then drag the slider or press the arrow keys. Press 1 to 9 to pick a step, Enter to keep the current one.

StepUse it for
LowQuickest, lightest on your limits
MediumEveryday edits
HighThe default for most work
ExtraDeepest reasoning on hard problems
Max (Claude)High, plus orchestrated multi-agent workflows
UltraExtra, plus multi-agent work (Codex hands work to sub-agents unasked)

A model that does not support effort greys the effort name out. Steps a model cannot run are left off the slider.

You can also type /model sonnet or /effort high. A change made during a turn applies from the next turn. In a session it affects that session; on the new-session screen it also becomes the default for that project.

Choose a permission mode#

The permission mode decides how much the agent may do before it asks you.

The permission mode menu open above the composer, listing Plan, Ask, Accept edits, Auto and Bypass with a line for eachThe permission mode menu open above the composer, listing Plan, Ask, Accept edits, Auto and Bypass with a line for each
  1. Click the mode name (for example Accept edits), or press ⌘⇧M (macOS) / Ctrl+Shift+M (Windows).
  2. Pick a mode.

The modes and what each allows are in Permissions. Codex sessions have no Plan mode. A read-only review session shows Read-only instead of a mode.

Send, queue, steer or stop#

While the agent is idle, Enter sends your message. While it works, you have three choices:

You want toDo this
Add a message to run after this turnEnter. It joins the queue.
Redirect the agent now, without stopping it⌘Enter (macOS) / Ctrl+Enter (Windows). The message is steered into the running turn.
Stop the turnClick Stop, or press Esc twice.

The box reminds you while a turn runs: "Queue a message · ⌘⏎ steers".

For a new line, press Shift+Enter or Alt+Enter.

Queue#

A queued message under the status line, above the composerA queued message under the status line, above the composer

Queued messages wait above the composer under Runs after this turn, and run in order once the turn ends. For each one you can move it up or down (or drag it), Edit it back in the composer, Remove it, or Steer now to send it into the running turn. Use the pause button on the queue head to hold the queue and resume it later.

Steer#

A steered message waits in a card above the box with a clock: Sends at the agent's next pause. Until it is taken, you can click Send now or Take back. Once taken, the card shows a tick and the message joins the thread. Steering never interrupts what the agent is doing.

Stop#

Stop is the square button where Send was. It stays active even with an empty box. Pressing Esc once, when nothing else is open to close, arms it: the status line says "Esc again to stop", and the button reads Esc. A second Esc stops the turn. A single Esc never stops it.

After a stop, queued messages are held: the queue shows Paused by Stop until you resume it.

Run commands and skills with /#

Type / at the start of a message to open the command list. Type to filter, move with ↑ and ↓, and press Enter or Tab to pick.

The slash menu open, listing commands, skills and agentsThe slash menu open, listing commands, skills and agents

The list has three kinds of rows:

  • Commands. ShanFlow runs these itself, without sending them to the agent. Examples: /model, /effort, /plan, /fast, /permissions, /context, /usage, /rename, /fork, /rewind, /side, /compact, /clear, /loop, /diff, /export, /resume, /help. Commands your project defines appear here too.
  • Skills. Pick one to add it to your message.
  • Agents. Pick one to insert it as a named reference, so your message addresses that agent.

To turn skills on or off for the session, click + and open Skills.

Mention files and folders with @#

Type @ and a few letters of a name. Pick a file or folder to insert it as a reference chip. The agent reads it from the project. A result marked Gitignored is ignored by git. Folders you added with + → Folders are searched too.

The @ menu listing files and folders for a few typed lettersThe @ menu listing files and folders for a few typed letters

Two more sigils work at the start of a word:

  • # lists your other sessions, so the agent can message one of them. Cross-session sends always ask first; see Permissions.
  • $ lists this session's terminals. A $ that does not match one stays plain text, so $5 and $HOME are safe.

Attach files and images#

Click + and choose Attach files, press ⌘U (macOS) / Ctrl+U (Windows), drag files onto the box, or paste.

  • Images show as thumbnails above the box. Click × to remove one.
  • Other files show as chips.
  • A pasted image becomes a chip in your text.
  • Each file can be up to 50 MB.
  • Files other than images need an open session. On the new-session screen, start the session first.

The + menu also holds Folders (extra folders the agent may work in, for this session), Skills, MCP servers and Plugins. See Tools.

Paste long text#

A paste of more than 24 lines turns into a chip that reads, for example, "≣ first line · 180 lines". Click the chip to peek at the text and edit it there. Click Unfold to turn it back into ordinary text in the box. The full text is sent either way.

Type less#

  • ↑ and ↓ on the first or last line walk through the prompts you sent in this session.
  • Autocomplete shows grey text ahead of your cursor. Press Tab (or →) to accept it, or keep typing to drop it. Turn it off in Settings → General → Autocomplete.