docs-consolidate

docs-consolidate is a skill for Claude Code from jasonm4130/claude-skills. It costs 125 tokens per session (2,355 once invoked), scanned A, original, MIT.

A documentation audit that checks a code repository’s written guides for contradictions, outdated claims, unused pages, and unnecessary bulk. It reports issues for you to decide on; it does not rewrite the documents.

In plain words
What is it for?
Use it to review and spring-clean a repository’s documentation, either when its consolidation reminder appears or when you request an audit.
Why use it?
Documentation can become misleading as the code changes. This helps you find drift without allowing automatic edits to change important guidance incorrectly.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the gates plugin — 1 skill shipped together

Good fit Use it to review and spring-clean a repository’s documentation, either when its consolidation reminder appears or when you request an audit.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add jasonm4130/claude-skills
Claude Code
/plugin install gates

Made for: Claude Code.

Or install gates, the plugin that ships this one along with the rest of its 1 skill.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jasonm4130/claude-skills/docs-consolidate"><img src="https://agentmods.dev/badge/skills/jasonm4130/claude-skills/docs-consolidate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,355 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.00125 $0.02355
Opus 5.5 $0.00050 $0.00942
Sonnet 5.5 $0.00025 $0.00471
Haiku 4.5 $0.00013 $0.00235

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

Security

Grade A, and why

docs-consolidate 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 3mo 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.

plugins/gates/skills/docs-consolidate/SKILL.md · 201 lines

How it starts

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

Documentation consolidation

An audit, not a rewrite. It reports; you decide; only then does anything change.

Google's opendocs defines the audit archetype as inventory + analysis + recommendations, "explicitly excluding the writing or editing of docs based on those results". That separation is the point: LLM inconsistency detection is nowhere near reliable enough to edit unsupervised, and an autonomous rewrite would be confidently wrong at exactly the rate that matters.

This never blocks anything. If the user is mid-task, say what you found and let them come back to it.

--init

Adopt the trigger in this repo.

--init starts the clock; it does not audit. The audited= SHA it writes means "drift is measured from here", not "these docs were verified at this commit". Say that to the user when you run it, because the trigger will then stay silent for threshold − 1 commits over docs nobody has checked. If the repo's docs are of unknown quality, offer to run a full pass immediately after adopting.

  1. Refuse if the record would be ignored. git check-ignore .docs-sync matching means the file would never reach a teammate's clone — stop and say so rather than creating a record that silently does nothing. (This is what ruled out putting it under .claude/: transcoder gitignores that directory.)

  2. Write .docs-sync at the repo root:

    docs-sync: audited=<git rev-parse HEAD>
    Recorded: <ISO-8601 UTC>
    Run /docs-consolidate — do not hand-edit the audited= line.
    

    The second line says Recorded, not "Last consolidation", and both --init and a re-stamp use the same wording. At adoption no consolidation has happened, so a line claiming one would be false in the file whose entire job is to not make false claims.

  3. Commit it. Then assert audited == git rev-parse HEAD~1 — the record names the commit whose tree was audited, which is the parent of the commit containing the record, because a file cannot carry the SHA of the commit that contains it.

Read the full file on GitHub · 201 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. 3mo ago First seen · 201 lines · 125 tokens per session scan A 0bd68c835400

Subscribe to this mod's changes

docs-consolidate is a skill published in the GitHub repository jasonm4130/claude-skills (5 stars, last pushed 14d ago), licensed MIT. It adds 125 tokens to every session and 2,355 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-08-31.

Related

docs-consolidate compared with skills from other repositories

docs-consolidate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-consolidatejasonm4130/claude-skillsSkill514d agoMITA125Claude Code
nkz-tastepehcastro/harnessSkill12mo agoMITA147Claude Code, Codex
corpuspehcastro/harnessSkill12mo agoMITA78Claude Code
sxonowork-studio/notfair-pluginSkill4.4k3d agoMITA211Claude Code
meta-tags-optimizernowork-studio/notfair-pluginSkill4.4k3d agoMITA91Claude Code
chief-strategy-officercbrock84/headcountSkill2.6k4d agoMITA93Claude Code
paid-advertisingcbrock84/headcountSkill2.6k4d agoMITA78Claude Code