docs-hygiene

docs-hygiene is a plugin for Claude Code from melodic-software/claude-code-plugins. Its manifest loads nothing; the 11 skills it bundles cost 1,756 tokens per session together, scanned A, original, MIT.

A toolkit for keeping Markdown documentation concise, consistent, and easy to maintain. It checks for repeated text, stale links, unnecessary sections, and writing issues for both agents and people.

In plain words
What is it for?
Use it to shorten Markdown safely, identify documentation noise, create a single source of truth, check references, and review how instruction files are organized and written.
Why use it?
Documentation can become duplicated, noisy, outdated, or difficult to navigate. This toolkit helps find those problems and reduce them without changing the intended meaning.

Plugin for Claude Code

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.

Claude Code
/plugin marketplace add melodic-software/claude-code-plugins
agentmods
npx agentmods add plugins/melodic-software/claude-code-plugins/docs-hygiene
Clone the repo
git clone --depth 1 https://github.com/melodic-software/claude-code-plugins

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

README.md
[![agentmods](https://agentmods.dev/badge/plugins/melodic-software/claude-code-plugins/docs-hygiene.svg)](https://agentmods.dev/plugins/melodic-software/claude-code-plugins/docs-hygiene)
Your own site
<a href="https://agentmods.dev/plugins/melodic-software/claude-code-plugins/docs-hygiene"><img src="https://agentmods.dev/badge/plugins/melodic-software/claude-code-plugins/docs-hygiene.svg" alt="Measured on agentmods" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured The manifest loads nothing itself; its 11 skills cost 1,756 tokens a session between them.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

docs-hygiene 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 today.

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/docs-hygiene/.claude-plugin/plugin.json · 23 lines

What it actually says

{
  "$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json",
  "name": "docs-hygiene",
  "version": "0.21.35",
  "description": "Documentation-hygiene toolkit: compress (flavor-trim markdown with a semantic-diff safety net), audit-noise (classify markdown noise), extract-ssot (deduplicate repeated content into a single source of truth), audit-encapsulation (detect citations into skill-private surfaces), rename-references (sweep stale references after renames), audit-derivability (classify whether a whole document earns its existence \u2014 could a fresh agent re-derive it from the code?), audit-progressive-disclosure (grade instruction files against a load-tier model for split opportunities and hub/spoke disclosure defects), write-for-agents (authoring-time doctrine that fires while agent-consumed markdown is being written), and write-for-humans (the same moment for the other reader \u2014 end-user READMEs, RFCs, release notes and guides \u2014 resolving the consuming project's own style guide first).",
  "author": {
    "name": "Melodic Software",
    "email": "[email protected]"
  },
  "license": "MIT",
  "keywords": [
    "documentation",
    "markdown",
    "maintenance",
    "hygiene",
    "deduplication",
    "derivability",
    "progressive-disclosure",
    "context-engineering",
    "refactoring"
  ]
}
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. today Changed 7fe15fb13d16
  2. yesterday First seen · 23 lines scan A 2a295093580b

Subscribe to this mod's changes

docs-hygiene is a plugin published in the GitHub repository melodic-software/claude-code-plugins (15 stars, last pushed today), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. 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.