agent-config
由 thatguysizemore 提供
Coding Agents & IDEs简介
Intelligently modify agent core context files.
描述
该技能的功能
Structured workflow for modifying OpenClaw agent core context files including AGENTS.md, SOUL.md, IDENTITY.md, USER.md, TOOLS.md, MEMORY.md, and HEARTBEAT.md. Handles file selection, duplication checks, size limit warnings, format validation, and change verification.
Prevents common config mistakes like placing operational rules in personality files, duplicating content across files, or bloating context files past the truncation limit where they stop loading fully.
何时使用
- Adding a safety rule to block bulk password exports
- Updating agent delegation thresholds
- Refining tone and personality in SOUL.md
- Adding tool-specific conventions to TOOLS.md
- Auditing and trimming an oversized context file near its 20K limit
示例工作流
User asks: Add a rule to never bulk export passwords
- 1
Read references/file-map.md to confirm AGENTS.md as the target for safety rules
- 2
Check AGENTS.md file size with wc -c to ensure it is under 18K chars
- 3
Run grep -i 'password' on AGENTS.md to find existing related rules
- 4
Update the existing password manager section instead of adding a duplicate rule
- 5
Verify change with grep and report new file size to the user
AGENTS.md updated with bulk export prohibition added to existing password manager rule, new file size confirmed
安装
clawhub install thatguysizemore/agent-config运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。