Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

skill-dependency-mapper

БесплатноЗапускает вложенные скриптыНе проверен

Analyzes skill ecosystem to visualize dependencies, identify workflow bottlenecks, and recommend optimal skill stacks. Use when asked about skill…

Exploration-labsот Exploration-labs★ 55 звёзд на GitHub21 установка в других каталогах

Об этом скилле

Skill Dependency Mapper

Analyzes the skill ecosystem to understand relationships, identify inefficiencies, and optimize workflows.

When to Use This Skill

Use this skill when users ask about:

  • Which skills commonly work together
  • Skill combinations that create bottlenecks
  • Optimal skill "stacks" for specific tasks
  • Workflow optimization across skills
  • Understanding skill dependencies
  • Token budget concerns with multiple skills

Core Workflow

1. Scan and Analyze Skills

Run the analyzer script to extract metadata from all available skills:

cd /home/claude/skill-dependency-mapper
python scripts/analyze_skills.py > /tmp/skill_analysis.txt

The script extracts:

  • Tool dependencies (bash_tool, web_search, etc.)
  • File format associations (docx, pdf, xlsx, etc.)
  • Domain overlap (document, research, coding, etc.)
  • Complexity metrics (size, tool count, bundled resources)

2. Detect Bottlenecks

For bottleneck analysis, first capture skill data as JSON:

import json
from scripts.analyze_skills import SkillAnalyzer

analyzer = SkillAnalyzer()
analyzer.scan_skills()

# Save for bottleneck detection
with open('/tmp/skill_data.json', 'w') as f:
    json.dump(analyzer.skills, f, default=list)

Then run bottleneck detection:

python scripts/detect_bottlenecks.py /tmp/skill_data.json > /tmp/bottlenecks.txt

3. Generate Dependency Map

Create a text-based dependency visualization:

from scripts.analyze_skills import SkillAnalyzer

analyzer = SkillAnalyzer()
analyzer.scan_skills()

# Generate dependency mapping
dependencies = analyzer.find_dependencies()

# Format as markdown
output = ["# Skill Dependency Map\n"]
for skill, related in sorted(dependencies.items()):
    if related:
        output.append(f"## {skill}\n")
        output.append("Works well with:\n")
        for related_skill in sorted(related)[:8]:
            # Show why they're related
            skill_a = analyzer.skills[skill]
            skill_b = analyzer.skills[related_skill]
            
            shared = []
            if skill_a['tools'] & skill_b['tools']:
                shared.append(f"tools: {', '.join(skill_a['tools'] & skill_b['tools'])}")
            if skill_a['formats'] & skill_b['formats']:
                shared.append(f"formats: {', '.join(skill_a['formats'] & skill_b['formats'])}")
            if skill_a['domains'] & skill_b['domains']:
                shared.append(f"domains: {', '.join(skill_a['domains'] & skill_b['domains'])}")
            
            reason = " | ".join(shared) if shared else "complementary"
            output.append(f"- **{related_skill}** ({reason})\n")
        output.append("\n")

print('\n'.join(output))

4. Recommend Skill Stacks

For task-specific recommendations:

from scripts.analyze_skills import SkillAnalyzer

analyzer = SkillAnalyzer()
analyzer.scan_skills()

# Get recommended stacks
stacks = analyzer.recommend_stacks()

# Format output
output = ["# Recommended Skill Stacks\n"]
for stack in stacks:
    output.append(f"## {stack['name']}\n")
    output.append(f"**Use case**: {stack['use_case']}\n\n")
    output.append("**Skills**:\n")
    for skill in sorted(stack['skills']):
        skill_data = analyzer.skills[skill]
        output.append(f"- **{skill}** - {skill_data['description'][:80]}...\n")
    output.append("\n")

print('\n'.join(output))

5. Custom Analysis

For specific queries, filter and analyze programmatically:

from scripts.analyze_skills import SkillAnalyzer

analyzer = SkillAnalyzer()
analyzer.scan_skills()

# Example: Find all skills that use web_search
web_skills = [
    name for name, data in analyzer.skills.items()
    if 'web_search' in data['tools']
]

# Example: Find skills by domain
financial_skills = [
    name for name, data in analyzer.skills.items()
    if 'financial' in data['domains']
]

# Example: Find lightweight skills
lightweight = [
    name for name, data in analyzer.skills.items()
    if data['complexity_score'] < 5 and data['size'] < 2000
]

Output Format

Generate concise markdown reports with:

  1. Executive summary - Key findings in 2-3 sentences
  2. Dependency maps - Skills grouped by relationship strength
  3. Bottleneck analysis - Identified issues with impact assessment
  4. Recommendations - Actionable optimization suggestions
  5. Skill stacks - Pre-configured combinations for common workflows

Keep output token-efficient:

  • Use bullet points for lists
  • Bold key skill names
  • Include only actionable insights
  • Omit verbose explanations

Interpreting Results

Dependency Strength

  • Strong: Share 3+ characteristics (tools, formats, domains)
  • Medium: Share 2 characteristics
  • Weak: Share 1 characteristic

Bottleneck Severity

  • High: >10k combined token size or >5 tool calls
  • Medium: 5-10k tokens or 3-5 tool calls
  • Low: <5k tokens or <3 tool calls

Stack Optimization

Optimal stacks mini

Полный SKILL.md на GitHub

Установить skill-dependency-mapper в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/known_patterns.mdscripts/analyze_skills.pyscripts/detect_bottlenecks.py

FAQ

Что делает скилл skill-dependency-mapper?

Analyzes skill ecosystem to visualize dependencies, identify workflow bottlenecks, and recommend optimal skill stacks. Use when asked about skill combinations, workflow optimization, bottleneck identification, or which skills work together. Triggers include phrases like "which skills work together", "skill dependencies", "workflow bottlenecks", "optimal skill stack", or "recommend skills for".

Как установить скилл skill-dependency-mapper?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл skill-dependency-mapper запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить skill-dependency-mapper с