npx skills add ...
npx skills add affaan-m/ecc --skill eval-harness
Formal evaluation framework for Claude Code sessions implementing eval-driven development (EDD) principles. Use when a Claude Code workflow needs a formal eval before it is trusted or changed.
npx skills add affaan-m/ecc --skill eval-harness
A formal evaluation framework for Claude Code sessions, implementing eval-driven development (EDD) principles.
Eval-Driven Development treats evals as the "unit tests of AI development":
Test if Claude can do something it couldn't before:
Ensure changes don't break existing functionality:
Deterministic checks using code:
Use Claude to evaluate open-ended outputs:
Flag for manual review:
"At least one success in k attempts"
"All k trials succeed"
Write code to pass the defined evals.
Creates eval definition file at .claude/evals/feature-name.md
Runs current evals and reports status
Generates full eval report
Store evals in project:
The mechanical utilities ship in scripts/lib/eval-harness/:
node scripts/eval-harness.js capsule group <dir> [<dir> ...]
groups 1 to 100 explicitly selected, verified local capsule snapshots from one
task family by declared harness version. Repeated snapshots count once;
conflicting identities or invalid capsules reject the whole report. This is
read-only record counting, with no new rollouts, scores or promotion. Use small,
quiescent capsules. Payloads, directory arguments and raw run/capsule IDs are
omitted, but task-family/version labels are verbatim and digest references are
linkable; review them before sharing. Operational validation remains pending.Candidate execution is disabled on every OS because no verified OS containment
backend is implemented. gate run, runGate, runVariant, direct child launch,
and the retired effect preload refuse with gate.isolation_required. No trust
flag or caller-supplied executor can bypass the refusal. The example records
that refusal and inspects source without executing or scoring it.
Do not present static warnings, a capsule receipt, or successful utility tests
as candidate containment or promotion evidence. A future gate requires an
independently reviewed OS boundary, protected checker and audit channels, and
fatal baseline rejection. See docs/architecture/eval-harness-frameworks.md.
Use product evals when behavior quality cannot be captured by unit tests alone.
pass@1: direct reliabilitypass@3: practical reliability under controlled retriespass^3: stability test (all 3 runs must pass)Recommended thresholds:
.claude/evals/<feature>.md definition.claude/evals/<feature>.log run historydocs/releases/<version>/eval-summary.md release snapshot