Automatically detects and loads AGENTS.md files to provide agent-specific instructions
Installation
Open Claude Code and run this command:
/plugin install agent-context-manager@claude-code-plugins-plus
Use --global to install for all projects, or --project for current project only.
What It Does
Automatically load AGENTS.md files alongside CLAUDE.md for specialized agent-specific instructions.




Features
⚡ Automatic Loading (Layer 1: Proactive Skill)
The plugin automatically detects and loads AGENTS.md when:
- Starting a new Claude Code session
- Changing directories (via
cdcommand) - Invoking any other agent skill
User Experience:
📋 Loaded agent-specific context from AGENTS.md
Following specialized agent rules for this session:
- Always use TypeScript strict mode
- Never create files without permission
- Follow kebab-case naming convention
No user action required!
🔔 Directory Change Detection (Layer 2: Hooks)
When you enter a directory with AGENTS.md, you'll see:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 AGENTS.md detected in current directory
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Agent Context Manager is active
The agent-context-loader skill will automatically load
agent-specific instructions from AGENTS.md
Location: /path/to/project/AGENTS.md
What happens next:
1. Claude will read AGENTS.md automatically
2. Agent-specific rules will be incorporated
3. Instructions will be active for this session
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔄 Manual Synchronization (Layer 3: Slash Command)
Permanently merge AGENTS.md into CLAUDE.md:
/sync-agent-context
What it does:
- Finds all AGENTS.md files in your project
- Reads their content
- Merges into CLAUDE.md under "## Agent-Specific Instructions" section
- Creates backup:
CLAUDE.md.backup.TIMESTAMP
Result:
Skills (1)
Execute proactive auto-loading: automatically detects and loads agents.
ReadWriteEditGrepGlobBash(general:*)Bash(util:*)