! to run it as a shell command. There is no model turn. It is the fastest way to check state, run a quick script, or see git status.1!git status
! prefix"!pnpm test" ──▶ OpenCode session shell ──▶ "-# $ pnpm test" │ command exits ▼ one output message
! and runs the rest with OpenCode's native session shell. You see two bot messages:1-# $ pnpm test
12345``` ✓ src/utils.test.ts (12 tests) ✗ src/cli.test.ts (1 failed) ``` -# exit 1
output truncated.exit N for a non-zero exit code, killed, or timed out. A successful command has no status line.(no output).!pnpm test, then send fix the failing test.! command runs next to the current run. It does not stop the agent. Its output joins the context at the next step.!pnpm test. queue runs the literal command pnpm test. queue./abort stops the current run and also kills the thread's running ! commands./cwd. Otherwise it is the project folder. So ! commands run in the same place the agent works.! message in a project channel starts a new thread and session, then runs the command there.1kimaki session shell 'git status' --session <session-id>
!git status, !git log --oneline -5: quick git checks.!ls, !cat package.json: inspect files without an agent turn.!pnpm test: start a one-off command and give the result to the agent.