Automatically discovers and loads AGENTS.md files across project hierarchy and subdirs, merges instructions hierarchically for AI agent context, reports conflicts, caches results.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agent-context-manager:agent-context-loaderThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Automatic discovery and loading of `AGENTS.md` files across project hierarchies for AI coding agents. This skill scans the current workspace and its parent directories to locate agent instruction files, then surfaces their contents so the active agent session has full operational context.
Automatic discovery and loading of AGENTS.md files across project hierarchies for AI coding agents. This skill scans the current workspace and its parent directories to locate agent instruction files, then surfaces their contents so the active agent session has full operational context.
AGENTS.md files at any directory depthAGENTS.md or agents.md.AGENTS.md files that may apply to sub-projects or modules.AGENTS.md file and extract its instruction blocks, workflow definitions, and constraint declarations.AGENTS.md file paths with their directory depth| Error | Cause | Solution |
|---|---|---|
No AGENTS.md found | Workspace has no agent instruction files | Confirm the correct working directory; create an AGENTS.md at the project root if needed |
| Permission denied on directory traversal | Restricted parent directories above the workspace | Limit scan depth to the repository root (detected via .git/ presence) |
| Circular symlink detected | Symlinked directories create an infinite traversal loop | Skip symlinked directories during the scan; log a warning with the symlink path |
| Conflicting instructions across levels | A subdirectory AGENTS.md contradicts the root-level file | Flag the conflict in the output; apply the more specific (deeper) instruction by default |
| File encoding error | AGENTS.md uses a non-UTF-8 encoding | Attempt latin-1 fallback; report the file path and encoding issue |
Example 1: Monorepo with per-package agent instructions
AGENTS.md sets global conventions; packages/api/AGENTS.md adds API-specific tooling rules.Example 2: Nested workspace with conflicting commit policies
AGENTS.md says "always sign commits"; services/legacy/AGENTS.md says "skip commit signing."Example 3: First-time setup with no agent files
AGENTS.md anywhere.AGENTS.md at the repository root with a minimal template.9plugins reuse this skill
First indexed Jul 10, 2026
Showing the 6 earliest of 9 plugins
npx claudepluginhub ia23a-lachnita/claude-code-plugins-plus-fix-skills --plugin agent-context-managerDiscovers and loads AGENTS.md files across project hierarchies, merging instructions from root to subdirectory levels for unified agent context.
Generates and maintains AGENTS.md files for AI agents by detecting project structure, extracting commands, CI rules, and architecture boundaries. Useful for onboarding agents and standardizing documentation.
Generates AGENTS.md files for repository folders with build commands, testing instructions, code style, project structure, and boundaries. Only generates where AGENTS.md is missing.