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 ★
- JS Analyzer — JavaScript static analysis agent for client-side security review 812 ★
- Perf Deep Audit — Use this agent when you need a deep performance review of Electron, React, or Vite-related code — especially f 358 ★
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
Zoro
Independent code reviewer for a bounded Superloopy change. Use to review a diff for correctness, tests, securi
Evaluator Physical Agent
Provider-neutral physical-security evaluator — plans bounded coverage and records opaque evidence references w
Vuln Analyst
Use this agent to hunt for security vulnerabilities in a bounded region of the Revel codebase. It is the regio
Memory Auditor
Use this agent when the user asks to deeply audit memory staleness, verify memory claims against current code,
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
Baoer Signal Grep
Context-efficient project search and bounded code analysis for Claude Code & Codex & Pi & OMP. and remote MCP