init-deep

init-deep is a skill for Claude Code from code-yeongyu/lazyclaudecode. It costs 14 tokens per session (3,143 once invoked), scanned A, original, MIT.

A setup tool that creates a layered AGENTS.md knowledge base, where instructions can be organized at different project levels.

In plain words
What is it for?
Use it to initialize project instructions and organize rules for different folders or parts of a codebase.
Why use it?
It gives coding agents shared guidance about a project without putting every rule in one large file.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions subagents; names the TodoWrite tool.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is [OK] ./src/hooks/AGENTS.md ({N} lines).

Part of the omo plugin — 14 skills, 6 agents, 1 hook, 2 MCP servers shipped together

Good fit Use it to initialize project instructions and organize rules for different folders or parts of a codebase.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/code-yeongyu/lazyclaudecode
agentmods
npx agentmods add skills/code-yeongyu/lazyclaudecode/init-deep

Made for: Claude Code.

Or install omo, the plugin that ships this one along with the rest of its 14 skills, 6 agents, 1 hook, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for init-deep

README.md
[![agentmods](https://agentmods.dev/badge/skills/code-yeongyu/lazyclaudecode/init-deep/github.svg)](https://agentmods.dev/skills/code-yeongyu/lazyclaudecode/init-deep)
Your own site
<a href="https://agentmods.dev/skills/code-yeongyu/lazyclaudecode/init-deep"><img src="https://agentmods.dev/badge/skills/code-yeongyu/lazyclaudecode/init-deep/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for init-deep

Your own site · 80×15
<a href="https://agentmods.dev/skills/code-yeongyu/lazyclaudecode/init-deep"><img src="https://agentmods.dev/badge/skills/code-yeongyu/lazyclaudecode/init-deep.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,143 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00014 $0.03143
Opus 5.5 $0.00006 $0.01257
Sonnet 5.5 $0.00003 $0.00629
Haiku 4.5 $0.00001 $0.00314

Measured 3mo ago against content hash 631e39f08475, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

init-deep scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/omo/skills/init-deep/SKILL.md · 324 lines

How it starts

The opening of the file, as written. The whole thing — 324 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Claude Code Harness Tool Compatibility

This skill may include examples copied from the OpenCode or Codex harness. In Claude Code, do not call OpenCode/Codex-only tools such as task(...), call_omo_agent(...), spawn_agent(...), background_output(...), wait_agent(...), team_*(...), send_message(...), followup_task(...), or close_agent(...) literally. Translate those examples to Claude Code native tools:

OpenCode / Codex example Claude Code tool to use
task(subagent_type="explore", ...) / call_omo_agent(...) / spawn_agent(agent_type="explorer", ...) the Task tool (spawn a subagent of the matching type)
task(subagent_type="plan"/"oracle", ...) / spawn_agent(agent_type="plan"/"reviewer", ...) the Task tool with the planner/reviewer subagent, or the Skill tool
task(category="...", ...) the Task tool (general-purpose subagent) or run the work inline
background_output(...) / wait_agent(...) await the subagent's return value / the system completion notification
team_*(...) / send_message/followup_task/close_agent run multiple Task subagents and synthesize their results

When translating load_skills=[...], invoke the requested skills with the Skill tool or pass their names in the spawned subagent's prompt. If a code block below conflicts with this section, this section wins.

/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 codemap + 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

Read the full file on GitHub · 324 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 324 lines · 14 tokens per session scan A 631e39f08475

Subscribe to this mod's changes

init-deep is a skill published in the GitHub repository code-yeongyu/lazyclaudecode (19 stars, last pushed 6mo ago), licensed MIT. It adds 14 tokens to every session and 3,143 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

init-deep compared with skills from other repositories

init-deep next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
init-deepcode-yeongyu/lazyclaudecodeSkill196mo agoMITA14Claude Code
librarianryanzhao1011/workframeSkill95d agoMITA211Claude Code
code-to-docryanzhao1011/workframeSkill95d agoMITA201Claude Code
code-reviewryanzhao1011/workframeSkill95d agoMITA264Claude Code
module-initryanzhao1011/workframeSkill95d agoMITA151Claude Code
test-case-designryanzhao1011/workframeSkill95d agoMITA223Claude Code
material-intakeryanzhao1011/workframeSkill95d agoMITA192Claude Code