deepinit

deepinit is a skill for Claude Code from johnfkoo951/cmdspace-plugins. It costs 56 tokens per session (550 once invoked), scanned A, original, MIT.

A documentation generator that examines a codebase and creates project guides, architecture documentation, API documentation, and Mermaid diagrams. Mermaid is a text-based way to describe diagrams.

In plain words
What is it for?
Use it to generate a README, describe the system architecture, document APIs, and create diagrams from the codebase.
Why use it?
It reduces the work of explaining how an unfamiliar codebase is organized and used.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool.

Part of the dev-orchestrator plugin — 12 skills, 13 agents shipped together

Good fit Use it to generate a README, describe the system architecture, document APIs, and create diagrams from the codebase.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/johnfkoo951/cmdspace-plugins/deepinit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add johnfkoo951/cmdspace-plugins --skill deepinit
Clone the repo
git clone --depth 1 https://github.com/johnfkoo951/cmdspace-plugins

Made for: Claude Code.

Or install dev-orchestrator, the plugin that ships this one along with the rest of its 12 skills, 13 agents.

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 deepinit

README.md
[![agentmods](https://agentmods.dev/badge/skills/johnfkoo951/cmdspace-plugins/deepinit/github.svg)](https://agentmods.dev/skills/johnfkoo951/cmdspace-plugins/deepinit)
Your own site
<a href="https://agentmods.dev/skills/johnfkoo951/cmdspace-plugins/deepinit"><img src="https://agentmods.dev/badge/skills/johnfkoo951/cmdspace-plugins/deepinit/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 deepinit

Your own site · 80×15
<a href="https://agentmods.dev/skills/johnfkoo951/cmdspace-plugins/deepinit"><img src="https://agentmods.dev/badge/skills/johnfkoo951/cmdspace-plugins/deepinit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 550 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.00056 $0.00550
Opus 5.5 $0.00022 $0.00220
Sonnet 5.5 $0.00011 $0.00110
Haiku 4.5 $0.00006 $0.00055

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

Security

Grade A, and why

deepinit 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 1mo 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/dev-orchestrator/skills/deepinit/SKILL.md · 77 lines

How it starts

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

Deep Init — Hierarchical Documentation Generation

Analyzes the codebase and generates comprehensive, structured documentation.

Workflow

Step 1: Choose Documentation Scope

Use AskUserQuestion:

{
  "questions": [
    {
      "question": "What documentation do you need?",
      "header": "Docs Type",
      "options": [
        {"label": "README (Recommended)", "description": "Project overview, setup, usage, and contribution guide"},
        {"label": "Architecture", "description": "System design, component diagrams, data flow documentation"},
        {"label": "API docs", "description": "Endpoint specifications with request/response examples"},
        {"label": "Full suite", "description": "README + Architecture + API docs + CHANGELOG"}
      ],
      "multiSelect": false
    }
  ]
}

Step 2: Analyze Codebase

Dispatch explorer (Haiku) to:

  • Map complete project structure
  • Identify tech stack, frameworks, and tools
  • Find existing documentation (README, docs/, comments)
  • Detect entry points, routes, models, and key abstractions

Step 3: Generate Documentation

Based on scope, dispatch writer (Haiku) with exploration results:

README: Project overview, installation, quickstart, configuration, features, contributing Architecture: Component diagram (Mermaid), data flow, key decisions, directory guide API docs: Endpoints, parameters, response schemas, examples, error codes CHANGELOG: Parse git log to generate structured changelog

For architecture diagrams, generate Mermaid syntax:

graph TB
    subgraph Frontend
        A[UI Components] --> B[State Management]
    end
    subgraph Backend
        C[API Routes] --> D[Services]
        D --> E[Database]
    end
    B --> C

Step 4: Review and Polish

If "Full suite" was selected, dispatch code-reviewer (Sonnet) to verify:

  • Documentation accuracy (do code references match actual code?)
  • Completeness (are all major features documented?)
  • Clarity (would a new developer understand this?)

Read the full file on GitHub · 77 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. 1mo ago First seen · 77 lines · 56 tokens per session scan A 4f25df8adbab

Subscribe to this mod's changes

deepinit is a skill published in the GitHub repository johnfkoo951/cmdspace-plugins (7 stars, last pushed today), licensed MIT. It adds 56 tokens to every session and 550 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

obsidian-bases

Explain, draft, and validate Obsidian Bases .base files with filters, formulas, properties, summaries, and table, card, list, or version-gated kanban views. Use for Obsidian Bases, database-like vault views, dynamic tables, reading lists, task trackers, filters, formulas, summaries, and .base file edits.

AgriciDaniel/claude-obsidian · 75 tokens

wiki-ingest

Ingest supplied source material into an Obsidian vault with provenance and claim tracking: pasted text, files staged in the selected vault's inbox or .raw archive, or explicitly approved URLs. Use for a single source or bounded batch, not for saving an assistant answer. Triggers: ingest, ingest this file, ingest this…

AgriciDaniel/claude-obsidian · 88 tokens

autoresearch

Run a bounded, source-grounded research loop, draft a cited dossier, and optionally propose a separately reviewed canonical vault merge. Use when the user wants autonomous or deep research that may access the public web. Triggers: /autoresearch, autoresearch, research this topic, deep dive into, investigate, find…

AgriciDaniel/claude-obsidian · 80 tokens

wiki-retrieve

Build and query a vault-local contextual BM25 retrieval index with optional multilingual Nomic cosine reranking; use for retrieve, hybrid retrieval, BM25, rerank, contextual retrieval, chunk search, vault search, semantic search, find relevant passages, or retrieval diagnostics. Derived caches stay under .vault-meta…

AgriciDaniel/claude-obsidian · 81 tokens

ariadne:workspace-instructions

Create or update workspace-level instruction files for code repositories or ordinary project folders, including AGENTS.md, CLAUDE.md, GEMINI.md, local override files, and Ariadne vault-link blocks. Use when a user wants to initialize, repair, or refresh workspace instructions, connect a workspace to a registered…

pariyar07/ariadne · 99 tokens

ariadne:global-discovery

Register existing Markdown knowledge vaults for machine-level discovery so cold agents can find long-term knowledge from any workspace. Use when checking, adding, updating, repairing, or removing global vault discovery.

pariyar07/ariadne · 45 tokens