claude-md-guardian

Community

Spot CLAUDE.md conflicts and stale rules.

AuthorDojoGenesis
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Agents rely on the CLAUDE.md contract for consistent behavior. Over time rules can drift, conflict, or become obsolete, leading to unpredictable actions. This skill audits CLAUDE.md files to surface those issues and optionally enforces protection hooks.

Core Features & Use Cases

  • Inventory & Normalize: Collects all global, project, and sub‑directory CLAUDE.md files and extracts discrete rules.
  • Conflict & Redundancy Detection: Identifies contradictory, duplicated, or deprecated rules across the hierarchy.
  • Staleness Analysis: Flags rules that reference removed tools, paths, or patterns.
  • Protective Hook Installation: Optionally creates a PreToolUse hook that blocks unauthorized CLAUDE.md edits.
  • Actionable Report: Generates a health report with counts, conflict details, redundancy listings, and remediation suggestions.
  • Use Cases: Run after a branch merge that touched CLAUDE.md, during weekly maintenance, when onboarding new agents, or after a reflect‑and‑learn session.

Quick Start

Ask the CLAUDE.md Guardian to generate a health report for the repository.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: claude-md-guardian
Download link: https://github.com/DojoGenesis/gateway/archive/main.zip#claude-md-guardian

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.