feat: Add agents-md plugin for AGENTS.md fallback support#29833
Closed
baktybekb wants to merge 1 commit intoanthropics:mainfrom
Closed
feat: Add agents-md plugin for AGENTS.md fallback support#29833baktybekb wants to merge 1 commit intoanthropics:mainfrom
baktybekb wants to merge 1 commit intoanthropics:mainfrom
Conversation
Adds a plugin that reads AGENTS.md files when no CLAUDE.md is present, enabling cross-tool compatibility with Codex, Cursor, Amp, and 20,000+ repositories that use the AGENTS.md standard. Resolves anthropics#6235
fc2e2e1 to
8b2e390
Compare
|
@baktybekb can it also support lazy loading |
This was referenced Mar 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new plugin (
plugins/agents-md) that provides AGENTS.md support for Claude Code, addressing the most upvoted issue in this repository.AGENTS.mdfiles when noCLAUDE.mdis present at the same directory level<dir>/AGENTS.mdand<dir>/.claude/AGENTS.mdlocationsCLAUDE.mdexists,AGENTS.mdis skippedThis enables cross-tool compatibility with 20,000+ repositories using the AGENTS.md standard (Codex, Cursor, Amp, and other AI coding tools).
Resolves #6235
Behavior matrix
Plugin structure
Test plan
.claude/AGENTS.mdnested location — loads correctly