scaffold-documentation

scaffold-documentation is a skill for Claude Code, Codex from Arasz/ai-raccoon. It costs 100 tokens per session (1,195 once invoked), scanned A, original, MIT.

A workflow for creating the standard documentation folder structure and starter README files in a repository. It first compares the existing folders with the project's canonical layout.

In plain words
What is it for?
Use it when starting documentation in a new repository, restoring a missing docs tree, or checking that each documentation directory has its required README.
Why use it?
A repository without a consistent documentation home makes later pages hard to find and encourages ad-hoc structure. This creates the missing directories and maps their contents before documents are added.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when starting documentation in a new repository, restoring a missing docs tree, or checking that each documentation directory has its required README.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arasz/ai-raccoon/scaffold-documentation
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 Arasz/ai-raccoon --skill scaffold-documentation
Clone the repo
git clone --depth 1 https://github.com/Arasz/ai-raccoon

Made for: Claude Code, Codex.

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 scaffold-documentation

README.md
[![agentmods](https://agentmods.dev/badge/skills/arasz/ai-raccoon/scaffold-documentation/github.svg)](https://agentmods.dev/skills/arasz/ai-raccoon/scaffold-documentation)
Your own site
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/scaffold-documentation"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/scaffold-documentation/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 scaffold-documentation

Your own site · 80×15
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/scaffold-documentation"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/scaffold-documentation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,195 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.00100 $0.01195
Opus 5.5 $0.00040 $0.00478
Sonnet 5.5 $0.00020 $0.00239
Haiku 4.5 $0.00010 $0.00120

Measured yesterday against content hash ac2e5446409f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

scaffold-documentation 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 yesterday.

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.

.ai-badger/skills/documentation/references/scaffold-documentation/SKILL.md · 94 lines

How it starts

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

Scaffold the documentation tree

Create the canonical documentation tree and its seed READMEs, so that every later document has a legal home before anyone has to invent one. Reference: references/structure.md — the tree, the filename grammar, and the freeze list; read it when the canonical tree is in question. The docs root defaults to docs/; read it from .ai-badger/config.json's docs.root if the project sets one.

What a finished scaffold IS — four parts, in this order:

  1. The canonical tree, every directory present, none extra.
  2. A root README.md — a complete map: one row per directory, no omissions.
  3. One README.md per directory, each a complete map of that directory.
  4. One ledger entry per seeded file, if the project keeps a ledger, so the next person's check is green from the first commit.

Seeded READMEs are meant to be edited. They carry no generated-file header and no golden test.

Steps

  1. Inventory the current tree against the canonical one. Postcondition: you have a written list of missing and extra paths. If the list is empty on both sides, the tree is already canonical — say so and stop; you are not the right skill.
  2. Create every missing directory. Postcondition: each one exists and is a directory. A path that collided with an existing file is resolved one path at a time — never by deleting or re-running blind.
  3. Structure gate. Re-run the inventory from step 1 and do not proceed until it comes back empty — no content is written before it does. Content written into a wrong tree has to be moved, and moving it costs the file's history on every file.
  4. Write the root README and each directory README as complete, visual-first maps.
    • Root README: Keep it concise and low-noise: a high-level architecture/flow diagram authored with archify (fall back to Mermaid only when Node.js 18+ or the skill is unavailable, or the diagram must render inline), quick start snippet, capabilities matrix, and clear links to dedicated Diátaxis pages.
    • Directory READMEs: One row per file, describing purpose directly without fluffy prose.
    • Humanization: Apply humanizer rules — active verbs, no em-dash filler, no empty copulas (serves as). Postcondition: every file in each governed directory appears in its parent README, and every relative link in what you wrote resolves to a path that exists. Check both by hand; a missing entry is a document nobody will find.
  5. Record the seeded files in the project's documentation ledger, if it has one. Postcondition: every seeded file has an entry, and the ledger's own consistency check is green. An unrecorded seed makes the very next person's check fail.

Read the full file on GitHub · 94 lines

Files

What ships with it

1 file 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. yesterday First seen · 94 lines · 100 tokens per session scan A ac2e5446409f

Subscribe to this mod's changes

scaffold-documentation is a skill published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 100 tokens to every session and 1,195 once invoked, about $0.0004 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-12-05.

Related

scaffold-documentation compared with skills from other repositories

scaffold-documentation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scaffold-documentationArasz/ai-raccoonSkill7todayMITA100Claude Code, Codex
cartographer-kb-createBeppeTemp/cartographerSkill74yesterdayApache-2.0A53Claude Code, Codex
cartographer-kb-importBeppeTemp/cartographerSkill74yesterdayApache-2.0A51Claude Code, Codex
cartographer-kb-source-authorBeppeTemp/cartographerSkill74yesterdayApache-2.0A106Claude Code, Codex
cartographer-feedbackBeppeTemp/cartographerSkill74yesterdayApache-2.0A83Claude Code, Codex
cartographer-cliBeppeTemp/cartographerSkill74yesterdayApache-2.0A37Claude Code, Codex
cartographer-kb-doctorBeppeTemp/cartographerSkill74yesterdayApache-2.0A91Claude Code, Codex