/openclaw:openclawfrom openclaw
Guides installation, configuration, and daily operation of OpenClaw, a self-hosted AI assistant that connects to messaging channels like WhatsApp, Telegram, and Discord.
Ships in openclaw. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
OpenClaw is a self-hosted, single-user AI assistant platform that connects to messaging channels (WhatsApp, Telegram, Discord, Slack, Signal, iMessage, MS Teams, Google Chat, Matrix, Zalo, WebChat) and runs entirely on the user's own hardware.
ws://127.0.0.1:18789. Coordinates channels, agents, tools, and events. Runs as a launchd/systemd service.~/.openclaw/workspace/ containing prompt files (AGENTS.md, SOUL.md, USER.md, IDENTITY.md, MEMORY.md, TOOLS.md) and skills.~/.openclaw/openclaw.json (JSON5 format).Prerequisites: Node >= 22, 2GB+ RAM, 500MB free disk.
Quick install:
npm install -g openclaw@latest
openclaw onboard --install-daemon
The onboarding wizard guides through gateway setup, model authentication, workspace creation, and optional channel linking.
Onboard flags:
--install-daemon — Install as system service (launchd/systemd)--mode local|remote — Local gateway or connect to remote--flow quickstart — Minimal setup--skip-channels — Skip channel linkingFrom source:
git clone https://github.com/openclaw/openclaw.git
cd openclaw && pnpm install && pnpm ui:build && pnpm build
pnpm openclaw onboard --install-daemon
Verify installation:
openclaw doctor
openclaw status --all --deep
For platform-specific details (macOS permissions, Linux systemd, Windows WSL2, Docker), consult references/installation.md.
| Command | Purpose |
|---|---|
openclaw onboard --install-daemon | First-time setup with daemon |
openclaw gateway start|stop|restart | Manage gateway service |
openclaw doctor --deep --yes | Health check with auto-fix |
openclaw channels login | WhatsApp QR pairing |
openclaw channels add --channel <ch> --token <t> | Add Telegram/Discord/Slack |
openclaw channels status --probe | Check channel connectivity |
openclaw models list|set|status | Model management |
openclaw models auth setup-token | Anthropic OAuth setup |
openclaw agent --message "text" | Single agent turn |
openclaw config get|set|unset | Manage configuration |
openclaw memory index|search | Memory vector search |
openclaw cron list|add|run | Scheduled jobs |
openclaw security audit --fix | Security foot-gun detection |
openclaw update --channel stable|beta|dev | Update CLI |
openclaw tui | Terminal UI |
openclaw dashboard | Open web control UI |
For the full CLI reference, consult references/cli-reference.md.
Each channel requires a specific setup flow:
| Channel | Setup |
|---|---|
openclaw channels login (QR scan) | |
| Telegram | Create bot via @BotFather, then channels add --channel telegram --token $TOKEN |
| Discord | Create bot in Discord Developer Portal, then channels add --channel discord --token $TOKEN |
| Slack | Create Slack app with bot token, then channels add --channel slack |
| Signal | channels add --channel signal (linked device) |
| iMessage | macOS only, native bridge integration |
| MS Teams | Bot registration required, then channels add --channel msteams |
| Google Chat | Service account required, then channels add --channel googlechat |
Diagnose channel issues:
openclaw channels status --probe
openclaw channels logs --channel <id>
For detailed per-channel setup, consult references/channels.md.
The workspace is the agent's context — prompt files injected at session start. Customize agent behavior by editing these files. Located at ~/.openclaw/workspace/:
| File | Purpose |
|---|---|
AGENTS.md | Operating instructions for the agent |
SOUL.md | Persona, tone, and boundaries |
USER.md | User information and preferences |
IDENTITY.md | Agent name, emoji, theme |
MEMORY.md | Curated long-term memory |
TOOLS.md | Local tool notes |
HEARTBEAT.md | Heartbeat checklist items |
BOOT.md | Startup checklist |
memory/YYYY-MM-DD.md | Daily append-only logs |
| Path | Purpose |
|---|---|
~/.openclaw/openclaw.json | Main configuration |
~/.openclaw/workspace/ | Default agent workspace |
~/.openclaw/agents/<id>/ | Per-agent state |
~/.openclaw/credentials/ | OAuth and API keys |
These slash commands are available inside any messaging channel connected to OpenClaw. Send them as regular messages.
| Command | Action |
|---|---|
/status | Session health |
/new or /reset | Clear context |
/model <model> | Switch model |
/compact | Summarize and free context |
/think or /verbose | Toggle reasoning/verbose |
/stop | Abort current run |
/send on|off | Override message delivery |
Anthropic Pro/Max is strongly recommended for long-context strength and prompt-injection resistance. As of early 2026, the recommended model is Opus 4.6 — update the model ID below to the latest flagship when newer versions are available.
openclaw models auth setup-token --provider anthropic
openclaw models set anthropic/claude-opus-4-6
openclaw models status --probe # Verify authentication
| Problem | Fix |
|---|---|
| No DM reply | openclaw pairing list then approve pending |
| Silent in group | Check mentionPatterns config |
| Auth expired | openclaw models auth setup-token --provider anthropic |
| Gateway down | openclaw doctor --deep --yes |
| Memory not indexing | openclaw memory index --all |
| Context full | /compact or /new |
| Channel disconnected | openclaw channels status --probe |
| Port conflict | lsof -i :18789 or ss -tlnp | grep 18789 |
For comprehensive troubleshooting, consult references/troubleshooting.md.
references/installation.md — Platform-specific installation (macOS, Linux, WSL2, Docker, from source)references/cli-reference.md — Complete CLI command reference with all subcommands and flagsreferences/channels.md — Detailed per-channel setup procedures and configurationreferences/troubleshooting.md — Extended troubleshooting, security, session management, and advanced configurationWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub smidigstorm/storm-claude-marketplace --plugin openclaw