| name | config-manage |
| description | Safely read and modify OpenClaw config using native CLI (not raw JSON editing) |
| tags | ["config","safety","management"] |
| version | 1.0.0 |
Config Manage
Read and modify OpenClaw configuration using the native CLI instead of raw jq edits.
When to use
- Need to read config values
- Need to change a setting safely
- Validate config before restart
Commands
Read
oc config get agents.list
oc config get memory.backend
oc config get channels.discord
oc config get gateway
oc config get <any.dot.path>
Write
oc config set <path> <value>
oc config unset <path>
Validate
oc config validate
Models (specialized)
oc models aliases list
oc models aliases add <alias> <model>
oc models aliases remove <alias>
oc models fallbacks list --agent <id>
oc models fallbacks add <model> --agent <id>
Agents (specialized)
oc agents list --json
oc agents add --help
oc agents bind --help
Safety rules
- Always
oc config validate after changes
- Back up config before destructive changes:
cp /root/.openclaw/openclaw.json /root/.openclaw/openclaw.json.bak.$(date +%s)
- Use dead man's switch for risky changes (see schedule-task skill)
- Config changes require:
docker compose restart openclaw-gateway
Intent: Coherent [I19]. Purpose: [P-TBD].