agent-eval-harness

agent-eval-harness is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 120 tokens per session (1,529 once invoked), scanned C, original, Apache-2.0.

An offline test harness that scores an AI agent's responses from 0 to 100 using repeatable checks. It checks things such as required evidence, format, contradictions, made-up content, and unsafe text.

In plain words
What is it for?
Use it with JSONL test cases containing prompts, responses, and expectations. It helps evaluate agent behaviour, compare changes, and add checks to a build process.
Why use it?
An agent can quietly get worse after a prompt or code change, even when a few examples look fine. Repeatable scores and pass/fail results make those regressions easier to detect.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/eval_harness.py --input assets/sample-cases.jsonl --index 0 # bundled sample (offline rule scoring); replace with your cases.jsonl.

Good fit Use it with JSONL test cases containing prompts, responses, and expectations. It helps evaluate agent behaviour, compare changes, and add checks to a build process.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkit
agentmods
npx agentmods add skills/morningstar202604/awesome-skillkit/agent-eval-harness

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-eval-harness

README.md
[![agentmods](https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/agent-eval-harness/github.svg)](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/agent-eval-harness)
Your own site
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/agent-eval-harness"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/agent-eval-harness/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-eval-harness

Your own site · 80×15
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/agent-eval-harness"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/agent-eval-harness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 120 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,529 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00120 $0.01529
Opus 5.5 $0.00048 $0.00612
Sonnet 5.5 $0.00024 $0.00306
Haiku 4.5 $0.00012 $0.00153

Measured 2mo ago against content hash cc94846527e3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

agent-eval-harness scanned grade C with 1 finding 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 2mo 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

| `forbidden` | Dangerous/forbidden strings (e.g. `rm -rf /`) | no_hallu/safety deduction |
site/skills/meta/agent-eval-harness/SKILL.md · 117 lines

How it starts

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

Agent Eval Harness (Agent Behavior Quantitative Scoring)

Turn "is the AI agent actually correct" from mysticism into regressable, gateable numbers: 5 auto-judgeable dimensions (structure / grounding / no hallucination / consistency / safety) weighted into a 0-100 score, each case giving pass / fail / warn verdict + failed dimension details.

Core judgment: an agent's biggest cost isn't "can it write"—it's "after a prompt change it silently degrades and nobody notices." A scorer that runs, reuses, and exits non-zero on CI is worth far more than a one-time "looks good." This skill hard-codes scoring rubrics into a script so "behavior correctness" is repeatably verifiable—exactly the fixed-step work a skill should do, rather than letting the model improvise.

Red lines: script is offline (writes files only, no network requests); default dry-run, --write saves; credentials only via env (mode B only, and only produces prompt text, doesn't call the model for the user).

Input Checklist

Input Required Notes
Cases file (JSONL) yes Each line {"prompt","response","expects":{...}}, see below
--index no Which line to score (0-based), default 0
--mode no offline (default) / judge (LLM-as-judge prompt)
--weights-json no Override dimension weights (JSON object)
--forbidden-json no Append forbidden strings (JSON array)

expects fields (all optional, defaults to lenient scoring):

Field Purpose Effect on hit
must_contain_table Requires markdown table format bonus
must_contain_code Requires code block ``` format bonus
min_length Minimum output character count format bonus
must_include Required keyword list missing → grounding risk
evidence Anti-hallucination: strings response should hit grounding dimension
forbidden Dangerous/forbidden strings (e.g. rm -rf /) no_hallu/safety deduction
conflict_pairs Mutually exclusive pairs [["a","b"]], co-occurrence = contradiction consistency zeroed

Read the full file on GitHub · 117 lines

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. 2mo ago Changed · +9 lines · -8 tokens per session cc94846527e3
  2. 2mo ago First seen · 108 lines · 128 tokens per session scan C 2f8d0459b8dd

Subscribe to this mod's changes

agent-eval-harness is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 120 tokens to every session and 1,529 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-23.

Related

agent-eval-harness compared with skills from other repositories

agent-eval-harness next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-eval-harnessMorningstar202604/awesome-skillkitSkill02mo agoApache-2.0C120Claude Code, Codex
flash-attentionNousResearch/hermes-agentSkill267ktodayMITA14Claude Code, Codex
open-sourcebrowser-use/browser-useSkill122ktodayMITA101Claude Code
simpoNousResearch/hermes-agentSkill267ktodayMITA13Claude Code, Codex
mle-workflowaffaan-m/ECCSkill313k7d agoMITA44Claude Code, Codex
ai-engineering-toolkitsickn33/agentic-awesome-skillsSkill51kyesterdayMITA47Claude Code
sglang-diffusion-cache-ditsgl-project/sglangSkill39ktodayApache-2.0A161Claude Code