Interactive Mode

Interactive mode is Command Code running in your terminal: you type, the agent works, you watch it happen. This page covers everything you drive it with: the input modes, the shortcuts, how the model is picked, and the full keybinding reference at the end.

The whole screen, top to bottom:

┌────────────────────────────────┐ READ src/auth.ts │ ← the feed: EDIT src/auth.ts +12 -3 │ what the agent BASH pnpm test │ is doing │ │ │ ✓ Added the retry guard. ← its reply ├────────────────────────────────┤ TODOS 2/4 │ ← ctrl+x to manage ├────────────────────────────────┤ > fix the login redirect │ ← you type here ├────────────────────────────────┤ In auth.ts opus-5 default │ ← file · model · mode └────────────────────────────────┘

Three characters change what the input does. That's most of the surface.

Type thisYou get
/ at the startThe slash command menu: every built-in, custom, skill, and mod command
! at the startBash mode: the line runs as a shell command and its output joins the session
@ anywhereFile-path autocomplete; the mentioned file becomes context

And five keys you'll use every session:

KeyDoes
shift+tabCycle permission mode: default → auto-accept → plan → default
escStop what's running
esc escRewind to a previous checkpoint (same as /rewind)
ctrl+oShow or hide full tool output
ctrl+gOpen the current prompt in $EDITOR
Note

Run /hotkeys in a session to see every shortcut Command Code recognizes right now, including your own overrides. Run /help for the short list.

Type / at the start of the input to open the command menu. Rows are ranked as you type: a command whose name starts with your query ranks highest, then names containing it, then description matches.

/ move the selection, Enter runs the selected command, Tab or inserts it with a trailing space so you can type arguments, Esc closes the menu.

Full referenceSlash Commands

Every one of the 60+ built-in commands with its arguments and aliases, which are safe to run mid-turn, and how to write your own with $ARGUMENTS templating.