insight Simon Willison 2026-09-18T19:09 正文 ok 89 words

Thariq Shihipar:Claude Code 新增 AGENTS.md 支持

英文标题:Quoting Thariq Shihipar

Claude Code 从 2.1.277 版本起新增对 AGENTS.md 的支持:当目录中不存在 CLAUDE.md 时,Claude 将自动查找并使用 AGENTS.md。该功能构建在即将推出的 Claude Code mods 机制之上,后者用于定制 Claude Code 的运行框架。AGENTS.md 支持作为内置 mod 提供,同时开发者未来也可自行构建项目指令的自定义版本。这意味着采用 AGENTS.md 约定的项目可更方便地与 Claude Code 集成,并获得更灵活的项目级配置能力。
打开原文相关 7.2 · 机会 1

中文

2026 年 9 月 18 日

我们正在为 Claude Code 添加对 AGENTS.md 的支持。

从今天发布的 2.1.277 版本开始,如果某个文件夹中没有 CLAUDE.md,Claude 将查找并使用 AGENTS.md。

AGENTS.md 支持构建在 Claude Code mods 之上;这是我们即将推出的、用于定制 Claude Code 运行框架的方式。

这是一个内置 mod,但你也将能够按照自己的需求,自行构建项目指令的自定义版本。

你可以在这里查看该 mod 的源代码!

— Thariq Shihipar,这里还有更多 mod

English / 原文

18th September 2026

We're adding support for AGENTS.md to Claude Code.

Starting today in version 2.1.277, if there is no CLAUDE.md in a folder, Claude will check for and use AGENTS.md.

AGENTS.md support is built off of Claude Code mods, our upcoming way to customize the Claude Code harness.

This is a built-in mod, but you’ll be able to build custom versions of project instructions yourself as you’d like too.

You can see the source for the mod here!

— Thariq Shihipar, there are more mods here