init-deep

Generate hierarchical AGENTS.md documentation by analyzing repository structure and complexity.

10|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/Lee-SiHyeon/oh-my-copilot --skill init-deep-lee-sihyeon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: init-deep
Source: https://github.com/Lee-SiHyeon/oh-my-copilot/tree/main/.github/skills/oh-my-copilot-init-deep
Command: npx skills add https://github.com/Lee-SiHyeon/oh-my-copilot --skill init-deep-lee-sihyeon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of keeping project documentation understandable and navigable for AI agents when a repository grows complex and nested.

Core Features & Use Cases

  • Hierarchical AGENTS.md generation: Builds a root and depth-aware subdirectory AGENTS.md structure so agents can find the right knowledge quickly.
  • Repository discovery + scoring: Analyzes directory structure using file counts, complexity heuristics, and depth rules to decide where documentation is actually needed.
  • Update and deduplication modes: Supports incremental updates and a full regeneration flow while removing redundant/general content to reduce noise.

Quick Start

Run /init-deep to analyze your repository and generate or update hierarchical AGENTS.md files based on detected complexity.

Frequently Asked Questions about init-deep

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

FAQPage Schema
How do I generate hierarchical AGENTS.md documentation for a large nested codebase?

Hierarchical AGENTS.md documentation is generated by analyzing repository structure and applying scoring-based directory selection to create depth-aware files. This ensures AI agents can quickly locate necessary knowledge across nested codebases without manual mapping.

What is the best way to map repository structure and complexity for AI agent onboarding?

The best way to map repository complexity is using filesystem discovery combined with scoring heuristics like file counts and depth rules. This approach identifies exactly where documentation is needed, guiding AI agents through nested codebases efficiently.

Does hierarchical AGENTS.md generation support incremental updates without duplicating content?

Yes, hierarchical AGENTS.md generation supports incremental updates with built-in deduplication rules. These rules prevent child documents from repeating parent content, ensuring your project documentation remains navigable and free of redundant information during updates.

Can I automate codebase discovery and project documentation tasks triggered by user prompts?

Yes, you can automate codebase discovery and project documentation tasks by triggering generation flows with user prompts. The system analyzes your repository structure and safely creates or updates AGENTS.md files based on detected complexity.

How do I reduce noise and redundant content when updating project documentation for AI agents?

To reduce noise and redundant content when updating project documentation, use a full regeneration flow that applies deduplication rules. This removes general content from child documents, keeping your AGENTS.md files understandable and navigable for AI agents.