跳到正文
TakoAPI
返回技能列表

agent-config

由 thatguysizemore 提供

Coding Agents & IDEs
3.1k下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Read references/file-map.md to confirm AGENTS.md as the target for safety rules

  2. 2

    Check AGENTS.md file size with wc -c to ensure it is under 18K chars

  3. 3

    Run grep -i 'password' on AGENTS.md to find existing related rules

  4. 4

    Update the existing password manager section instead of adding a duplicate rule

  5. 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 或你在用的任意编程智能体里。

链接