claude-skills-benchmark
Evaluate and benchmark Agent Skills quality using static analysis and evaluation methodology. Use when discussing skill quality, benchmarking skills…
от vinnie357★ 30 звёзд на GitHub
Установить claude-skills-benchmark в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Skill Benchmarking
Evaluate Agent Skills through static analysis and evaluation-driven methodology. Source: Anthropic's skill evaluation guidance.
Static Analysis Checks
The check list, pass criteria, and failure keys are defined in test/validate-skills-quality.nu — that script is the single source of truth; do not restate its checks here. Run mise run test:skills-quality to produce the current scorecard.
The checks' intent: descriptions that trigger accurately (length caps, "Use when" triggers, third person), spec-compliant naming, bounded body size, working examples, resolvable links, one-level reference depth with no orphaned files, anti-fabrication rules present, and coverage recorded in the plugin's skills/sources.toml (each entry's skills array), verified by set difference against the plugin's declared skill set in test/validate-sources.nu.
Skill Categories
Classify each skill for appropriate evaluation:
Capability Uplift: Enhances Claude's core abilities (coding, analysis, reasoning). Stable across model versions. Test by comparing base model performance with and without the skill.
Encoded Preference: Encodes user-specific workflows, formatting, and conventions. May need updates when models change. Test by verifying fidelity to the encoded workflow.
Evaluation Methodology
Writing Evals
For each skill, create:
- 5-10 representative prompts that should trigger the skill
- 3-5 out-of-scope prompts that should NOT trigger the skill
- Expected behavior criteria for each prompt
In-scope: "Benchmark the elixir plugin's skills" → skill activates
Out-of-scope: "Write an ExUnit test for this module" → skill stays silent
A/B Testing
Compare skill performance using independent agents:
- Agent A runs with the skill loaded
- Agent B runs without the skill
- A comparator judges outputs blindly
- Track: pass rate, token usage, execution time
Multi-Model Testing
Test across model tiers to verify consistency:
| Model | Target Pass Rate |
|---|---|
| Haiku | 70%+ |
| Sonnet | 85%+ |
| Opus | 95%+ |
If Haiku fails but others pass, instructions may rely on implicit reasoning — make them more explicit.
Description Optimization
The description determines activation accuracy. Optimize for:
- Reducing false positives: Too-broad descriptions waste context. Add domain-specific terms.
- Reducing false negatives: Too-narrow descriptions miss valid prompts. Add synonyms and related terms.
- Target: 90%+ true positive rate, <5% false positive rate
Scorecard Output
The validator prints one row per skill: line count, score, and the failure keys for any failed checks. It also diffs results against the shrink-only ratchet in test/quality-baseline.json, so pre-existing failures are waived while new ones fail the run.
Running Benchmarks
- Static analysis:
mise run test:skills-quality— runs all static checks, produces scorecard - Command:
/benchmark-skills— full analysis with category classification and quality assessment - Manual evals: Use
/extras-claude-code:claude-skills'stemplates/evaluation-checklist.md
Iteration
Follow the cycle: Test, Measure, Analyze, Refine, Verify.
Stop iterating when:
- Eval pass rates meet targets across model tiers
- Description triggers accurately
- Token usage is reasonable relative to benefit
- No user-reported issues for 2+ model versions
Anti-Fabrication Requirements
Report only measured results: run the validator or the evals before quoting any score, pass rate, or count, and mark unmeasured values as "requires analysis". The full rules live in the core:anti-fabrication skill.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл claude-skills-benchmark?
Evaluate and benchmark Agent Skills quality using static analysis and evaluation methodology. Use when discussing skill quality, benchmarking skills, measuring activation rates, or reviewing skill effectiveness.
Как установить скилл claude-skills-benchmark?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл claude-skills-benchmark запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…