/ Annuaire / Playground / skill-optimizer
● Communauté hqhq1025 ⚡ Instantané

skill-optimizer

par hqhq1025 · hqhq1025/skill-optimizer

Audit a single SKILL.md using real session data plus static analysis — tells you exactly what to change.

skill-optimizer looks at a SKILL.md through two lenses: (1) session logs — did it activate when expected, was the output useful — and (2) static analysis — is the frontmatter clean, is the description properly intent-scoped, are examples calibrated. It outputs concrete edits you can apply. Pairs well with SkillCompass (which does bundle-level ranking).

Pourquoi l'utiliser

Fonctionnalités clés

Démo en direct

Aperçu en pratique

skill-optimizer-skill.replay ▶ prêt
0/0

Installer

Choisissez votre client

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "skill-optimizer-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/hqhq1025/skill-optimizer",
        "~/.claude/skills/skill-optimizer"
      ],
      "_inferred": true
    }
  }
}

Ouvrez Claude Desktop → Settings → Developer → Edit Config. Redémarrez après avoir enregistré.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "skill-optimizer-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/hqhq1025/skill-optimizer",
        "~/.claude/skills/skill-optimizer"
      ],
      "_inferred": true
    }
  }
}

Cursor utilise le même schéma mcpServers que Claude Desktop. La config projet l'emporte sur la globale.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "skill-optimizer-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/hqhq1025/skill-optimizer",
        "~/.claude/skills/skill-optimizer"
      ],
      "_inferred": true
    }
  }
}

Cliquez sur l'icône MCP Servers dans la barre latérale Cline, puis "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "skill-optimizer-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/hqhq1025/skill-optimizer",
        "~/.claude/skills/skill-optimizer"
      ],
      "_inferred": true
    }
  }
}

Même format que Claude Desktop. Redémarrez Windsurf pour appliquer.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "skill-optimizer-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/hqhq1025/skill-optimizer",
        "~/.claude/skills/skill-optimizer"
      ]
    }
  ]
}

Continue utilise un tableau d'objets serveur plutôt qu'une map.

~/.config/zed/settings.json
{
  "context_servers": {
    "skill-optimizer-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/hqhq1025/skill-optimizer",
          "~/.claude/skills/skill-optimizer"
        ]
      }
    }
  }
}

Ajoutez dans context_servers. Zed recharge à chaud à la sauvegarde.

claude mcp add skill-optimizer-skill -- git clone https://github.com/hqhq1025/skill-optimizer ~/.claude/skills/skill-optimizer

Une seule ligne. Vérifiez avec claude mcp list. Supprimez avec claude mcp remove.

Cas d'usage

Usages concrets : skill-optimizer

How to diagnose and fix one underperforming skill

👤 Skill authors iterating on a specific skill ⏱ ~30 min intermediate

Quand l'utiliser : You notice one skill never activates, or activates wrongly.

Prérequis
  • Session logs or transcripts — Claude Code stores traces locally; skill-optimizer reads them
  • Skill cloned — git clone https://github.com/hqhq1025/skill-optimizer ~/.claude/skills/skill-optimizer
Déroulement
  1. Point it at the skill
    Analyze ~/.claude/skills/my-skill/SKILL.md using my last 2 weeks of session logs.✓ Copié
    → Static + runtime findings
  2. Review the patch
    Show me the proposed SKILL.md diff.✓ Copié
    → Minimal, reviewable diff
  3. Apply and validate
    Apply the patch and tell me what to watch for this week.✓ Copié
    → Validation checklist

Résultat : A targeted improvement with an accountability plan.

Pièges
  • Optimizing for activation rate but breaking scope — Include a 'false positive rate' acceptance metric
Combiner avec : skillcompass-skill

Polish your first SKILL.md before publishing

👤 First-time skill authors ⏱ ~20 min beginner

Quand l'utiliser : You wrote a SKILL.md and want expert review before shipping.

Déroulement
  1. Ask for a review
    Review my SKILL.md against skill-optimizer's static checks.✓ Copié
    → Checklist with pass/fail + rationale
  2. Fix issues
    Apply the fixes and show me the final version.✓ Copié
    → Clean SKILL.md

Résultat : A ship-ready SKILL.md.

Pièges
  • Over-promising in the description — Be specific about what the skill does; Claude uses it to decide activation

Combinaisons

Associez-le à d'autres MCPs pour un effet X10

skill-optimizer-skill + skillcompass-skill

SkillCompass ranks the bundle; skill-optimizer dives into the worst offender

Use SkillCompass to pick the weakest skill, then optimize its SKILL.md.✓ Copié
skill-optimizer-skill + filesystem

Apply SKILL.md patches directly

Apply the proposed diff to ~/.claude/skills/my-skill/SKILL.md.✓ Copié

Outils

Ce que ce MCP expose

OutilEntréesQuand appelerCoût
static-analysis SKILL.md path Before publishing or during iteration 0
log-based-analysis logs + skill path Post-use tuning 0
patch-generation findings After analysis 0

Coût et limites

Coût d'exécution

Quota d'API
none beyond LLM
Tokens par appel
2–10k per skill analysis
Monétaire
free
Astuce
Static analysis is nearly free; log analysis costs more — run it only when iterating

Sécurité

Permissions, secrets, portée

Stockage des identifiants : none; logs may contain sensitive prompts — treat their path carefully
Sortie de données : none

Dépannage

Erreurs courantes et correctifs

No logs found

Confirm Claude Code trace path; pass the path explicitly if non-default.

Suggestions conflict with intended scope

Tell the optimizer your scope constraints; it can respect non-goals

Alternatives

skill-optimizer vs autres

AlternativeQuand l'utiliserCompromis
skillcompass-skillYou need bundle-level ranking, not single-skill depthBreadth over depth

Plus

Ressources

📖 Lire le README officiel sur GitHub

🐙 Voir les issues ouvertes

🔍 Parcourir les 400+ serveurs MCP et Skills