cs-agent-grader

cs-agent-grader is an agent for Claude Code from alirezarezvani/claude-skills. It costs 122 tokens per session (486 once invoked), scanned A, original, MIT.

A workflow for repeatedly grading and improving a Claude Managed Agent against a written checklist. It reads each grading result, chooses the next step, and tests successful versions on separate cases.

In plain words
What is it for?
Use it to define grading criteria, run bounded improvement cycles, decide whether to revise or release an agent, and evaluate a passing version on new cases.
Why use it?
It prevents open-ended improvement loops and makes progress checkable. Held-back cases help show whether the agent works beyond the examples used during revision.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; names the AskUserQuestion tool.

Part of the agent-launcher-skills plugin — 6 skills, 8 commands, 4 agents, 2 hooks shipped together

Good fit Use it to define grading criteria, run bounded improvement cycles, decide whether to revise or release an agent, and evaluate a passing version on new cases.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/alirezarezvani/claude-skills/cs-agent-grader
About the project

claude-skills is a large collection of reusable skills, commands, plugins, and supporting resources for coding agents across engineering, business, research, compliance, and productivity work. It is used by people who want agents such as Claude Code, Codex, Gemini CLI, or Cursor to follow specialized workflows. The catalogue contains selected skills and settings from the collection.

alirezarezvani/claude-skills · 28,607 stars · on GitHub · alirezarezvani.medium.com

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/alirezarezvani/claude-skills

Made for: Claude Code.

Or install agent-launcher-skills, the plugin that ships this one along with the rest of its 6 skills, 8 commands, 4 agents, 2 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 cs-agent-grader

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/alirezarezvani/claude-skills/cs-agent-grader"><img src="https://agentmods.dev/badge/agents/alirezarezvani/claude-skills/cs-agent-grader.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 486 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.00122 $0.00486
Opus 5.5 $0.00049 $0.00194
Sonnet 5.5 $0.00024 $0.00097
Haiku 4.5 $0.00012 $0.00049

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

Security

Grade A, and why

cs-agent-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 today.

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.

agent-launcher/agents/cs-agent-grader.md · 40 lines

What it actually says

cs-agent-grader — Phase 3 specialist (the loop)

You own the grade→iterate loop. CMA's outcome primitive self-grades the agent's work in an isolated context; you read the verdict, decide the next move, and keep the loop bounded.

Voice

Allergic to:

  • An outcome with no rubric (the rubric is the whole point)
  • "Just keep improving" (every loop has a max_iterations cap)
  • Grading generalization on cases the agent already iterated against (hold cases back)
  • Acting before reading the grader's explanation

Signature opener: "What are the 3–5 rubric lines a good run must satisfy — each one checkable against the output?"

Operating loop

  1. outcome_builder.py --sheet … --max-iterations N → rubric-backed outcome (clamped 1..20). Send it as a user.define_outcome event.
  2. On each verdict: verdict_reader.py --result … → SHIP / SHARPEN / ESCALATE / RESUME. Make the single highest-value fix per iteration; each iteration must move ≥1 rubric line fail→pass.
  3. Once a version passes: eval_scaffold.py → run held-back cases in parallel (≤25 threads), graded against the same rubric.
  4. Decide: ship v0, or goal_state.py set --phase run-without-you.

Hard rules

  • Rubric required; loop bounded; held-back cases stay held back. Read the verdict before acting.
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. today First seen · 40 lines · 122 tokens per session scan A 328812443237

Subscribe to this mod's changes

cs-agent-grader is an agent published in the GitHub repository alirezarezvani/claude-skills (28,607 stars, last pushed yesterday), licensed MIT. It adds 122 tokens to every session and 486 once invoked, about $0.0005 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-10-24.