skills-duplicate-detector
БесплатноБез исполняемых скриптовНе проверенFind duplicate, near-duplicate, and functionally overlapping Claude Code skills in a collection. Use when auditing a skills library for redundancy, after…
от jackspace★ 16 звёзд на GitHubОб этом скилле
Skills Duplicate Detector
Expert skill for identifying duplicate, similar, and overlapping Claude Code skills across your collection using intelligent comparison algorithms.
Purpose
Analyze a collection of Claude Code skills to identify duplicates, near-duplicates, and functionally similar skills. Helps maintain a clean, organized skills collection by detecting redundancy and suggesting consolidation.
When to Use
- After bulk downloading skills from multiple sources
- Maintaining an existing skills collection
- Before committing new skills to a repository
- Auditing skill collections for redundancy
Capabilities
1. Duplicate Detection Methods
Exact Name Matching
- Identify skills with identical names
- Detect name variations with prefixes/suffixes
- Find skills differing only in case
Semantic Similarity
- Analyze SKILL.md descriptions
- Compare stated purposes and capabilities
- Identify functional overlap
- Calculate similarity scores
Content Analysis
- Compare skill file structures
- Analyze included scripts and tools
- Check for shared dependencies
- Detect copy/paste variations
2. Similarity Categories
Perfect Duplicates (100% match)
- Identical names and content
- Same functionality and purpose
- Likely from same source
Near Duplicates (80-99% match)
- Similar names with minor variations
- Nearly identical functionality
- Possible version differences
Functional Overlaps (60-79% match)
- Different names, similar purpose
- Overlapping capabilities
- May serve different use cases
Related Skills (40-59% match)
- Adjacent functionality
- Complementary features
- Worth noting but not duplicates
3. Analysis Outputs
Duplicate Report
# Duplicate Skills Analysis
## Perfect Duplicates (7 found)
### Group 1: Code Review
- **code-review_mrgoonie** (KEEP - most comprehensive)
- Location: /skills/code-review_mrgoonie
- Size: 15 KB
- Features: Requesting, receiving, verification
- **receiving-code-review_obra** (DUPLICATE)
- Location: /skills/receiving-code-review_obra
- Similarity: 95%
- Recommendation: Move to /duplicates
- **requesting-code-review_obra** (DUPLICATE)
- Location: /skills/requesting-code-review_obra
- Similarity: 92%
- Recommendation: Move to /duplicates
**Reason**: All three provide code review functionality. mrgoonie version combines both requesting and receiving in one comprehensive skill.
Usage Instructions
Basic Duplicate Detection
Use the skills-duplicate-detector skill to analyze /skills directory and identify all duplicates.
Detailed Analysis
Use the skills-duplicate-detector skill to:
1. Scan all skills in /skills directory
2. Identify duplicates with 70%+ similarity
3. Generate a detailed report with recommendations
4. Create a DUPLICATES_LOG.md file
Pre-commit Check
Before committing new skills, use skills-duplicate-detector to check if they already exist in the collection.
Detection Algorithm
Phase 1: Name Analysis
# Normalize skill names
def normalize_name(skill_name):
# Remove source suffixes (_obra, _mrgoonie, etc.)
# Convert to lowercase
# Remove special characters
# Standardize spacing
return normalized_name
# Find exact and near matches
for skill1, skill2 in pairs:
name_similarity = levenshtein_distance(
normalize_name(skill1),
normalize_name(skill2)
)
Phase 2: Content Analysis
# Compare SKILL.md descriptions
def compare_descriptions(skill1, skill2):
# Extract purpose statements
# Tokenize and compare keywords
# Calculate semantic similarity
# Weight by capability overlap
return similarity_score
Phase 3: Structural Analysis
# Compare file structures
def compare_structure(skill1, skill2):
# List files and directories
# Compare organization
# Check for shared patterns
# Identify clones vs. variations
return structure_score
Comparison Heuristics
Name-Based Detection
- Exact match: Same name after normalization → 100%
- Prefix/suffix variation:
skillvsskill_source→ 95% - Hyphen/underscore:
code-reviewvscode_review→ 90% - Abbreviations:
db-helpervsdatabase-helper→ 80%
Purpose-Based Detection
- Identical purpose: Same goals stated → 95%
- Overlapping functionality: 80%+ feature overlap → 85%
- Complementary: Different aspects of same domain → 60%
- Related: Adjacent problem spaces → 40%
Quality Assessment
When duplicates are found, recommend keeping the version with:
- ✅ Most comprehensive documentation
- ✅ Largest feature set
- ✅ Most recent updates
- ✅ Better code quality
- ✅ More complete examples
Output Formats
Console Report
Duplicate Detection Results
===========================
Total skills scanned: 161
Unique skills: 154
Duplicates found: 7
Similarity threshold: 70%
Perfect Duplicates (3 grou
Установить skills-duplicate-detector в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл skills-duplicate-detector?
Find duplicate, near-duplicate, and functionally overlapping Claude Code skills in a collection. Use when auditing a skills library for redundancy, after bulk-downloading from multiple sources, or before committing new skills to a repository.
Как установить скилл skills-duplicate-detector?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл skills-duplicate-detector запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic