benchmark-manager
БесплатноЗапускает вложенные скриптыНе проверенCreate and manage AILANG eval benchmarks. Use when user asks to create benchmarks, fix benchmark issues, debug failing benchmarks, or analyze benchmark results.
от sunholo-data★ 39 звёзд на GitHubОб этом скилле
Benchmark Manager
Manage AILANG evaluation benchmarks with correct prompt integration, debugging workflows, and best practices learned from real benchmark failures.
Quick Start
Debugging a failing benchmark:
# 1. Show the full prompt that models see
.Codex/skills/benchmark-manager/scripts/show_full_prompt.sh json_parse
# 2. Test a benchmark with a specific model
ailang eval-suite --models Codex-haiku-4-5 --benchmarks json_parse
# 3. Check benchmark YAML for common issues
.Codex/skills/benchmark-manager/scripts/check_benchmark.sh benchmarks/json_parse.yml
When to Use This Skill
Invoke this skill when:
- User asks to create a new benchmark
- User asks to debug/fix a failing benchmark
- User wants to understand why models generate wrong code
- User asks about benchmark YAML format
- Benchmarks show 0% pass rate despite language support
CRITICAL: prompt vs task_prompt
This is the most important concept for benchmark management.
The Problem (v0.4.8 Discovery)
Benchmarks have TWO different prompt fields with VERY different behavior:
| Field | Behavior | Use When |
|---|---|---|
prompt: |
REPLACES the teaching prompt entirely | Testing raw model capability (rare) |
task_prompt: |
APPENDS to teaching prompt | Normal benchmarks (99% of cases) |
Why This Matters
# BAD - Model never sees AILANG syntax!
prompt: |
Write a program that prints "Hello"
# GOOD - Model sees teaching prompt + task
task_prompt: |
Write a program that prints "Hello"
With prompt:, models generate Python/pseudo-code because they never learn AILANG syntax.
How Prompts Combine
From internal/eval_harness/spec.go (lines 91-93):
fullPrompt := basePrompt // Teaching prompt from prompts/v0.4.x.md
if s.TaskPrompt != "" {
fullPrompt = fullPrompt + "\n\n## Task\n\n" + s.TaskPrompt
}
The teaching prompt teaches AILANG syntax; task_prompt adds the specific task.
Available Scripts
scripts/show_full_prompt.sh
Shows the complete prompt that models receive for a benchmark.
Usage:
.Codex/skills/benchmark-manager/scripts/show_full_prompt.sh <benchmark_id>
# Example:
.Codex/skills/benchmark-manager/scripts/show_full_prompt.sh json_parse
scripts/check_benchmark.sh
Validates a benchmark YAML file for common issues.
Usage:
.Codex/skills/benchmark-manager/scripts/check_benchmark.sh benchmarks/<name>.yml
Checks for:
- Using
prompt:instead oftask_prompt:(warning) - Missing required fields (including
tags— enforced by LoadSpec in v0.14.0+) - Invalid
tier(must be smoke / core / stretch / vision; missing = warning, defaults to core) - Non-canonical tags (validated against the 12-tag taxonomy in
internal/eval_harness/spec.go) tagslist length > 3 (hard limit from LoadSpec)- Invalid capability names
- Syntax errors in YAML
scripts/test_benchmark.sh
Runs a quick single-model test of a benchmark.
Usage:
.Codex/skills/benchmark-manager/scripts/test_benchmark.sh <benchmark_id> [model]
# Examples:
.Codex/skills/benchmark-manager/scripts/test_benchmark.sh json_parse
.Codex/skills/benchmark-manager/scripts/test_benchmark.sh json_parse Codex-haiku-4-5
Benchmark YAML Format
Required Fields
id: my_benchmark # Unique identifier (snake_case)
description: "Short description of what this tests"
languages: ["python", "ailang"]
entrypoint: "main" # Function to call
caps: ["IO"] # Required capabilities
difficulty: "easy|medium|hard"
expected_gain: "low|medium|high"
tier: core # smoke | core | stretch | vision (v0.14.0+; defaults to core)
tags: [type_safety, functional] # 1-3 tags from the 12-tag canonical taxonomy
task_prompt: | # ALWAYS use task_prompt, not prompt!
Write a program in <LANG> that:
1. Does something
2. Prints the result
Output only the code, no explanations.
expected_stdout: | # Exact expected output
expected output here
Tier + Tags (v0.14.0+)
Every benchmark has a tier (execution budget) and up to 3 tags (capability classification).
LoadSpec rejects benchmarks that violate the taxonomy, so these are not optional for new benchmarks.
Tiers:
smoke— sanity checks; should never fail. Run in PR CI.core— headline metric. The "AILANG vs Python" rate is computed from Core.stretch— harder benchmarks; mixed pass/fail expected.vision— research-grade; expect low AILANG pass rate. Only runs with--full.
Canonical tags (12): adt_pattern_match, algorithmic, contracts, data_transform, effects_io,
error_handling, functional, records, recursion, state_machine, string_algo, type_safety.
Governance: pick tier/tags to match how the benchmark will be used for rotation — see
benchmarks/CURATION.md for the promotion/demotion workflow.
Capability Names
Valid
Установить benchmark-manager в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл benchmark-manager?
Create and manage AILANG eval benchmarks. Use when user asks to create benchmarks, fix benchmark issues, debug failing benchmarks, or analyze benchmark results.
Как установить скилл benchmark-manager?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл benchmark-manager запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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