Skills for Real Engineers. Straight from my .agents directory.
grade-iterate
Agent skill fromalirezarezvani/claude-skills
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.
How to install grade-iterate
npx skills add alirezarezvani/claude-skills# or add only this skill to Claude Code: copy the folder
agent-launcher/skills/grade-iterate/
# into
~/.claude/skills/grade-iterate/ (all projects)
.claude/skills/grade-iterate/ (one project)
1# Phase 3 — Grade → Iterate (the bounded loop)23This is the plugin's **loop**: CMA's `outcome` primitive self-grades the agent's4work in an isolated context and feeds failing verdicts back for the next attempt.5It is **always bounded** by `max_iterations` (1..20) — never "improve forever".67See [`../../references/loops-and-workflows.md`](../../references/loops-and-workflows.md)8and the outcome section of9[`../../references/cma-primitives.md`](../../references/cma-primitives.md).1011## Workflow12131. **Define the outcome.**14 ```bash15 python3 scripts/outcome_builder.py \16 --sheet ./my-agent/build-sheet.json --max-iterations 5 \17 --out ./my-agent/payloads/outcome.json18 ```19 The **rubric is required**; `max_iterations` is clamped to 1..20. Send the20 payload as a `user.define_outcome` event (append to the running session).212. **Read every verdict first.**22 ```bash23 python3 scripts/verdict_reader.py --result ./my-agent/last-verdict.json24 ```25 Tables the rubric outcome and recommends: **SHIP** (`satisfied`), **SHARPEN**26 then re-run (`needs_revision`), **ESCALATE** (`max_iterations_reached` /27 `failed`), **RESUME** (`interrupted`). With ≤1 iteration left it flips to28 "make the single highest-value fix or escalate now".293. **Loop invariant.** Each iteration must move ≥1 rubric line fail→pass, or the30 run halts at the cap and escalates. Don't burn the budget on cosmetic edits.314. **Once a version passes, run held-back eval.**32 ```bash33…
Excerpt shown under the repository's MIT license.
More skills in claude-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
