Grade iterate
For a launched managed agent needs grading against a rubric and improving ('grade my agent', 'is it good enough').
In detail
Use when a launched managed agent needs grading against a rubric and improving ('grade my agent', 'is it good enough'). Builds the outcome with outcome_builder.py, reads verdicts with verdict_reader.py and runs held-back evals from eval_scaffold.py.
Safety check
- Not rated by Claude yet. We only sell skills Claude has read and rated 7 out of 10 or higher, so this one is a free link to its author.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: grade-iterate
description: "Use when a launched managed agent needs grading against a rubric and improving ('grade my agent', 'is it good enough'). Builds the outcome with outcome_builder.py, reads verdicts with verdict_reader.py and runs held-back evals from eval_scaffold.py."
license: MIT
metadata:
version: 2.11.2
author: Alireza Rezvani
tags: [cma, outcome, rubric, grader, grade-iterate, loop, max-iterations, eval, held-back]
compatible_tools: [claude-code, codex-cli, cursor, antigravity, opencode, gemini-cli]
---
# Phase 3 — Grade → Iterate (the bounded loop)
This is the plugin's **loop**: CMA's `outcome` primitive self-grades the agent's
work in an isolated context and feeds failing verdicts back for the next attempt.
It is **always bounded** by `max_iterations` (1..20) — never "improve forever".
See [`../../references/loops-and-workflows.md`](../../references/loops-and-workflows.md)
and the outcome section of
[`../../references/cma-primitives.md`](../../references/cma-primitives.md).
## Workflow
1. **Define the outcome.**
```bash
python3 scripts/outcome_builder.py \
--sheet ./my-agent/build-sheet.json --max-iterations 5 \
--out ./my-agent/payloads/outcome.json
```
The **rubric is required**; `max_iterations` is clamped to 1..20. Send the
payload as a `user.define_outcome` event (append to the running session).
2. **Read every verdict first.**
```bash
python3 scripts/verdict_reader.py --result ./my-agent/last-verdict.json
```
Tables the rubric outcome and recommends: **SHIP** (`satisfied`), **SHARPEN**
then re-run (`needs_revision`), **ESCALATE** (`max_iterations_reached` /
`failed`), **RESUME** (`interrupted`). With ≤1 iteration left it flips to
"make the single highest-value fix or escalate now".
3. **Loop invariant.** Each iteration must move ≥1 rubric line fail→pass, or the
...From alirezarezvani's repository, MIT licence.
Related skills
-
Checked
Worksheet designer
Designs worksheets and workbooks that teach, with steady difficulty, clear instructions and solid answer keys.
8/101 credit -
Checked
Test question writer
Writes and reviews test questions that measure real learning, with wrong options that reveal student gaps.
8/101 credit -
Checked
Explain like I'm 14
Explains any topic the way a good teacher would to a sharp 14 year old, so tricky ideas finally make sense.
8/101 credit -
Checked
Beamer LaTeX slides
Creates, compiles and polishes Beamer LaTeX decks for lectures and talks, so academic slides look clean.
7/101 credit