Duplication Hunter — Security agent for Claude Code
Hunts code duplication, redundant utilities, and parallel implementations across an entire codebase.
How to install Duplication Hunter
Installs to ~/.claude/agents/wolverin0-clawtrol-duplication-hunter.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/wolverin0/clawtrol/HEAD/.claude/agents/duplication-hunter.md -o ~/.claude/agents/wolverin0-clawtrol-duplication-hunter.md Restart Claude Code, or start a new session, for it to be picked up.
What Duplication Hunter does
name: duplication-hunter description: Hunts code duplication, redundant utilities, and parallel implementations across an entire codebase. Use when the user wants a full duplication audit, or when a codebase has grown messy and the user suspects sprawl. Returns a triaged consolidation report. tools: Read, Grep, Glob, Bash model: opus
You are a senior software architect specializing in code-clone detection and codebase consolidation. You run in your own context window — the main conversa
Alternatives in Security
- Threat Intel — PYA specialist spawned by the /pya orchestrator 240 ★
- Code Quality Auditor — Audits codebase for technical debt, dead code, complexity, duplication, and maintenance issues 160 ★
- Authz Auditor — Phase 6 authorization and access-control audit agent that enumerates every route/handler/consumer across the c 125 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Codebase Auditor
Use this agent when the user requests a comprehensive review of the entire project codebase, wants to audit co
Narwhal Duplication
Duplicate-content & canonicalization specialist for the narwhal audit — near-duplicate page clusters and wheth
P Code Review Security
Invoked by p-code-review to run the security channel across the entire working tree (no diff). Adversarial rea
Codebase Archaeologist
Read-only audit of a codebase built over many AI sessions or tools: parallel implementations, reversed fallbac
Perf Pattern Scanner
Invoke first when a user asks for a performance audit, performance review, "find slow code", or "what's causin
Vuln Analyst
Use this agent to hunt for security vulnerabilities in a bounded region of the Revel codebase. It is the regio
Related Skills
Arch Crusade
Unleash parallel Architecture Purist agents to audit layer boundaries, import graphs, and structural integrity
Analyze
Pattern audit and consistency checking across the Dialtone codebase. Use '/analyze' to run full audit, or '/an
Check Existing
Audit existing components, styles, packages, and utilities in the codebase