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/khendzel/skills-janitor/tree/main/skills/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.
janitor-check
Check skills for errors and missing info
janitor-audit
Show all your installed skills
janitor-compare
Compare your skill with similar ones on GitHub
janitor-report
Full health check of all your skills in one report
janitor-cleanup
Find and remove broken skills
janitor-fix
Automatically fix skill problems (safe preview first)
Didn't find tool you were looking for?