Agent skill
janitor-duplicates
Find duplicate skills that do the same thing
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/janitor-duplicates
Metadata
Additional technical details for this skill
- version
- 1.0.0
SKILL.md
Duplicate Detection
Find skills with overlapping functionality using keyword similarity analysis.
How to Run
bash ~/.claude/skills/skills-janitor/scripts/detect_dupes.sh
How It Works
- Extracts trigger keywords from each skill's description field
- Filters common stop words (~60 words)
- Compares all skill pairs using Jaccard similarity
- Flags pairs with >30% keyword overlap
Output
[72%] marketing-copywriting <-> marketing-copy-editing
Scopes: user, user
Shared keywords: copy, editing, marketing, write
[45%] seo-audit <-> marketing-seo-audit
Scopes: project, user
Shared keywords: audit, seo, ranking
After Finding Duplicates
- Review each pair - some overlap is intentional (e.g., copywriting vs copy-editing)
- Plugin skills should NOT be edited (changes get overwritten)
- For user-scope duplicates, suggest which to keep and why
- Ask for confirmation before any removal
Related Skills
- For full skill inventory:
/janitor-audit - For auto-fixing issues:
/janitor-fix - For a health report:
/janitor-report
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?