docs-refresh

docs-refresh is a skill for Claude Code from laurigates/claude-plugins. It costs 39 tokens per session (1,999 once invoked), scanned C, original, MIT.

A maintenance tool for this catalogue repository that refreshes its README, plugin map, and diagram so their counts and plugin lists match the files on disk.

In plain words
What is it for?
Use it after adding or removing plugins or skills, or when the repository's documentation check reports outdated counts, missing entries, or a stale diagram.
Why use it?
It fixes documentation drift, where the catalogue says one number of plugins or skills but the repository contains another.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions .claude-plugin; names the TodoWrite tool; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is Bash(bash scripts/check-docs-index.sh *), Bash(d2 *), Bash(tmp/d2/*), Bash(curl -fsSL *), Bash(tar -xzf *), Bash(mkdir -p tmp/d2), Bash(grep -o *), Bash(just re.

Good fit Use it after adding or removing plugins or skills, or when the repository's documentation check reports outdated counts, missing entries, or a stale diagram.

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/laurigates/claude-plugins
agentmods
npx agentmods add skills/laurigates/claude-plugins/docs-refresh

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/laurigates/claude-plugins/docs-refresh"><img src="https://agentmods.dev/badge/skills/laurigates/claude-plugins/docs-refresh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,999 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00039 $0.01999
Opus 5.5 $0.00016 $0.00800
Sonnet 5.5 $0.00008 $0.00400
Haiku 4.5 $0.00004 $0.00200

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

Security

Grade C, and why

docs-refresh scanned grade C with 2 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 23d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

Not `curl … | sh`: the piped form is blocked by this repo's own

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

allowed-tools: Bash(bash scripts/check-docs-index.sh *), Bash(d2 *), Bash(tmp/d2/*), Bash(curl -fsSL *), Bash(tar -xzf *), Bash(mkdir -p tmp/d2), Bash(grep -o *), Bash(just render-diagrams), Bash(git log *), Bash(git rev
.claude/skills/docs-refresh/SKILL.md · 147 lines

How it starts

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

/docs-refresh

Refresh this repo's top-level catalog docs so the stated plugin/skill/agent counts and the plugin set match what is actually on disk. The detector is scripts/check-docs-index.sh; this skill is the fixer that consumes its report.

When to Use This Skill

Use this skill when... Use something else when...
Per-plugin counts in the README headline / PLUGIN-MAP / the d2 diagram drifted A plugin needs adding/removing — follow /marketplace-authoring § Plugin Lifecycle first, then run this
check-docs-index.sh reports doc_count_drift / diagram_count_drift / diagram_svg_stale / readme_row_dangling You need a generic project's docs synced — that's documentation-plugin:docs-sync (wrong layout for this repo)
The PR gate Check docs-index drift failed in CI Editing rule-index or marketplace set — the audit reports those, but fix them at their source

Context

  • Audit: !bash scripts/check-docs-index.sh
  • README last touched: !git log --max-count=1 --format='%h %ci' -- README.md

Execution

Execute this refresh:

Step 1: Read the drift

Run bash scripts/check-docs-index.sh (shown in Context). Each ISSUES: line names the exact file, line, and the disk-vs-stated count. STATUS=OK with ISSUE_COUNT=0 means nothing to do — stop and report clean.

Step 2: Apply count fixes

For every doc_count_drift / diagram_count_drift issue, Edit the stated count to the disk count:

  • docs/CATALOG.md — never hand-edited; just catalog regenerates it from marketplace.json and the plugin dirs (CI: Check catalog is current).
  • docs/PLUGIN-MAP.md — the | <plugin> | N | ... | tier-table rows.
  • docs/diagrams/plugin-relationships.d2 — the label: "<name>\nN skills" node labels. The .svg is generated and never hand-edited; re-render it in Step 4.

Step 2b: Apply name-level fixes

Two ERROR-severity issue types are name drift, not count drift — no /docs-refresh arithmetic repairs them:

Read the full file on GitHub · 147 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. 23d ago Changed · +40 lines e5c870c90056
  2. 28d ago Changed fe597b0260af
  3. 1mo ago Changed 9dc4556259ff
  4. 1mo ago Changed 9f3e4fd893ec
  5. 3mo ago First seen · 107 lines · 39 tokens per session scan C d20883a02c2e

Subscribe to this mod's changes

docs-refresh is a skill published in the GitHub repository laurigates/claude-plugins (60 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 1,999 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

docs-refresh compared with skills from other repositories

docs-refresh next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-refreshlaurigates/claude-pluginsSkill60todayMITC39Claude Code
dev-environment-bootstrappingshopwareLabs/ai-coding-toolsSkill48yesterdayMITA144Claude Code
phpunit-integration-to-unit-migratingshopwareLabs/ai-coding-toolsSkill48yesterdayMITA152Claude Code
generate-tree-structurejimmc414/claude-code-plugin-marketplaceSkill4yesterdayMITA30Claude Code
verify-with-inline-testsjimmc414/claude-code-plugin-marketplaceSkill4yesterdayMITA27Claude Code
performancekrzysztofsurdy/code-virtuosoSkill261mo agoMITA35Claude Code
divide-worktomoking2004/claude-pluginsSkill3yesterdayMITA219Claude Code