Agent skill

Claude Md Drift Audit

by alirezarezvani in alirezarezvani/ClaudeForge

Audit every CLAUDE.md in this project for drift against the last week of git history.

MITAuto-check passedAgent Workflows

Install Claude Md Drift Audit

skills CLI
$ npx skills add alirezarezvani/ClaudeForge --skill claude-md-drift-audit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install alirezarezvani/ClaudeForge claude-md-drift-audit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/alirezarezvani/ClaudeForge.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skill/claude-md-drift-audit .claude/skills/claude-md-drift-audit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
claude-md-drift-audit
GitHub stars
429
Token cost
~559 tokens
SKILL.md length
169 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Audit every CLAUDE.md in this project for drift against the last week of git history.

  • Works in 5 steps: Inventory every CLAUDE.md and… → Collect change signal for the window → Cross-reference each CLAUDE.md against… → …
  • Tasks that involve Agent instruction files
  • Calls git
  • Tasks that involve Git workflow

What it does

Claude Md Drift Audit is an agent skill from alirezarezvani/ClaudeForge. Audit every CLAUDE.md in this project for drift against the last week of git history. Flags sections that reference deleted files, renamed paths, or removed dependencies. Read-only — returns a punch list, never edits.

Its SKILL.md is about 560 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Agent instruction files and Git workflow. It works with Git. The repository describes itself as: A CLAUDE.md Generator and Maintenance tool for for Claude Code to create high-quality CLAUDE.md instruction files — aligned with Anthropic’s best practices for Claude Code. The licence is MIT.

When your agent uses it

  • Tasks that involve Agent instruction files
  • Tasks that involve Git workflow

Example prompts

  • “/claude-md-drift-audit”

