From openclaw-toolkit
Interactive setup wizard for OpenClaw — walks through installation, configuration, and credentials step by step.
How this command is triggered — by the user, by Claude, or both
Slash command
/openclaw-toolkit:setup [--skip-install] [--skip-config] [--skip-credentials]This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
Guide the user through a complete OpenClaw setup in three sequential phases: install, config, and credentials. Be conversational, check in after each phase, and skip phases the user indicates are already done. **Command execution rule:** Never ask the user to run commands themselves. Use the `Bash` tool to run all commands directly. Only ask for confirmation before running commands that modify the system (installs, config changes). Show the user the output and explain what it means. When asking questions, always use `AskUserQuestion` with structured options: - Yes/No questions: provide op...
Guide the user through a complete OpenClaw setup in three sequential phases: install, config, and credentials. Be conversational, check in after each phase, and skip phases the user indicates are already done.
Command execution rule: Never ask the user to run commands themselves. Use the Bash tool to run all commands directly. Only ask for confirmation before running commands that modify the system (installs, config changes). Show the user the output and explain what it means.
When asking questions, always use AskUserQuestion with structured options:
["Yes", "No"]"Other / enter manually" that accepts free text inputParse any arguments passed by the user:
--skip-install — skip Phase 1--skip-config — skip Phase 2--skip-credentials — skip Phase 3If no arguments, run all three phases in order.
Unless --skip-install was passed:
Ask (Yes/No): "Is OpenClaw already installed on your system?"
Ask (selection list): "What platform are you on?"
Options: ["macOS / Linux / WSL2", "Windows (PowerShell)", "Other / enter manually"]
Ask (Yes/No): "Ready to run the install command?" then run it via Bash:
macOS / Linux / WSL2:
curl -fsSL https://openclaw.ai/install.sh | bash
Windows (PowerShell):
powershell -Command "iwr -useb https://openclaw.ai/install.ps1 | iex"
Show the output. If it fails, ask (Yes/No): "Want to try the npm fallback instead?" and run:
npm install -g openclaw@latest && openclaw onboard --install-daemon
After install, run verification automatically via Bash:
openclaw doctor
openclaw status
Show the user the output and flag any errors before proceeding.
Unless --skip-config was passed:
Ask (Yes/No): "Do you want to use the default gateway settings (port 18789, localhost only)?"
["Port number", "Tailscale exposure", "Auth mode", "Other / enter manually"]Walk through DM policy with a selection:
pairing (safe default — only paired devices can DM) vs open (any user can message).["pairing (recommended)", "open", "Tell me more before deciding"]Ask (multi-select): "Which messaging channels do you want to connect?" Present as a numbered list:
1. WhatsApp
2. Telegram
3. Slack
4. Discord
5. Other
Ask: "Enter the numbers of the channels you want (e.g. 1,3), or type channel names if choosing Other." Note which ones they selected — credentials for these will be covered in Phase 3.
If any config changes were made, run automatically via Bash:
openclaw doctor
Show the output and flag any issues.
Unless --skip-credentials was passed:
Start with the AI model API key:
["Anthropic (Claude)", "OpenAI (GPT)", "Other / enter manually"]export ANTHROPIC_API_KEY=sk-ant-...export OPENAI_API_KEY=sk-...openclaw onboard to store the key persistently?" then run it via Bash:
openclaw onboard
For each messaging channel the user selected in Phase 2, walk through credentials one at a time. Where credentials require external steps (browser, phone), explain what the user needs to do, then ask (Yes/No): "Done — ready to continue?" before running the next command.
WhatsApp: Ask (Yes/No): "Ready to pair WhatsApp?" then run openclaw onboard, guide the user to select WhatsApp and scan the QR code with their phone.
Telegram:
@BotFather on Telegram → /newbot → copy the token.openclaw onboard via Bash.Slack:
chat:write, im:history, im:read, app_mentions:read), install to workspace, and copy both tokens (xapp-... and xoxb-...).openclaw onboard via Bash.Discord:
Message Content Intent and Server Members Intent, copy the bot token, and invite the bot to their server.openclaw onboard via Bash.For other channels: ask (Yes/No): "Ready?" then run openclaw onboard via Bash and guide the user through channel selection.
After all credentials are set, run a final check automatically via Bash:
openclaw doctor
openclaw status
Once all phases are done:
openclaw onboard.["Send a test message on a connected channel", "View openclaw status", "I'm done — nothing else", "Other / enter manually"]
openclaw status via Bash and show output./setupInitializes or resumes project setup via interactive Q&A, creating conductor/ artifacts for product definition, guidelines, tech stack, workflow, and style guides.
/setupWalks an enterprise admin through configuring the Claude Office add-in to call their own cloud (Vertex, Bedrock, Foundry, or gateway), producing a customized manifest.xml for M365 deployment.
/setupChecks local Codex CLI readiness, prompts to install if unavailable via npm, and optionally toggles stop-time review gate.
/setupInteractive setup wizard that detects installed AI providers, configures authentication, and optimizes token usage. Auto-runs on first install and surfaces a status dashboard on manual invocation.
npx claudepluginhub doresimon/smarty --plugin openclaw-toolkit