Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add ihudak/ihudak-claude-plugins/plugin install docs-workflowsWrote 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.
[](https://agentmods.dev/commands/ihudak/ihudak-claude-plugins/docs-init)<a href="https://agentmods.dev/commands/ihudak/ihudak-claude-plugins/docs-init"><img src="https://agentmods.dev/badge/commands/ihudak/ihudak-claude-plugins/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.
<a href="https://agentmods.dev/commands/ihudak/ihudak-claude-plugins/docs-init"><img src="https://agentmods.dev/badge/commands/ihudak/ihudak-claude-plugins/docs-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00140 | $0.15019 |
| Opus 5.5 | $0.00056 | $0.06008 |
| Sonnet 5.5 | $0.00028 | $0.03004 |
| Haiku 4.5 | $0.00014 | $0.01502 |
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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 342 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Core references. A citation of the form workflows-core:<name> names a shared reference in the workflows-core plugin. Load it with Skill(skill: "workflows-core:reference", args: "<name>") — never by path: ${CLAUDE_PLUGIN_ROOT} resolves to this plugin, which does not carry it.
Scaffold a documentation repository: $ARGUMENTS
/docs-init creates a documentation repository that builds, serves, lints, and is profiled — for a project that has no documentation at all. It never writes documentation content beyond the skeleton and its own explanatory stubs: what it produces is a portal shape, two working builds, a linter that will not cry wolf on day one, a CI workflow that asserts the public/internal boundary on built output, and the .dev-workflows/docs-profile.yml that /docs-workflows:docs-serve, /docs-workflows:document and /docs-workflows:docs-brand read on the repository afterwards (/docs-workflows:release-notes reads no docs profile at all). Its bulk lives in this plugin's own references and it does not restate them: a second copy of the page tree, the stubs or the two configs is a second thing to keep in step, and this repository has paid for that mistake more than once. This command body names the entry point it is executing at each step, and the flags that vary it.
Signature: /docs-init [<docs-repo-path>] [--generator mkdocs-material] [--no-brand] [--public-only] [--with-pricing] [--with-compliance]
It is the cold-start command, and its acceptance test is inverted because of that. Every sibling in this family that resolves a docs repository wants one that already exists — /docs-workflows:docs-profile to describe one, /docs-workflows:docs-brand to brand one, /docs-workflows:docs-serve to serve one, /docs-workflows:docs-audit to audit one, and /docs-workflows:document to write into one. This one wants a place to make one, so a directory carrying a docs signal is a stop, not a match (design D23). An implementer who copies a sibling's ladder gets that exactly backwards, and the scaffold then refuses the one directory it was pointed at.
Phase 0 — Resolve and validate
-
Flags. Strip
--generator <name>(together with the token immediately after it),--no-brand,--public-only,--with-pricingand--with-compliancefrom$ARGUMENTSwherever they appear, before reading a positional token. What remains is the optional<docs-repo-path>. Record each flag; they are consumed at Phases 3, 4 and 5.--generatoracceptsmkdocs-materialand nothing else today — any other value stops withDOCS_INIT_UNKNOWN_GENERATOR: <value> is not a generator this command can scaffold (mkdocs-material is the only one).The flag exists so the profile'sgeneratorfield has an author rather than a default nobody chose (D8, D9); a second generator is a new template, not a rewrite of this command. -
Resolve the target. Execute
resolve-scaffold-targetfrom${CLAUDE_PLUGIN_ROOT}/references/docs-workflow/repo-resolution.md§2 — the inverted form, since this command creates a docs repository rather than adopting one. Do not restate its ladder here; the entry point owns it, and §4 of that file explains why the two forms are opposite. Report which rung answered, per its own hard rule — a scaffold that quietly writes into an unexpected directory is expensive to unpick. A$DOCS_PATHthat carries a signal is never skipped in silence at that ladder's rung 2: report it together with the redirect to/docs-workflows:docs-profilebefore continuing, because it is almost certainly the repository the operator meant. -
Specs-repo preflight. Invoke
Skill(skill: "workflows-core:reference", args: "specs-repo-git specs-preflight")and execute itsspecs-preflightentry point (§3) inline, as early as$SPECS_PATHis known: flush any leftover session artifacts from an earlier run, retry an artifact commit that failed to push, and settle the branch. This runs against$SPECS_PATHonly —git -C "$SPECS_PATH", never acd, so the docs repo this run is about to create is untouched (§1 rule 1). Prompt-free and silent when the specs repo is clean and on its default branch. If a guard fires, emit its §5 notice; if it returnsspecs_git: blocked(§3.3 G0), carry that flag for the whole run — the terminalcommit-artifactsstep skips on it. This family creates no branch in$SPECS_PATH— its deliverable is the docs repository — so this preflight only ever settles a branch that already exists; it never switches onto one this run made.
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.
- 2mo ago Changed 2ebe6c41e4e5
- 2mo ago Changed · +1 lines b1b80417a202
- 2mo ago First seen · 341 lines · 140 tokens per session scan A 306d40af8f8a
docs-init is a command published in the GitHub repository ihudak/ihudak-claude-plugins (2 stars, last pushed 2mo ago), licensed MIT. It adds 140 tokens to every session and 15,019 once invoked, about $0.0006 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-09-19.
docs-init compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| docs-initihudak/ihudak-claude-plugins | Command | 2 | 2mo ago | MIT | A | 140 | Claude Code |
| plan-decisionjuliusz-cwiakalski/agentic-delivery-os | Command | 47 | yesterday | MIT | A | 39 | Claude Code, OpenCode |
| sync-docsjuliusz-cwiakalski/agentic-delivery-os | Command | 47 | yesterday | MIT | A | 10 | Claude Code, OpenCode |
| plan-changejuliusz-cwiakalski/agentic-delivery-os | Command | 47 | yesterday | MIT | A | 13 | Claude Code, OpenCode |
| review-deepjuliusz-cwiakalski/agentic-delivery-os | Command | 47 | yesterday | MIT | A | 22 | OpenCode |
| write-test-planjuliusz-cwiakalski/agentic-delivery-os | Command | 47 | yesterday | MIT | A | 6 | Claude Code, OpenCode |
| write-planjuliusz-cwiakalski/agentic-delivery-os | Command | 47 | yesterday | MIT | A | 5 | Claude Code, OpenCode |