What problem does it solve?
Automatically generate a hierarchical set of AGENTS.md files that document codebases and ensure every AGENTS.md has a paired CLAUDE.md, including a root index and per-directory pages. It streamlines knowledge capture for monorepos and multi-package projects and keeps documentation in sync as the project evolves.
Core Features & Use Cases
- Generates a root AGENTS.md plus per-directory AGENTS.md pages and automatically creates a CLAUDE.md pairing (via symlink or rename) in the same directory.
- Supports update mode and a --create-new option to regenerate from scratch, as well as depth control (--max-depth) to limit scope.
- Applies to monorepos and multi-package codebases, enabling consistent documentation across the entire project.
Quick Start
Run /init-deep to update existing AGENTS.md/CLAUDE.md pairs across the project, or use /init-deep --create-new to regenerate from scratch.