docs/start/wizard-cli-reference.md
This page is the full reference for openclaw onboard.
For the short guide, see Onboarding (CLI).
Local mode (default) walks you through:
Remote mode configures this machine to connect to a gateway elsewhere. It does not install or modify anything on the remote host.
Remote mode configures this machine to connect to a gateway elsewhere.
<Info> Remote mode does not install or modify anything on the remote host. </Info>What you set:
ws://...)Sets `agents.defaults.model` to `openai-codex/gpt-5.5` when model is unset or already OpenAI-family.
Sets `agents.defaults.model` to `openai-codex/gpt-5.5` when model is unset or already OpenAI-family.
Sets `agents.defaults.model` to `openai/gpt-5.5` when model is unset, `openai/*`, or `openai-codex/*`.
Interactive onboarding supports the same API key storage choices as other provider API key flows:
- **Paste API key now** (plaintext)
- **Use secret reference** (env ref or configured provider ref, with preflight validation)
Non-interactive flags:
- `--auth-choice custom-api-key`
- `--custom-base-url`
- `--custom-model-id`
- `--custom-api-key` (optional; falls back to `CUSTOM_API_KEY`)
- `--custom-provider-id` (optional)
- `--custom-compatibility <openai|anthropic>` (optional; default `openai`)
- `--custom-image-input` / `--custom-text-input` (optional; override inferred model input capability)
Model behavior:
volcengine-plan/*,
byteplus-plan/*).Credential and profile paths:
~/.openclaw/agents/<agentId>/agent/auth-profiles.json~/.openclaw/credentials/oauth.jsonCredential storage mode:
--secret-input-mode ref enables reference mode instead of plaintext key storage.
In interactive setup, you can choose either:
keyRef: { source: "env", provider: "default", id: "OPENAI_API_KEY" })file or exec) with provider alias + id--secret-input-mode ref is env-backed only.
--openai-api-key) require that env var to be set; otherwise onboarding fails fast.ref mode stores models.providers.<id>.apiKey as { source: "env", provider: "default", id: "CUSTOM_API_KEY" }.--custom-api-key requires CUSTOM_API_KEY to be set; otherwise onboarding fails fast.--gateway-token-ref-env <ENV_VAR>.Typical fields in ~/.openclaw/openclaw.json:
agents.defaults.workspaceagents.defaults.skipBootstrap when --skip-bootstrap is passedagents.defaults.model / models.providers (if Minimax chosen)tools.profile (local onboarding defaults to "coding" when unset; existing explicit values are preserved)gateway.* (mode, bind, auth, tailscale)session.dmScope (local onboarding defaults this to per-channel-peer when unset; existing explicit values are preserved)channels.telegram.botToken, channels.discord.token, channels.matrix.*, channels.signal.*, channels.imessage.*skills.install.nodeManager
setup --node-manager flag accepts npm, pnpm, or bun.skills.install.nodeManager: "yarn" later.wizard.lastRunAtwizard.lastRunVersionwizard.lastRunCommitwizard.lastRunCommandwizard.lastRunModeopenclaw agents add writes agents.list[] and optional bindings.
WhatsApp credentials go under ~/.openclaw/credentials/whatsapp/<accountId>/.
Sessions are stored under ~/.openclaw/agents/<agentId>/sessions/.
Gateway wizard RPC:
wizard.startwizard.nextwizard.cancelwizard.statusClients (macOS app and Control UI) can render steps without re-implementing onboarding logic.
Signal setup behavior:
~/.openclaw/tools/signal-cli/<version>/channels.signal.cliPath in configopenclaw onboard