Command Palette

Search for a command to run...

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

evaluate-matrix

БесплатноБез исполняемых скриптовНе проверен

Cross-model skill evals with real execution and grading — the executability gate. Use when checking whether a weak model can actually do a skill, not just…

laurigatesот laurigates★ 61 звезда на GitHub

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

/evaluate:matrix

The executability gate. Where /evaluate:legibility asks "can a fresh agent comprehend this skill," this skill asks "can a weak model actually do it" — run the skill's evals on haiku (and opus/sonnet) with real tool execution, grade the produced artifact, and surface the per-skill verdict executable_on_haiku. A skill that opus passes and haiku fails leans on reasoning the cheap model lacks.

This builds the orchestration the cross-model design (docs/cross-model-evaluation.md) calls a follow-up. It reuses, without duplicating: prepare_run.sh, grade_deterministic.py (zero-token first pass), the eval-grader agent (deferred fuzzy checks only), model-matrix.json, and render_matrix_report.py.

When to Use This Skill

Use this skill when... Use alternative when...
Checking whether a weak model can execute a skill Checking whether the SKILL.md reads clearly -> /evaluate:legibility
Running the Tier-2 cross-model sweep on a golden-set skill Single-skill, single-model effectiveness -> /evaluate:skill
Diagnosing a skill that opus passes but haiku fails Structural/lint validation -> scripts/plugin-compliance-check.sh
Re-checking canaries after a new model ships Improving a skill from results -> /evaluate:improve

Context

  • Available plugins: !find . -maxdepth 2 -type d -name '*-plugin' -not -name '.claude-plugin'

Parameters

Parameter Default Description
<plugin/skill-name> required Target skill as plugin-name/skill-name
--models <list> opus,haiku Comma-separated pinned aliases to run
--with-skill-only false Skip the cached baseline side (with-skill runs only)
--runs N 1 Runs per (model × eval × config)
--harness subagent|headless subagent Rollout harness; headless runs each cell as a real claude -p child with the plugin loaded (Step 2)

Aliases float across model generations, so --models accepts either an alias or a full id; pass the full id when the run must be reproducible (the model field on the dispatch accepts one) and record the id that actually ran — never the alias — in model-matrix.json metadata.models[].model_id (.claude/rules/skill-evaluation.md).

Execution

Execute this cross-model matrix:

Step 1: Resolve skill and evals

Read <plugin-name>/skills/<skill-name>/evals.json. If absent, report that the matrix needs eval cases (point at /evaluate:skill --create-evals) and stop. Validate it against the evals.json schema (references/schemas.md).

Step 2: Run the matrix (serialized)

Loop over (model ∈ --models) × eval × config ∈ {with_skill, cached_baseline} — skip cached_baseline if --with-skill-only, and reuse a baseline cached for the same model-version rather than re-running it. For each combination:

  1. Scaffold the run dir:

    bash ${CLAUDE_PLUGIN_ROOT}/scripts/prepare_run.sh \
      --skill-dir <plugin-name>/skills/<skill-name> \
      --eval-id <eval-id> --run <N>
    

    If the eval carries a fixture block, apply it for an honest execution context — without one a context-needing skill fails on haiku purely for lack of fixtures, a false negative that poisons this gate:

    bash ${CLAUDE_PLUGIN_ROOT}/scripts/apply_fixture.sh \
      --fixture '<eval.fixture JSON>'
    

    Parse WORKDIR=; the subagent operates there. Tear it down after the transcript is copied out (--teardown "$WORKDIR").

  2. Dispatch one Task subagent with the model field set to the loop model (full Bash/Edit — it does real tool execution, not just reading):

    Task subagent_type: general-purpose
    model: <loop model alias>
    prompt: <eval prompt; with_skill runs also receive the SKILL.md content>
    

    Serialize the dispatches — one at a time, never a parallel batch. [1m] models hit cascading rate limits with concurrent subagents (.claude/rules/skill-fork-context.md). Spawns run in the background by default (Claude Code ≥ 2.1.232), so dispatch order alone no longer serializes them: pass run_in_background: false on each dispatch, or wait for that agent's result to arrive before issuing the next one — serialization is the wait, not the dispatch order.

    Keep the subagent off …/skills/… paths. Paste the SKILL.md body into the prompt instead of naming its path, and have the subagent return its artifact in the reply. Path-scoped rules load whole into any agent that touches a matching file, and a repo can scope many of them to **/skills/** (the claude-plugins marketplace scopes over a dozen); there a haiku subagent handed a skill path failed with HTTP 400 Prompt is too long before running anything (#2667). A 400 on the haiku arm is the context surface, not the skill

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

Установить evaluate-matrix в Claude Code и Claude Desktop

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

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

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

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

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

Task
Read
Write
Edit
Glob
Bash(bash *)
Bash(python3 *)
TodoWrite

FAQ

Что делает скилл evaluate-matrix?

Cross-model skill evals with real execution and grading — the executability gate. Use when checking whether a weak model can actually do a skill, not just comprehend it.

Как установить скилл evaluate-matrix?

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

Скилл evaluate-matrix запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить evaluate-matrix с