openclaw
Agent skill fromdaymade/claude-code-skills
Audits, diffs, copies, and lists providers/models, adds models, and switches the default model in local openclaw.json configs; diagnoses gateway/plugin failures (down, parked, broken, or out of date after an upgrade). Use for 虾/龙虾 config audits. Not for model-error repair (use openclaw-model-switch).
How to install openclaw
install openclaw
# install the claude-code-skills pack with the skills CLI
npx skills add daymade/claude-code-skills# or add only this skill to Claude Code: copy the folder
openclaw/
# into
~/.claude/skills/openclaw/ (all projects)
.claude/skills/openclaw/ (one project)
1# openclaw23A unified skill for managing OpenClaw (龙虾) instance configs.45For a running instance, read [operations](references/openclaw_operations.md) before writing6configuration or upgrading. Use the installation's validated native API and its reload hint;7the bundled config commands remain available for offline/exported files and compatible older8installations. Route a live model switch and its Gateway verification to `openclaw-model-switch`.910## Subcommands1112```bash13python3 scripts/cli.py [audit|diff|copy|add-model|list|switch] [options]14```1516Each subcommand can also be run directly, e.g. `python3 scripts/audit.py ...`.1718`diff` is an alias for `compare`.1920## Shared behavior2122- **Default config discovery**: when `--config` / `--to` is omitted, the skill23 searches these locations in order:24 1. `~/workspace/.force/openclaw/openclaw.json`25 2. `~/.kimi_openclaw/openclaw.json`26 3. `~/.openclaw/openclaw.json`27- **Lobster nicknames**: `--config`, `--from`, and `--to` can be either a file28 path or a nickname registered in `lobsters.json` (see below). You can also use29 `--from-lobster` and `--to-lobster` for explicit nickname arguments.30- **Backups**: every write operation copies the config to31 `config-backups/<stem>-<utc-timestamp>.json` before saving. The skill keeps32 the 20 most recent backups.33- **Dry run**: write subcommands (`copy`, `add-model`, `switch`) support34 `--dry-run` to preview changes.35…
Excerpt shown under the repository's MIT license.
