PROACTIVE AUTO-LOADING: Automatically detects and loads AGENTS.md files from the current working directory when starting a session or changing directories. This skill ensures agent-specific instructions are incorporated into Claude Code's context alongside CLAUDE.md, enabling specialized agent behaviors. Triggers automatically when Claude detects it's working in a directory, when starting a new session, or when explicitly requested to "load agent context" or "check for AGENTS.md file".
How this skill is triggered — by the user, by Claude, or both
Slash command
/agent-context-manager:agent-context-loaderThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**⚡ This skill activates AUTOMATICALLY - no user action required!**
⚡ This skill activates AUTOMATICALLY - no user action required!
This skill makes Claude Code recognize and load AGENTS.md files with the same priority as CLAUDE.md files, enabling specialized agent-specific instructions for your projects.
This skill automatically activates when:
cd or file operations)When triggered, Claude Code will:
./AGENTS.md in the current working directory📋 Loaded agent-specific context from AGENTS.md
Following specialized agent rules for this session:
- [rule 1 from AGENTS.md]
- [rule 2 from AGENTS.md]
...
No AGENTS.md found - using standard CLAUDE.md context only
Fully Automatic (preferred):
Manual Invocation (fallback):
# If auto-loading doesn't trigger, user can say:
"load agent context"
"check for AGENTS.md"
"read agent rules from AGENTS.md"
# Claude executes internally:
if [ -f "./AGENTS.md" ]; then
echo "📋 AGENTS.md detected"
fi
Use Read tool:
file_path: ./AGENTS.md
Load full content into session context
Treat AGENTS.md content as:
- Session-level instructions (like CLAUDE.md)
- Agent-specific behavioral rules
- Overrides for agent workflows
# AGENTS.md - Agent-Specific Instructions
## Agent Behavior Rules
When working with Agent Skills in this project:
1. **Always use TypeScript strict mode** for all generated code
2. **Never create files** without explicit user permission
3. **Follow naming convention**: use kebab-case for all file names
4. **Auto-commit after changes**: Create git commits automatically when tasks complete
## Specialized Workflows
### Code Generation
- Use templates from `./templates/` directory
- Run ESLint after generating any .ts/.js files
- Add comprehensive JSDoc comments
### Testing
- Generate tests alongside implementation files
- Use Jest for all test files
- Achieve 80%+ code coverage
## Priority Overrides
These rules override CLAUDE.md when agent skills are active:
- AGENTS.md → agent-specific strict rules
- CLAUDE.md → general project context
This skill runs before other agent skills to ensure agent context is loaded first. When any other skill is invoked, this skill checks if AGENTS.md has been loaded for the current directory and loads it if not already present.
If AGENTS.md isn't loading automatically:
AGENTS.md is in current working directory (pwd)AGENTS.md is readable/sync-agent-context to merge AGENTS.md into CLAUDE.md permanently/sync-agent-context - Permanently merges AGENTS.md into CLAUDE.mdAGENTS.md and it worksStatus: Proactive Auto-Loading Enabled Requires User Action: No (automatic) Fallback: Manual invocation if auto-loading fails
Guides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.
Dispatches multiple subagents concurrently for independent tasks without shared state. Use when facing 2+ unrelated failures or subsystems that can be investigated in parallel.
2plugins reuse this skill
First indexed Jul 13, 2026
npx claudepluginhub danielmiessler/claude-code-plugins-plus --plugin agent-context-manager