Requirements

  • Pre-approved tools (allowed-tools): Read, Glob, Grep, Bash(git log:*), Bash(git diff:*), Bash(git status:*), Bash(find:*)

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Inventory every CLAUDE.md and *.claude/rules/*.md in the tree using find . -name "CLAUDE.md" -type f -not -path "*/.git/*" -not -path…
  2. Collect change signal for the window
  3. Cross-reference each CLAUDE.md against those signals using grep / Read
  4. Return the punch list in this exact shape (markdown), nothing else
  5. If no drift is found, return exactly ## Drift Audit\n\nNo drift in -day window. files inspected.. Do not pad the output.

What it can do on your machine

Read from SKILL.md and the folder at commit 032c5e5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Glob
    • Grep
    • Bash(git log:*)
    • Bash(git diff:*)
    • Bash(git status:*)
    • Bash(find:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Claude Md Drift Audit loads about 559 tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 169 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~559

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from alirezarezvani/ClaudeForge at commit 032c5e5, republished under its MIT licence (© alirezarezvani). 169 words, ~559 tokens.

Download SKILL.mdSave it as .claude/skills/claude-md-drift-audit/SKILL.md (or your agent's skills folder).
name
claude-md-drift-audit
description
Audit every CLAUDE.md in this project for drift against the last week of git history. Flags sections that reference deleted files, renamed paths, or removed dependencies. Read-only — returns a punch list, never edits.
allowed-tools
Read, Glob, Grep, Bash(git log:*), Bash(git diff:*), Bash(git status:*), Bash(find:*)
when_to_use
Use when the user asks "is my CLAUDE.md still accurate?", "audit my docs for staleness", "what changed in the last week?", or as part of /sync-claude-md…
argument-hint
[days=7]
context
fork
agent
Explore
disable-model-invocation
false

CLAUDE.md Drift Audit (forked, read-only)

Days window: $ARGUMENTS (default 7 if empty).

Perform these steps in order, then return a single punch-list summary. Do not modify any file.

  1. Inventory every CLAUDE.md and *.claude/rules/*.md in the tree using find . -name "CLAUDE.md" -type f -not -path "*/.git/*" -not -path "*/node_modules/*". List paths and line counts.
  2. Collect change signal for the window:
    • git log --since="$ARGUMENTS days ago" --name-status --no-merges --diff-filter=DR → deleted and renamed paths.
    • git diff "@{$ARGUMENTS days ago}" --name-status -- package.json requirements.txt pyproject.toml go.mod Cargo.toml 2>/dev/null → manifest deltas (removed/added deps).
  3. Cross-reference each CLAUDE.md against those signals using grep / Read:
    • Mark any line that names a deleted or renamed path.
    • Mark any line in a Tech Stack / Dependencies section that names a removed dep.
    • Mark any @path/... chain import or markdown link whose target was deleted.
  4. Return the punch list in this exact shape (markdown), nothing else:
## Drift Audit (window: <N> days)

Total CLAUDE.md inspected: <count>
Signals examined: <deleted_paths>, <renamed_paths>, <removed_deps>

### Findings
- <path>:<line> — <one-sentence reason> — suggested action
- ... (one bullet per drift; omit section if empty)

### Clean
- <path> (lines unchanged, references valid)
  1. If no drift is found, return exactly ## Drift Audit\n\nNo drift in <N>-day window. <count> files inspected.. Do not pad the output.

© alirezarezvani, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skill/claude-md-drift-audit of alirezarezvani/ClaudeForge.

Open the folder on GitHubat commit 032c5e5

Compare with similar skills

Claude Md Drift Audit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Claude Md Drift Audit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Claude Md Drift Audit this skillalirezarezvani/ClaudeForge429—~559Automated safety check: PassMIT
Zed Configwcygan/dotfiles194—~930Automated safety check: PassNone
Audit Standardsjeremylongshore/tons-of-skills-marketplace2.8k—~1.8kAutomated safety check: NotesMIT
Spin Upaspi6246/Claude-Code-Skills-for-Academics159—~1.9kAutomated safety check: PassNone
Doc SyncPrismer-AI/PrismerCloud1.6k—~1.7kAutomated safety check: NotesMIT
Flowfile Failure ArchaeologyEdwardvaneechoud/Flowfile385—~7.5kAutomated safety check: PassMIT

Similar skills

  • Zed Config

    wcygan/dotfiles

    Zed editor configuration expert. An agent skill from wcygan/dotfiles.

    194 GitHub stars~930 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Audit Standards

    jeremylongshore/tons-of-skills-marketplace

    Audits the current project against the development standards defined in ~/.claude/CLAUDE.md.

    2.8k GitHub stars~1.8k tokensUpdated today
    Agent WorkflowsAuto-check: notes
  • Spin Up

    aspi6246/Claude-Code-Skills-for-Academics

    Start-of-session orientation routine that briefs Claude on the current state of a project before work begins.

    159 GitHub stars~1.9k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Doc Sync

    Prismer-AI/PrismerCloud

    Before merge, mechanize Documentation-First — derive the code delta from git diff, then verify required docs are in sync (CHANGELOG, docs/api, CLAUDE.md/ROADMAP).

    1.6k GitHub stars~1.7k tokensUpdated 9 days ago
    DevelopmentAuto-check: notes
  • Flowfile Failure Archaeology

    Edwardvaneechoud/Flowfile

    Chronicles 25+ major incidents in Flowfile's git history (worker/kernel deadlocks and races, reverted or self-reverted branches, Electron/Tauri packaging breakage, codegen correctness bugs, CI…

    385 GitHub stars~7.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Neat-Freak Knowledge Closeout

    KKKKhazix/khazix-skills

    Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.

    21k GitHub stars~1.9k tokensUpdated 8 days ago
    Agent WorkflowsAuto-check passed

More from alirezarezvani/ClaudeForge

  • Karpathy Guidelines

    alirezarezvani/ClaudeForge

    Behavioral guardrails for LLM-assisted coding. An agent skill from alirezarezvani/ClaudeForge.

    429 GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check passed
  • Claude Md Dependency Rescan

    alirezarezvani/ClaudeForge

    Re-detect this project's tech stack from package.json / requirements.txt / pyproject.toml / go.mod / Cargo.toml and diff it against the Tech Stack section of every CLAUDE.md.

    429 GitHub stars~624 tokensUpdated 4 mo ago
    Auto-check passed
  • Claude Md Link Check

    alirezarezvani/ClaudeForge

    Verify every @path chain import and every markdown link inside every CLAUDE.md in this project resolves to an existing file.

    429 GitHub stars~525 tokensUpdated 4 mo ago
    Auto-check passed

Works with

Categories

Questions about Claude Md Drift Audit

What does Claude Md Drift Audit do?

Audit every CLAUDE.md in this project for drift against the last week of git history. Claude Md Drift Audit is an agent skill from alirezarezvani/ClaudeForge.md in this project for drift against the last week of git history.

When should I use Claude Md Drift Audit?

Claude Md Drift Audit fits situations like: tasks that involve Agent instruction files; tasks that involve Git workflow.

How do I install Claude Md Drift Audit in Claude Code?

Run `npx skills add alirezarezvani/ClaudeForge --skill claude-md-drift-audit -a claude-code`. Or copy the skill folder (skill/claude-md-drift-audit in alirezarezvani/ClaudeForge) into .claude/skills/claude-md-drift-audit in your project. Claude Code loads it when a task matches its description.

How do I install Claude Md Drift Audit in Codex?

Run `npx skills add alirezarezvani/ClaudeForge --skill claude-md-drift-audit -a codex`. Or copy the skill folder (skill/claude-md-drift-audit in alirezarezvani/ClaudeForge) into .agents/skills/claude-md-drift-audit in your project. Codex loads it when a task matches its description.

Can I use Claude Md Drift Audit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add alirezarezvani/ClaudeForge --skill claude-md-drift-audit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/claude-md-drift-audit, .gemini/skills/claude-md-drift-audit, .github/skills/claude-md-drift-audit and .opencode/skills/claude-md-drift-audit in your project.

What does Claude Md Drift Audit need to run?

Going by SKILL.md and its folder, Claude Md Drift Audit needs the command-line tools its instructions call (git). Its frontmatter pre-approves these tools: Read, Glob, Grep, Bash(git log:*), Bash(git diff:*), Bash(git status:*), Bash(find:*).

Does Claude Md Drift Audit access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Claude Md Drift Audit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Claude Md Drift Audit use?

Claude Md Drift Audit is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Claude Md Drift Audit use?

About 559 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Claude Md Drift Audit?

Skills that share tags, products or a category with Claude Md Drift Audit: Zed Config (wcygan/dotfiles, 194 stars), Audit Standards (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Spin Up (aspi6246/Claude-Code-Skills-for-Academics, 159 stars) and Doc Sync (Prismer-AI/PrismerCloud, 1.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Claude Md Drift Audit?

alirezarezvani (a GitHub user) maintains it in alirezarezvani/ClaudeForge, which has 429 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on May 19, 2026.

Source: alirezarezvani/ClaudeForge on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.