Paired skill evaluation ↗
Six-stage comparative workflow (`FREEZE_CANDIDATE -> PREPARE_BLIND_CASES -> RUN_BASELINE -> RUN_TREATMENT -> GRADE_AND_COMPARE -> DECIDE`) for measuring real guidance lift.
FeedAkış
Open, portable, evidence-driven resources for AI agents. Inspect the source, check the verification level, and adopt only what earns its place.
Yapay zekâ ajanları için açık, taşınabilir ve kanıt odaklı kaynaklar. Kaynağı incele, doğrulama seviyesini gör ve yalnızca işine yarayanı kullan.
Measure whether a Skill, prompt, rule, or agent role actually improves behavior using blinded scenarios, paired baseline-vs-treatment comparisons, code-first graders, and anti-Goodhart metrics.
"evaluate-agent-guidance""Measure whether a Skill, prompt, rule, or agent role actually improves behavior using blinded scenarios, paired baseline-vs-treatment comparisons, code-first graders, and anti-Goodhart metrics. Use when validating or auditing agent instructions.""MIT"Use this Skill when deciding whether a new or revised Skill, prompt, rule, agent role, or workflow actually improves agent performance — or whether it adds context bloat, cost, and false triggers without real lift.
When not to use: Do not build a multi-arm experimental harness for a typo fix or an obvious mechanical validator bug that a single deterministic unit test already covers.
The core rule is: never mistake an agent echoing a Skill's own vocabulary for proof that the Skill works — measure blinded behavior against a matched baseline without the artifact, and report failures and overhead honestly.
Always state which level an evaluation actually proves:
Never present an L1/L2 pass as L3–L5 behavioral evidence.
A single-arm pass proves almost nothing if the base model already solved the case — or if the test prompt leaked the expected answer.
refuse-unsafe-retry) and expected then rubric text from the prompt shown to the evaluated model.A Skill that activates on every prompt or blocks legitimate work is defective:
Use deterministic verification first wherever possible:
Never collapse evaluation into one scalar "quality score" and never adopt a metric without pairing it with how optimizing it breaks real outcomes:
| Metric | Goodhart failure mode if optimized blindly |
|---|---|
| Fewer clarifying questions | Agent guesses silently on genuine ambiguity |
| Fewer tool calls | Agent skips necessary verification reads |
| Higher task-pass rate on easy cases | Suite hides regressions on negative/edge cases |
| Higher automation rate | Brittle scripts replace genuine judgment |
Track outcomes across a multidimensional profile: task completion, first-try accuracy, false-completion claims, lost constraints, unauthorized assumptions, repeated failed attempts, false triggers, and token/latency cost.
Evaluation is reflexive: once authors or models see a static rubric, they optimize for it. If blinded evaluation shows an artifact produces no measurable behavioral improvement over baseline — or degrades cost and latency without lift — simplify, narrow, merge, or retire it.
A team writes a new debugging Skill and runs 5 cases where the model repeats the Skill's 4 section titles and passes an LLM judge.
model-X without the Skill vs. with the Skill, grading root-cause correctness and regression tests with deterministic checks, and recording token delta and any cases where the Skill added unnecessary steps.Before publishing an evaluation claim, confirm:
then rubrics) and compared against a matched baseline for L5 claims.---
name: evaluate-agent-guidance
description: Measure whether a Skill, prompt, rule, or agent role actually improves behavior using blinded scenarios, paired baseline-vs-treatment comparisons, code-first graders, and anti-Goodhart metrics. Use when validating or auditing agent instructions.
license: MIT
---
# Evaluate agent guidance
Use this Skill when deciding whether a new or revised Skill, prompt, rule, agent role, or workflow actually improves agent performance — or whether it adds context bloat, cost, and false triggers without real lift.
**When not to use:** Do not build a multi-arm experimental harness for a typo fix or an obvious mechanical validator bug that a single deterministic unit test already covers.
The core rule is: **never mistake an agent echoing a Skill's own vocabulary for proof that the Skill works — measure blinded behavior against a matched baseline without the artifact, and report failures and overhead honestly.**
## 1. Anchor claims to the five verification levels
Always state which level an evaluation actually proves:
1. **L1 Structural** — syntax, schema, frontmatter, links, and security scans pass.
2. **L2 Contract** — deterministic tests verify the artifact covers its declared obligations and negative cases.
3. **L3 Runtime observation** — a pinned model/runtime version responded to blinded synthetic cases.
4. **L4 Outcome verification** — real task postconditions (code, diffs, tests, builds) were verified after execution.
5. **L5 Comparative evaluation** — paired baseline vs. treatment runs measured actual behavioral lift, regressions, and cost delta.
Never present an L1/L2 pass as L3–L5 behavioral evidence.
## 2. Design blinded, paired baseline comparisons
A single-arm pass proves almost nothing if the base model already solved the case — or if the test prompt leaked the expected answer.
1. **Withhold answer cues:** Strip descriptive case IDs (like `refuse-unsafe-retry`) and expected `then` rubric text from the prompt shown to the evaluated model.
2. **Hold environment constant:** Compare **Arm A (Baseline: no guidance)** vs. **Arm B (With artifact)** — and optionally **Arm C (Ablation: trimmed guidance)** — using the exact same model version, harness, tool permissions, and task inputs.
3. **Avoid grader-dependent lift:** Make sure task requirements live in the task specification itself, not hidden solely inside the Skill so that the baseline fails only because of an underspecified prompt.
4. **Account for sampling variance:** Do not generalize from a single lucky run or one prompt phrasing; repeat trials where variance matters and report exact trial counts.
## 3. Include negative, abstain, and over-triggering cases
A Skill that activates on every prompt or blocks legitimate work is defective:
- **Over-triggering ("When not to use"):** Include routine tasks where the Skill should *not* activate or add ceremony.
- **Dual security + utility scoring:** For safety or boundary guidance, score *unauthorized-action prevention* and *legitimate task completion* separately (a defense that refuses everything scores 100% safe and 0% useful).
- **Constraint survival:** Include interrupted or compacted scenarios to check whether constraints survive context pressure.
## 4. Prefer code graders over LLM judges
Use deterministic verification first wherever possible:
- file diffs, schema parsers, linters, exit codes, unit/integration tests, checksums, and forbidden-pattern checks.
- Reserve LLM or human rubrics strictly for open-ended reasoning quality, and verify that rubric criteria are observable and falsifiable.
## 5. Apply Anti-Goodhart discipline to every metric
Never collapse evaluation into one scalar "quality score" and never adopt a metric without pairing it with how optimizing it breaks real outcomes:
| Metric | Goodhart failure mode if optimized blindly |
|---|---|
| Fewer clarifying questions | Agent guesses silently on genuine ambiguity |
| Fewer tool calls | Agent skips necessary verification reads |
| Higher task-pass rate on easy cases | Suite hides regressions on negative/edge cases |
| Higher automation rate | Brittle scripts replace genuine judgment |
Track outcomes across a multidimensional profile: task completion, first-try accuracy, false-completion claims, lost constraints, unauthorized assumptions, repeated failed attempts, false triggers, and token/latency cost.
## 6. Treat guidance itself as falsifiable
Evaluation is reflexive: once authors or models see a static rubric, they optimize for it. If blinded evaluation shows an artifact produces no measurable behavioral improvement over baseline — or degrades cost and latency without lift — **simplify, narrow, merge, or retire it.**
## Example
A team writes a new debugging Skill and runs 5 cases where the model repeats the Skill's 4 section titles and passes an LLM judge.
- **Defect:** Unblinded, zero baseline, LLM-only grading of echoed phrasing.
- **Fix:** Run 8 blinded synthetic failure cases (plus 2 trivial cases where the Skill should stay quiet) on `model-X` without the Skill vs. with the Skill, grading root-cause correctness and regression tests with deterministic checks, and recording token delta and any cases where the Skill added unnecessary steps.
## Completion test
Before publishing an evaluation claim, confirm:
1. Exact verification level (L1–L5), model/runtime version, and trial count are stated.
2. Prompts were blinded (no leaked case IDs or `then` rubrics) and compared against a matched baseline for L5 claims.
3. Both legitimate task utility and negative/over-triggering behavior were tested.
4. Failures, blocked cases, and cost/latency overhead remain visible rather than omitted.
Export blinded scenarios without descriptive IDs or expected answers, then compare your assistant without vs. with this artifact loaded:
Açıklayıcı kimlikler ve beklenen cevaplar gizlenmiş kör senaryoları dışa aktarıp kendi asistanında bu kaynak olmadan ve bu kaynakla karşılaştırma yap:
python -B scripts/eval_review.py --blind evaluate-agent-guidanceMeasure whether a Skill, prompt, rule, or agent role actually improves behavior using blinded scenarios, paired baseline-vs-treatment comparisons, code-first graders, and anti-Goodhart metrics.
Best for: Validating new or revised Skills, prompts, rules, and agent workflows before claiming they improve quality or reliability. When not to use: Typo edits or mechanical validator bugs already proven by a single deterministic unit test. Status: Source draft, not a supported catalog release.
partial (Level 1–2 structural and contract validation; blinded runtime and paired baseline evaluation pending)Instead of grading a debugging Skill by checking whether an LLM echoes the Skill's section headings, the evaluator runs 8 blinded failure scenarios plus 2 trivial non-trigger tasks on the same model with and without the Skill, scoring root-cause accuracy via tests and recording token overhead.
This Skill defines evaluation methodology; it does not invoke LLM APIs, execute code, or certify benchmark results on its own.
Because the base model might have solved the task equally well without the Skill, or the evaluation prompt may have leaked descriptive case IDs or missing task specifications that only the Skill contained.
Because an overly defensive rule that refuses everything scores perfectly on safety while failing real users. Measuring both axes prevents hiding usability regressions behind safety scores.
Narrow, simplify, merge, or retire it rather than stacking more instructions on top of it.
Yes. Feed's MIT license applies; keep the bundled MIT notice intact when redistributing. See the registry record for current verification state.
native
Format-compatible baseline (skills-ref 0.1.1) only; runtime installation, activation, and behavioral evaluation remain separate.
Original clean-room public practice authored from open empirical evaluation design, blinded paired testing, and measurement-integrity principles; no private implementation source is embedded.