audit-agents-md

Audit CLAUDE.md and AGENTS.md instruction files for density, staleness, redundancy, and actionability.

Updated Jun 6, 2026
One-click install
npx skills add https://github.com/shuymn/skills --skill audit-agents-md-shuymn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audit-agents-md
Source: https://github.com/shuymn/skills/tree/main/skills/audit-agents-md
Command: npx skills add https://github.com/shuymn/skills --skill audit-agents-md-shuymn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill reviews agent instruction files like CLAUDE.md and AGENTS.md to catch stale guidance, duplicated rules, weak instructions, and missed opportunities for clearer behavior.

Core Features & Use Cases

  • Instruction Audit: Evaluates density, inferability, staleness, actionability, redundancy, requirement cost, and structure.
  • Source Resolution: Determines whether the target file is the editable source, a symlink, or a managed copy before recommending edits.
  • Use Case: Use it when a project changes significantly, when agent behavior seems off, or when someone asks to review and improve an instruction file.

Quick Start

Ask the Skill to audit the project’s agent instruction file and report concrete PASS, WARN, or FAIL findings with evidence and recommendations.

Frequently Asked Questions about audit-agents-md

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit CLAUDE.md and AGENTS.md files for stale instructions?

To audit CLAUDE.md and AGENTS.md files, evaluate their density, staleness, redundancy, and actionability. This process verifies source-of-truth relationships and checks repository-specific evidence to produce concrete PASS, WARN, or FAIL findings with recommendations.

Why does my agent behavior drift after major project changes?

Agent behavior drift often occurs because CLAUDE.md or AGENTS.md instruction files contain stale guidance or weak instructions. Auditing these files identifies missed opportunities for clearer behavior and redundant rules caused by recent project modifications.

What is the best way to check instruction file density and actionability?

Checking instruction file density and actionability involves evaluating whether rules are inferable, structurally sound, and cost-effective. The audit verifies source-of-truth relationships and reports PASS, WARN, or FAIL findings with evidence and recommendations.

Can I edit a symlinked AGENTS.md file directly during an instruction audit?

Before editing an AGENTS.md file, source resolution determines whether the target file is the editable source, a symlink, or a managed copy. This step ensures you only recommend edits to the actual source-of-truth file.

When should I review agent instruction files for redundancy and staleness?

You should review agent instruction files for redundancy and staleness after a project changes significantly, when agent behavior seems off, or when someone explicitly asks for an instruction-file review to catch duplicated rules.

What do PASS, WARN, or FAIL findings mean in an agent instruction audit?

PASS, WARN, or FAIL findings represent the results of evaluating instruction file quality against metrics like density, actionability, and staleness. Each finding includes concrete evidence and recommendations for improving the agent instructions.