你上次清理 AGENTS.md 是什么时候?时间一长,里面的规则就开始互相打架,有些还指向早就删除的文件。 如果把一切都交给自动化,这类冲突有时就会漏过去。有空时,手动清理一遍,你就能看出智能体实际遵循的是哪些规则。 把下面这段发给 Claude Code 或 Codex。它会给每条有问题的规则编号,只修改你选中的那些: 阅读 AGENTS.md、CLAUDE.md(项目级和全局级)以及所有技能文件。为每条与其他规则矛盾、重复,或指向已不存在的文件或命令的规则编号。引用每处冲突双方的原文,并用 10 岁孩子都能理解的话解释每个问题。在我回复需要修复的编号之前,不要做任何修改。
看原文
When did you last clean up your AGENTS.md? Over time, its 𝗿𝘂𝗹𝗲𝘀 𝘀𝘁𝗮𝗿𝘁 𝗳𝗶𝗴𝗵𝘁𝗶𝗻𝗴 𝗲𝗮𝗰𝗵 𝗼𝘁𝗵𝗲𝗿, and some still point to files that were deleted long ago. If you leave it all to automation, conflicts like these sometimes slip through. When you have time, 𝗱𝗼 𝗮 𝗰𝗹𝗲𝗮𝗻𝘂𝗽 𝗽𝗮𝘀𝘀 𝗯𝘆 𝗵𝗮𝗻𝗱, and you'll see which rules your agent is actually following. Send this to Claude Code or Codex. It numbers every problem rule and changes only the ones you pick: Read AGENTS.md, CLAUDE.md (project and global) and every skill file. Number each rule that contradicts another rule, repeats one, or points to a file or command that no longer exists. Quote both sides of each conflict and explain each problem in words a 10-year-old could understand. Change nothing until I reply with the numbers to fix.