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.
npx agentmods add skills/dealfluence/adeu/check-duplicationnpx skills add dealfluence/adeu --skill check-duplicationgit clone --depth 1 https://github.com/dealfluence/adeuWrote 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/skills/dealfluence/adeu/check-duplication)<a href="https://agentmods.dev/skills/dealfluence/adeu/check-duplication"><img src="https://agentmods.dev/badge/skills/dealfluence/adeu/check-duplication.svg" alt="Measured on agentmods" 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 | $0.00018 | $0.00261 |
| Opus 5 | $0.00009 | $0.00130 |
| Sonnet 5 | $0.00004 | $0.00052 |
| Haiku 4.5 | $0.00002 | $0.00026 |
Grade A, and why
check-duplication 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 4d 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
Check Code Duplication Skill
This skill provides a systematic approach to finding and pruning duplicate code blocks and repeated boilerplate across Python, TypeScript, and JavaScript source files.
Workflow
-
Run the Duplication Spotter: Execute
python scripts/check_code_duplication.pyto identify duplicate code blocks:uv run python scripts/check_code_duplication.py -m 6 -n 20 -
Target High-Score Duplications: Focus on blocks with high duplication scores (lines $\times$ occurrences) in source modules.
-
Prune & Deduplicate:
- Extract repeated boilerplate or constructor patterns into shared helper functions.
- Collapse repeated dictionary/object constructions into helper functions.
- Maintain 3+ call sites requirement for new abstractions.
-
Verify Behavior: Always run test suites to ensure zero functional regressions:
- Python:
uv run pytest&uv run mypy src - Node:
npm run build && npm test - LangChain:
uv run pytestinlangchain
- Python:
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.
- 4d ago First seen · 32 lines · 18 tokens per session scan A d779f1a2aec0
check-duplication is a skill published in the GitHub repository dealfluence/adeu (152 stars, last pushed yesterday), licensed MIT. It adds 18 tokens to every session and 261 once invoked, about $0.0001 per session on Opus 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-08-30.
Other skills, from other repositories
gws-modelarmor
Google Model Armor: Filter user-generated content for safety.
persona-event-coordinator
Plan and manage events — scheduling, invitations, and logistics.
persona-researcher
Organize research — manage references, notes, and collaboration.
persona-team-lead
Lead a team — run standups, coordinate tasks, and communicate.
meta-tags-optimizer
Optimize title tags, meta descriptions, Open Graph, and Twitter cards for maximum click-through rate. Generates multiple A/B test variations with character counting and SERP preview. Use when asked to "optimize title tag", "write meta description", "improve CTR", "Open Graph tags", "fix my meta tags", "social media…
shopify-hydrogen
Hydrogen storefront implementation cookbooks. Some of the available recipes are: B2B Commerce, Bundles, Combined Listings, Custom Cart Method, Dynamic Content with Metaobjects, Express Server, Google Tag Manager Integration, Infinite Scroll, Legacy Customer Account Flow, Markets, Partytown + Google Tag Manager…