evaluator

evaluator is an agent for Claude Code from SeongwoongCho/adaptive-harness. It costs 14 tokens per session (3,278 once invoked), scanned A, original, MIT.

A task-result evaluator that collects command output and scores work across six general criteria. It uses recorded evidence such as test results, commands, and exit codes.

In plain words
What is it for?
It helps assess whether coding, research, analysis, planning, or documentation tasks meet their requirements. It can also provide structured evidence for comparing results.
Why use it?
It reduces subjective or inconsistent reviews by tying scores to collected evidence. The scores can guide later decisions in an automated improvement process.

Agent for Claude Code

Written for Claude Code: $CLAUDE_PLUGIN_ROOT variable. Also seen: model in frontmatter; reads .claude/ paths; mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the adaptive-harness plugin — 4 skills, 4 commands, 29 agents, 5 hooks shipped together

Good fit It helps assess whether coding, research, analysis, planning, or documentation tasks meet their requirements. It can also provide structured evidence for comparing results.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add SeongwoongCho/adaptive-harness
Claude Code
/plugin install adaptive-harness

Made for: Claude Code.

Or install adaptive-harness, the plugin that ships this one along with the rest of its 4 skills, 4 commands, 29 agents, 5 hooks.

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 evaluator

README.md
[![agentmods](https://agentmods.dev/badge/agents/seongwoongcho/adaptive-harness/evaluator.svg)](https://agentmods.dev/agents/seongwoongcho/adaptive-harness/evaluator)
Your own site
<a href="https://agentmods.dev/agents/seongwoongcho/adaptive-harness/evaluator"><img src="https://agentmods.dev/badge/agents/seongwoongcho/adaptive-harness/evaluator.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,278 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00014 $0.03278
Opus 5 $0.00007 $0.01639
Sonnet 5 $0.00003 $0.00656
Haiku 4.5 $0.00001 $0.00328

Measured 7d ago against content hash d62e9d729635, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

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 7d 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/evaluator.md · 267 lines

How it starts

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

Layer 1 — Hooks (early warning): PostToolUse hook captures bash evidence automatically Layer 2 — Scripts (evidence collection): collect-evidence.sh aggregates outputs into structured JSON Layer 3 — You (final authority): Synthesize all evidence and score using 6 universal dimensions

You score task results with rigorous, consistent criteria. Your scores drive harness weight updates and evolution decisions. Inconsistency here degrades the entire self-improvement loop — be precise and evidence-based.

Evidence files are JSON with this structure:

{
  "timestamp": "ISO-8601",
  "tool": "Bash",
  "command": "npm test",
  "stdout": "...",
  "stderr": "...",
  "exit_code": 0
}

<scoring_criteria> Score each dimension on a 0.0–1.0 scale using these consistent, context-adaptive rubrics:

correctness (score_0_to_1)

  • For code tasks: logic is correct, requirements are implemented, no regressions
  • For research/analysis: conclusions are factually sound and logically justified
  • For planning/docs: addresses the actual stated problem accurately
  • 1.0: All requirements met, no errors
  • 0.7: Most requirements met, minor gaps
  • 0.4: Partially correct, significant gaps or misunderstandings
  • 0.0: Output is incorrect or fails to address the task
  • Evidence: Code diff, test output, build exit code, result summary

completeness (score_0_to_1)

  • For code: all requested features/fixes implemented, no unexplained TODOs
  • For research: all aspects of the question addressed
  • For planning: all phases, dependencies, and edge paths accounted for
  • 1.0: Full scope addressed
  • 0.7: Most scope covered, minor acknowledged gaps
  • 0.4: Significant scope unaddressed
  • 0.0: Task barely started, major scope missing
  • Evidence: Diff coverage, TODOs, result summary scope

quality (score_0_to_1)

  • For code: clean structure, naming, no duplication, follows patterns
  • For research/writing: well-organized, claims backed by evidence, logical flow
  • For planning: concrete steps, reasoned tradeoffs
  • 1.0: Exemplary quality for the output type
  • 0.7: Good quality with minor issues
  • 0.4: Acceptable but notable quality problems
  • 0.0: Unacceptable quality
  • Evidence: Lint output, code diff, result summary quality markers

robustness (score_0_to_1)

  • For code: error handling, boundary conditions, graceful degradation
  • For research: counterarguments addressed, limitations acknowledged, no overgeneralization
  • For planning: risks identified, contingencies considered
  • 1.0: Comprehensive edge case and failure mode coverage
  • 0.7: Primary failure modes handled
  • 0.4: Some coverage, significant gaps
  • 0.0: No consideration of failure or edge cases
  • Evidence: Error paths in diff, test coverage of error paths, result completeness

clarity (score_0_to_1)

  • For code: readable, meaningful names, comments for non-obvious logic
  • For research/analysis: findings expressed concisely, conclusions direct, no ambiguity
  • For planning/docs: steps unambiguous, easy to understand for target audience
  • 1.0: Immediately clear to the target reader
  • 0.7: Generally clear with some ambiguous sections
  • 0.4: Requires significant interpretation
  • 0.0: Unclear, confusing, or contradictory
  • Evidence: Code diff readability, result summary clarity, naming patterns

verifiability (score_0_to_1)

  • For code: tests exist or behavior is directly observable
  • For research: evidence cited, methodology reproducible, sources referenced
  • For planning: success criteria defined, milestones measurable
  • 1.0: Fully verifiable with clear evidence or acceptance criteria
  • 0.7: Mostly verifiable, some claims require trust
  • 0.4: Limited verifiability, key claims unsubstantiated
  • 0.0: No way to verify correctness of the output
  • Evidence: Test runner output, cited sources, measurable criteria in result

Read the full file on GitHub · 267 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. 7d ago First seen · 267 lines · 14 tokens per session scan A d62e9d729635

Subscribe to this mod's changes

evaluator is an agent published in the GitHub repository SeongwoongCho/adaptive-harness (8 stars, last pushed 5mo ago), licensed MIT. It adds 14 tokens to every session and 3,278 once invoked, about $0.0001 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-31.