docs-hygiene

docs-hygiene is a plugin for Claude Code from melodic-software/claude-code-plugins. Its manifest loads nothing; the 9 skills, 1 agent it bundles cost 1,157 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

Written for Claude Code: a Claude Code plugin manifest.

Good fit 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.

Compare 6 plugins from other repositories ↓
Install in Claude Code
/plugin marketplace add melodic-software/claude-code-plugins
/plugin install docs-hygiene
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.

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/github.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/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-hygiene

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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 9 skills, 1 agent cost 1,157 tokens a session between them.
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.
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 yesterday.

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 · 31 lines

What it actually says

{
  "name": "docs-hygiene",
  "version": "1.1.2",
  "description": "Documentation-hygiene toolkit: compress (trim markdown with a semantic-diff check), audit-noise (classify markdown noise), extract-ssot (deduplicate into a single source of truth), audit-encapsulation (citations into skill-private files), rename-references (stale references after renames), audit-derivability (does a doc earn its existence), audit-progressive-disclosure (load tiers), write-for-agents and write-for-humans (authoring). Setup checks markdownlint-cli2.",
  "author": {
    "name": "Melodic Software",
    "email": "[email protected]"
  },
  "license": "MIT",
  "keywords": [
    "documentation",
    "markdown",
    "maintenance",
    "hygiene",
    "deduplication",
    "derivability",
    "progressive-disclosure",
    "context-engineering",
    "refactoring"
  ],
  "userConfig": {
    "compress_articles": {
      "type": "string",
      "title": "Compress articles",
      "description": "Whether /docs-hygiene:compress removes a, an and the. keep (default): articles stay, and compression runs on the in-session Edit backend with word-level cuts only. cut: articles may be removed, and the caveman backend runs when installed. docs/conventions/docs-hygiene.yaml overrides this.",
      "default": "keep",
      "options": ["keep", "cut"]
    }
  }
}
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. yesterday Changed 365862e30ce9
  2. 3d ago Changed ed6871adedfc
  3. 6d ago Changed 5520cbea4a39
  4. 8d ago Changed · +9 lines 43205232613a
  5. 9d ago Changed 51d44ed00d4e
  6. 12d ago Changed e3515237ea7e
  7. 14d ago Changed 127cc8c8908c
  8. 15d ago Changed 7f253a116090
  9. 16d ago Changed · -1 lines 2214ab47e863
  10. 17d ago First seen · 23 lines scan A 63d3fad18d8b

Subscribe to this mod's changes

docs-hygiene is a plugin published in the GitHub repository melodic-software/claude-code-plugins (26 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.