Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By gao-hongnanv1.4.0MITIn 1 marketplace
Documentation drift detection hook: alerts when code changes may have stale line numbers, broken file references, or outdated code snippets in docs
Run automatically on Claude Code events. Claude doesn't decide.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Detects documentation drift after code changes and prompts Claude to review and fix stale references. Runs automatically on session stop — no manual invocation needed.
A single Stop hook fires when Claude finishes responding:
git diff --name-only HEAD for uncommitted source-file changesstop_hook_active is true → exits silentlyWhy not scripts with regex? Claude is far better at detecting drift than pattern matching. It understands semantic changes, diagrams, function signatures, and context — not just line-number counts.
| Type | Example |
|---|---|
| Broken file-path references | Doc links to a renamed / moved / deleted file |
| Stale line-number references | "see line 120" but the file shrank to 85 lines |
| Outdated code snippets | Inline ``` blocks that no longer match the source |
| Diagram drift | Mermaid / PlantUML diagrams out of sync with architecture |
| Semantic content drift | Descriptions that no longer match behaviour |
plugins/doc-drift/
├── .claude-plugin/
│ └── plugin.json ← plugin manifest
├── hooks/
│ └── hooks.json ← Stop hook declaration
├── scripts/
│ └── check-doc-drift.sh ← git diff check + prompt
└── README.md
git (for git diff)bashValidate the plugin:
claude plugin validate ./plugins/doc-drift
Install from marketplace:
claude plugin install doc-drift@omniagents
Install scopes:
| Flag | Effect |
|---|---|
| (none) | User scope — available across all your projects |
--scope project | Project scope — committed to .claude/, shared with team |
--scope local | Local scope — gitignored, this machine only |
Team distribution — add to .claude/settings.json:
{
"extraKnownMarketplaces": {
"omniagents": {
"source": {
"source": "github",
"repo": "gao-hongnan/omniagents"
}
}
}
}
Then teammates run claude plugin install doc-drift@omniagents.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground
npx claudepluginhub gao-hongnan/omniagents --plugin doc-drift