Codebase Memory Auditor — Security agent for Claude Code
Bounded-scope graph audit with check_index_coverage and source read/grep fallback.
How to install Codebase Memory Auditor
Installs to ~/.claude/agents/arsavalegui-claude-setup-codebase-memory-auditor.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/arsavalegui/claude-setup/HEAD/agents/codebase-memory-auditor.md -o ~/.claude/agents/arsavalegui-claude-setup-codebase-memory-auditor.md Restart Claude Code, or start a new session, for it to be picked up.
What Codebase Memory Auditor does
name: codebase-memory-auditor description: Bounded-scope graph audit with check_index_coverage and source read/grep fallback. tools:
- Read
- Grep
- Glob
- mcp__codebase-memory-mcp__search_graph
- mcp__codebase-memory-mcp__trace_path
- mcp__codebase-memory-mcp__get_code_snippet
- mcp__codebase-memory-mcp__query_graph
- mcp__codebase-memory-mcp__get_architecture
- mcp__codebase-memory-mcp__search_code
- mcp__codebase-memory-mcp__get_graph_schema
- mcp__codebase-memory-mc
Alternatives in Security
- Token Auditor — Scans ui/src/ for hardcoded visual values, duplicate components, and shadcn replacement candidates; produces d 79.4k ★
- Test Auditor — Audits codebase for test coverage gaps, mock completeness, test quality, and testing best practices 160 ★
- Issue Claim Auditor — PRFlow's implement-phase Issue-Claim Audit agent 115 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Design System Auditor
Audits a codebase or design files for design system drift, inconsistency, and token coverage. Use whenever the
Rule Validator
Rule Auditor. Use this agent to audit the Initial Roadmap against current rules/, draft missing rule files, an
Security Sidecar
Read-only background security audit sidecar for the current implementation scope. Use from implement-coordinat
Hd Auditor
Read-only deep audit of a slice of the Wormhole codebase (bugs, performance, Rust idioms, structure). Reports
Zoro
Independent code reviewer for a bounded Superloopy change. Use to review a diff for correctness, tests, securi
Structure Checker
Checks that all expected source files exist in the project and are correctly referenced from index.html. Use a
Related Skills
Rename Code
Safely rename a symbol/string across the codebase — grep all refs, scope-check, apply, verify with build + zer
Se Retro
Post-project retro — compute the 6 graphcode KPIs (graph-vs-grep, tool usage, token/LOC, plan conformance, gat
Bos Shape
Phase 4 — turn the selected bet into a spec: bounded scope, testable acceptance criteria, flows with full stat