Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generate hierarchical AGENTS.md structures for codebases. Use when user asks to create AGENTS.md files, analyze codebase for AI agent documentation, set up AI-friendly project documentation, or generate context files for AI coding assistants. Triggers on "create AGENTS.md", "generate agents", "analyze codebase for AI", "AI documentation setup", "hierarchical agents".
.claude/skills/majiayu000-agents-md-generator/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | -5% | 0% |
| case-10 | ✗→✓ | ▲ Improved | -9% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 63% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 32% | 0% |
| case-15 | ✗→✓ | ▲ Improved | 24% | 0% |
Maintain small, high-signal AGENTS.md files:
Use progressive disclosure: keep AGENTS.md concise; push details to docs or skills.
.agents/ or any fixed directory exists.Run this skill when:
package.json, pnpm-workspace.yamlgo.mod, go.workpyproject.tomlCargo.tomlpubspec.yamlpom.xml, build.gradledocs/, README.md, existing AGENTS.md.Create nested AGENTS.md if directory:
apps/, services/, packages/)Constraints:
Constraints:
docs/STYLE_GUIDE.mddocs/ARCHITECTURE.md“Known commands: see <file>”
Create or update only:
<repo_root>/AGENTS.md<module_dir>/AGENTS.mdDo not create agent configuration folders.
When adding skill references inside AGENTS.md:
See: <detected-skill-root>/<skill-name>/SKILL.md
Skill: agents-md-generator (external)
Never assume filesystem paths.
Other measured skills in the registry, with their headline benchmark lift.