Agent skill

Claude Md Audit

by timothywarner-org in timothywarner-org/claude-code

Audit the CLAUDE.md hierarchy in a repo for drift between what each CLAUDE.md claims and what's actually on disk.

MITAuto-check passedAgent Workflows

Install Claude Md Audit

skills CLI
$ npx skills add timothywarner-org/claude-code --skill claude-md-audit -a claude-code

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

GitHub CLI
$ gh skill install timothywarner-org/claude-code claude-md-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/timothywarner-org/claude-code.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/claude-md-audit .claude/skills/claude-md-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-audit
GitHub stars
224
Token cost
~649 tokens
SKILL.md length
260 words
Files
3 (incl. scripts, references)
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

Audit the CLAUDE.md hierarchy in a repo for drift between what each CLAUDE.md claims and what's actually on disk.

  • Works in 4 steps: Load references/CLAUDE_MD_PATTERNS.md -… → Group findings by severity. Address high… → For each finding, propose the minimal… → …
  • The user asks to audit
  • SKILL.md covers Run the audit, How to interpret results, When drift is found and Voice rules for any rewrites…, plus 1 more section
  • Runs Python scripts from its folder; calls python

What it does

Claude Md Audit is an agent skill from timothywarner-org/claude-code. Audit the CLAUDE.md hierarchy in a repo for drift between what each CLAUDE.md claims and what's actually on disk. Validates that referenced file paths still exist, flags voice violations (em dashes, "ask" as a noun), and checks the ground-truth facts block for stale tokens (MCP spec date, transports, model lineup). Use when the user asks to audit, validate, check, or verify CLAUDE.md files, says "is my CLAUDE.md still accurate", flags possible doc drift, or wants to sanity-check the docs before a course recording…

Its SKILL.md is about 650 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts and reference files (for example `references/CLAUDE_MD_PATTERNS.md` and `scripts/audit_claude_md.py`).

