init-deep

Generate hierarchical AGENTS.md files across project subdirectories with complexity scoring.

17|Updated May 29, 2026
One-click install
npx skills add https://github.com/code-yeongyu/lazyclaudecode --skill init-deep-code-yeongyu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: init-deep
Source: https://github.com/code-yeongyu/lazyclaudecode/tree/main/plugins/omo/skills/init-deep
Command: npx skills add https://github.com/code-yeongyu/lazyclaudecode --skill init-deep-code-yeongyu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The skill automates the creation and organization of hierarchical AGENTS.md knowledge bases, reducing manual documentation work and ensuring consistent structure across the project.

Core Features & Use Cases

  • Generates a root AGENTS.md and per-subdirectory AGENTS.md files based on discovered structure and complexity scoring.
  • Supports a --create-new mode that rebuilds content while preserving context when available, and respects depth controls for nested directories.
  • Provides a structured template and guidance for documenting conventions, anti-patterns, and notes for each location.

Quick Start

Run the init-deep workflow to update or generate AGENTS.md across the repository, starting at root and drilling into subdirectories with default depth.

Frequently Asked Questions about init-deep

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically generate hierarchical AGENTS.md files across my project?

Init-deep automatically generates hierarchical AGENTS.md files by running a workflow that discovers your project structure, scores subdirectory complexity, and creates an AGENTS.md for the root and each qualifying subdirectory with rationale.

What is a hierarchical AGENTS.md knowledge base and why do I need it?

A hierarchical AGENTS.md knowledge base documents your project structure and conventions across the root and nested directories. You need it to reduce manual documentation work, provide agents with location-specific context, and ensure consistent structural guidance throughout the repository.

How do I rebuild AGENTS.md files without losing existing context?

Use the --create-new mode to rebuild AGENTS.md files while preserving available context. This mode regenerates content and respects depth controls for nested directories, allowing you to update documentation safely.

Can I control how deep the documentation generation drills into subdirectories?

Yes, you can control documentation depth. The generation workflow respects depth controls for nested directories, allowing you to limit how deep the hierarchical AGENTS.md files are generated based on your project's complexity scoring and structural needs.

How does the complexity scoring work when generating project documentation?

Complexity scoring evaluates discovered subdirectories during the scoring phase to determine where AGENTS.md files are needed. The workflow applies discovery, scoring, generation, and review phases to document locations based on structural complexity.

Does init-deep require any external dependencies or tools to run?

No external dependencies are required to run init-deep. It operates independently to discover your project structure, apply complexity scoring, and generate hierarchical AGENTS.md files without needing additional tools or external libraries installed.