/context-management:agent-docs-driftfrom context-management
Audits CLAUDE.md, AGENTS.md, and .claude/rules/ files against recent commits to detect drift and propose updates. Reports non-tracked docs and delegates improvements to /context-audit.
Ships in context-management. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Audits CLAUDE.md, AGENTS.md and .claude/rules/ against the commits since any of them last changed. Never commits: the user commits.
Run the report:
"${CLAUDE_PLUGIN_ROOT}/scripts/agent-docs-drift.ts"
A non-zero exit prints the reason on stderr: relay it and stop. When no doc file is tracked, point the user to /init. An empty window: relay the report's result and stop.
Follow the report's protocol. In Claude Code:
subagent_type: Explore, briefed with the baseline, protocol step 3, the audit set and its share of commits;/context-audit.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub bengous/claude-code-plugins --plugin context-management3 skills in this plugin
/context-auditAudit and improve CLAUDE.md, AGENTS.md and .claude/rules/ for instruction budget, anti-patterns and stale references, then apply approved REMOVE/MOVE/REWRITE/ADD fixes
/revise-claude-mdCapture this session's learnings (commands, gotchas, patterns) into CLAUDE.md or .claude/rules/