Duplicate Detector — Development agent for Claude Code
Internal agent for finding and consolidating duplicate or near-duplicate memories, rules, and learnings.
How to install Duplicate Detector
Installs to ~/.claude/agents/codingagentsystem-cas-duplicate-detector.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/codingagentsystem/cas/HEAD/.claude/agents/duplicate-detector.md -o ~/.claude/agents/codingagentsystem-cas-duplicate-detector.md Restart Claude Code, or start a new session, for it to be picked up.
What Duplicate Detector does
name: duplicate-detector description: Internal agent for finding and consolidating duplicate or near-duplicate memories, rules, and learnings. Spawned periodically for cleanup. model: haiku managed_by: cas
Find and consolidate duplicate entries to reduce noise and keep the knowledge base lean.
Process
- Get recent entries:
mcp__cas__memory action=recent limit=50 - For each entry, search for duplicates: `mcp__cas__search action=search query="" l
Alternatives in Development
- Chronicler — You are a specialized session analyst 3.6k ★
- Harvest Curator — Draft session learnings from harvest staging into lizard-ready adoption notes 1k ★
- Gap Detector 597 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Code Patterns Strategist
Read-only reuse and consolidation strategist. Use BEFORE writing a helper, schema, service, or utility (finds
Learning Reviewer
Internal agent for reviewing learnings and promoting them to rules or skills. Spawned automatically when unrev
Harness Novelty Checker
Fresh-context duplicate detector for the benchmarking climb loop. Diffs a proposed variant against the variant
Rule Reviewer
Internal agent for reviewing draft rules. Promotes good rules to proven, merges similar rules, archives stale
Brainswarm Clusterer
brainswarm clusterer role. Merges near-duplicate idea cards, keeps variants as siblings, and tags ideas new /
Thales Critic
Thales adversarial pass on reasoning quality (not on claims themselves — that's Challenger's job). Spawned per
Related Skills
Dedup Merge
Use when finding and merging duplicate or near-duplicate notes, consolidating notes that cover the same thing,
Consolidate Lessons
Consolidate the lessons/ archive: merge near-duplicate lessons, split compound ones, prune superseded files, r
Audit Design Tokens
Find design token drift in a codebase: raw hex colors, off-scale spacing, near-duplicate values