
OpenClaw Configuration Manager
FreeEfficiently manage OpenClaw instance configurations.
Free · Opens the source repo
What OpenClaw Configuration Manager does
OpenClaw Configuration Manager is a comprehensive tool designed for developers and system administrators who need to manage configurations of OpenClaw instances effectively. This skill allows users to perform various operations such as auditing, copying, adding models, listing configurations, and switching models within OpenClaw's JSON configuration files. By utilizing a command-line interface, users can execute these tasks with precision and ease, ensuring that their configurations are always up-to-date and consistent.
The skill provides several subcommands that streamline the management process. For instance, the audit command validates the configuration for consistency, while the copy command allows for the transfer of provider settings between different configurations. The add-model command facilitates the addition of new model definitions to existing providers, ensuring that users can expand their capabilities without starting from scratch. Additionally, the list command provides a clear overview of available providers, models, and their statuses, making it easier to keep track of configurations.
One of the standout features is the support for lobster nicknames, which allows users to reference configurations using human-readable names instead of file paths. This can significantly enhance productivity by reducing the complexity of command inputs. Furthermore, the skill includes built-in backup functionality, automatically saving previous versions of configurations before any changes are made. This ensures that users can revert to earlier states if necessary, adding an extra layer of safety to configuration management.
Overall, OpenClaw Configuration Manager is an essential tool for anyone working with OpenClaw instances, providing a robust and user-friendly interface for managing complex configurations efficiently.
When to use it
Use this skill when you need to audit, copy, add models, or switch configurations in OpenClaw instances.
When not to use it
This skill may not be suitable for users who do not work with OpenClaw or require a graphical interface for configuration management.
What you can build with it
Audit Configuration
Run `python3 scripts/cli.py audit --config my_config.json` to validate your OpenClaw settings before applying changes.
Copy Provider Settings
Use `python3 scripts/cli.py copy --from source_config.json --to target_config.json provider-name` to transfer provider settings between configurations.
Add New Model
Execute `python3 scripts/cli.py add-model provider model-id --config my_config.json` to enhance a provider with a new model definition.
How to install OpenClaw Configuration Manager
View source1. Install with the skills CLI
npx skills add daymade/claude-code-skills/openclaw --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by daymadeopenclaw
A unified skill for managing OpenClaw (龙虾) instance configs.
Subcommands
python3 scripts/cli.py [audit|diff|copy|add-model|list|switch] [options]
Each subcommand can also be run directly, e.g. python3 scripts/audit.py ....
diff is an alias for compare.
Shared behavior
- Default config discovery: when
--config/--tois omitted, the skill searches these locations in order:~/workspace/.force/openclaw/openclaw.json~/.kimi_openclaw/openclaw.json~/.openclaw/openclaw.json
- Lobster nicknames:
--config,--from, and--tocan be either a file path or a nickname registered inlobsters.json(see below). You can also use--from-lobsterand--to-lobsterfor explicit nickname arguments. - Backups: every write operation copies the config to
config-backups/<stem>-<utc-timestamp>.jsonbefore saving. The skill keeps the 20 most recent backups. - Dry run: write subcommands (
copy,add-model,switch) support--dry-runto preview changes. - Restart: write subcommands support
--restartto restart the OpenClaw gateway after saving. - Automatic audit:
copy,add-model, andswitchrun an audit before and after the change by default. Use--no-auditto skip it.
Lobster nickname registry
Create a JSON file at one of these locations:
~/workspace/.force/openclaw/lobsters.json~/.kimi_openclaw/lobsters.json~/.openclaw/lobsters.json
Example:
{
"甲虾": "/path/to/甲虾/openclaw.json",
"乙虾": "/path/to/乙虾/openclaw.json"
}
Then use:
python3 scripts/cli.py copy gateway-provider --from 甲虾 --to 乙虾 --alias
python3 scripts/cli.py switch gateway-provider/deepseek-v4-pro --config 乙虾 --restart
audit — validate a config
python3 scripts/cli.py audit [--config PATH|NICKNAME] [--json]
Checks providers, models, default model, aliases, and plugin consistency.
Use when:
- "帮我查一下这只虾的配置"
- "audit 一下 openclaw.json"
- Before applying a patch or copying a provider
diff — semantic diff of two configs
python3 scripts/cli.py diff LEFT.json RIGHT.json [--json] [--include-cost]
Reports added/removed/changed providers, models, default model, aliases, and
plugins. Skips cost fields by default; use --include-cost to diff them.
Use when:
- "为什么甲虾能用 DeepSeek,乙虾不行?"
- "这两份龙虾配置哪里不一样?"
copy — copy a provider between configs
python3 scripts/cli.py copy \
--from SOURCE|NICKNAME [--to TARGET|NICKNAME] \
provider-name [--model ID]... [--alias] [--restart] [--dry-run] [--no-audit]
Copies an entire provider from one config to another. If the target already has
that provider, it merges models and updates baseUrl / api without deleting
target-only models. --alias also copies aliases pointing to that provider.
Use when:
- "把甲虾的 gateway provider 复制到乙虾"
- "把这个模型配置同步过去"
add-model — add a model to a provider
python3 scripts/cli.py add-model provider model-id|model-json \
[--config PATH|NICKNAME] [--from SOURCE|NICKNAME] [--alias NAME] \
[--restart] [--dry-run] [--no-audit]
Adds a model definition and alias to a provider. If the provider is missing, it
can be copied from --from first.
Ways to specify the model:
- Pass a model id and
--from SOURCEcontaining that model in the same provider. - Pass a path to a JSON file with the model definition.
Use when:
- "给这只虾加上 DeepSeek"
- "把甲虾的 DeepSeek 配置复制到乙虾"
The canonical DeepSeek model definition lives in
references/deepseek_model.json.
Critical pitfalls
- Do not create a separate
deepseekprovider. The supported path is the gateway provider with model iddeepseek-v4-pro. - Model id must not contain
[1m]. Use the suffixlessdeepseek-v4-pro; the upstream gateway maps it to the 1M context variant. - Cold restart required. New providers are not reliably picked up by hot reload.
list — list providers, models, aliases, and default
python3 scripts/cli.py list [--config PATH|NICKNAME] [--json] [--validate]
Human-readable output by default; --json for piping to jq. Add --validate
to check that the default model and aliases resolve.
Use when:
- "这只虾有哪些模型?"
- "列出甲虾可用的模型"
- "看看默认模型是什么"
switch — change the default model
python3 scripts/cli.py switch provider/model-id \
[--config PATH|NICKNAME] [--restart] [--dry-run] [--no-audit]
This is the only subcommand that changes agents.defaults.model. It verifies
that the provider and model exist, backs up the config, and updates the default.
If the target is already the default, it exits without making another backup.
Use when:
- "把默认模型切成 DeepSeek"
- "切回原来的模型"
Typical workflows
Enable DeepSeek on a lobster
python3 scripts/cli.py audit --config 乙虾
python3 scripts/cli.py add-model gateway-provider deepseek-v4-pro \
--config 乙虾 --from 甲虾 --alias "DeepSeek V4 Pro"
python3 scripts/cli.py switch gateway-provider/deepseek-v4-pro --config 乙虾 --restart
Clone a working config to a new lobster
python3 scripts/cli.py copy gateway-provider --from 甲虾 --to 乙虾 --alias --restart
python3 scripts/cli.py audit --config 乙虾
Diff two lobsters
python3 scripts/cli.py diff 甲虾 乙虾
References
references/openclaw_architecture.md— config schema and terminologyreferences/deepseek_patch_sop.md— DeepSeek patch SOP (sanitized)references/deepseek_model.json— canonical DeepSeek model definition loaded byadd-modelreferences/lobster_registry.example.json— example lobster nickname registry
Frequently asked questions about OpenClaw Configuration Manager
Similar skills
Turborepo
Optimized build system for JavaScript/TypeScript monorepos.
Azure Pipelines Validation
Streamline your Azure DevOps pipeline changes locally.
Azure Developer CLI
Streamline your Azure project workflows with best practices.
Azure Container Registry CLI
Manage Azure Container Registry resources with ease.
Aspire
Build and orchestrate polyglot distributed applications seamlessly.
Vercel CLI
Manage and deploy Vercel projects from the command line.
