update-docs

update-docs is a skill for Claude Code, Codex from tmj-90/gaffer. It costs 64 tokens per session (1,030 once invoked), scanned A, original, Apache-2.0.

A guide for updating project documentation so it accurately matches code changes. It covers finding affected documents, correcting examples, and checking that documented commands work.

In plain words
What is it for?
Updating documentation for routes, configuration keys, command-line options, schemas, and other changed behaviour.
Why use it?
It prevents README files, API references, changelogs, and runbooks from becoming misleading after the code changes.

Skill for Claude CodeCodex

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

Good fit Updating documentation for routes, configuration keys, command-line options, schemas, and other changed behaviour.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tmj-90/gaffer/update-docs"><img src="https://agentmods.dev/badge/skills/tmj-90/gaffer/update-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,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.00064 $0.01030
Opus 5.5 $0.00026 $0.00412
Sonnet 5.5 $0.00013 $0.00206
Haiku 4.5 $0.00006 $0.00103

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

Security

Grade A, and why

update-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 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.

runner/skills/update-docs/SKILL.md · 76 lines

How it starts

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

Update the docs

Bring documentation back in line with the code, in the place and style the repo already uses. Docs are wrong in two ways: they say something false, or they are silent where a reader needs them. Fix both for the change at hand, and prove every example runs.

Know which kind of doc you are touching (Diátaxis)

Kind Reader wants Shape Typical home
Tutorial to learn by doing guaranteed-to-work lesson, one path docs/getting-started
How-to guide to finish a task numbered steps, assumes competence README "Usage", runbooks
Reference to look up a fact complete, dry, structured like the code API docs, CLI --help, config tables
Explanation to understand why discussion, trade-offs, context architecture docs, ADRs

Put the change in the kind that matches the reader's need; don't bury a new config key's reference entry inside a tutorial, or rationale inside a reference table. Rationale for a lasting decision belongs in an ADR (the write-adr skill); release notes belong to the changelog-generator skill.

Procedure

  1. Name what changed from the ticket and diff: route, request/response fields, status codes, CLI flag, config key and default, env var, file format, behaviour, error message.
  2. Find every doc that mentions it. Grep the whole repo for the old and new identifiers, not just docs/: grep -rn --include='*.md' -e '<old-name>' -e '<new-name>' --exclude-dir=node_modules . plus OpenAPI/JSON schemas, --help text, code comments with examples, CHANGELOG.md, runbooks. search_lore for docs conventions (voice, where API docs live, changelog format).
  3. Edit in place, in scope. Update each mention so it matches the code exactly: names, types, defaults, required/optional, limits, error cases. Add missing reference entries for anything new a user can call or configure. Don't rewrite unrelated sections or introduce a new docs location or framework.
  4. Document behaviour under failure and concurrency where the change has it — what happens on invalid input, on conflict, on retry, when two clients write at once. Silence here is how readers build on wrong assumptions.
  5. Run every example you touched. Execute documented commands and sample requests against the local build or test server; compare actual output to the doc; paste real output rather than invented output. Do not run documented install, deploy or production commands (the safety hook blocks installs, and you cannot reach deployed environments). If an example cannot run in this environment, mark why in evidence — never claim it was run.
  6. Check generated docs. If reference docs are generated (OpenAPI, typedoc, CLI help), change the source annotation and regenerate with the repo's command; commit the regenerated output only if the repo commits it.
  7. Format and links. Run the repo's markdown formatter/linter if configured (e.g. npx --no -- prettier --check <files>); confirm relative links and anchors resolve.
  8. Evidence each AC with the record-evidence skill: the changed files as diff_summary, and for every documented example the command and its output as test_output. An AC that says "document X" is met only when X is documented where its reader will look and the example demonstrably works. Then stop.

Read the full file on GitHub · 76 lines

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 e127359bc79f
  2. 2mo ago Changed · +42 lines 44cf0610ac23
  3. 3mo ago First seen · 34 lines · 64 tokens per session scan A 66afa62c6ab8

Subscribe to this mod's changes

update-docs is a skill published in the GitHub repository tmj-90/gaffer (1 stars, last pushed 4d ago), licensed Apache-2.0. It adds 64 tokens to every session and 1,030 once invoked, about $0.0003 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-03.

Related

update-docs compared with skills from other repositories

update-docs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
update-docstmj-90/gafferSkill14d agoApache-2.0A64Claude Code, Codex
bulwark-brainstormQBall-Inc/the-bulwarkSkill9yesterdayMITA50Claude Code
plan-creationQBall-Inc/the-bulwarkSkill9yesterdayMITA38Claude Code
anthropic-validatorQBall-Inc/the-bulwarkSkill9yesterdayMITA40Claude Code
create-subagentQBall-Inc/the-bulwarkSkill9yesterdayMITA42Claude Code
test-auditQBall-Inc/the-bulwarkSkill9yesterdayMITA0Claude Code
code-reviewQBall-Inc/the-bulwarkSkill9yesterdayMITA61Claude Code