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★ 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):
soleur:gorouting accuracy — does the routing table produce the correct route token?- 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.
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)
- promptfoo-driven grid — arms × models × tasks, N runs. One config file per target: promptfooconfig-go-routing.yaml and promptfooconfig-ticket-triage.yaml.
- **MEASUREMENT
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- 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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…