Codex工作流长帖约 8 分钟

把 AGENTS.md 当路由器

AGENTS.md as a Router

要点

  1. 把 AGENTS.md 写成路由器,只负责把任务导向对应 skill、文档和工具,而不是塞满细则。
  2. 每份文档前七行写可检索摘要,并要求智能体改系统时同步更新文档。
  3. 提交前用 hook 自动修 lint;修不了就交给更便宜的模型改,而不是只报错。
  4. 研究、计划、实现、收尾都换另一个模型交叉审查,避免同一模型自评。
  5. 每次会话留下可交接工作表并打 git tag,失败后别的智能体也能接着干。

原帖开头

I'm just going to dump my whole agentic setup out here, because I see too many people missing giant chunks of this and it's hurting them. Here's what I have and recommend: 0. an AGENTS.md that is a router -- it sends the agent to the right skills, docs, tools 1. a standard wor