Commands Reference

All commands start with / and can be tab-completed.

/help

Show the list of available commands.

/help

/new

Start a new session. Resets all messages, token counts, input history, checkpoints, and the redo stack. If you were in a git repo, old checkpoint refs are cleaned up.

/new

/sessions

List up to 10 recent sessions for the current working directory. Each entry shows the session ID prefix (8 characters), title, time since last update, and message count.

/sessions

Example output:

  a1b2c3d4  Fix login bug                2h ago  12 messages
  e5f6g7h8  Refactor auth module         1d ago  34 messages

/continue

Resume a previous session by its ID prefix. Loads all messages back into the conversation and restores token counts.

/continue <id-prefix>

/branch

Fork the conversation at the current point. Creates a new session that branches from the current message, letting you explore an alternative direction without losing the original conversation.

/branch

/rename

Rename the current session.

/rename <new title>

/resume

Alias for /continue. Identical behavior.

/resume <id-prefix>

/config

Manage preferences and configuration. See also Configuration for full details.

/config show

Display all preference keys, their current values, and defaults.

/config show

/config models

Show available models and pricing.

/config models

/config tools

Show available agent tools.

/config tools

/config messaging

Show messaging/Telegram configuration.

/config messaging

/config theme

Show theme settings.

/config theme

/config set

Set a preference value.

/config set <key> <value>

Provider keys

KeyDescription
anthropic.api_keyAnthropic API key
openai.api_keyOpenAI API key
brave.api_keyBrave Search API key (for web search tool)

Model

KeyDescription
modelDefault model (e.g. claude-sonnet, gpt-4o, claude-opus)

Footer display

KeyTypeDefaultDescription
footer.tokensbooltrueShow token count in footer
footer.costbooltrueShow estimated cost in footer
footer.cwdbooltrueShow working directory in footer
footer.sessionbooltrueShow session info in footer
footer.keybindingsbooltrueShow keybinding hints in footer

Telegram

KeyDescription
telegram.bot_tokenTelegram bot token
telegram.allowed_idsComma-separated allowed Telegram user IDs

Boolean values accept: true/false, on/off, yes/no, 1/0 (case-insensitive).

Examples:

/config set anthropic.api_key sk-ant-...
/config set model claude-opus
/config set footer.cost false
/config set openai.api_key sk-...

/config reset

Reset all preferences to their default values.

/config reset

/telegram

Start or stop the Telegram bot adapter. When running, you can interact with your agent from Telegram.

/telegram

/undo

Undo the last agent turn by restoring the working tree to the checkpoint taken before that turn.

/undo

See Undo / Redo for a detailed explanation.

/redo

Re-apply the last undone agent turn.

/redo

/clear

Clear the chat display. Resets displayed messages and token counters, but does not end the session. Messages remain persisted in the database.

/clear

/tweet

Post or schedule tweets from the TUI.

/tweet <text>                                    # post immediately
/tweet --schedule <HH:MM|RFC3339> <text>         # schedule
/tweet --schedule <time> --daily <text>          # recurring daily
/tweet --list                                    # list scheduled tweets
/tweet --cancel <id>                             # cancel scheduled tweet

Requires twitter.bearer_token (see Configuration).

/schedule

Manage scheduled tool jobs.

/schedule list                                   # list all jobs
/schedule cancel <id>                            # cancel a job
/schedule add <tool> <HH:MM|RFC3339> <json>      # schedule a tool

/tools

Show and toggle agent tools.

/tools

Opens a picker to enable/disable individual tools. Supports tool profiles: safe, coder (default), research.

/refresh

Reload current session messages from the database.

/refresh

TUI only.

/exit

Quit muxd.

/exit

/quit

Alias for /exit.

/quit