claude-skills/agent-launcher/skills/grade-iterate
Claude 86beb8f4bf
fix(agent-launcher): resolve gate-G1 phantom-path findings in the 6 SKILL.md files
check_paths.py resolves path tokens against the sub-skill root, the file's own
directory, or the repo root — the SKILL.md bash examples used plugin-root-relative
paths (skills/<skill>/scripts/x.py) that none of those bases resolve, and shared-
reference link texts (references/x.md) only resolved from the domain root. Bash
examples now use skill-dir-relative scripts/x.py; reference links use explicit
../../references/x.md. 617 files scanned, 0 findings; all other blocking gates
(G3/G4/G7/G8/G10, plugin.json, skill names) verified green locally.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012FwXG6TqCXKZQvF4iD69cv
2026-08-24 17:29:25 +00:00
..
scripts feat(agent-launcher): new domain plugin for building Claude Managed Agents 2026-08-17 02:39:34 +00:00
README.md docs(agent-launcher): post-merge follow-up — changelog entry, plugin audit fixes, ClawHub publish plan 2026-08-24 17:26:12 +00:00
SKILL.md fix(agent-launcher): resolve gate-G1 phantom-path findings in the 6 SKILL.md files 2026-08-24 17:29:25 +00:00

grade-iterate (Phase 3 — the bounded loop)

CMA's outcome primitive self-grades the agent's work against a required rubric; this skill builds the outcome, reads each verdict, and scaffolds held-back eval. Loops are always bounded by max_iterations (1..20).

Usage

python3 scripts/outcome_builder.py --sheet ./my-agent/build-sheet.json \
  --max-iterations 5 --out ./my-agent/payloads/outcome.json
python3 scripts/verdict_reader.py --result ./my-agent/last-verdict.json
python3 scripts/eval_scaffold.py --sheet ./my-agent/build-sheet.json --out ./my-agent/eval.json

Tools

Tool Purpose
outcome_builder.py user.define_outcome payload (rubric required, cap clamped 1..20)
verdict_reader.py grader result → next move (SHIP / SHARPEN / ESCALATE / RESUME)
eval_scaffold.py held-back cases + parallel run plan (≤25 threads)

Loop discipline: ../../references/loops-and-workflows.md.