Skip to content
docs

Commands

Type / to open the command menu: the list filters as you type, and Tab completes. /help always shows the full list with descriptions.

CommandAction
/helpAll commands and keyboard shortcuts
/guideA tour of the interface; take it as many times as you like
/goalGoal mode: the agent keeps working until a condition is met
/btw <question>A short side question that does not go into the conversation history
/tasksThe current chat’s plan: the tasks the agent recorded with TodoWrite
/diffA summary of changes since the last commit (git diff --stat HEAD)
/againResend the last message
CommandAction
/model [name]Choose a model; with a name, switches right away. See Choosing a model
/effort [level]Set a reasoning level, or open the Faster to Smarter slider with no argument. Typing /effort hints the current model’s accepted levels. See Reasoning level
/compact [what to keep]Compact the history. Text after the command says what the summary must keep. See Context window
/statusSession, context window, counted tokens, and extensions
/configShow what the current session runs with: model, reasoning level, permission mode, sandbox, context window, and folder. View only; change these in /settings
CommandAction
/newNew chat
/cdWork in another directory: /cd ../other-project, with Tab completion for the directory. If nothing has been said in the chat yet, the chat moves; a conversation already in progress stays where it is, and the directory opens in a new tab next to it. To start the agent in the right folder from the beginning, use waibee -c <path>
/sessionsSessions in this folder (/sessions all shows all of them)
/resumeReturn to the last session in this folder
/forkBranch the session to try another path; both branches are kept
/rewindPick one of your messages and go back to before it in a fork. The message returns to the input to edit. Files are not rolled back. See Session history
/renameSet the session title; with no argument, resets it
/exportSave the conversation to the current folder: JSON copies the raw JSONL log (one JSON object per line) to a .json file, and Markdown contains only the main agent’s turns, without subagents
/copyCopy the last reply to the clipboard. /copy code copies the code blocks from the agent’s replies, all all of the agent’s replies in Markdown, plain the same replies as plain text, and panel the open side panel page
CommandAction
/settingsChange the main settings and save them to the global file; see the Settings reference
/securityOpen /settings at the security section: the sandbox and the domain filter
/sandbox [profile]Choose a sandbox profile; with a profile name, turns it on right away. The command does not change a profile pinned with the --sandbox flag or the WAIBEE_SANDBOX variable
/memoryAgent memory: global and project notes. /memory add [user|project] <fact> records a fact right away; with no scope, it goes into project memory
/agentsSubagents available in this folder, with each one’s model and tools
/pluginPlugins: browse, install, and remove
/hooksHooks: view, add, disable, and delete
/webOpen the current sessions in the browser; see Local web interface
/mcpMCP servers: status, sign-in, and adding servers
/lspThe project’s language servers and how to install them
/reloadReload skills, commands, subagents, hooks, plugins, and MCP servers; prints what changed
CommandAction
/login, /auth, /api-keySet or update the API key
/doctorCheck the machine: sign-in, shell, paths, and sandbox
/bug [what happened]Build a zip archive for a bug report in the session folder: diagnostics, the last day of the log, and this conversation. Check the archive before you send it
/updateInstall an available update and restart. If the agent was installed by a package manager, prints the update command; see Updating
/changelogWhat is new in this version
/quit, /exitExit. If the agent is working or messages are waiting in the queue, asks first

Four more names work but do not show in the menu: /retry (same as /again), /plugins (same as /plugin), /release-notes (same as /changelog), and /clear (same as /new).

One line can name several of your own commands or skills in a row: /plan /review parser walkthrough runs both, each gets the same trailing text, and everything goes in one turn. The number of names per line is limited, and built-in commands such as /model cannot be chained this way. The first name that matches nothing ends the chain and stays as text, so /etc/hosts is broken goes through as a plain line.

CommandWhat it does
waibee run "..."A one-off run with no interface; see Headless mode and the Goal mode flags. waibee -p "..." means the same
waibee serveThe local web interface; see Local web interface
waibee acpThe ACP server, started by an editor or acpx; see IDEs (ACP) and ACP in the terminal
waibee authThe API key: login sets or replaces it, logout deletes it, and status says whether a key is set and where it comes from, exiting with code 1 if there is no key. login prompts for the key, takes it from --key <key>, or reads it from stdin with --from-stdin. Interactive sessions reload the key, but WAIBEE_API_KEY takes precedence over the saved key. A running waibee run has to be restarted
waibee configRead and change settings (get [key], set <key> <value>), the settings file path (path), configuration and sandbox check (check [--json]), folder trust (trust), and the domain filter: netsec status, enable, disable, allow <domain>, block <domain>, remove <domain>
waibee mcpMCP servers: add <name> <url>, add <name> -- <command> [args], add-json, get, list [--json], remove [-s <scope>], login [--no-browser], logout. status is another name for list. Flags and examples are in MCP
waibee pluginPlugins and marketplaces: install (i), list [--json], details, validate, update, remove (uninstall), enable, disable, marketplace add|list|update|remove. You can also write the command as waibee plugins; see Plugins
waibee modelsList models (list, the default); --all adds alpha and deprecated versions, and --provider <name> keeps only one provider’s models, such as anthropic. info <id> prints the details of one model as JSON, and refresh updates the list
waibee sessionsRecent sessions with their IDs
waibee storageDisk usage (status [--json]) and cleanup (clean); see Disk space
waibee auditThe action log; see Audit log
waibee doctorCheck the environment; --json for scripts
waibee bundleAn archive for a bug report; see Diagnostics and cleanup
waibee updateCheck for an update; --install installs it, --force reinstalls the current version, and --channel chooses the channel; see Updating. waibee upgrade is the same

waibee --version prints the version, build, and platform.

waibee "task" with no subcommand runs the task the same way as waibee run with text output. - in place of the task text reads it from stdin, as in headless mode. A single word that looks like a subcommand is not treated as a task: to send it to the agent, write waibee -- <word>; see Headless mode.

TUI startup flags:

FlagWhat it does
-r, --resume [id]Open a session by its ID from waibee sessions; with no value, the last session in this folder
--continueOpen the last session in this folder
-c, -C, --cwd <path>Working folder
-m, --model <model>Model: an alias or a full ID
--mode, --permission-mode <mode>Permission mode for this run; see Switching modes
--dangerously-skip-permissions, --yolobypassPermissions mode for this run. Not accepted together with --mode
--sandbox <profile>Sandbox profile for this run: off, workspace-write, or restricted; a managed profile takes precedence
--no-auditDo not write the audit log for this run
--bareDo not load skills, custom commands and agents, plugins, MCP servers, hooks, instructions, or memory; see Unattended runs

--bare, -C, -m, --sandbox, and --no-audit also apply to waibee serve and waibee acp, where -m sets the model for new sessions.

Besides the built-in commands, you can add your own: commands, skills, and subagents in Skills and commands, extension packages in Plugins, automatic actions in Hooks, and external tools in MCP.