Claude Code finally adds native AGENTS.md support, ending the dual-file era
量子位 · wechat · 2026-09-20
As of Sep 19, Claude Code natively supports AGENTS.md — OpenAI's project instruction file format — becoming the last major AI coding tool to do so.
Background: AGENTS.md is a standardized root-level Markdown file for AI coding assistants, donated to the Linux Foundation's Agentic AI Foundation in Dec 2025. A survey found 6.2% of active GitHub repos contain AGENTS.md vs 5.4% for CLAUDE.md, forcing many teams to maintain two 90%-overlapping files. Workarounds like symlinks (fragile on Windows) and @imports were common but flawed.
Implementation: Version 2.1.277 uses fallback — the default "claude-md-or-agents-md" mode reads AGENTS.md only when no CLAUDE.md exists (even an empty one wins). Three other modes are available via /config: CLAUDE.md only, both, or org-level instructions. The feature ships as a built-in Mod (plugin), part of Claude Code's September plugin system that hooks into lifecycle events.
Known gaps: nested AGENTS.md files only trigger on text Reads; /memory and don't recognize them; --add-dir directories skip them; @import authorization rides on CLAUDE.md's dialog — all because the plugin event system doesn't cover those cases yet.
Related event: Claude Code Adds AGENTS.md Support Starting with v2.1.277(33 posts)→
More from coding & agent
- Musk cites unsustainable Grok Bot costs as Hermes offers one-command agent migration — Teknium · 2026-11-04
- Open-source agent Cindy launches: cross-device tasks, files and model sharing — yangyi · 2026-11-04
- 网友用多 Agent 循环工作流筛出 1132 个 B 站神级视频建站 — huangyun_122 · 2026-11-04
- Graphic designer builds NASA-data 3D Solar System in 2 months with Claude Code, no coding — Shevei1342 · 2026-11-04
- How to Run a 5-Person Office With Claude: Assistant, Bookkeeper, PM, Analyst & Office Manager — evielync · 2026-11-04
- Replit's User Ops lead built an AI app to prioritize and route support tickets — amasad · 2026-11-04