update-documentation

update-documentation is a skill for Claude Code, Codex from Arasz/ai-raccoon. It costs 135 tokens per session (2,207 once invoked), scanned A, original, MIT.

A workflow for updating documentation after code, schema, architecture, or process changes. It selects one document to change and records evidence for statements about the running system.

In plain words
What is it for?
Use it to fix an outdated README, add a how-to, document a completed change, or respond to reports that documentation no longer matches the project.
Why use it?
Documentation can become stale or make claims without proof. This workflow helps place the change correctly and track corrections and supporting evidence.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to fix an outdated README, add a how-to, document a completed change, or respond to reports that documentation no longer matches the project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arasz/ai-raccoon/update-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 update-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 update-documentation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/update-documentation"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/update-documentation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 135 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,207 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.00135 $0.02207
Opus 5.5 $0.00054 $0.00883
Sonnet 5.5 $0.00027 $0.00441
Haiku 4.5 $0.00014 $0.00221

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

Security

Grade A, and why

update-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/update-documentation/SKILL.md · 145 lines

How it starts

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

Update documentation

The hot path: one documentation change, correctly placed, evidence-backed, and recorded.

What a finished update IS — five parts, all present:

  1. Exactly one target path, chosen by references/placement.md.
  2. Prose in which every statement about the running system carries evidence=<path>:<line>.
  3. Untrusted spans inside the blocks you edited, resolved — not left for later.
  4. An amendment row if you corrected something that was false.
  5. A ledger entry, if the project keeps a ledger.

For a substantial new document, one more: a reader test (step 9). Not for edits.

References: read references/placement.md when choosing a target path, references/trust.md when an evidence line is challenged, references/amendments.md when phrasing an amendment's reason. The tree and filename grammar live with the skill that creates them — ../scaffold-documentation/references/structure.md — because structure is that skill's primary concern; read it when the canonical tree is in question — do not copy it into a shared directory, which cannot ship.

Steps

  1. Name the change in one sentence — what became untrue, or what is now true that no document says. Postcondition: you can point at the commit, ADR, or diff that caused it. If you cannot, you are documenting an intention, not a change; stop and go write the ADR instead.
  2. Choose the target path by running placement.md's gates in order. Judgement — a script cannot classify Diátaxis and would produce a confident wrong answer. Postcondition: one path, and its parent directory exists (test -d "$(dirname <path>)"). If the directory is missing, invoke scaffold-documentation first; do not create a directory by hand.
  3. Read the target in full and list its trust markers: rg -n 'trust:(untrusted|trustchecked|processedto)' <path> (or grep -nE). Postcondition: you know which spans you are about to edit are untrusted. Editing around an untrusted span you touched is how a false claim gets a fresh timestamp and looks verified.
  4. Resolve the untrusted spans inside the blocks you edit, using the obligation ladder in trust.md. Hard cap 2 spans per task; anything beyond goes to the docs tree's trust-debt file with blocked="…". Postcondition: a search for trust:untrusted in <path> returns no marker inside a block you edited. A span left untrusted in edited text is a false claim with a fresh timestamp.
  5. Write the change with visual focus & humanizer discipline.
    • Visual-first preference: Represent complex flows, architectures, state transitions, or component relationships with visual diagrams instead of dense paragraphs — author them with archify, and fall back to Mermaid only when Node.js 18+ or the skill is unavailable or the diagram must render inline.
    • Low-noise root READMEs: Keep root and index READMEs concise (high-level architecture diagram + feature matrix + quick start) and link out to dedicated Diátaxis pages for deep dives.
    • Humanizer pass: Apply humanizer rules to strip AI writing tells (serves as, em-dashes —, filler connectors Additionally, Furthermore, At its core). Keep sentence lengths bursty and active.
    • Each factual statement about the running system gets a trustchecked marker with evidence=<path>:<line> you actually opened. Postcondition: every claim you would defend in review has a marker; anything you would not defend is either deleted or written as unverified.
  6. Evidence gate. Do not proceed until every evidence= path and line resolves to a line you opened. Re-open each one and confirm it still says what you cited it for. This is the gate an agent will self-certify — "I checked it" is not a check, and a plausible line number is not a line number. A failure here means the evidence is wrong, never that the check is too strict.
  7. Add an amendment row if step 5 replaced a false statement — | Date | Commit | Reason | Change |, per amendments.md. Substantial corrections get the prose block beneath it too. Postcondition: the row's Reason names the false statement in the past tense. If you cannot name one, you were editing, not amending; remove the row.
  8. Record gate. Append the ledger entry and regenerate the projections the project derives from it (changelog, index, frontmatter version:/updated:). Postcondition: the entry exists and the projections are current. Reporting this task complete without the record is a failed run: the projections are stale and the next person inherits the failure.
  9. Reader test — substantial new documents only. Skip it for an edit to an existing document; this gate asks whether a page nobody has read yet can actually be used, and step 6 does not answer that — evidence proves the claims are true, not that a reader can act on them. Write 5–10 questions a reader would realistically arrive with, then dispatch each to a fresh subagent given only the document — no repo access, no conversation context, because the point is to surface what only the author knows. Ask each for its answer plus anything it found ambiguous or had to assume. Postcondition: every wrong answer and every reported ambiguity is either fixed in the document or recorded as out of scope with a reason. One round, capped like step 4: a second round means the document needs rewriting, not re-testing.
  10. Final check. Postcondition: the file's recorded content hash matches what is on disk — if you edited after recording, record again — every relative link in the file resolves, and version: is whatever the ledger says, not a number you typed.

Read the full file on GitHub · 145 lines

Files

What ships with it

3 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. yesterday First seen · 145 lines · 135 tokens per session scan A b33244e6acf6

Subscribe to this mod's changes

update-documentation is a skill published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 135 tokens to every session and 2,207 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-12-05.

Related

update-documentation compared with skills from other repositories

update-documentation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
update-documentationArasz/ai-raccoonSkill7todayMITA135Claude Code, Codex
cartographer-kb-importBeppeTemp/cartographerSkill74yesterdayApache-2.0A51Claude Code, Codex
cartographer-kb-correctBeppeTemp/cartographerSkill74yesterdayApache-2.0A111Claude Code, Codex
cartographer-kb-answerBeppeTemp/cartographerSkill74yesterdayApache-2.0A136Claude Code, Codex
pptxagentscope-ai/QwenPawSkill39kyesterdayApache-2.0A185Claude Code, Codex
pdfagentscope-ai/QwenPawSkill39kyesterdayApache-2.0A95Claude Code, Codex
docx-placeholder-workflowBitterbot-AI/bitterbot-desktopSkill2.5k2d agoMITA15Claude Code, Codex