**⚡ This skill activates AUTOMATICALLY - no user action required!**
Inherits all available tools
Additional assets for this skill
This skill inherits all available tools. When active, it can use any tool Claude has access to.
assets/README.mdreferences/README.mdscripts/README.mdscripts/check-agents-md.shname: agent-context-loader description: 'Proactive auto-loading: automatically detects and loads agents.md files Use when appropriate context detected. Trigger with relevant phrases based on skill purpose. version: 1.0.0 allowed-tools:
⚡ 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
If execution fails: