eval

A method for testing AI workflows with predefined evaluations, including checks for abilities and regressions. Pass@1 means success on the first attempt; pass@3 means success within three attempts.

In plain words
What is it for?
Use it to write evaluations before coding, measure repeated attempts, run fast deterministic checks, and have an independent evaluator score high-stakes results.
Why use it?
It makes success criteria explicit and helps detect when a change breaks something that previously worked.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/ariaxhan/kernel-claude/eval
Any agent
npx skills add ariaxhan/kernel-claude --skill eval
Clone the repo
git clone --depth 1 https://github.com/ariaxhan/kernel-claude

Made for: Claude Code, Codex.

Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,159 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00044 $0.01159
Opus 5 $0.00022 $0.00580
Sonnet 5 $0.00009 $0.00232
Haiku 4.5 $0.00004 $0.00116

Measured 2d ago against content hash 77ae80a9af93, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

eval scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/eval/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

<core_principles>

  1. DEFINE BEFORE CODE: Evals written first force clear thinking about success criteria.
  2. CODE GRADERS > MODEL GRADERS: Deterministic checks beat probabilistic judgments.
  3. STRUCTURAL SEPARATION FOR HIGH-STAKES: When stakes are real (security, payments, eval-of-evals, agent quality scoring), use the blind-evaluator agent — never self-score. Self-scoring inflates results ~36% structurally; procedural separation ("I won't peek") does not fix it.
  4. TRACK PASS@K: pass@1 (first attempt), pass@3 (within 3 attempts). Target pass@3 > 90%.
  5. REGRESSION BEFORE SHIP: Every change must pass existing evals before merge.
  6. FAST EVALS GET RUN: Slow evals get skipped. Keep evaluation fast. </core_principles>

<blind_evaluation_protocol> Use when implementing agent would otherwise score its own output (high-stakes: security, payments, agent quality):

  1. Spawn agents/blind-evaluator.md as a fresh agent.
  2. Pass ONLY: problem statement, rubric (3-7 criteria with PASS conditions + weights), artifact path.
  3. Do NOT pass: implementer's checkpoint, summary, commit message, prompt, or expected solution.
  4. (gate: blind evaluator runs contamination check — if forbidden inputs detected, returns INVALID; clean inputs and retry)
  5. (gate: confidence < 0.7 from blind evaluator → escalate to human grader)

Two-phase eval protocol:

  • Run 1: implementing agent solves cold, no eval feedback. Blind evaluator scores. This is the externally-reportable number.
  • Run 2: implementing agent gets Run 1 score + rubric breakdown, then optimizes. For iteration only. </blind_evaluation_protocol>

pass^k: "All k trials succeed"

  • pass^3: 3 consecutive successes
  • Use for critical paths (auth, payments)

See reference for calculation formula and worked examples.

<grader_selection>

  1. Code-based (preferred): grep, test suite, build, type-check — deterministic, fast.
  2. Model-based: for open-ended outputs that can't be checked deterministically. Run multiple times, take majority.
  3. Human: required for security-sensitive changes, UX evaluation, legal/compliance.

See reference for full grader templates and examples. </grader_selection>

<anti_patterns> Writing evals after implementation tests existing bugs, not requirements. Model-based grading is slow and probabilistic. Prefer code graders. Every change must pass regression evals. No exceptions. Evals that take > 30s get skipped. Keep them fast. Track pass@k over time. Declining reliability is a signal. For any user-facing or high-stakes eval, the implementing agent scoring its own work inflates results ~36%. Spawn blind-evaluator instead. Evaluating against a codebase that already contains the canonical solution = answer key in the eval set. Use pre-merge snapshots or a separate fixture. Greenfield tickets in the golden eval set collapse to self=10, blind=3. Greenfields are not evaluable as solved tasks — exclude them from the dataset. Optimizing how much context the evaluator gets before establishing a baseline score = can't distinguish signal from noise. Run minimal-context baseline first, then test additions one at a time. </anti_patterns>

Read the full file on GitHub · 92 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 92 lines · 44 tokens per session scan A 77ae80a9af93

Subscribe to this mod's changes

eval is a skill published in the GitHub repository ariaxhan/kernel-claude (12 stars, last pushed 2d ago), licensed MIT. It adds 44 tokens to every session and 1,159 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

a0-create-plugin

Create, extend, or modify Agent Zero plugins. Follows strict full-stack conventions (usr/plugins, plugin.yaml, Store Gating, AgentContext, plugin settings). Use for UI hooks, API handlers, lifecycle extensions, or plugin settings UI.

Gen-Verse/PAST-Bench · 54 tokens

create-skill

Wizard for creating new Agent Zero skills. Guides users through creating well-structured SKILL.md files. Use when users want to create custom skills.

Gen-Verse/PAST-Bench · 33 tokens

a0-manage-plugin

Manage Agent Zero plugins lifecycle: browse the Plugin Hub, scan for security, install from Git/ZIP/Plugin Hub, update, uninstall, enable, disable, debug, and troubleshoot. Use when asked to install, update, uninstall, remove, scan, find, search, enable, disable, debug, or troubleshoot a plugin.

Gen-Verse/PAST-Bench · 72 tokens

kappa_review_workflow

PAST-Bench: Benchmarking the Foundations of Recursive Self-Improvement in Personal Agents.

Gen-Verse/PAST-Bench · 0 tokens

skill-creator

Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.

Gen-Verse/PAST-Bench · 28 tokens

a-evolve

Apply A-Evolve's agentic evolution methodology to improve AI agent performance across runs. Use when the user wants to diagnose agent failures, generate targeted skills from error patterns, evolve system prompts, or accumulate episodic knowledge. Works standalone or inside AutoResearchClaw pipelines. Triggers on…

aiming-lab/AutoResearchClaw · 100 tokens