MattBro

Memory Audit — Security skill for Claude Code

Security community

Audit auto-memory and CLAUDE.md for staleness, duplicates, dead links, and overlap.

How to install Memory Audit

Installs to ~/.claude/skills/mattbro-dotfiles-ai-memory-audit/SKILL.md

Terminal
mkdir -p ~/.claude/skills/mattbro-dotfiles-ai-memory-audit && curl -fsSL https://raw.githubusercontent.com/MattBro/dotfiles-ai/HEAD/commands/memory-audit.md -o ~/.claude/skills/mattbro-dotfiles-ai-memory-audit/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Memory Audit does


description: Audit auto-memory and CLAUDE.md for staleness, duplicates, dead links, and overlap. Reports findings and pauses for approval before any deletion. allowed-tools: Bash, Read, Edit, Grep, Glob

Memory Audit

Review the user's memory system and `CLAUDE.md` files for hygiene issues. **Never auto-delete anything** — surface findings, wait for approval.

The memory directory is per-project under `~/.claude/projects//memory/`. The global `CLAUDE.md` is at `~/.claude/

Alternatives in Security

  • Skill Coverage Audit — Trace codepaths in diffs, map against tests, auto-generate missing coverage — use before shipping PRs 2.8k ★
  • Review Artifact — Creates one polished, self-contained HTML artifact from review findings, audit notes, PR feedback, code review 652 ★
  • Memory Self Review — Mine recent agent history (claude-mem + usage stats) for recurring failures and repeated patterns, audit MEMOR 297 ★

Full documentation available on GitHub

View Source Repository