Grade Iterate
When to use
Use this skill for grade iterate when you need to improve an agent using a bounded evaluation loop. The expected result is an evaluation record with the next decision.
Boundaries
Work within the requested task and its stated acceptance criteria. Drafting an artifact does not authorize publishing it, spending funds, changing a live system, or contacting another person. Identify any such action separately before taking it.
Inputs
Inspect a fixed evaluation set, rubric, baseline results, and failure examples. Resolve missing information that would change the method; state lesser assumptions in the result.
Method
- Diagnose. Draw the path from user request to tool call to external effect. List the account owner, tool permissions, data stores, rate limits, and actions that cannot be undone.
- Decide. Change one behavior at a time and compare it with the baseline.
- Produce. Build an evaluation record with the next decision from the inspected material; keep assumptions distinguishable from observed facts.
Decision rules
- Gate launch on a bounded task, a measurable success condition, an explicit stop rule, and a fallback for missing context or tool failure. Keep the first run supervised.
- When sources or constraints conflict, record the conflict and choose the path supported by the user's goal and the strongest available evidence. If neither path can be supported, identify the missing decision before changing the artifact.
Domain rules
- Set tool permissions, spending limits, and a human-owned stop condition before launch.
- Evaluate a complete task and a failed run before allowing recurring execution.
Verification
Stop when the target passes or the iteration limit is reached. Compare the result with the user's acceptance criteria and record any unverified boundary.
Record an example task, the agent trace, expected result, actual result, cost, and the human decision required before recurring execution.
Approval and stop conditions
- Before recurring or external actions, identify the owner, tool permissions, spending limit, approval gate, and disable path.
- Stop when the agent cannot determine whether an action succeeded, reaches its retry or budget limit, or would exceed an agreed boundary.
- Pilot with human review before scheduling unattended execution. Report unresolved failures and who can disable the workflow.
Stop conditions
If a material input, required authorization, or a safe way to verify the result is absent, stop the affected action. Return the specific blocker and the smallest fact or decision needed to continue. Do not report an unrun check as passed.
Output
Provide an evaluation record with the next decision. Include the decisive evidence and actual verification result. Name any artifact location and unresolved issue that affects its use.