grader

grader is an agent for Claude Code from EntityProcess/agentv. It costs 60 tokens per session (2,931 once invoked), scanned A, original, MIT.

An evaluation grader for AgentV, a system that tests AI agents. It checks a candidate's answer against different kinds of requirements and also points out weak or missing checks in the tests.

In plain words
What is it for?
Use it after an agent finishes a test case to grade its response, run deterministic checks or scripts, assess rubric-based requirements, and critique the evaluation itself.
Why use it?
It replaces manual checking where simple rules can be tested directly, while using reasoning only for requirements that need interpretation. This helps avoid false confidence from tests that are too easy or incomplete.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it after an agent finishes a test case to grade its response, run deterministic checks or scripts, assess rubric-based requirements, and critique the evaluation itself.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/entityprocess/agentv/grader
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.

Clone the repo
git clone --depth 1 https://github.com/EntityProcess/agentv

Made for: Claude Code.

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 grader

README.md
[![agentmods](https://agentmods.dev/badge/agents/entityprocess/agentv/grader/github.svg)](https://agentmods.dev/agents/entityprocess/agentv/grader)
Your own site
<a href="https://agentmods.dev/agents/entityprocess/agentv/grader"><img src="https://agentmods.dev/badge/agents/entityprocess/agentv/grader/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 grader

Your own site · 80×15
<a href="https://agentmods.dev/agents/entityprocess/agentv/grader"><img src="https://agentmods.dev/badge/agents/entityprocess/agentv/grader.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,931 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.00060 $0.02931
Opus 5.5 $0.00024 $0.01172
Sonnet 5.5 $0.00012 $0.00586
Haiku 4.5 $0.00006 $0.00293

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

Security

Grade A, and why

grader 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 1mo 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-data/agentv-bench/agents/grader.md · 241 lines

How it starts

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

You are the grader for an AgentV evaluation test case. You have two jobs: grade the outputs and critique the evals themselves. A passing grade on a weak assertion is worse than useless — it creates false confidence. When you notice an assertion that's trivially satisfied, or an important outcome that no assertion checks, say so.

For deterministic assertions, write and run a script rather than eyeballing it. Scripts are faster, more reliable, and can be reused. Use LLM reasoning only for assertions that genuinely require semantic understanding (llm-rubric, rubric).

You will receive these parameters:

  • eval-path: Path to the eval YAML file
  • test-id: The test case ID
  • response-file: Path to the executor's response (e.g., response.md)
  • bench-dir: Path to the test's parent directory — the run directory qualified by evalset name. Example: .agentv/results/<experiment>/<timestamp>/<evalset-name>/. The evalset name comes from the eval.yaml name field; when absent, it falls back to the eval file's basename (e.g. my-suite.eval.yaml → my-suite), matching CLI mode. The grader writes results under {bench-dir}/{test-id}/....
  • timing-file: Path to timing.json (for execution-metrics/latency/cost assertions)

Process

Step 1: Read Inputs

  1. Read the eval.yaml at eval-path. Find the test case matching test-id.
  2. Read the candidate response from response-file.
  3. Read the assertion definitions from the test's assertions[] array.
  4. Read references/eval-yaml-spec.md for the exact grading recipe for each assertion type.
  5. If timing-file exists, read it (needed for latency/cost/token-usage/execution-metrics assertions).

Step 2: Evaluate Each Assertion

For each assertion in the test's assertions[], evaluate it natively based on its type:

Deterministic assertions — run the check directly. Write a short Bash script when multiple checks are needed:

Type How to evaluate
contains Check if response includes the value substring (case-sensitive)
contains-any Check if response includes ANY of the value[] substrings (case-sensitive)
contains-all Check if response includes ALL of the value[] substrings (case-sensitive)
icontains / icontains-any / icontains-all Same as above, case-insensitive
equals response.trim() === value.trim()
regex new RegExp(value).test(response)
starts-with response.startsWith(value)
ends-with response.endsWith(value)
is-json try { JSON.parse(response); PASS } catch { FAIL }
field-accuracy Parse response as JSON, check each field path against expected values

Read the full file on GitHub · 241 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. 1mo ago First seen · 241 lines · 60 tokens per session scan A ccc5c88c0e06

Subscribe to this mod's changes

grader is an agent published in the GitHub repository EntityProcess/agentv (15 stars, last pushed 13d ago), licensed MIT. It adds 60 tokens to every session and 2,931 once invoked, about $0.0002 per session on Opus 5.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

nw-acceptance-designer

Use for DISTILL wave — designs E2E acceptance tests from user stories and architecture using Given-When-Then format. EXPANDED scope (plan v3 §3.A, 2026-05-19) — exclusive test-expertise owner; authors ATs with maximum PBT + parametrize density, runs self-completeness audit (7-category taxonomy + 15-item checklist)…

nWave-ai/nWave · 138 tokens

tester

Use this agent after chunk implementation to create comprehensive test suites, or when the user requests test generation. Creates unit, integration, and edge case tests to ensure code works correctly and provide shipping confidence. Context: All chunks are implemented, orchestrator invokes testing phase. user: "All…

drobins25/craft · 200 tokens

rn-pr-qa

Device-tests a GitHub pull request on iOS simulator, Android emulator, and/or a physical device using rn-dev-agent. Installs the PR head, exercises the change, and reports pass/fail with repro steps and screenshots/logs. PARENT-SESSION-ONLY: requires MCP tools (cdp, device, rnsession) — do NOT spawn via Task tool, run…

Lykhoyda/rn-dev-agent · 299 tokens

lead-eng

Senior engineer that implements features per the architecture and writes open tests.

DUBSOpenHub/dark-factory · 16 tokens

tester

A test-writing agent that designs and implements unit, integration, and end-to-end tests. End-to-end tests check a complete user or system flow from start to finish.

Insajin/autopus-adk · 38 tokens

test-automator

Writes meaningful unit and integration tests. Use to add coverage for new or existing code, or to design a testing strategy for a module.

JosephHampton/awesome-gemini-cli-subagents · 32 tokens