VCode home

Run one command with !

Agents: claude, codex, opencode · On: phone, desktop

Start a message with ! and it runs as a command instead of going to the agent, the way ! works in the CLIs. The command and everything it printed land in the transcript as a card, in place, next to the conversation you were having.

Why you would use it

You are mid-conversation and want one command — git log -1, ls, npm test — and you want the answer where you are reading. It does not switch you to Shell mode and back, and the card stays in the thread, so scrolling up an hour later still finds what the command said. Asked as a message instead, a command was only a suggestion: claude answered ! rm -rf /tmp/… by listing the files and leaving them there.

How to use it

  1. In Agent mode, type ! followed by the command in the composer (#draft), for example !git status. ! git status with a space works too.

    The composer with !git status typed in it and the send arrow lit.

  2. Send (#send).

  3. The card appears in the transcript, says running…, and fills in with the output when the command exits.

    A transcript card tagged SHELL, the command git status beside it in shell colours, 0.2s on the right, and the git output below.

What you see

Limits and known gaps