Commands
Slash commands (TUI)
Section titled “Slash commands (TUI)”Type / to open the command menu: the list filters as you type, and Tab completes. /help always shows the full list with descriptions.
Conversation and agent work
Section titled “Conversation and agent work”| Command | Action |
|---|---|
/help | All commands and keyboard shortcuts |
/guide | A tour of the interface; take it as many times as you like |
/goal | Goal mode: the agent keeps working until a condition is met |
/btw <question> | A short side question that does not go into the conversation history |
/tasks | The current chat’s plan: the tasks the agent recorded with TodoWrite |
/diff | A summary of changes since the last commit (git diff --stat HEAD) |
/again | Resend the last message |
Model and context
Section titled “Model and context”| Command | Action |
|---|---|
/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 |
/status | Session, context window, counted tokens, and extensions |
/config | Show what the current session runs with: model, reasoning level, permission mode, sandbox, context window, and folder. View only; change these in /settings |
Sessions
Section titled “Sessions”| Command | Action |
|---|---|
/new | New chat |
/cd | Work 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> |
/sessions | Sessions in this folder (/sessions all shows all of them) |
/resume | Return to the last session in this folder |
/fork | Branch the session to try another path; both branches are kept |
/rewind | Pick 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 |
/rename | Set the session title; with no argument, resets it |
/export | Save 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 |
/copy | Copy 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 |
Settings and extensions
Section titled “Settings and extensions”| Command | Action |
|---|---|
/settings | Change the main settings and save them to the global file; see the Settings reference |
/security | Open /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 |
/memory | Agent memory: global and project notes. /memory add [user|project] <fact> records a fact right away; with no scope, it goes into project memory |
/agents | Subagents available in this folder, with each one’s model and tools |
/plugin | Plugins: browse, install, and remove |
/hooks | Hooks: view, add, disable, and delete |
/web | Open the current sessions in the browser; see Local web interface |
/mcp | MCP servers: status, sign-in, and adding servers |
/lsp | The project’s language servers and how to install them |
/reload | Reload skills, commands, subagents, hooks, plugins, and MCP servers; prints what changed |
Utility
Section titled “Utility”| Command | Action |
|---|---|
/login, /auth, /api-key | Set or update the API key |
/doctor | Check 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 |
/update | Install an available update and restart. If the agent was installed by a package manager, prints the update command; see Updating |
/changelog | What is new in this version |
/quit, /exit | Exit. 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).
Several commands on one line
Section titled “Several commands on one line”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.
CLI subcommands
Section titled “CLI subcommands”| Command | What 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 serve | The local web interface; see Local web interface |
waibee acp | The ACP server, started by an editor or acpx; see IDEs (ACP) and ACP in the terminal |
waibee auth | The 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 config | Read 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 mcp | MCP 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 plugin | Plugins 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 models | List 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 sessions | Recent sessions with their IDs |
waibee storage | Disk usage (status [--json]) and cleanup (clean); see Disk space |
waibee audit | The action log; see Audit log |
waibee doctor | Check the environment; --json for scripts |
waibee bundle | An archive for a bug report; see Diagnostics and cleanup |
waibee update | Check 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:
| Flag | What it does |
|---|---|
-r, --resume [id] | Open a session by its ID from waibee sessions; with no value, the last session in this folder |
--continue | Open 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, --yolo | bypassPermissions 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-audit | Do not write the audit log for this run |
--bare | Do 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.
See also
Section titled “See also”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.