What problem does it solve?
This Skill automates creating a concise, hierarchical AGENTS.md knowledge base for code repositories so maintainers can quickly discover structure, conventions, and hotspots without manual documentation effort.
Core Features & Use Cases
- Automated Discovery: Parallel explore agents, bash structural analysis, and optional LSP codemaps to find entry points, large files, and module boundaries.
- Scoring & Placement: A configurable scoring matrix determines where to create root and subdirectory AGENTS.md files to avoid redundancy and surface complexity.
- Generation & Review: Produces root and per-directory AGENTS.md in parallel, applies deduplication and size gates, and emits a final report listing created/updated files.
- Use Case: Ideal for onboarding, codebase audits, and maintaining documentation in monorepos where directory complexity and conventions vary.
Quick Start
Generate an AGENTS.md hierarchy for the current repository, scoring directories, creating a root AGENTS.md and selective subdirectory AGENTS.md, and produce a final summary report.