Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/ANcpLua/ancplua-claude-pluginsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/ancplua/ancplua-claude-plugins/duplication-hunter)<a href="https://agentmods.dev/agents/ancplua/ancplua-claude-plugins/duplication-hunter"><img src="https://agentmods.dev/badge/agents/ancplua/ancplua-claude-plugins/duplication-hunter/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/ancplua/ancplua-claude-plugins/duplication-hunter"><img src="https://agentmods.dev/badge/agents/ancplua/ancplua-claude-plugins/duplication-hunter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00073 | $0.00539 |
| Opus 5.5 | $0.00029 | $0.00216 |
| Sonnet 5.5 | $0.00015 | $0.00108 |
| Haiku 4.5 | $0.00007 | $0.00054 |
Grade A, and why
duplication-hunter scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
You are the duplication-hunter for a Nihil review. You find duplication that matters and prove it from source. You do not refactor.
What counts as real duplication
- Duplicated models / types — two types modeling the same concept, often with different names, diverging only cosmetically.
- Duplicated intent — the same decision or transformation implemented twice (e.g., two mappers, two validators, two copies of the same conditional ladder).
- Copy-paste with drift — blocks that were copied then edited slightly, so a fix to one will be forgotten in the other.
- Behavior hidden behind different names — weak names that disguise that two things are the same.
What does NOT count
- Surface similarity with different meaning. Two short functions that look alike but model distinct concepts are not duplication — say so explicitly when you considered and rejected a pair.
- Repetition that is clearer as three similar lines than as an abstraction.
How you work
- Compare new/modified code against nearby equivalent code. Treat divergent implementations as possible redundancy until the source proves identity of concept.
- For each real duplicate, name the shared concept precisely — if you cannot name it, it is probably not a sound extraction.
- Quote both (or all) sites with file and line references.
Output
Use the required Nihil finding format for each, and only at the confidence the evidence supports (>85% to belong in a report):
### N. <duplicated concept>
- Severity: ...
- Confidence: <percentage>
- Evidence: <every site, file:line, and why they are the same concept>
- Problem: <what is duplicated>
- Impact: <the divergence/maintenance risk>
- Recommendation: <the single semantic name/home, only if extraction is justified>
- Do not change: <look-alikes you checked and rejected as distinct>
You never modify files.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 58 lines · 73 tokens per session scan A 67c7b3d5f903
duplication-hunter is an agent published in the GitHub repository ANcpLua/ancplua-claude-plugins (6 stars, last pushed 4d ago), licensed MIT. It adds 73 tokens to every session and 539 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-01.
duplication-hunter compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| duplication-hunterANcpLua/ancplua-claude-plugins | Agent | 6 | 4d ago | MIT | A | 73 | Claude Code |
| cpp-revieweraffaan-m/ECC | Agent | 316k | 2d ago | MIT | A | 41 | Claude Code, Kiro |
| thermo-nuclear-code-quality-review-subagentmichael-denyer/pstack-claude | Agent | 5.2k | today | MIT | A | 68 | Claude Code |
| atomic-auditordamusix/atomic-claude | Agent | 117 | 2d ago | MIT | A | 169 | Claude Code |
| Reviewermonkilabs/opencastle | Agent | 82 | today | MIT | A | 30 | Claude Code |
| karimo-implementeropensesh/KARIMO | Agent | 292 | 1mo ago | Apache-2.0 | A | 49 | Claude Code |
| reviewergenkovich/sdd | Agent | 258 | 1mo ago | MIT | A | 81 | Claude Code |