Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix CLAUDE.md files. Scans for all CLAUDE.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions "CLAUDE.md maintenance" or "project memory optimization".
The claude-md-improver skill is designed to audit, evaluate, and improve CLAUDE.md files within a codebase, ensuring that project context is accurate, actionable, and up-to-date. CLAUDE.md files serve as a central repository of project knowledge for the Claude AI assistant, and maintaining their quality is critical for effective automation and code understanding. This skill addresses the common problem of outdated, incomplete, or inconsistent documentation by systematically scanning repositories, assessing file quality, and suggesting or applying targeted improvements.
It searches the repository for files named CLAUDE.md, .claude.md, or .claude.local.md, including in package subdirectories and nested locations, up to 50 files by default. It also recognizes user-wide defaults in ~/.claude/CLAUDE.md.
Yes, but it only makes changes after generating a quality report and receiving explicit user confirmation. Updates are targeted, minimal, and focused on adding genuinely useful information without restating obvious content.
Each CLAUDE.md file is evaluated on commands/workflows, architecture clarity, non-obvious patterns, conciseness, currency, and actionability. Files are scored from A (excellent) to F (severely outdated) based on these criteria.
Yes, it automatically discovers CLAUDE.md files in parent directories and package-specific locations, making it effective for both single-project repositories and monorepo setups.
The skill relies on standard command-line tools like find, grep, and bash for discovery and assessment. It only updates CLAUDE.md files that exist and does not invent new files or templates beyond targeted improvements.
Quick Setup:
.claude/skills/Repository
anthropics/claude-plugins-official