doc-refresh

doc-refresh is a skill for Claude Code, Codex from littlebearapps/pitchdocs. It costs 86 tokens per session (2,283 once invoked), scanned A, original, MIT.

A documentation maintenance coordinator that reviews changes since a release and selects which project documents need updating. It passes the work to existing documentation tools for changelogs, guides, README content, and AI context files.

In plain words
What is it for?
Use it after releases, feature additions, or routine maintenance to identify affected documentation and coordinate selective refreshes. If a project has no release history, it recommends a full documentation review instead.
Why use it?
Version bumps and feature changes can leave several documents outdated, making manual updates easy to miss.

Skill for Claude CodeCodex

Part of the pitchdocs plugin — 16 skills, 15 commands, 4 agents shipped together

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.

agentmods
npx agentmods add skills/littlebearapps/pitchdocs/doc-refresh
Any agent
npx skills add littlebearapps/pitchdocs --skill doc-refresh
Clone the repo
git clone --depth 1 https://github.com/littlebearapps/pitchdocs

Made for: Claude Code, Codex.

Or install pitchdocs, the plugin that ships this one along with the rest of its 16 skills, 15 commands, 4 agents.

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 doc-refresh

README.md
[![agentmods](https://agentmods.dev/badge/skills/littlebearapps/pitchdocs/doc-refresh.svg)](https://agentmods.dev/skills/littlebearapps/pitchdocs/doc-refresh)
Your own site
<a href="https://agentmods.dev/skills/littlebearapps/pitchdocs/doc-refresh"><img src="https://agentmods.dev/badge/skills/littlebearapps/pitchdocs/doc-refresh.svg" alt="Measured on agentmods" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,283 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00086 $0.02283
Opus 5 $0.00043 $0.01141
Sonnet 5 $0.00017 $0.00457
Haiku 4.5 $0.00009 $0.00228

Measured 4d ago against content hash 6e603d73357e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

doc-refresh 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 4d 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.

.claude/skills/doc-refresh/SKILL.md · 184 lines

How it starts

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

Doc Refresh

Philosophy

Generation is solved — PitchDocs handles that. Maintenance is the unsolved problem. After the initial docs suite is created, every release needs a coordinated update: CHANGELOG entries enhanced with benefit language, README features refreshed, user guides amended, AI context files synced, and llms.txt kept current.

/doc-refresh closes the maintenance loop. It works alongside release-please: release-please handles version strings and CHANGELOG scaffolding, /doc-refresh handles prose, features, context, and metrics.

Change Detection Workflow

Step 1: Identify the Boundary

# Latest tag (the "since" point for change detection)
git describe --tags --abbrev=0 2>/dev/null

# If no tags exist, fall back to initial commit
git rev-list --max-parents=0 HEAD

# All commits since boundary
git log $(git describe --tags --abbrev=0 2>/dev/null || git rev-list --max-parents=0 HEAD)..HEAD --oneline --no-merges

# If a version argument was provided (e.g., v1.5.0..v1.7.0)
git log v1.5.0..v1.7.0 --oneline --no-merges

If no tags exist at all, recommend running /readme and /docs-audit fix instead — a full generation is more appropriate than a refresh for a brand-new repo.

Step 2: Parse Conventional Commits

Classify each commit into categories that map to documentation impacts:

Commit Type Doc Impact
feat: CHANGELOG, README features, possibly user guides, release notes
fix: CHANGELOG, possibly troubleshooting guides
docs: Verify existing docs are consistent with changes
refactor: AI context files (if architecture changed)
perf: CHANGELOG, README metrics if benchmarks cited
chore: Usually none, unless dependencies changed significantly
BREAKING CHANGE: CHANGELOG with migration note, README, migration guide, release notes

If the repo does not use conventional commits, fall back to git diff --stat analysis — classify changes by which files they touch (source, tests, config, docs) rather than commit message prefix.

Read the full file on GitHub · 184 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. 4d ago First seen · 184 lines · 86 tokens per session scan A 6e603d73357e

Subscribe to this mod's changes

doc-refresh is a skill published in the GitHub repository littlebearapps/pitchdocs (8 stars, last pushed 3mo ago), licensed MIT. It adds 86 tokens to every session and 2,283 once invoked, about $0.0004 per session on Opus 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-31.