--- summary: "Clawdbot CLI reference for `clawdbot` commands, subcommands, and options" read_when: - Adding or modifying CLI commands or options - Documenting new command surfaces --- # CLI reference This page describes the current CLI behavior. If commands change, update this doc. ## Global flags - `--dev`: isolate state under `~/.clawdbot-dev` and shift default ports. - `--profile `: isolate state under `~/.clawdbot-`. - `--no-color`: disable ANSI colors. - `--update`: shorthand for `clawdbot update` (source installs only). - `-V`, `--version`, `-v`: print version and exit. ## Output styling - ANSI colors and progress indicators only render in TTY sessions. - OSC-8 hyperlinks render as clickable links in supported terminals; otherwise we fall back to plain URLs. - `--json` (and `--plain` where supported) disables styling for clean output. - `--no-color` disables ANSI styling; `NO_COLOR=1` is also respected. - Long-running commands show a progress indicator (OSC 9;4 when supported). ## Color palette Clawdbot uses a lobster palette for CLI output. - `accent` (#FF5A2D): headings, provider labels, primary highlights. - `accentBright` (#FF7A3D): command names, emphasis. - `accentDim` (#D14A22): secondary highlight text. - `info` (#FF8A5B): informational values. - `success` (#2FBF71): success states. - `warn` (#FFB020): warnings, fallbacks, attention. - `error` (#E23D2D): errors, failures. - `muted` (#8B7F77): de-emphasis, metadata. Palette source of truth: `src/terminal/palette.ts` (aka “lobster seam”). ## Command tree ``` clawdbot [--dev] [--profile ] setup onboard configure (alias: config) doctor reset uninstall update providers list status logs add remove login logout skills list info check plugins list info install enable disable doctor memory status index search message agent agents list add delete status health sessions gateway call health status discover daemon status install uninstall start stop restart logs models list status set set-image aliases list|add|remove fallbacks list|add|remove|clear image-fallbacks list|add|remove|clear scan auth add|setup-token|paste-token auth order get|set|clear sandbox list recreate explain wake cron status list add edit rm enable disable runs run nodes status describe list pending approve reject rename invoke run notify camera list|snap|clip canvas snapshot|present|hide|navigate|eval canvas a2ui push|reset screen record location get browser status start stop reset-profile tabs open focus close profiles create-profile delete-profile screenshot snapshot navigate resize click type press hover drag select upload fill dialog wait evaluate console pdf hooks gmail setup|run pairing list approve docs dns setup tui ``` Note: plugins can add additional top-level commands (for example `clawdbot voicecall`). ## Plugins Manage extensions and their config: - `clawdbot plugins list` — discover plugins (use `--json` for machine output). - `clawdbot plugins info ` — show details for a plugin. - `clawdbot plugins install ` — install a plugin (or add a plugin path to `plugins.load.paths`). - `clawdbot plugins enable ` / `disable ` — toggle `plugins.entries..enabled`. - `clawdbot plugins doctor` — report plugin load errors. Most plugin changes require a gateway restart. See [/plugin](/plugin). ## Memory Vector search over `MEMORY.md` + `memory/*.md`: - `clawdbot memory status` — show index stats. - `clawdbot memory index` — reindex memory files. - `clawdbot memory search ""` — semantic search over memory. ## Chat slash commands Chat messages support `/...` commands (text and native). See [/tools/slash-commands](/tools/slash-commands). Highlights: - `/status` for quick diagnostics. - `/config` for persisted config changes. - `/debug` for runtime-only config overrides (memory, not disk; requires `commands.debug: true`). ## Setup + onboarding ### `setup` Initialize config + workspace. Options: - `--workspace `: agent workspace path (default `~/clawd`). - `--wizard`: run the onboarding wizard. - `--non-interactive`: run wizard without prompts. - `--mode `: wizard mode. - `--remote-url `: remote Gateway URL. - `--remote-token `: remote Gateway token. Wizard auto-runs when any wizard flags are present (`--non-interactive`, `--mode`, `--remote-url`, `--remote-token`). ### `onboard` Interactive wizard to set up gateway, workspace, and skills. Options: - `--workspace ` - `--reset` (reset config + credentials + sessions + workspace before wizard) - `--non-interactive` - `--mode ` - `--flow ` - `--auth-choice ` - `--token-provider ` (non-interactive; used with `--auth-choice token`) - `--token ` (non-interactive; used with `--auth-choice token`) - `--token-profile-id ` (non-interactive; default: `:manual`) - `--token-expires-in ` (non-interactive; e.g. `365d`, `12h`) - `--anthropic-api-key ` - `--openai-api-key ` - `--openrouter-api-key ` - `--moonshot-api-key ` - `--gemini-api-key ` - `--zai-api-key ` - `--minimax-api-key ` - `--opencode-zen-api-key ` - `--gateway-port ` - `--gateway-bind ` - `--gateway-auth ` - `--gateway-token ` - `--gateway-password ` - `--remote-url ` - `--remote-token ` - `--tailscale ` - `--tailscale-reset-on-exit` - `--install-daemon` - `--no-install-daemon` (alias: `--skip-daemon`) - `--daemon-runtime ` - `--skip-providers` - `--skip-skills` - `--skip-health` - `--skip-ui` - `--node-manager ` - `--json` ### `configure` / `config` Interactive configuration wizard (models, providers, skills, gateway). ### `doctor` Health checks + quick fixes (config + gateway + legacy services). Options: - `--no-workspace-suggestions`: disable workspace memory hints. - `--yes`: accept defaults without prompting (headless). - `--non-interactive`: skip prompts; apply safe migrations only. - `--deep`: scan system services for extra gateway installs. ## Provider helpers ### `providers` Manage chat provider accounts (WhatsApp/Telegram/Discord/Slack/Signal/iMessage/MS Teams). Subcommands: - `providers list`: show configured chat providers and auth profiles (Claude Code + Codex CLI OAuth sync included). - `providers status`: check gateway reachability and provider health (`--probe` runs extra checks; use `clawdbot health` or `clawdbot status --deep` for gateway health probes). - Tip: `providers status` prints warnings with suggested fixes when it can detect common misconfigurations (then points you to `clawdbot doctor`). - `providers logs`: show recent provider logs from the gateway log file. - `providers add`: wizard-style setup when no flags are passed; flags switch to non-interactive mode. - `providers remove`: disable by default; pass `--delete` to remove config entries without prompts. - `providers login`: interactive provider login (WhatsApp Web only). - `providers logout`: log out of a provider session (if supported). Common options: - `--provider `: `whatsapp|telegram|discord|slack|signal|imessage|msteams` - `--account `: provider account id (default `default`) - `--name