Skip to content

mods/agents-md: the AGENTS.md project-instructions mod - #95409

Merged
poteat merged 4 commits into
mainfrom
poteat/mods-agents-md
Sep 18, 2026
Merged

poteat merged 4 commits into
mainfrom
poteat/mods-agents-md

Conversation

@poteat

@poteat poteat commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Adds the source of the agents-md mod under mods/agents-md, in the same layout as sec-default, diff and telemetry: manifest, hooks/ module, tests/ for claude plugin test, and a README. The mod reads AGENTS.md the way the engine reads CLAUDE.md, under one option, instructionFiles (claude-md, claude-md-or-agents-md the default, claude-md-and-agents-md, managed-only; a value under the earlier projectInstructions key is still honoured), on prompt.context's instruction files, tool.call on Read, agent.spawn and $.fs.ancestors. Also refreshes mods/types/claude-code.d.ts to the 2.1.277 declarations and names isLink in the one diff test fixture that fakes fs.list and fs.stat values. Checked: tsc -p mods/tsconfig.json, claude plugin validate mods/agents-md, and claude plugin test on every mod under 2.1.276 and 2.1.277.

@poteat
poteat enabled auto-merge (squash) September 18, 2026 17:33
@poteat
poteat merged commit a92ea1c into main Sep 18, 2026
2 checks passed
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants