update-docs

update-docs is a skill for Claude Code, Codex from Benkapner/claude-code-basecamp. It costs 93 tokens per session (1,699 once invoked), scanned A, original, MIT.

A documentation-maintenance skill that compares code changes with the project’s written documentation and updates descriptions that no longer match.

In plain words
What is it for?
Use it after implementing features, fixing bugs, or refactoring code that changes APIs, fields, configuration keys, command-line options, or other documented behavior.
Why use it?
Renamed functions, changed APIs, removed settings, and new command options can leave documentation describing behavior that no longer exists.

Skill for Claude CodeCodex

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

Good fit Use it after implementing features, fixing bugs, or refactoring code that changes APIs, fields, configuration keys, command-line options, or other documented behavior.

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

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/benkapner/claude-code-basecamp/update-docs/github.svg)](https://agentmods.dev/skills/benkapner/claude-code-basecamp/update-docs)
Your own site
<a href="https://agentmods.dev/skills/benkapner/claude-code-basecamp/update-docs"><img src="https://agentmods.dev/badge/skills/benkapner/claude-code-basecamp/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/benkapner/claude-code-basecamp/update-docs"><img src="https://agentmods.dev/badge/skills/benkapner/claude-code-basecamp/update-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,699 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00093 $0.01699
Opus 5.5 $0.00037 $0.00680
Sonnet 5.5 $0.00019 $0.00340
Haiku 4.5 $0.00009 $0.00170

Measured 1mo ago against content hash b39458dd81df, 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.

skills/update-docs/SKILL.md · 209 lines

How it starts

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

Update Docs

Code changes can silently invalidate documentation. A renamed function, a changed API signature, a removed configuration option, each can leave docs describing behavior that no longer exists. This skill detects that drift by matching the code diff against in-repo documentation and updating docs whose descriptions contradict the new code.

Process

Follow these steps in order. Do not skip steps.

1. Get the diff

DEFAULT_BRANCH=$(git rev-parse --abbrev-ref origin/HEAD | cut -d/ -f2)
git diff $(git merge-base HEAD "$DEFAULT_BRANCH")..HEAD --no-color

Record the list of files changed in the PR:

git diff --name-only $(git merge-base HEAD "$DEFAULT_BRANCH")..HEAD

If the diff is empty, output NO_DOCS_UPDATED and stop.

2. Discover documentation files

Explore the repository structure to identify where documentation lives. Different repos organize docs differently — look for dedicated doc directories, standalone files like README.md at any level, and any other files whose primary purpose is documentation.

Search broadly — include diagram and config files that live alongside docs:

find . -type f \( -name "*.md" -o -name "*.rst" -o -name "*.adoc" \
  -o -name "*.txt" -o -name "*.mmd" -o -name "*.puml" \
  -o -name "*.yaml" -o -name "*.yml" \) \
  ! -path "./.git/*" ! -path "./.forge/*" ! -path "./vendor/*" \
  ! -path "./node_modules/*" \
  | head -500

Then filter the results:

  • Exclude files already modified in the PR (they are being actively updated — check against the changed file list from step 1)
  • Exclude auto-generated files (lockfiles, generated API docs, swagger output)
  • Exclude changelog and release note entries that describe past releases
  • Exclude YAML/YML files that are not documentation. Only keep YAML files that live in doc directories or are clearly documentation examples.

If no documentation files exist in the repo, output NO_DOCS_FOUND and stop.

3. Build the identifier checklist

Read the full file on GitHub · 209 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 First seen · 209 lines · 93 tokens per session scan A b39458dd81df

Subscribe to this mod's changes

update-docs is a skill published in the GitHub repository Benkapner/claude-code-basecamp (18 stars, last pushed 27d ago), licensed MIT. It adds 93 tokens to every session and 1,699 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-08-30.