harness-evaluator

harness-evaluator is an agent for coding agents from raphaelchristi/harness-evolver. It costs 48 tokens per session (1,747 once invoked), scanned A, original, MIT.

An evaluation agent that acts as a judge for experiment results in LangSmith, a platform for tracing and evaluating language-model applications. It reads an agent’s inputs and outputs, checks them against stated criteria, and records scores as feedback.

In plain words
What is it for?
Use it to list experiment runs, assess whether outputs are correct, and write evaluation scores back to LangSmith.
Why use it?
It removes the need for a separate language-model service to judge results and keeps evaluation tied to the experiment data.

Agent

Part of the harness-evolver plugin — 9 skills, 6 agents, 1 hook shipped together

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 agents/raphaelchristi/harness-evolver/harness-evaluator
Clone the repo
git clone --depth 1 https://github.com/raphaelchristi/harness-evolver

Or install harness-evolver, the plugin that ships this one along with the rest of its 9 skills, 6 agents, 1 hook.

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 harness-evaluator

README.md
[![agentmods](https://agentmods.dev/badge/agents/raphaelchristi/harness-evolver/harness-evaluator.svg)](https://agentmods.dev/agents/raphaelchristi/harness-evolver/harness-evaluator)
Your own site
<a href="https://agentmods.dev/agents/raphaelchristi/harness-evolver/harness-evaluator"><img src="https://agentmods.dev/badge/agents/raphaelchristi/harness-evolver/harness-evaluator.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,747 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.00048 $0.01747
Opus 5 $0.00024 $0.00873
Sonnet 5 $0.00010 $0.00349
Haiku 4.5 $0.00005 $0.00175

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

Security

Grade A, and why

harness-evaluator 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 3d 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.

agents/harness-evaluator.md · 191 lines

How it starts

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

Evolver — Evaluator Agent (v3)

You are an LLM evaluation judge. Your job is to read the outputs of an experiment from LangSmith, evaluate each one for correctness, and write scores back as feedback.

You ARE the LLM-as-judge. You replace the need for an external LLM API call.

Bootstrap

  1. Verify langsmith-cli is available:
langsmith-cli --version

If this fails, report the error and stop — langsmith-cli is required.

  1. Your prompt contains <experiment>, <evaluators>, and <context> blocks. Parse them to understand:
  • Which experiment to evaluate
  • What evaluation criteria to apply
  • What the agent is supposed to do (domain context)

Tool: langsmith-cli

You interact with LangSmith exclusively through langsmith-cli. Always use --json for machine-readable output.

Reading experiment outputs

langsmith-cli --json runs list \
    --project "{experiment_name}" \
    --fields id,inputs,outputs,error,reference_example_id \
    --is-root true \
    --limit 200

This returns one JSON object per line (JSONL). Each line has:

  • id — the run ID (needed to write feedback)
  • inputs — what was sent to the agent
  • outputs — what the agent responded
  • error — error message if the run failed
  • reference_example_id — links back to the dataset example

Writing scores

For EACH run, after judging it:

langsmith-cli --json feedback create {run_id} \
    --key "{evaluator_key}" \
    --score {score} \
    --comment "{brief_reasoning}" \
    --source model

Use --source model since this is an LLM-generated evaluation.

Your Workflow

Phase 1: Read All Outputs

Fetch all runs from the experiment. Save the output to a file for reference:

langsmith-cli --json runs list \
    --project "{experiment_name}" \
    --fields id,inputs,outputs,error,reference_example_id \
    --is-root true --limit 200 \
    --output experiment_runs.jsonl

Then read experiment_runs.jsonl to see all results.

Phase 1.5: Load Few-Shot Corrections (if available)

Read the full file on GitHub · 191 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. 3d ago First seen · 191 lines · 48 tokens per session scan A c5317dfac63c

Subscribe to this mod's changes

harness-evaluator is an agent published in the GitHub repository raphaelchristi/harness-evolver (49 stars, last pushed 4mo ago), licensed MIT. It adds 48 tokens to every session and 1,747 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 agents, from other repositories

hk-test-writer

You are a test-writing specialist for the harness-kit monorepo. You receive a function, module, or feature to test and produce high-quality tests that follow this project's conventions exactly.

deepklarity/harness-kit · 0 tokens

prompt-engineer

提示词工程师 - 设计与优化 Agent 提示词与技能。 Prompt Engineer - design and optimize prompts and skills for agents, including refactoring and debugging prompt systems.

btspoony/mstar-harness · 40 tokens

requirements-reviewer

Reviews a draft requirements.md against the conversation history and glean scratch files. Detects coverage gaps (missing user-stated requirements), hallucinations (ACs without conversational source), and quality issues (EARS structure, CONFIRMED/ASSUMPTION labels, scope clarity, Out of Scope adequacy). Triggered…

iroha924/mumei · 99 tokens

librarian

External reference researcher — looks up library docs, framework conventions, OSS examples. Read-only, no memory injection. (Real network access depends on workspace tool config; this manifest is the agent identity, not the network policy.).

Timeflys2018/zeyi · 48 tokens

ux-designer

The UX Designer owns user experience flows, interaction design, accessibility, and information architecture for software products. Use this agent for user flow mapping, interaction pattern design, accessibility audits, onboarding flow design, and wireframe feedback.

tranhieutt/software_development_department · 48 tokens

subtitle-translator

Translate SRT subtitle files between languages while preserving timestamps and SRT structure exactly. Use this agent whenever the user needs to translate existing SRT files produced by Whisper or any other tool. / 翻译 SRT 字幕文件,保留时间戳和序号结构。.

Crazy-MT/video-subtitle · 57 tokens