Skip to content
Back to skills

Agent Docs Drift

ASecurity

Audit agent instruction files (CLAUDE.md, AGENTS.md, .claude/rules/) against the commits since any of them last changed, then propose updates each motivated by a commit

  • 6 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 24, 2026
toolsbash

Works with

  • claude code

Security analysis

A100/100

Scanned September 24, 2026

npx -y skills add bengous/claude-code-plugins --skill agent-docs-drift --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Docs Drift?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Docs Drift
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bengous-agent-docs-drift/badge)](https://www.skillsdirectory.com/skills/bengous-agent-docs-drift)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agent-docs-drift
description: Audit agent instruction files (CLAUDE.md, AGENTS.md, .claude/rules/) against the commits since any of them last changed, then propose updates each motivated by a commit
disable-model-invocation: true
license: MIT
allowed-tools:
  - Bash("${CLAUDE_PLUGIN_ROOT}/scripts/agent-docs-drift.ts":*)
  - Read
  - Write
  - Edit
  - Agent
  - AskUserQuestion
  - Glob
  - Grep
---

# Agent Docs Drift

Audits CLAUDE.md, AGENTS.md and `.claude/rules/` against the commits since any of them last changed. Never commits: the user commits.

1. Run the report:

   ```bash
   "${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.

2. Follow the report's protocol. In Claude Code:
   - a subagent is an Agent tool call with `subagent_type: Explore`, briefed with the baseline, protocol step 3, the audit set and its share of commits;
   - the approval question is an AskUserQuestion (apply all / cherry-pick / reject);
   - general quality improvement of the docs belongs to `/context-audit`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.