Best use case
Config Update Skill is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
OpenClaw 配置安全更新指南。
Teams using Config Update Skill should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/config-update/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How Config Update Skill Compares
| Feature / Agent | Config Update Skill | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
OpenClaw 配置安全更新指南。
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Config Update Skill OpenClaw 配置安全更新指南。 ## 用途 指导如何安全地更新 OpenClaw 配置(Agent 模型、心跳、权限等)。 ## ⚠️ 核心原则 `agents.list` 和 `bindings` 是**数组字段**,`config.patch` 对数组执行**整体替换**而非合并。 传入不完整的数组 = 丢失未包含的 Agent。 ### 绝对禁止 - ❌ 用 `config.patch` 修改 `agents.list` 或 `bindings` - ❌ 手动拼接 JSON 字符串写入配置文件 - ❌ 不经验证就应用配置 ## ✅ 推荐流程 ### 使用 config_edit.py 脚本 ```bash # 查看当前配置 python3 script/config_edit.py --list # 修改模型(预览) python3 script/config_edit.py --set-model <agent_id> <provider/model_id> # 修改模型(应用并重启) python3 script/config_edit.py --set-model <agent_id> <provider/model_id> --apply --restart # 批量修改 python3 script/config_edit.py --set-model <agent1>,<agent2> <provider/model_id> --apply --restart # 修改心跳 python3 script/config_edit.py --set-heartbeat <agent_id> <interval> --apply --restart # 验证配置 python3 script/config_edit.py --validate # 查看变化 python3 script/config_edit.py --diff ``` ### 安全机制 | 功能 | 说明 | |------|------| | 自动备份 | 修改前自动备份到 `~/.openclaw/config-backups/` | | Agent 数量检查 | 数量减少时阻断并提示 | | JSON 验证 | 修改前验证格式完整性 | | Binding 引用检查 | 确保所有 binding 引用的 Agent 存在 | | 模型验证 | 检查 provider 是否有效 | ### 回滚 ```bash cp ~/.openclaw/config-backups/<backup-file>.json ~/.openclaw/openclaw.json openclaw gateway restart ``` ## 参考 - [配置更新最佳实践](./references/config-best-practices.md)
Related Skills
Maintenance Skill
飞书多 Agent 项目维护指南 - 仅供维护 feishu-multi-agent 项目时使用。
feishu-doc-writer
Feishu document writing skill. Handles known API pitfalls (block ordering, unsupported formats). Activate when writing content into Feishu docs or creating structured documents.
feishu-chat
飞书群聊管理:创建群、添加/移除成员、修改群信息。需要 exec 权限执行 curl 命令。
delegate-agent
Delegate tasks to agents asynchronously. Triggers on "让XX做", "delegate to", "assign to", "派发", "布置任务".
agent-comm
跨 Agent 通信。当用户说"问XX"、"让XX做"、"发给XX"、"check agent status"时使用。
project-switcher
多项目管理和目录切换。用户发送 /repo 时列出项目,选择后切换工作目录。 适用于 coder agent 同时维护多个代码仓库的场景。
git-workflow
Git 工作流规范。管理分支、commit、PR 的标准流程。 用户发送 /git 或涉及版本控制操作时触发。
code-review
代码审查技能。用户发送 /review 或要求 review 时触发。 自动检查代码质量、安全问题、架构建议。
feishu-multi-agent
飞书多 Agent 系统搭建指南。当用户要求创建新的功能 Agent、配置飞书群聊绑定、 搭建多 Agent 协作系统时激活此 skill。 触发词:创建 agent、新建 agent、添加 agent、create agent、多 agent、飞书绑定。
configure-ecc
Everything Claude Code のインタラクティブなインストーラー — スキルとルールの選択とインストールをユーザーレベルまたはプロジェクトレベルのディレクトリへガイドし、パスを検証し、必要に応じてインストールされたファイルを最適化します。
n8n-node-configuration
Operation-aware node configuration guidance. Use when configuring nodes, understanding property dependencies, determining required fields, choosing between get_node detail levels, or learning common configuration patterns by node type.
mtls-configuration
Configure mutual TLS (mTLS) for zero-trust service-to-service communication. Use when implementing zero-trust networking, certificate management, or securing internal service communication.