Command Palette

Search for a command to run...

Назад к скиллам
скилл № 56910

eval-harness

This skill provides a promptfoo eval harness that measures whether a Soleur skill or agent edit actually improves behavior, comparing a skill arm against a…

БесплатноЗапускает вложенные скрипты
jikig-aiот jikig-ai★ 21 звезда на GitHub

Установить eval-harness в Claude Code и Claude Desktop

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

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

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

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

Cloud Mode (Devin): before pipeline work run bash "${CLAUDE_PLUGIN_ROOT}/scripts/cloud-detect.sh". If CLAUDE_PLUGIN_ROOT is unset (cloud exec shells do not export it), resolve the root by IDENTITY, never by script basename: for d in "$HOME/.local/share/devin/cli/plugins/cache" and /opt/.devin/plugins, skip unless [ -d "$d" ], then MANIFEST="$(find "$d" -path '*/.claude-plugin/plugin.json' -exec grep -l '"name":space:*::space:*"soleur"' {} + 2>/dev/null | head -1)", ROOT="${MANIFEST%/.claude-plugin/plugin.json}" — one resolution, two consumers: $ROOT/scripts/cloud-detect.sh and $ROOT/scripts/precommit-guard.sh. (Shape check, not authentication: a planted {"name":"soleur"} dir passes — ADR-179 A11.) local or not-local:no-devin-env proceeds normally; any other not-local:<reason> applies <plugin-root>/devin/INSTRUCTIONS.md §Cloud Mode: emit the --banner, fan out sequentially with Reviewed-Coverage: sequential-fallback disclosure (never claim an independent review ran), message_user ack before any secrets read or production mutation, and run precommit-guard.sh before any git commit — hooks do not fire in cloud.

Grok Build (plugins/soleur/lib/harness.ts invokeSkill()): Read this SKILL.md in this process and run it to completion. A one-segment soleur:<name> in this document names a SKILL — on Grok Build, Read plugins/soleur/skills/<name>/SKILL.md in this process; it is not a nested tool_use. A multi-segment id such as soleur:<domain>:<name> names an AGENT: spawn it, never Read it, and on Grok Build spawn_subagent takes the id with its colons replaced by hyphens (agentIdToGrokSubagentType). Claude Code: Skill tool for a skill (soleur:<name>), Task tool with subagent_type for an agent. Forbidden is executing a subset, not the Read.

Eval Harness — empirical prompt/agent regression checking

A reproducible promptfoo harness that answers the question Soleur could not answer before: does this prompt/agent edit actually change behavior, or does it just carry new text? It adapts the benchmark methodology of the ponytail Claude Code plugin (MIT) to Soleur's own surfaces.

v1 targets two high-traffic classifiers (the design makes adding a third cheap):

  1. soleur:go routing accuracy — does the routing table produce the correct route token?
  2. soleur:support:ticket-triage P-level accuracy — does the priority rubric produce the correct P1/P2/P3?

Grok Build arm (Phase C #6323): The harness now covers Grok slash-command + spawn_subagent semantics for soleur:go routes (in addition to Claude Skill/Task). Golden assertions and regression tests exercise the adapter contract from lib/harness.ts (detect via GROK_* markers or argv). The go-routing target in gated-skills.json + eval-gate block in go.md are the source; projections feed the skill arm for both harnesses. See plan 2026-07-11-feat-grok-phase-c-go-md-eval-harness-plan.md and self-ref in go.md.

<decision_gate> **API budget.** Each `npx promptfoo eval --repeat 3` run calls the Anthropic API against the key in your session — 2 arms × 3 models × the target's golden tasks × 3 repeats. At the current task counts that is ≈ **144 API calls** for go-routing (8 tasks) and ≈ **108** for soleur:support:ticket-triage (6 tasks), so ≈ **230 to run both**. Cost scales with the model mix (one arm runs Opus), the task count, and the `--repeat` value (outputs are single tokens, so per-call cost is small — the first full run was well under $1). This harness is **opt-in and manual** — it is deliberately NOT wired into per-PR CI (that cost decision is separate and later). Soleur does not bill or proxy these calls — Anthropic does, against your key. The Soleur LICENSE (BSL 1.1) disclaims warranty for runtime cost; you operate this harness against your own budget. To inspect the config without spending, use `npx promptfoo validate config` (no API calls). </decision_gate>

Pipeline tally (#9403). bash "${CLAUDE_PLUGIN_ROOT}/scripts/pipeline-tally.sh" init first. Before each npx promptfoo eval arm: bash "${CLAUDE_PLUGIN_ROOT}/scripts/pipeline-tally.sh" gate agent_rounds — STOP → write knowledge-base/project/specs/<feature>/session-state.md (status: budget-capped + budget-capped: agent_rounds=<count>/<cap> + resume) and stop cleanly; WARN/UNKNOWN → continue. bash "${CLAUDE_PLUGIN_ROOT}/scripts/pipeline-tally.sh" incr agent_rounds once per eval arm dispatched.

How it works (the four ponytail patterns)

  1. promptfoo-driven grid — arms × models × tasks, N runs. One config file per target: promptfooconfig-go-routing.yaml and promptfooconfig-ticket-triage.yaml.
  2. **MEASUREMENT
Полный SKILL.md на GitHub

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

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

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

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

  • README.md
  • enums/go-routes.json
  • enums/incident-threshold.json
  • enums/lane.json
  • enums/tool-selection.json
  • enums/triage-levels.json
  • gated-skills.json
  • models.generated.json
  • promptfooconfig-go-routing.yaml
  • promptfooconfig-incident-threshold.yaml
  • promptfooconfig-lane-inference.yaml
  • promptfooconfig-ticket-triage.yaml
  • promptfooconfig-tool-selection.yaml
  • prompts/go-baseline.txt
  • prompts/go-skill.txt
  • prompts/incident-threshold-baseline.txt
  • prompts/incident-threshold-skill.txt
  • prompts/lane-inference-baseline.txt
  • prompts/lane-inference-skill.txt
  • prompts/tool-selection-baseline.txt
  • prompts/tool-selection-skill.txt
  • prompts/triage-baseline.txt
  • prompts/triage-skill.txt
  • scripts/eval-gate.cjs
  • scripts/extract-block.cjs
  • scripts/gate-classification.cjs
  • scripts/gen-models.sh
  • scripts/gen-skill-prompt.cjs
  • scripts/measure-classification.cjs
  • scripts/parse-label.cjs
  • scripts/verdict.cjs
  • tasks/go-routing.jsonl
  • tasks/incident-threshold.jsonl
  • tasks/lane-inference.jsonl
  • tasks/ticket-triage.jsonl
  • tasks/tool-selection.jsonl

FAQ

Что делает скилл eval-harness?

This skill provides a promptfoo eval harness that measures whether a Soleur skill or agent edit actually improves behavior, comparing a skill arm against a baseline control arm.

Как установить скилл eval-harness?

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

Скилл eval-harness запускает скрипты?

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

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

Сравнить eval-harness с