docs-init

docs-init is a skill for Claude Code from mgiovani/cc-arsenal. It costs 124 tokens per session (2,030 once invoked), scanned A, original, MIT.

A workflow that creates an initial docs/ directory for a project with little or no documentation. It explores the code and fills documentation templates only with facts supported by that code.

In plain words
What is it for?
Use it to bootstrap project documentation and create a first architecture decision record when the existing docs are missing or sparse.
Why use it?
It gives a project a starting documentation structure without inventing features or technical details. It can capture areas such as architecture, onboarding, data, deployment, security, and contributing.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: agent in frontmatter; mentions subagents.

Part of the cc-arsenal-docs plugin — 6 skills shipped together , and of cc-arsenal

Good fit Use it to bootstrap project documentation and create a first architecture decision record when the existing docs are missing or sparse.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mgiovani/cc-arsenal/docs-init
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 mgiovani/cc-arsenal --skill docs-init
Clone the repo
git clone --depth 1 https://github.com/mgiovani/cc-arsenal

Made for: Claude Code.

Or install cc-arsenal-docs, the plugin that ships this one along with the rest of its 6 skills.

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 docs-init

README.md
[![agentmods](https://agentmods.dev/badge/skills/mgiovani/cc-arsenal/docs-init/github.svg)](https://agentmods.dev/skills/mgiovani/cc-arsenal/docs-init)
Your own site
<a href="https://agentmods.dev/skills/mgiovani/cc-arsenal/docs-init"><img src="https://agentmods.dev/badge/skills/mgiovani/cc-arsenal/docs-init/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 docs-init

Your own site · 80×15
<a href="https://agentmods.dev/skills/mgiovani/cc-arsenal/docs-init"><img src="https://agentmods.dev/badge/skills/mgiovani/cc-arsenal/docs-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,030 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.00124 $0.02030
Opus 5.5 $0.00050 $0.00812
Sonnet 5.5 $0.00025 $0.00406
Haiku 4.5 $0.00012 $0.00203

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

Security

Grade A, and why

docs-init 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.

skills/docs-init/SKILL.md · 174 lines

How it starts

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

Initialize Project Documentation

Bootstrap a docs/ structure for a project with little or no existing documentation. Only generate what the codebase actually evidences.

Anti-hallucination guidelines

Every claim in generated docs must trace to something read or grepped in this run:

  1. Verify a file/directory exists before referencing it.
  2. Get counts from ls/find/grep, never estimate.
  3. Quote real function/class/table names, not assumed ones.
  4. An empty directory is not a feature, don't document it.
  5. If a claim can't be verified, drop it rather than guess.

Workflow

1. Explore the codebase

Find: source directories with actual code, package manager files (package.json, pyproject.toml, go.mod, Cargo.toml, ...), database/ORM files, infrastructure configs (Docker, k8s, Terraform), and any existing docs/. See Detection Commands below for the exact patterns.

If a Task/subagent tool is available, delegate this to an Explore agent with that scope. Otherwise run the same grep/find commands inline and Read each hit: the result must be the same either way.

Verify every finding before using it: read the package manifest, read the model file, confirm a directory has real files inside it, not just an empty folder.

2. Detect project characteristics

From the exploration, determine: language/framework stack, project type (web app, CLI, library, service), whether a database/ORM is present, and whether infrastructure/deployment configs exist. These characteristics drive which doc types Phase 3 decides to generate.

3. Decide which docs to generate

  • Always: docs/architecture.md, docs/onboarding.md, docs/adr/0001-record-architecture-decisions.md (Nygard-format meta-ADR, generate inline, no template file)
  • If a database/ORM was found: docs/data-model.md
  • If deployment configs were found (Dockerfile, k8s manifest, CI workflow, IaC): docs/deployment.md, docs/security.md
  • If the project looks collaborative (multiple contributors in git log, an open-source license, no existing CONTRIBUTING): docs/contributing.md, docs/rfc/ directory

Read the full file on GitHub · 174 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed · +15 lines 54c6151e80bf
  2. 2mo ago Changed 92523c070c51
  3. 2mo ago Changed · +1 lines 4ae31f58a447
  4. 3mo ago First seen · 158 lines · 124 tokens per session scan A f5c289d3f792

Subscribe to this mod's changes

docs-init is a skill published in the GitHub repository mgiovani/cc-arsenal (8 stars, last pushed 1mo ago), licensed MIT. It adds 124 tokens to every session and 2,030 once invoked, about $0.0005 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

docs-init compared with skills from other repositories

docs-init next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-initmgiovani/cc-arsenalSkill81mo agoMITA124Claude Code
agent-qa-evidencedarkrishabh/agent-skills-evalSkill82116d agoMITA28Claude Code, Codex
basic-skilldarkrishabh/agent-skills-evalSkill82116d agoMITA17Claude Code, Codex
trace-and-isolaterohitg00/skillkitSkill1.6k6mo agoApache-2.0A120Claude Code, Codex
testing-anti-patternsrohitg00/skillkitSkill1.6k6mo agoApache-2.0A95Claude Code, Codex
handoff-protocolsrohitg00/skillkitSkill1.6k6mo agoApache-2.0A116Claude Code, Codex
parallel-investigationrohitg00/skillkitSkill1.6k6mo agoApache-2.0A97Claude Code, Codex