Checks AI project documentation and memory files for accuracy, drift, and broken paths.

Install

mkdir -p .claude/skills/claude-md-audit && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/19008" && unzip -o skill.zip -d .claude/skills/claude-md-audit && rm skill.zip

Installs to .claude/skills/claude-md-audit

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Audit CLAUDE.md and the memory store (MEMORY.md + fact files) for drift — stale path citations, cross-file contradictions, duplicated facts, and bloat. Use periodically (monthly, or after a big restructure), not on every change. Read-only by default; reports findings by severity with file:line + suggested fix, and routes anything not fixed this session to a follow-up note. Auto-activates on `/claude-md-audit`.
413 charsno explicit “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • →Extract and confirm path citations in CLAUDE.md and MEMORY.md
  • →Identify cross-file contradictions in claims
  • →Detect duplication and bloat in facts
  • →Check for broken index links and orphan memories
  • →Report findings by severity with suggested fixes

How it works

The skill performs four checks: stale references, cross-file contradictions, duplication/bloat, and structural hygiene. It extracts paths, compares claims, and identifies issues, then reports them by severity.

Inputs & outputs

You give it
CLAUDE.md, MEMORY.md, and memory fact files
You get back
Audit report detailing stale references, contradictions, duplication, and hygiene issues

When to use claude-md-audit

  • →Clean up stale project documentation
  • →Audit AI memory integrity
  • →Sync instruction files after repo restructuring

About claude-md-audit

Performs periodic audits on CLAUDE.md and memory files to ensure file paths and instructions remain accurate. Detects drift, contradictions, and duplication in the project's knowledge base.

Audit CLAUDE.md and the memory store (MEMORY.md + fact files) for drift — stale path citations, cross-file contradictions, duplicated facts, and bloat. Use periodically (monthly, or after a big restructure), not on every change. Read-only by default; reports findings by severity with file:line + sug

When not to use it

  • →On every change to the repository
  • →When not performing a periodic audit (monthly or after a big restructure)

Limitations

  • →Read-only by default, offers fixes but does not rewrite without approval
  • →Does not auto-fix dangling `[[refs]]` as they may be deliberate forward-references
  • →Not intended for use on every change

How it compares

This skill provides a periodic, read-only audit of documentation and memory files to catch drift and maintain consistency, unlike real-time checks on every commit.

Compared to similar skills

claude-md-audit side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
claude-md-audit (this skill)03moReviewIntermediate
wrap09moReviewIntermediate
session-wrap19moReviewIntermediate
windsurf-custom-prompts15moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry