rules-auditor

Audit Claude Code memory files for staleness, drift, and quality issues.

1|1|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/seanGSISG/claude-depot --skill rules-auditor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rules-auditor
Source: https://github.com/seanGSISG/claude-depot/tree/main/plugins/rules-auditor/skills/rules-auditor
Command: npx skills add https://github.com/seanGSISG/claude-depot --skill rules-auditor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audit Claude Code memory files — memory files like .claude/rules/*.md, CLAUDE.md, CLAUDE.local.md, and their AGENTS.md/AGENTS.local.md variants — to identify staleness, quality drift, and contradictions, enabling proactive maintenance.

Core Features & Use Cases

  • Audit and improve memory files quality
  • Detect stale rules, dead globs, broken references
  • Check CLAUDE.md vs AGENTS.md freshness
  • Generate structured freshness reports and actionable recommendations

Quick Start

Run the rules-auditor skill to scan CLAUDE.md, AGENTS.md, and rules for freshness issues.

Frequently Asked Questions about rules-auditor

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

FAQPage Schema
How do I audit CLAUDE.md files for stale rules and drift?

You can audit Claude Code memory files by running a rules-auditor scan to detect staleness, quality drift, and dead globs in CLAUDE.md and AGENTS.md files. The scan performs freshness scoring and generates structured reports with actionable recommendations.

What is memory file drift in Claude Code rules?

Memory file drift occurs when CLAUDE.md or AGENTS.md rule files develop staleness, contradictions, or broken references over time. Auditing these files identifies quality issues, verifies referenced files, and performs dead glob checks to ensure rules stay current.

How do I check if .claude/rules files have broken references or dead globs?

Checking .claude/rules files for broken references involves running an audit that performs dead glob checks and referenced-file verification. This process detects stale rules and generates a structured freshness report to guide proactive maintenance.

Can I compare CLAUDE.md vs AGENTS.md freshness automatically?

Yes, you can compare CLAUDE.md and AGENTS.md variants automatically by running an audit that analyzes drift and calculates freshness scores. The audit identifies contradictions and staleness across both files to ensure they remain synchronized.

What is the best way to maintain quality in Claude Code memory files?

The best way to maintain memory file quality is to regularly audit CLAUDE.md and AGENTS.md for drift, dead globs, and broken references. Applying freshness scoring and structured reporting enables proactive maintenance and ensures rules remain current.