skill-duplication-audit
Skill24 starsChanged 24 days agoMITView on GitHub
Audit overlapping skills across A Team and builder packs; identify redundant or conflicting guidance.
In this repository22 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/rules/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- api-contract-firstSkill
- architecture-auditSkill
- brainstormingSkill
- data-migrationSkill
- dispatching-parallel-agentsSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- five-whysSkill
- incident-responseSkill
- performance-auditSkill
- smart-initSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- using-a-teamSkill
- using-git-worktreesSkill
- verification-before-completionSkill
- writing-plansSkill
- writing-skillsSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
When adding a new skill and checking whether an existing skill already covers the same use case
- Distinctive: line 27
When auditing a pack for internal redundancy
- Distinctive: line 28
When comparing skills across packs after an ecosystem audit
- Distinctive: line 29
When a user reports confusion about which of two skills to invoke
- Distinctive: line 35
When the boundary is already documented in an existing boundary doc — verify first
- Distinctive: line 36
When the skills are from completely different domains with no plausible trigger overlap
- Distinctive: line 54
Read all inputs. For each skill, extract: name, trigger (what situation invokes it?), objective (what does it produce?).
- Distinctive: line 57
Triggers: do they describe the same situation or context?
- Distinctive: line 58
Outputs: do they produce the same type of result?
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
skill-duplication-audit
Problem
Skills across the 5 ecosystem repositories overlap in scope without documented distinctions. This creates confusion about which skill to invoke, silent redundancy in packs, and conflicting guidance when two skills are active in the same session. Without a structured way to detect and classify overlaps, the ecosystem grows noisier over time.
Objective
Given 2 or more skills with their triggers and objectives, identify pairs that have overlapping scope and classify each pair. Produce a duplication report with a classification and a specific recommendation for each pair.
When to Use
- When adding a new skill and checking whether an existing skill already covers the same use case
- When auditing a pack for internal redundancy
- When comparing skills across packs after an ecosystem audit
- When a user reports confusion about which of two skills to invoke
When NOT to Use
- For a single skill — needs at least 2 skills to compare
- For agents — agents have tool scope and state, not just trigger scope; use a separate analysis
- When the boundary is already documented in an existing boundary doc — verify first
- When the skills are from completely different domains with no plausible trigger overlap
Inputs
| Input | Required | Description |
| skill-list | required | 2+ skills, each with: name, trigger (when to use), objective (one sentence), and optionally the repo |
| scope | optional | pack (compare within one repo) or ecosystem (compare across repos). Default: ecosystem |
Outputs
| Output | Description |
| duplication-report | List of pairs with classification and recommendation |
| boundary-docs-needed | List of pairs requiring a documented distinction (partial-overlap pairs only) |
Steps
- Read all inputs. For each skill, extract: name, trigger (what situation invokes it?), objective (what does it produce?).
- Group skills by domain. Only compare skills where triggers could plausibly describe the same situation.
- For each pair within the same domain, compare triggers and outputs:
- Triggers: do they describe the same situation or context?
- Outputs: do they produce the same type of result?
- Classify each pair using exactly one label:
- True duplicate: same trigger AND same output type → recommend merge
- Partial overlap: triggers overlap but differ, OR outputs overlap but differ → recommend document boundary
- Complementary: same domain, different workflow stage, no trigger overlap → keep both, note relationship
- False positive: similar name but different trigger and output → no action required
- For each partial-overlap pair, draft a one-sentence boundary statement: "Use [A] when [condition A]; use [B] when [condition B]."
- List pairs that need a boundary doc (partial-overlap only).
- Fill the Completion Statement.
Completion Statement Format
skill-duplication-audit complete.
Skills analysed: [count]
Pairs evaluated: [count]
True duplicates: [count] — [names or NONE]
Partial overlaps: [count] — [names or NONE]
Complementary pairs: [count] — [names or NONE]
False positives: [count] — [names or NONE]
Boundary docs needed: [count] — [skill pairs or NONE]
Recommendation: [summary action]Red Flags
- "These two skills have similar names so they must be duplicates" — name similarity is not scope overlap; compare triggers and outputs, not names
- "I'll merge them to reduce complexity" — merging loses scope distinctions; only recommend a merge if triggers AND outputs are genuinely identical
- "The boundary is obvious so it doesn't need documentation" — undocumented boundaries get violated; if there is overlap, document it
- "They're in different repos so they can't conflict" — cross-repo skills are the most common source of undocumented overlap in the ecosystem
- "I'll classify as partial overlap to be safe" — over-classifying creates unnecessary boundary docs; only classify as partial overlap if trigger overlap is real and observable
Examples
Example 1 — True duplicate
Input:
- api-doc-writer: trigger "when writing documentation for a REST API", objective "produce API reference docs"
- api-reference-generator: trigger "when documenting a REST API", objective "generate API reference documentation"
Expected output: True duplicate. Triggers and outputs are semantically identical. Recommend merge. Keep the skill with stronger test coverage.
Example 2 — Complementary
Input:
- prd-quality-gate (builder-product): trigger "when a PRD is drafted and ready for engineering review", objective "gate PRD quality before handoff"
- copy-quality-gate (builder-growth): trigger "when landing page copy is written", objective "gate copy quality before publishing"
Expected output: Complementary. Same quality gate pattern, different domains (product vs. growth), no trigger overlap. No action needed.
Counter-Examples
Counter-Example 1 — False positive mistakenly treated as duplicate
Input:
- design-token-audit (builder-design): trigger "when reviewing design token consistency across components"
- positioning-audit (builder-growth): trigger "when evaluating brand positioning and messaging clarity"
What should happen: False positive. "Audit" in the name is irrelevant — triggers are in completely different domains. No action.
What the skill must NOT do: Recommend a merge or boundary doc based on shared vocabulary alone.
Counter-Example 2 — Complementary pair forced into partial-overlap
Input:
- eval-before-ship (builder-ai): trigger "before deploying an LLM model or prompt to production"
- prd-quality-gate (builder-product): trigger "when a PRD is drafted and ready for engineering review"
What should happen: Complementary — different stages of the product lifecycle, no trigger overlap.
What the skill must NOT do: Classify these as partial-overlap because both are "gates" in an AI product workflow.
Test Cases
| ID | File | Description | Pass |
| TC-001 | test-cases/case-001-true-duplicate.md | True duplicate: identical trigger and output type | ✅ |
| TC-002 | test-cases/case-002-complementary-quality-gates.md | Complementary: prd-quality-gate vs copy-quality-gate | ✅ |
| TC-003 | test-cases/case-003-partial-overlap-ai-reviewers.md | Partial overlap: ai-reviewer vs ai-safety-reviewer | ✅ |
| TC-004 | test-cases/case-004-false-positive-audit-name.md | False positive: same word in name, different domain | ✅ |
| TC-005 | test-cases/case-005-ecosystem-experiment-ab-test.md | Ecosystem: experiment-design vs ab-test-design | ✅ |
| TC-006 | test-cases/case-006-ecosystem-ai-feature-safety.md | Ecosystem: ai-feature-validation vs ai-safety-review | ✅ |
| TC-007 | test-cases/case-007-ecosystem-messaging-safety.md | Ecosystem: ai-messaging-review vs ai-safety-review | ✅ |
| TC-008 | test-cases/case-008-no-duplicates.md | No duplicates: 3 skills in different domains | ✅ |
| TC-009 | test-cases/case-009-large-list.md | Large list: 5 skills, 1 true duplicate, 1 partial overlap | ✅ |
| TC-010 | test-cases/case-010-low-context.md | Low context: skill names only, no triggers provided | ✅ |
Evaluation History
| Version | Date | Score | Recommendation | Report |
| v0.1 | 2026-06-14 | 88 | Approved — promotion proposal pending | evaluations/skills/skill-duplication-audit/eval-001.md |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

