scaffold-docs

scaffold-docs is a skill for Claude Code from urmzd/dotfiles. It costs 196 tokens per session (3,054 once invoked), scanned A, original, Apache-2.0.

A documentation layout and scaffolding guide for software repositories. It defines which files belong at the repository root and how to organise other documents under docs/.

In plain words
What is it for?
It is for setting up docs/ in a new repository, moving documents into the right sections, and using templates for architecture notes, decisions, guides, references, runbooks, and plans.
Why use it?
It removes uncertainty about where documentation should live and helps prevent misplaced or inconsistent files.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is cp -R ../urmzd.github.io/public/brand "$preview/brand".

Good fit It is for setting up docs/ in a new repository, moving documents into the right sections, and using templates for architecture notes, decisions, guides, references, runbooks, and plans.

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/urmzd/dotfiles
agentmods
npx agentmods add skills/urmzd/dotfiles/scaffold-docs

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/urmzd/dotfiles/scaffold-docs"><img src="https://agentmods.dev/badge/skills/urmzd/dotfiles/scaffold-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 196 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,054 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.00196 $0.03054
Opus 5.5 $0.00078 $0.01222
Sonnet 5.5 $0.00039 $0.00611
Haiku 4.5 $0.00020 $0.00305

Measured 9d ago against content hash 9233a0be8458, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

scaffold-docs 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/executable_check-docs-layout.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

dot_agents/skills/scaffold-docs/SKILL.md · 228 lines

How it starts

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

Documentation Layout

This skill is the single owner of where a doc lives. Other skills link here instead of restating the layout.

Root allowlist

Only these files sit at the repo root. Everything else that is prose goes in docs/.

File Why it is at root
README.md GitHub renders it on the repo page
CONTRIBUTING.md GitHub links it from issues and PRs
USAGE.md Optional. Long-form usage when it would swamp the README
CODEOWNERS GitHub reads it from root, .github/ or docs/; keep it at root or .github/
LICENSE, CODE_OF_CONDUCT.md, SECURITY.md, SUPPORT.md GitHub community health files
NOTICE, LICENSING.md Legal files that LICENSE or package metadata names
CHANGELOG.md Written by the release tool (sr)
AGENTS.md, CLAUDE.md Read from root by AI tools (see configure-ai)
llms.txt Spec requires root (see create-llms-txt)

Also allowed outside docs/:

  • A README.md that explains its own directory (examples/README.md, themes/README.md).
  • Markdown that is program input, not documentation: embedded prompts, .agent.md definitions, test fixtures, skills/<name>/SKILL.md.
  • .github/ templates (PR template, issue forms).

Generated output stays out of docs/

docs/ holds prose and the images that prose embeds. Anything a command produces lives next to the code that produces it.

Piece Location
Benchmark or eval harness Where the language puts it (benches/, crates/*/benches/, scripts/, evals/)
Benchmark or eval results (JSON, CSV, logs) benchmarks/results/ (or evals/results/) at the repo root
Report on those results (method, provenance, tables) docs/reference/benchmarks.md, tables embedded from the results with fsrc
Images, screenshots, rendered diagrams embedded in docs docs/assets/, with a diagram's source (.d2, .mmd) beside its render
Demo captures showcase/ (owned by teasr)

Read the full file on GitHub · 228 lines

Files

What ships with it

9 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. 9d ago Changed · +67 lines · +11 tokens per session 9233a0be8458
  2. 1mo ago First seen · 161 lines · 185 tokens per session scan A f4df2d94121d

Subscribe to this mod's changes

scaffold-docs is a skill published in the GitHub repository urmzd/dotfiles (6 stars, last pushed 4d ago), licensed Apache-2.0. It adds 196 tokens to every session and 3,054 once invoked, about $0.0008 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-10-30.

Related

scaffold-docs compared with skills from other repositories

scaffold-docs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scaffold-docsurmzd/dotfilesSkill64d agoApache-2.0A196Claude Code
metaceptionmagic3007/dotfilesSkill115d agoMITA332Claude Code
astropymagic3007/dotfilesSkill115d agoMITA56Claude Code, Codex
benchling-integrationmagic3007/dotfilesSkill115d agoMITA50Claude Code
mcp-notion-usage-guidemagic3007/dotfilesSkill115d agoMITA174Claude Code, Codex
esmmagic3007/dotfilesSkill115d agoMITA96Claude Code, Codex
ralph-loopmagic3007/dotfilesSkill115d agoMITA63Claude Code, Codex