Repository navigation
mods/agents-md: the AGENTS.md project-instructions mod - #95409
Merged
Merged
Conversation
…hipped; typings at 2.1.277
poteat
enabled auto-merge (squash)
September 18, 2026 17:33
notitatall
approved these changes
Sep 18, 2026
This was referenced Sep 19, 2026
8 tasks
2 tasks done
This was referenced Sep 23, 2026
yurkom
added a commit
to openl-tablets/openl-tablets
that referenced
this pull request
Sep 24, 2026
Claude Code reads AGENTS.md natively since 2.1.277 (2026-09-18) through the built-in agents-md mod (anthropics/claude-code#95409, #95417). In the default "claude-md-or-agents-md" mode a directory without CLAUDE.md loads its AGENTS.md, while an existing CLAUDE.md hides it. The "@AGENTS.md" import shims are therefore redundant; Docs links now point to AGENTS.md.
yurkom
added a commit
to openl-tablets/openl-tablets
that referenced
this pull request
Sep 24, 2026
Claude Code reads AGENTS.md natively since 2.1.277 (2026-09-18) through the built-in agents-md mod (anthropics/claude-code#95409, #95417). In the default "claude-md-or-agents-md" mode a directory without CLAUDE.md loads its AGENTS.md, while an existing CLAUDE.md hides it. The "@AGENTS.md" import shims are therefore redundant; Docs links now point to AGENTS.md.
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.
Adds the source of the
agents-mdmod undermods/agents-md, in the same layout assec-default,diffandtelemetry: manifest,hooks/module,tests/forclaude plugin test, and a README. The mod readsAGENTS.mdthe way the engine readsCLAUDE.md, under one option,instructionFiles(claude-md,claude-md-or-agents-mdthe default,claude-md-and-agents-md,managed-only; a value under the earlierprojectInstructionskey is still honoured), onprompt.context's instruction files,tool.callonRead,agent.spawnand$.fs.ancestors. Also refreshesmods/types/claude-code.d.tsto the 2.1.277 declarations and namesisLinkin the onedifftest fixture that fakesfs.listandfs.statvalues. Checked:tsc -p mods/tsconfig.json,claude plugin validate mods/agents-md, andclaude plugin teston every mod under 2.1.276 and 2.1.277.