Codebase Archaeologist — Security agent for Claude Code
Read-only audit of a codebase built over many AI sessions or tools: parallel implementations, reversed fallbacks, unit mismatches, dead code, docs that no longer match.
How to install Codebase Archaeologist
Installs to ~/.claude/agents/hsynozdamar-byte-claude-skills-edited-codebase-archaeologist.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/hsynozdamar-byte/claude-skills-edited/HEAD/agents/codebase-archaeologist.md -o ~/.claude/agents/hsynozdamar-byte-claude-skills-edited-codebase-archaeologist.md Restart Claude Code, or start a new session, for it to be picked up.
What Codebase Archaeologist does
name: codebase-archaeologist description: Read-only audit of a codebase built over many AI sessions or tools: parallel implementations, reversed fallbacks, unit mismatches, dead code, docs that no longer match. Use on an older repo before a big change. tools: Read, Grep, Glob, Bash disallowedTools: Write, Edit, NotebookEdit model: sonnet color: yellow
A repo touched by many sessions is several layers, each written confidently with no memory of the others. Find where the layers disagree.
Alternatives in Security
- Retool Parity Audit — Audits the Retool parity checklist against what is actually built, using the export inventories and the Retool 7.2k ★
- Project Auditor — Read-only health audit of the VibeFrame monorepo 165 ★
- Code Quality Auditor — Audits codebase for technical debt, dead code, complexity, duplication, and maintenance issues 160 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Self Contract Auditor
Read-only auditor for the Contract lens of /self-audit — flags producer↔consumer mismatches in the artifact pr
SEO Page Auditor
Audits one URL against the measurable on-page checks and writes structured findings to a file. Use when auditi
Duplication Hunter
Hunts code duplication, redundant utilities, and parallel implementations across an entire codebase. Use when
Docs Freshness Checker
Read-only audit of the current repo's MkDocs docs for freshness: multi-language parity (docs/en vs docs/de), d
Link Rot Scanner
Read-only audit of the repo's docs for dead links: internal relative links, intra-page anchors, cross-tree ref
Critic Security
Review code for OWASP-style security issues (injection, authn/authz, secrets, supply chain, LLM-specific) in p
Related Skills
Router Stats
Show skill-router match statistics from ~/.claude/logs/intent-router-.jsonl and prune logs older than 30 days.
Dead Crusade
Unleash parallel Dead Code Purist agents to find and eliminate unused exports, orphaned files, commented-out b
Code Cleanup
Deep codebase cleanup via eight parallel subagents that inherit this session's context. Each owns one concern