Skip to content

Slash commands

Commands you type in Coder's input. Type / to see them above the input; keep typing to filter, Tab to complete, and Enter to run one.

Chats

CommandDoes
/resumeOpen an earlier chat from your 100 most recent. /resume 3 picks from the last list; /resume ID opens one by its ID.
/rewindUndo a turn's file changes and go back to its message, to edit and send again. Lists your last 20 messages.
/exportSave this chat to a file. /export PATH chooses where.
/compactSummarize the older part of the chat so the model reads less.

Who answers

CommandDoes
/modelsChoose the model and reasoning level of whoever answers, before the chat's first message.
/preferencesHow much Auto favors cost, speed, or intelligence, and your saved choices of agent.
/pluginsTurn plugins on and off, and add keys.

Your account

CommandDoes
/loginLog in to your openagents.com account.
/logoutLog out of it.
/sync onSave every chat on this computer to your account, earlier ones too, and keep saving. /sync all does the same.
/sync offStop saving. Chats already on your account stay there.
/sync deleteRemove this computer's chats from your account.

Work in the background

CommandDoes
/agentStart a background agent in its own worktree: /agent codex fix the flaky login test. Alone, lists the agents you can start.
/agentsBackground agents: open, stop, message, or resume one.
/loopRepeat a prompt while Coder is open: /loop 5m check the deploy. /loop stop 1 or /loop stop all ends them.
/scheduleRun a prompt on this computer on a schedule, even while Coder is closed: /schedule weekdays 09:00 triage new issues. /schedule remove ID deletes one.
/shellsCommands running in the background. /shells stop ID stops one.

Everything else

CommandDoes
/memoryWhat Coder remembers. /memory forget NAME deletes one note.
/appearanceUse your terminal's own background color instead of Coder's.
/brainstormPublic profile lookups, when the Brainstorm plugin is on.
/helpEvery command and key.

In the web chat

CommandDoes
/exportSave the chat to a file in your Downloads folder.

More on each: Use Coder in the terminal, Choose who answers, and Sync, share, and export.

Next: Command reference.