agent-launcher-orchest…
Use when a user wants to build, launch, grade, or schedule a Claude Managed Agent (CMA) in their own Anthropic account — "build me an agent", "launch this as a…
Phase 3 of building a Claude Managed Agent — the bounded grade→iterate loop. Define a CMA outcome (a required markdown rubric graded by an isolated grader), read each verdict, decide the next move (sharpen / re-run / promote to schedule), and once a version passes, run held-back
$ npx -y skills add alirezarezvani/claude-skills --skill grade-iterate --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/grade-iterateContext preview
The summary Claude sees to decide when to auto-load this skill.
Phase 3 of building a Claude Managed Agent — the bounded grade→iterate loop. Define a CMA outcome (a required markdown rubric graded by an isolated grader), read each verdict, decide the next move (sharpen / re-run / promote to schedule), and once a version passes, run held-back
name: grade-iterate description: Phase 3 of building a Claude Managed Agent — the bounded grade→iterate loop. Define a CMA outcome (a required markdown rubric graded by an isolated grader), read each verdict, decide the next move (sharpen / re-run / promote to schedule), and once a version passes, run held-back eval cases in parallel. Use when the user says "grade my agent", "make it pass the rubric", "iterate until it's good", "is it good enough", or when the orchestrator routes phase=grade-iterate. outcome_builder.py builds the user.define_outcome payload (rubric required, max_iterations clamped 1..20 — never unbounded); verdict_reader.py reads the grader result and recommends the next move; eval_scaffold.py generates held-back cases + a parallel run plan (capped at the 25-thread CMA ceiling). Distinct from stage-launch (first launch) and run-without-you (scheduling). version: 2.11.2 author: Alireza Rezvani license: MIT tags: [cma, outcome, rubric, grader, grade-iterate, loop, max-iterations, eval, held-back] compatible_tools: [claude-code, codex-cli, cursor, antigravity, opencode, gemini-cli]
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).
1. **Define the outcome.**
python3 scripts/outcome_builder.py \
--sheet ./my-agent/build-sheet.json --max-iterations 5 \
--out ./my-agent/payloads/outcome.jsonThe **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.**
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 run halts at the cap and escalates. Don't burn the budget on cosmetic edits. 4. **Once a version passes, run held-back eval.**
python3 scripts/eval_scaffold.py \
--sheet ./my-agent/build-sheet.json --out ./my-agent/eval.json --concurrency 5Held-back cases (never seen during iteration) run in parallel, capped at the 25-thread CMA ceiling, each graded against the same rubric. 5. **Decide.** SHIP as v0, or promote to a scheduled deployment (Phase 4). Record the verdict on the goal: `goal_state.py set --phase run-without-you`.
already iterated against.
1. "What are the 3–5 rubric lines?" *Recommend:* grounded, checkable criteria. *Cite:* cma-primitives.md (rubric required). 2. "How many iterations before you'd rather look yourself?" *Recommend:* 3–5. *Cite:* loops-and-workflows.md (bounded loop). 3. "On a fail, sharpen the prompt or the tools?" *Recommend:* whichever rubric line failed points to. *Cite:* verdict_reader next-move table. 4. "Which cases did the agent NOT see?" *Recommend:* hold back ≥3 for generalization. *Cite:* this SKILL (held-back eval).
388 production-ready Claude Code skills, plugins, and agent skills for 13 AI coding tools. The most comprehensive open-source library of Claude Code skills and agent plugins — also works with OpenAI Codex, Gemini CLI, Cursor, and 9 more coding agents.
Repo: alirezarezvani/claude-skills
Use when a user wants to build, launch, grade, or schedule a Claude Managed Agent (CMA) in their own Anthropic account — "build me an agent", "launch this as a…
Phase 1 of building a Claude Managed Agent — interview the founder about the one job the agent should do, then produce a build sheet (CMA primitives table +…
Phase 4 of building a Claude Managed Agent — make it run without you. Turn a graded agent into a recurring scheduled deployment (POSIX-cron), an event-driven…
Phase 2 of building a Claude Managed Agent — turn a validated build sheet into exact API payloads and a resumable BYOK curl launch script, then launch…
Close out a launched Claude Managed Agent — recap every primitive the founder now owns, regenerate the single-file overview page, and suggest the next 1-2…
Router/index for the 4 business & growth skills bundled in this plugin: customer-success-manager (health scoring, churn risk, expansion), sales-engineer (RFP…