--- name: openclaw-docs description: Search and reference OpenClaw documentation for configuration, setup, CLI commands, and troubleshooting. Use when the user asks about OpenClaw config options, gateway setup, channel configuration, agent commands, or needs help with OpenClaw CLI usage. Triggers on questions about openclaw config, openclaw commands, gateway setup, or general openclaw documentation. --- # OpenClaw Documentation Skill ## Overview This skill provides quick access to OpenClaw configuration patterns, CLI commands, and setup documentation from the codebase. Use this when you need to look up specific config options, understand how to configure channels, set up the gateway, or troubleshoot common issues. ## Quick Reference ### Configuration Patterns OpenClaw config lives at `~/.openclaw/config.json` and can be managed via: - `openclaw config get ` - Get a config value - `openclaw config set ` - Set a config value - `openclaw config unset ` - Remove a config value - `openclaw config` - Interactive wizard Common config paths are documented in `references/config-guide.md`. ### CLI Commands Core commands: - `openclaw agent` - Run agent turns (local or via gateway) - `openclaw gateway` - Gateway management - `openclaw channels` - Channel status and management - `openclaw skills` - Skill management - `openclaw login` - Provider authentication For detailed command usage, see `references/cli-commands.md`. ### Gateway Setup The gateway can run in different modes: - Local mode: `gateway.mode=local` - Remote mode: requires gateway URL configuration See `references/gateway-setup.md` for detailed setup instructions. ### Channels OpenClaw supports multiple messaging channels (Telegram, Discord, WhatsApp, Signal, iMessage, etc.). Channel-specific setup is documented in `docs/channels/` in the repo. See `references/channels-guide.md` for channel configuration patterns. ## Resources ### references/ - `config-guide.md` - Common configuration options and patterns - `cli-commands.md` - Detailed CLI command reference - `gateway-setup.md` - Gateway configuration and modes - `channels-guide.md` - Channel setup and configuration patterns - `troubleshooting.md` - Common issues and solutions