It sits in Agent Workflows, covering Agent instruction files. It works with Model Context Protocol. The repository describes itself as: Claude Code and Large-Context Reasoning (O'Reilly Live Learning). The licence is MIT.

When your agent uses it

  • The user asks to audit
  • Verify CLAUDE.md files
  • Says is my CLAUDE.md still accurate
  • Flags possible doc drift

Example prompts

  • “is my CLAUDE.md still accurate”
  • “/claude-md-audit”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Read, Glob, Grep, Bash(python:*)

Workflow steps

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

  1. Load references/CLAUDE_MD_PATTERNS.md - it documents the five canonical patterns and the common drift modes. Read it only when needed…
  2. Group findings by severity. Address high first.
  3. For each finding, propose the minimal correction. Cite the file and line.
  4. If the user passed --fix, the script already corrected obvious path typos. Re-run without --fix to confirm.

What it can do on your machine

Read from SKILL.md and the folder at commit cb80eae. 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(python:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

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

  • Network

    No URLs in SKILL.md.

    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 Audit loads about 649 tokens when it runs, and up to ~1.9k if it reads all its reference files. Until then it costs about 137 tokens; SKILL.md has 260 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~137
When it runs · the whole SKILL.md, loaded when a task matches
~649
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.9k

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); the scripts in this folder are not scanned.

SKILL.md

The full file from timothywarner-org/claude-code at commit cb80eae, republished under its MIT licence (© timothywarner-org). 260 words, ~649 tokens.

Download SKILL.mdSave it as .claude/skills/claude-md-audit/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
claude-md-audit
description
Audit the CLAUDE.md hierarchy in a repo for drift between what each CLAUDE.md claims and what's actually on disk. Validates that referenced file paths still exist, flags voice violations (em dashes, "ask" as a noun), and checks the ground-truth facts block for stale tokens (MCP spec date, transports, model lineup). Use when the user asks to audit, validate, check, or verify CLAUDE.md files, says "is my CLAUDE.md still accurate", flags possible doc drift, or wants to sanity-check the docs before a course recording or release.
allowed-tools
Read, Glob, Grep, Bash(python:*)
argument-hint
[--fix] [--scope=root|segment_1|segment_2|segment_3|segment_4|all]

CLAUDE.md hierarchy audit

This skill validates the five-scope CLAUDE.md teaching artifact that Segment 2 of this course centers on. The Python audit script does the heavy lifting; this prompt orchestrates and interprets.

Run the audit

python "${CLAUDE_SKILL_DIR}/scripts/audit_claude_md.py" $ARGUMENTS

How to interpret results

The script outputs JSON. Read the status field first:

  • clean (exit 0): every CLAUDE.md file exists, every referenced path resolves, ground-truth facts block matches expected values. Report a one-line "all clean" and stop.
  • drift (exit 1): one or more findings. Read each entry in the findings array. Each has file, severity (high/medium/low), category, and message.
  • error (exit 2): hard failure (missing repo root, script bug). Report the error and stop.

When drift is found

  1. Load references/CLAUDE_MD_PATTERNS.md - it documents the five canonical patterns and the common drift modes. Read it only when needed (progressive disclosure).
  2. Group findings by severity. Address high first.
  3. For each finding, propose the minimal correction. Cite the file and line.
  4. If the user passed --fix, the script already corrected obvious path typos. Re-run without --fix to confirm.

Voice rules for any rewrites you propose

This is a Tim Warner course repo. Match the voice in segment_4_hero/CLAUDE.md:

  • Bold key terms.
  • No em dashes. Hyphens with spaces, commas, or periods only.
  • Never use "ask" as a noun.
  • Sentence-case headings.
  • First-principles, plain-spoken, mildly irreverent. No corporate-speak.

What the script does NOT check

  • Whether the lesson prose in each CLAUDE.md is pedagogically sound. That's a human judgment.
  • Whether new files added to the repo should be mentioned in a CLAUDE.md. Suggest additions only when the diff is obvious.

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

Files

SKILL.md and 2 other files (scripts, references) in .claude/skills/claude-md-audit of timothywarner-org/claude-code.

  • SKILL.md
  • references/CLAUDE_MD_PATTERNS.md
  • scripts/audit_claude_md.py

Open the folder on GitHubat commit cb80eae

Compare with similar skills

Claude Md 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 Audit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Claude Md Audit this skilltimothywarner-org/claude-code224—~649Automated safety check: PassMIT
Agent Setup Health Audittw93/Waza7.2k—~5.2kAutomated safety check: NotesMIT
Semantix GuideGnosil/semantix821—~2.1kAutomated safety check: PassMIT
Working With Claude Code Docsobra/superpowers-developing-for-claude-code142—~1.5kAutomated safety check: PassNone
Agnixagent-sh/agnix445—~874Automated safety check: PassApache-2.0
Claude Docs Consultantcentminmod/my-claude-code-setup2.7k—~959Automated safety check: PassMIT

Similar skills

  • Audits a project's agent configuration, instruction drift, hooks, MCP and AI maintainability, then reports prioritized findings with evidence and next actions.

    7.2k GitHub stars~5.2k tokensUpdated today
    Agent WorkflowsAuto-check: notes
  • Semantix Guide

    Gnosil/semantix

    Troubleshoot and configure Semantix capabilities: Skills (project/custom/global/builtin priority, discovery dirs), Commands (override order, /dir:file naming), Hooks (11 events, automatic project…

    821 GitHub stars~2.1k tokensUpdated 5 days ago
    Agent WorkflowsAuto-check passed
  • Working With Claude Code Docs

    obra/superpowers-developing-for-claude-code

    Looks up official Claude Code documentation stored as reference files instead of guessing about CLI commands, configuration, or plugin APIs.

    142 GitHub stars~1.5k tokensUpdated 10 mo ago
    Agent WorkflowsAuto-check passed
  • Agnix

    agent-sh/agnix

    A skill your agent uses when user asks to 'lint agent configs', 'validate skills', 'check CLAUDE.md', 'validate hooks', 'lint MCP'.

    445 GitHub stars~874 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Claude Docs Consultant

    centminmod/my-claude-code-setup

    Consult official Claude Code documentation from code.claude.com using selective fetching.

    2.7k GitHub stars~959 tokensUpdated 3 days ago
    Agent WorkflowsAuto-check passed
  • Clawmem

    yoloshii/ClawMem

    ClawMem operational reference for agents at query time — the 3-rule escalation gate, MCP tool routing, the 4 query-optimization levers, pipeline behavior (query vs intentsearch), composite scoring…

    210 GitHub stars~7.5k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from timothywarner-org/claude-code

  • MCP Scaffold

    timothywarner-org/claude-code

    Scaffold production-ready Python MCP servers using FastMCP. An agent skill from timothywarner-org/claude-code.

    224 GitHub stars~940 tokensUpdated 2 mo ago
    Auto-check passed
  • Azure Bicep Skill

    timothywarner-org/claude-code

    A skill your agent uses when authoring, reviewing, or refactoring Azure Bicep code.

    224 GitHub stars~2.9k tokensUpdated 2 mo ago
    Auto-check passed
  • Azure AI Deploy

    timothywarner-org/claude-code

    Ship a Python generative-AI app to Azure the keyless way, using DefaultAzureCredential and azd.

    224 GitHub stars~731 tokensUpdated 2 mo ago
    Auto-check: notes
  • Genai Prompt Eval

    timothywarner-org/claude-code

    Score a Python generative-AI app's outputs on groundedness, relevance, coherence, and safety before it ships.

    224 GitHub stars~696 tokensUpdated 2 mo ago
    Auto-check: notes
  • Kubernetes Patterns

    timothywarner-org/claude-code

    Kubernetes workload patterns, resource management, RBAC, probes, autoscaling, ConfigMap/Secret handling, and kubectl debugging for production-grade deployments.

    224 GitHub stars~4.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Review Changes

    timothywarner-org/claude-code

    Review uncommitted local changes in the current git working tree for bugs, smells, missing tests, and CLAUDE.md voice violations.

    224 GitHub stars~506 tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about Claude Md Audit

What does Claude Md Audit do?

Audit the CLAUDE.md hierarchy in a repo for drift between what each CLAUDE.md claims and what's actually on disk. Claude Md Audit is an agent skill from timothywarner-org/claude-code.md claims and what's actually on disk.

When should I use Claude Md Audit?

Claude Md Audit fits situations like: the user asks to audit; verify CLAUDE.md files; says is my CLAUDE.md still accurate; flags possible doc drift.

How do I install Claude Md Audit in Claude Code?

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

How do I install Claude Md Audit in Codex?

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

Can I use Claude Md 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 timothywarner-org/claude-code --skill claude-md-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-audit, .gemini/skills/claude-md-audit, .github/skills/claude-md-audit and .opencode/skills/claude-md-audit in your project.

What does Claude Md Audit need to run?

Going by SKILL.md and its folder, Claude Md Audit needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Glob, Grep, Bash(python:*).

Does Claude Md Audit access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Claude Md 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Claude Md Audit use?

Claude Md 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 Audit use?

About 649 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.2k tokens, read only when the agent opens those files.

What are the alternatives to Claude Md Audit?

Skills that share tags, products or a category with Claude Md Audit: Agent Setup Health Audit (tw93/Waza, 7.2k stars), Semantix Guide (Gnosil/semantix, 821 stars), Working With Claude Code Docs (obra/superpowers-developing-for-claude-code, 142 stars) and Agnix (agent-sh/agnix, 445 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Claude Md Audit?

timothywarner-org (a GitHub organization) maintains it in timothywarner-org/claude-code, which has 224 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on July 20, 2026.

Source: timothywarner-org/claude-code on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.