Agent skill

init-deep

(builtin) Initialize hierarchical AGENTS.md knowledge base

YeonGyu-Kim69,732★ · +488/wk · 2 repos on radarProfile →
claude-codecodexcursorNOASSERTION
Install
npx skills add code-yeongyu/oh-my-openagent --skill init-deep --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 11 KB
Bundled scripts: none
Path: packages/omo-senpi/skills/init-deep/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 67,209 · +483 this week
Language: TypeScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# /init-deep Generate hierarchical AGENTS.md files. Root + complexity-scored subdirectories. ## Usage ``` /init-deep # Update mode: modify existing + create new where warranted /init-deep --create-new # Read existing → remove all → regenerate from scratch /init-deep --max-depth=2 # Limit directory depth (default: 3) ``` --- ## Workflow (High-Level) 1. **Discovery + Analysis** (concurrent) - Fire background explore agents immediately - Main session: bash structure + LSP/ast-grep code map + read existing AGENTS.md 2. **Score & Decide** - Determine AGENTS.md locations from merged findings 3. **Generate** - Root first, then subdirs in parallel 4. **Review** - Deduplicate, trim, validate <critical> **TodoWrite ALL phases. Mark in_progress → completed in real-time.** ``` TodoWrite([ { id: "discovery", content: "Fire explore agents + LSP/ast-grep map + read existing", status: "pending", priority: "high" }, { id: "scoring", content: "Score directories, determine locations", status: "pending", priority: "high" }, { id: "generate", content: "Generate AGENTS.md files (root + subdirs)", status: "pending", priority: "high" }, { id: "review", content: "Deduplicate, validate, trim", status: "pend

What's inside
Steps it walks through
  1. Usage
  2. Workflow (High-Level)
  3. Phase 1: Discovery + Analysis (Concurrent)
  4. Fire Background Explore Agents IMMEDIATELY
  5. Main Session: Concurrent Analysis
  6. Collect Background Results
  7. Phase 2: Scoring & Location Decision
  8. Scoring Matrix
  9. Decision Rules
  10. Output
  11. Phase 3: Generate AGENTS.md
  12. Root AGENTS.md (Full Treatment)
  13. Subdirectory AGENTS.md (Parallel)
  14. Phase 4: Review & Deduplicate
Commands it runs
Measure project scale first
Directory depth + file counts
Files per directory (top 30)
find . -type f -not -path '*/\\.*' -not -path '*/node_modules/*' | sed 's|/[^/]*$||' | sort | uniq -c | sort -rn | head -30
Code concentration by extension
Existing AGENTS.md / CLAUDE.md
find . -type f \\( -name "AGENTS.md" -o -name "CLAUDE.md" \\) -not -path '*/node_modules/*' 2>/dev/null
More from oh-my-openagent
All skills →
About this skill
What does the init-deep skill do?

(builtin) Initialize hierarchical AGENTS.md knowledge base

How do I install it?

Run `npx skills add code-yeongyu/oh-my-openagent --skill init-deep --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From code-yeongyu/oh-my-openagent, a repository with 67,209 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going