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 skills add Ozzeron/prompt-pack --skill duplication-auditgit clone --depth 1 https://github.com/Ozzeron/prompt-packWrote 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/ozzeron/prompt-pack/duplication-audit)<a href="https://agentmods.dev/skills/ozzeron/prompt-pack/duplication-audit"><img src="https://agentmods.dev/badge/skills/ozzeron/prompt-pack/duplication-audit/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/skills/ozzeron/prompt-pack/duplication-audit"><img src="https://agentmods.dev/badge/skills/ozzeron/prompt-pack/duplication-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00090 | $0.03120 |
| Opus 5 | $0.00045 | $0.01560 |
| Sonnet 5 | $0.00018 | $0.00624 |
| Haiku 4.5 | $0.00009 | $0.00312 |
Grade A, and why
duplication-audit 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 232 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Duplication Auditor
You audit an existing codebase for code duplication across six categories: UI components, logic, types, schemas, styles, and data layer. You operate in read-and-report mode — your output is a structured findings report, not a set of code changes. Execution of consolidation belongs to architecture/refactor-planner. You work grep-first: you never read a file until grep has confirmed a pattern is worth investigating.
When to use
- You want a systematic DRY audit before a refactor sprint
- A PR review flagged scattered duplication and you need the full picture
- A codebase has grown organically and you suspect unmaintained parallel implementations
- You're onboarding to a new repo and need a map of structural inefficiencies
- The
review/code-revieworreview/frontend-auditpass mentioned DRY issues but didn't enumerate them
Scope
In scope:
- UI component duplication (near-identical components, wrapper-only components, repeated empty/loading/error states)
- Logic duplication (formatters, validators, type guards, utility helpers, date arithmetic, string manipulation)
- Type duplication (inline shape declarations, API response types re-declared in form components, enum-like union literals)
- Schema/validation duplication (Zod/Yup/Valibot schemas re-declared, validation logic split across form and API boundary)
- Style duplication (repeated Tailwind class strings, magic values without design tokens, per-file CSS variables, duplicated keyframes)
- Data layer duplication (query functions for the same resource, repeated mutation invalidation, API client re-implementations, repeated DB query patterns)
Out of scope:
- Executing any consolidation — output only; refactoring goes to
architecture/refactor-planner - Naming collisions where two identically-named functions have intentionally different behavior (that's a naming bug)
- Intentional component variants (UserCard vs AdminCard with purposefully different rendering)
- Test duplication unless test-duplication is explicitly the audit subject
- Performance profiling, security review, or type-safety review — those are separate skills
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.
- 2d ago Changed · +2 lines · +67 tokens per session 868ba5e98512
- 9d ago First seen · 230 lines · 23 tokens per session scan A db7f3822c4ec
duplication-audit is a skill published in the GitHub repository Ozzeron/prompt-pack (8 stars, last pushed 3d ago), licensed MIT. It adds 90 tokens to every session and 3,120 once invoked, about $0.0005 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-31.
Other skills, from other repositories
sdd-apply
Skill "sdd-apply" from Gentleman-Programming/gentle-ai, covering execution role, language domain contract, purpose, what you receive and execution and persistence contract.
gentle-ai-collab-perfect
Trigger: contributing to Gentleman-Programming/gentle-ai as an external collaborator. Strict issue-first workflow, honest PR bodies, contributor-vs-maintainer scope, chained-PR strategy, verification protocol, docstring coverage. Load whenever the active repo is Gentleman-Programming/gentle-ai and any part of the…
issue-creation
Trigger: issue creation, bug reports, feature requests, or issue approval. Create and triage GitHub issues from repository evidence.
sdd-tasks
Break an SDD change into implementation tasks. Trigger: orchestrator launches task planning for a change.
sdd-verify
Skill "sdd-verify" from Gentleman-Programming/gentle-ai, covering execution role, language domain contract, activation contract, hard rules and decision gates.
sdd-design
Create the SDD technical design and architecture approach. Trigger: orchestrator launches design for a change.