中文文档 | English
A comprehensive Agent Skill for installing, configuring, operating, and troubleshooting OpenClaw — a self-hosted, multi-channel AI agent gateway.
This is an Agent Skill designed for AI coding assistants (like Claude with Antigravity). Once installed, the AI assistant gains deep knowledge of OpenClaw and can help you with:
- 🔧 Installation & Updates — Install, upgrade, or migrate OpenClaw
- ⚙️ Configuration — Edit
openclaw.json, set up models, manage secrets - 📡 Channel Management — Set up WhatsApp, Telegram, Discord, Slack, iMessage, and 15+ other channels
- 🚀 Gateway Operations — Start, stop, restart, health check, remote access
- 🤖 Multi-Agent Routing — Configure multiple agents with isolated workspaces and sessions
- 🔒 Security Hardening — Audit, lock down access, manage tokens and secrets
- 🔍 Troubleshooting — Diagnose and fix common errors from CLI and Gateway
OpenClaw-Skill/
├── SKILL.md # Main entry (core workflows, commands, troubleshooting)
└── references/
├── channels.md # 20+ channel setup guides (WhatsApp, Telegram, Discord, etc.)
├── gateway_ops.md # Gateway architecture, service management, remote access
├── multi_agent.md # Multi-agent routing, bindings, per-agent config
├── providers.md # 20+ model providers (Anthropic, OpenAI, Ollama, etc.)
└── security.md # Auth, access control, hardening baseline, incident response
Total: ~1,400 lines of structured reference covering all core OpenClaw functionality.
Copy the skill folder to your Antigravity skills directory:
# Clone this repo
git clone https://github.com/win4r/OpenClaw-Skill.git
# Copy to your skills directory
cp -r OpenClaw-Skill ~/.gemini/antigravity/skills/openclawThe skill will be automatically detected and triggered when you ask about OpenClaw-related tasks.
The SKILL.md and references/ files contain structured documentation that can be adapted for any AI assistant that supports skill/knowledge injection.
Once installed, just ask naturally:
| What You Say | What the AI Does |
|---|---|
| "Help me upgrade OpenClaw" | Runs npm install -g openclaw@latest, openclaw doctor, restarts Gateway, verifies |
| "Set up a Telegram bot" | Walks through bot creation, token setup, config, and verification |
| "Gateway is not responding" | Runs diagnostic command ladder: status → logs → doctor → channels probe |
| "Lock down my OpenClaw security" | Runs security audit, applies hardened baseline, fixes permissions |
| "Add a second agent for work" | Creates agent, sets up workspace, configures bindings, restarts |
| "EADDRINUSE error" | Identifies port conflict, runs openclaw gateway --force or changes port |
# Status & Health
openclaw status # Overall status
openclaw gateway status # Gateway daemon status
openclaw doctor # Diagnose issues
openclaw channels status --probe # Channel health
# Gateway Management
openclaw gateway install # Install as system service
openclaw gateway start/stop/restart
# Configuration
openclaw config get <path> # Read config value
openclaw config set <path> <value> # Set config value
openclaw configure # Interactive wizard
# Security
openclaw security audit # Check security posture
openclaw security audit --fix # Auto-fix issues
openclaw secrets reload # Reload secret refs
# Channels
openclaw channels add # Add channel (wizard)
openclaw channels login # WhatsApp QR pairing
openclaw channels list # Show configured channels
# Models
openclaw models set <model> # Set default model
openclaw models status --probe # Check auth statusThis skill is built from the official OpenClaw Documentation, covering:
- Install
- Gateway Architecture
- Configuration
- Channels
- Model Providers
- Tools
- Multi-Agent Routing
- Security
- Troubleshooting
- CLI Reference
This skill is provided as-is for use with AI assistants. OpenClaw itself is MIT licensed.
Issues and PRs welcome! If OpenClaw releases new features or changes, feel free to update the reference files accordingly.