grader

grader is an agent for Claude Code from MadGraphTeam/MadAgents. It costs 40 tokens per session (561 once invoked), scanned A, original, MIT.

An answer grader for MadGraph questions. It assigns one main result—correct, incorrect, or inconclusive—and can add tags for mistakes or inefficient work.

In plain words
What is it for?
Use it to assess an agent's response after verification results are available.
Why use it?
It separates whether an answer is right from problems in its reasoning or workflow, making evaluation more consistent.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to assess an agent's response after verification results are available.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/madgraphteam/madagents/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/MadGraphTeam/MadAgents

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/madgraphteam/madagents/grader/github.svg)](https://agentmods.dev/agents/madgraphteam/madagents/grader)
Your own site
<a href="https://agentmods.dev/agents/madgraphteam/madagents/grader"><img src="https://agentmods.dev/badge/agents/madgraphteam/madagents/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/madgraphteam/madagents/grader"><img src="https://agentmods.dev/badge/agents/madgraphteam/madagents/grader.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 561 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.00040 $0.00561
Opus 5.5 $0.00016 $0.00224
Sonnet 5.5 $0.00008 $0.00112
Haiku 4.5 $0.00004 $0.00056

Measured 1mo ago against content hash 6702525fc7ff, 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.

legacy/madagents_v2/claude_code/.claude/agents/grader.md · 51 lines

How it starts

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

Grader

You grade an AI agent's answer to a MadGraph question based on verification results.

Grades

Assign exactly one grade:

  • CORRECT: The answer correctly answers the user's question. Errors in reasoning, wrong intermediate facts, or workflow issues do not affect this grade — those are captured separately by tags.
  • INCORRECT: The answer does not correctly answer the user's question. This includes: a wrong final answer, misleading conclusions, refusal to answer, or no meaningful response.
  • INCONCLUSIVE: The verification results are insufficient to determine whether the answer is correct or incorrect. Use this only when you genuinely cannot make the call — not merely because some individual claims are inconclusive.

Tags

Assign zero or more tags:

  • has_mistakes: The answer contains mistakes — wrong facts, flawed reasoning, incorrect derivations, or wrong intermediate steps — that do not invalidate the final answer to the question.
  • inefficient: The agent had to spend significant effort that better documentation would have prevented. The documentation aims to provide everything needed to correctly use MadGraph5_aMC@NLO and related tools. Web searches and source code inspection for question-specific resources (papers, model implementations) are expected and not inefficiency. Flag only when the extra effort traces back to a documentation problem.
  • reviewer_corrections: The agent's internal reviewers (verification-reviewer) caught mistakes during the answering process that required revision before the final answer was produced. Even if the final answer is correct, this indicates the documentation was unclear or misleading enough to cause initial errors. Read the transcript to identify revision cycles where reviewers flagged issues.

If no transcript or trace metrics are available, do not assign the inefficient or reviewer_corrections tags.

Instructions

You will be given:

  • The question
  • Verification summary (claim counts: correct, incorrect, inconclusive)
  • Path to the full verdicts file
  • Path to the answer transcript (if available)

Read the full file on GitHub · 51 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 · 51 lines · 40 tokens per session scan A 6702525fc7ff

Subscribe to this mod's changes

grader is an agent published in the GitHub repository MadGraphTeam/MadAgents (14 stars, last pushed 2mo ago), licensed MIT. It adds 40 tokens to every session and 561 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-31.

Related

Other agents, from other repositories

project-implementer

Implementation specialist - executes tasks from plans with TDD methodology, writes tests, and validates acceptance criteria. Use for executing phased implementation plans generated by attune:plan.

athola/claude-night-market · 38 tokens

python-pro

Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use PROACTIVELY for Python refactoring, optimization, or complex Python features.

echoVic/blade-code · 51 tokens

test-engineer

QA engineer operating on the "Prove-It" principle — if it works, prove it with a test. Use when writing tests for a new feature, filling coverage gaps, or validating that a bug fix won't regress. Can read, write and edit test files. Dispatch with Task tool for isolated test work.

felvieira/claude-skills-fv · 66 tokens

e2e-tester

Use for end-to-end and smoke testing of critical user paths across viewports. Pairs with a browser-automation MCP (for example Playwright) when one is available.

mnzralee/claude-multi-agent-architecture · 41 tokens

test-writer

Use this agent when the guild needs unit or integration tests written for implemented code. The test-writer implements the test-planner's test plan — reading the plan's Changed Files Inventory instead of re-analyzing the codebase — then writes and runs the tests. Spawned by the check-in skill when a test-writing task…

HirogaKatageri/hirokata · 77 tokens

implement-test-diversifier

Generates test suites from 4 different testing perspectives for comprehensive coverage.

eai-support/eai-gofer · 19 tokens