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, 1 plugin it bundles cost 1,002 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, 1 plugin cost 1,002 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 · 45 lines

What it actually says

{
  "name": "docs-hygiene",
  "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 validates the compress settings.",
  "author": {
    "name": "Melodic Software",
    "email": "[email protected]"
  },
  "version": "5.0.21",
  "license": "MIT",
  "keywords": [
    "documentation",
    "markdown",
    "maintenance",
    "hygiene",
    "deduplication",
    "derivability",
    "progressive-disclosure",
    "context-engineering",
    "refactoring",
    "skill",
    "compress",
    "audit"
  ],
  "metadata": {
    "category": "maintenance"
  },
  "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"]
    },
    "compress_revert_below_pct": {
      "type": "number",
      "title": "Compress revert threshold (percent)",
      "description": "Percent compression below which /docs-hygiene:compress reverts a result with zero semantic loss, a whole number from 0 to 100. Default 3; 0 turns the auto-revert off; --force bypasses it on one run. docs/conventions/docs-hygiene.yaml overrides this.",
      "default": 3,
      "min": 0,
      "max": 100
    }
  }
}
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 da65de8cb6b8
  2. 2d ago Changed 9c7bc7f5c22a
  3. 3d ago Changed 64533f238fa9
  4. 4d ago Changed 702507ab1e8c
  5. 5d ago Changed 4c8d81389552
  6. 6d ago Changed 7f6de95c344a
  7. 7d ago Changed f41da0722541
  8. 8d ago Changed c5ef7d181895
  9. 9d ago Changed 79588ea76b77
  10. 10d ago First seen · 45 lines scan A 807f1b7fd4ba

Subscribe to this mod's changes

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

Related

docs-hygiene compared with plugins from other repositories

docs-hygiene next to 6 plugins from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-hygienemelodic-software/claude-code-pluginsPlugin34todayMITA—Claude Code
humanizerblader/humanizerPlugin77k15d agoMITA—Claude Code
claude-plugins-official marketplaceanthropics/claude-plugins-officialPlugin49kyesterdayApache-2.0A—Claude Code
nextjsvercel/next.jsPlugin144ktodayMITA—Claude Code
themes-examplegoogle-gemini/gemini-cliPlugin110ktodayApache-2.0A—Gemini CLI
knowledge-work-plugins marketplaceanthropics/knowledge-work-pluginsPlugin38kyesterdayApache-2.0A—Claude Code
android-skillsandroid/skillsPlugin11k11d agoApache-2.0A—Claude Code