Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By bendruckerMITIn 1 marketplace
Deprecated: Claude Code reads AGENTS.md natively as of v2.1.277 through its built-in agents-md mod. Uninstall this plugin and configure the behavior from /config instead.
Trending plugins
7-day copy clicks
Run automatically on Claude Code events. Claude doesn't decide.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
agents-md, project-instructions, context-loading, monorepo, claude-md, agents, instructions
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code plugin for reading AGENTS.md files.
Loads project instructions from AGENTS.md files automatically, enabling Claude Code to work with projects using this open standard.
Claude Code reads AGENTS.md natively as of v2.1.277, through the built-in agents-md mod. This plugin is no longer maintained. Uninstall it:
claude plugin uninstall agents-md
Pick the behavior from /config under "Project instructions", or set it directly:
{
"pluginConfigs": {
"agents-md@builtin": {
"options": { "instructionFiles": "claude-md-or-agents-md" }
}
}
}
claude-md-or-agents-md is the default. A project with no CLAUDE.md of its own gets its AGENTS.md loaded in the same place CLAUDE.md would be. claude-md-and-agents-md loads both, up and down the tree.
The mod covers what this plugin was for. It walks subdirectories on Read and attaches the nested AGENTS.md files, so monorepos get per-directory context without a symlink in every folder.
The rest of this README describes the plugin as it was.
If you work in a small number of repositories, symlinking AGENTS.md to CLAUDE.md is probably fine:
ln -s AGENTS.md CLAUDE.md
This plugin is intended for users who work across many repositories and want consistent AGENTS.md support without per-project setup. It's also useful for large monorepos where linking AGENTS.md to CLAUDE.md in every subdirectory is harder to reliably maintain.
With the plugin installed, AGENTS.md files load automatically as you navigate your codebase. Subdirectory files take precedence over parent files, giving you hierarchical context without manual symlink management.
This plug-in tries to adhere as closely as possible to the AGENTS.md spec, which has subtle differences from CLAUDE.md.
claude plugin install github:bendrucker/claude-code-agents-md
Add the bendrucker marketplace, then install the plugin:
claude plugin marketplace add bendrucker/claude
claude plugin install agents-md@bendrucker
The plugin uses two hooks to inject AGENTS.md content into Claude Code sessions:
SessionStart: At session start (or after /clear, /compact), injects the root AGENTS.md from the project directory.
PostToolUse (Read): After any file read, walks up the directory tree from the read file to find the closest AGENTS.md and injects it. This allows subdirectories to have their own context.
Each AGENTS.md is injected only once per session to avoid context duplication.
Injected content is capped at 8000 characters by default, truncated at a heading or paragraph boundary with a notice pointing at the full file. Set AGENTS_MD_MAX_CHARS to change the cap (minimum 500).
Create AGENTS.md files in your project to provide context to Claude Code:
project/
├── AGENTS.md # Root instructions (injected at session start)
├── src/
│ ├── api/
│ │ └── AGENTS.md # API-specific instructions
│ └── utils/
└── tests/
└── AGENTS.md # Testing instructions
When Claude reads a file in src/api/, it receives the src/api/AGENTS.md content. The closest AGENTS.md to the file being read wins.
See the AGENTS.md standard for guidance on file contents.
AGENTS.md vs CLAUDE.mdClaude Code natively supports CLAUDE.md files for project instructions. This plugin adds support for AGENTS.md, an open standard.
| Behavior | CLAUDE.md | AGENTS.md |
|---|---|---|
| Loads nearest file in directory tree | ✓ | ✓ |
| Loads all ancestor files to project root | ✓ | ✗ |
@ file imports | ✓ | ✗ |
Use AGENTS.md for portable project instructions across AI coding tools. Use CLAUDE.md for richer Claude Code-specific features.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
bendrucker-claude-code-agents-md@cascade-ai-ml-agents-misc-1 is listed by joshuarweaver/cascade-ai-ml-agents-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-ai-ml-agents-misc-1 --plugin bendrucker-claude-code-agents-mdPlugins from other owners that cover similar ground