Feature Request: Native support for AGENTS.md and .agents/skills/ as portable alternatives to CLAUDE.md and .claude/skills/
Summary
Claude Code is the only major agent CLI that doesn't recognize the emerging community standard of AGENTS.md + .agents/skills/. Cursor, Aider, Continue.dev, Codex, and others converge on this layout for portability. Supporting it natively would let a single repo work across every agent tool without maintaining parallel instruction files.
Proposal
AGENTS.mddual-read: when Claude Code loads project instructions, check forAGENTS.mdin the same directories it currently checksCLAUDE.md. If both exist, concatenateAGENTS.mdcontent first, thenCLAUDE.mdcontent (explicit per-project override). If only one exists, use it.
.agents/skills/dual-discovery: alongside~/.claude/skills/and./.claude/skills/, also scan~/.agents/skills/and./.agents/skills/forSKILL.mdfiles. Merge into the skill registry. On name collision, prefer.claude/(Claude-specific takes precedence).
.agents/hooks/,.agents/commands/: optional follow-on for hook and slash-command portability. Lower priority than steps 1 and 2.
- Zero breaking changes: projects with only
CLAUDE.mdsee no behavior change. Projects withAGENTS.mdonly get it honored automatically. Projects with both get deterministic precedence rules.
Prior-art evidence of demand (all 5 currently open, unanswered)
- #6235 (3,639 thumbs-up): "Feature Request: Support AGENTS.md"
- #31005 (117 thumbs-up): "Support for AGENTS.md and .agents/skills/, the community has been asking since April"
- #12925 (96 thumbs-up): "Linear Integration: Assign issues to Claude Code to trigger cloud agent sessions" (adjacent; portability matters)
- #10238 (133 thumbs-up): "Add support for subdirectories in skills" (skill-discovery adjacency)
- #25045 (58 thumbs-up): "allow skills to programmatically rename sessions" (portability adjacent)
Why this is not a duplicate
#6235is the original request but has no formal proposal. Anthropic has not responded in the issue thread.#31005asks for bothAGENTS.mdand.agents/skills/but is a follow-up ask, not a consolidated design.- No existing issue proposes the specific dual-read + dual-discovery + precedence model above.
- This FR consolidates the five related asks into one actionable spec that Anthropic can implement or explicitly decline with rationale.
Use case (specific, not hypothetical)
A user maintains a multi-agent workflow: Claude Code for implementation, Cursor for pair-programming refactors, Aider for batch refactors, Codex for one-shot script generation. Every project currently needs:
CLAUDE.md(Claude Code)AGENTS.md(Cursor / Aider / Codex)
These files contain 80%+ overlapping content. When the user updates one, they must remember to mirror to the other. This is a known friction point across the community, and the 3,987 thumbs-up on #6235 alone is evidence that the scale is not niche.
Adding AGENTS.md dual-read in Claude Code would eliminate the duplication for projects that opt in, while preserving full backward compatibility for projects that use only CLAUDE.md.
Acceptance criteria
- [ ]
AGENTS.mdin a project root is read alongsideCLAUDE.mdwith documented precedence - [ ]
.agents/skills/is discovered alongside.claude/skills/with documented precedence - [ ] Docs page at
code.claude.com/docs/en/memoryupdated to cover both paths - [ ] A simple example repo demonstrates running the same skill on Claude Code AND Cursor without duplication
- [ ] Closing notes on #6235 and #31005 reference this FR
---
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