Install
openclaw skills install autosolutions-openclaw-master-opsThe definitive OpenClaw operations & expertise skill. Combines CLI mastery, gateway administration, security auditing, troubleshooting, channel management, agent/node orchestration, and production best practices. Includes automated release tracking with SQLite database for breaking change detection. Use for any OpenClaw operations task: setup, debugging, security hardening, performance tuning, multi-node deployments, channel configuration, model routing, cron automation, plugin management, incident response, and version change management.
openclaw skills install autosolutions-openclaw-master-opsThe comprehensive OpenClaw operations skill — combining CLI mastery, gateway administration, security hardening, troubleshooting workflows, and production best practices.
Use this skill whenever the user needs to:
openclaw.json, credentials/, sessions/ before --fix operationstrash over rm — Use recoverable deletion when cleaning up state--fix or --repair commandsFollow this triage sequence for any OpenClaw issue:
1. Check gateway status → openclaw gateway status
2. Run health check → openclaw doctor
3. Inspect logs → openclaw logs --recent 50
4. Verify auth → openclaw gateway query whoami
5. Check channels → openclaw channels list
6. Test exec → openclaw exec "echo test"
7. Security audit → openclaw security audit
--json for automation — Machine-readable output for scripts/CI--no-color in logs — Clean output for cron/webhook contexts# Start/Stop/Restart
openclaw gateway start
openclaw gateway stop
openclaw gateway restart
openclaw gateway status
# Run in foreground (dev)
openclaw gateway run --bind loopback --auth token
# Query running gateway
openclaw gateway query whoami
openclaw gateway query sessions
openclaw gateway query channels
openclaw gateway query nodes
# Discovery (find gateways on network)
openclaw gateway discover
openclaw gateway discover --wide # DNS-SD beyond local network
# Quick health check
openclaw doctor
# Auto-repair common issues
openclaw doctor --repair
openclaw doctor --repair --non-interactive
# Deep scan (includes system services)
openclaw doctor --deep
# Generate gateway token
openclaw doctor --generate-gateway-token
# Security audit
openclaw security audit
openclaw security audit --deep
openclaw security audit --json | jq '.summary'
# Apply safe fixes
openclaw security audit --fix
openclaw security audit --fix --json
# Manage secrets
openclaw secrets list
openclaw secrets get <name>
openclaw secrets set <name> <value>
openclaw secrets delete <name>
# List channels
openclaw channels list
openclaw channels list --json
# Channel status
openclaw channels status telegram
openclaw channels status whatsapp
# QR codes (for WhatsApp/Telegram bot setup)
openclaw qr show telegram
openclaw qr show whatsapp
# Channel troubleshooting
openclaw channels repair telegram
openclaw channels repair whatsapp
# List nodes
openclaw nodes list
openclaw nodes status
# Node pairing
openclaw node pair
openclaw node unpair <node-id>
openclaw pairing list
# Agent management
openclaw agents list
openclaw agent status <agent-id>
openclaw agent restart <agent-id>
# ACP harness (Claude Code, Cursor, etc.)
openclaw acp list
openclaw acp status
# List sessions
openclaw sessions list
openclaw sessions list --active-minutes 30
openclaw sessions list --kinds subagent
# Session history
openclaw sessions history <session-key>
openclaw sessions history <session-key> --limit 50 --include-tools
# Send to session
openclaw sessions send <session-key> "message here"
# Kill session
openclaw sessions kill <session-key>
# List cron jobs
openclaw cron list
openclaw cron list --json
# Manage jobs
openclaw cron add "0 6 * * *" "openclaw doctor --repair"
openclaw cron remove <job-id>
openclaw cron run <job-id>
# Heartbeat management
openclaw heartbeat status
openclaw heartbeat run
# Skills (ClawHub)
clawhub install <skill-slug>
clawhub update <skill-slug>
clawhub update --all
clawhub list
clawhub search "<query>"
# Plugins
openclaw plugins list
openclaw plugins install <plugin-name>
openclaw plugins update <plugin-name>
openclaw plugins remove <plugin-name>
# Recent logs
openclaw logs --recent 100
openclaw logs --follow
openclaw logs --level debug
# Gateway logs
openclaw logs gateway --recent 50
# Agent logs
openclaw logs agent <agent-id> --recent 50
# Export logs
openclaw logs export ./logs-backup.tar.gz
# View config
openclaw config list
openclaw config get <key>
openclaw config get gateway.auth.token
# Set config
openclaw config set <key> <value>
openclaw config set gateway.mode local
# Delete config
openclaw config delete <key>
# Backup/Restore
openclaw backup create
openclaw backup list
openclaw backup restore <backup-id>
# System status
openclaw system info
openclaw system status
openclaw system resources
# Update OpenClaw
openclaw update
openclaw update --preview
# Reset (careful!)
openclaw reset --keep-channels
openclaw reset --all # Full reset
# 1. Check if something's using the port
lsof -i :18789
netstat -tlnp | grep 18789
# 2. Kill existing process
openclaw gateway stop --force
# 3. Check config
openclaw config get gateway.mode
openclaw config get gateway.bind
# 4. Run doctor
openclaw doctor --repair
# 5. Check logs
openclaw logs gateway --recent 100
# 1. Check pairing status
openclaw pairing list
# 2. Re-pair node
openclaw node pair
# 3. If still failing, reset pairing
openclaw config delete nodes.paired
openclaw node pair
# 4. For mobile apps, show QR
openclaw qr show
# 1. Check channel status
openclaw channels status <channel>
# 2. Verify credentials exist
ls -la ~/.openclaw/credentials/
# 3. Re-authenticate
openclaw channels auth <channel>
# 4. For Telegram/WhatsApp, regenerate QR
openclaw qr show <channel>
# 1. Check approval config
openclaw config get gateway.nodes.allowCommands
openclaw config get gateway.nodes.denyCommands
# 2. Check pending approvals
openclaw approvals list
# 3. For known-safe commands, add to allowlist
openclaw config set gateway.nodes.allowCommands '["ls", "cat", "grep"]'
# 4. Restart gateway
openclaw gateway restart
# 1. List sessions
openclaw sessions list
# 2. Kill problematic session
openclaw sessions kill <session-key>
# 3. Clean up orphaned transcripts
openclaw doctor --repair
# 4. If severe, reset sessions
openclaw reset --sessions-only
# 1. Check model config
openclaw config get agents.defaults.model
# 2. Test inference
openclaw infer --model qwen/qwen3.5-plus "Hello"
# 3. Check provider status
openclaw models list
# 4. Rotate API keys if needed
openclaw secrets set OPENAI_API_KEY <new-key>
Run these periodically (weekly for production):
# 1. Security audit
openclaw security audit --deep
# 2. Apply safe fixes
openclaw security audit --fix
# 3. Check for exposed secrets
openclaw secrets list --show-metadata
# 4. Verify channel allowlists
openclaw config get channels.telegram.allowFrom
openclaw config get channels.whatsapp.allowFrom
# 5. Check group policies
openclaw config get channels.telegram.groupPolicy
openclaw config get channels.whatsapp.groupPolicy
# 6. Audit installed plugins
openclaw plugins list
clawhub list
# 7. Review recent sessions
openclaw sessions list --active-minutes 1440
# 8. Check for updates
openclaw update --check
{
"gateway.auth.token": {
"$secretRef": "gateway-token"
},
"channels.telegram.token": {
"$secretRef": "telegram-bot-token"
}
}
openclaw config set agents.defaults.sandbox.mode on
openclaw config set agents.defaults.sandbox.docker true
For shared inboxes:
openclaw config set session.dmScope per-channel-peer
# Health check every 30 minutes
openclaw cron add "*/30 * * * *" "openclaw doctor --non-interactive"
# Security audit weekly
openclaw cron add "0 3 * * 0" "openclaw security audit --deep --json > ~/security-audit.json"
openclaw config set logging.redactSensitive tools
# Default model for agents
openclaw config set agents.defaults.model.primary qwen/qwen3.5-plus
# Fallback model
openclaw config set agents.defaults.model.fallback zai/glm-5
# Model for specific tasks
openclaw config set agents.defaults.model.reasoning qwen/qwen3.5-plus
| Family | Commands | Use When |
|---|---|---|
| Gateway | gateway start/stop/status/query | Managing the WebSocket server |
| Health | doctor, health | Diagnosing issues |
| Security | security audit, secrets | Hardening config |
| Channels | channels list/status/repair, qr | Channel setup/debug |
| Nodes | nodes list, node pair, pairing | Multi-node setups |
| Agents | agents list, agent status, acp | Agent management |
| Sessions | sessions list/history/send/kill | Session orchestration |
| Cron | cron list/add/run/remove | Automation |
| Plugins | plugins list/install/update | Plugin management |
| Skills | clawhub install/update/search | Skill management |
| Config | config list/get/set/delete | Config changes |
| Logs | logs --recent/--follow | Debugging |
| System | system info/status/update | System ops |
When standard troubleshooting fails:
openclaw docs or https://docs.openclaw.aiclawhub search "<topic>" for relevant skillsopenclaw config set logging.level debug--profile <name> to isolate state: openclaw --profile dev gateway--dev flag for isolated dev environment: openclaw --dev gateway--container <name> to target specific containers--json for machine-readable output in all commands--no-color or set NO_COLOR=1 for clean logsThis skill includes automated OpenClaw release tracking to stay current with frequent updates.
Location: skills/openclaw-master-ops/release-history.db
Tracks:
cd /home/marius/.openclaw/workspace/skills/openclaw-master-ops
# Sync latest releases from GitHub
python3 scripts/release-tracker.py sync
# View release history
python3 scripts/release-tracker.py history
# Check breaking changes
python3 scripts/release-tracker.py breaking
# Check if skill needs updates
python3 scripts/release-tracker.py skill-update
# Export for skill context
python3 scripts/release-tracker.py export
# Weekly sync (Sundays 3 AM)
openclaw cron add "0 3 * * 0" "cd ~/.openclaw/workspace/skills/openclaw-master-ops && python3 scripts/release-tracker.py sync"
# Daily check for updates
openclaw cron add "0 8 * * *" "cd ~/.openclaw/workspace/skills/openclaw-master-ops && python3 scripts/release-tracker.py skill-update"
After running openclaw update:
python3 scripts/release-tracker.py syncpython3 scripts/release-tracker.py breakingpython3 scripts/release-tracker.py skill-updateclawhub publish ... --version 1.X.0 --changelog "Updated for OpenClaw <version>"Auto-detects these patterns in changelogs:
removed → feature_removaldeprecated → deprecationbreaking → breaking_changemigration → migration_requiredchanged default → default_changeconfig schema → config_changecommand removed → command_removalSee references/release-tracking.md for full workflow.
deep-research — For researching OpenClaw topics, comparing configurationsplugin-publisher — For creating and publishing OpenClaw pluginsnpd-validator — For validating new OpenClaw feature ideas