name: agent-workflow-evaluator description: Use when testing whether an AI-agent skill, prompt workflow, or tool-using procedure works on realistic inputs, edge cases, and failure paths before it is used in production.
Agent Workflow Evaluator
Goal
Evaluate whether an agent workflow is reliable enough for real use. Focus on observable behavior: inputs, tool calls, outputs, failures, and recovery.
Evaluation Inputs
- skill or workflow instructions
- representative user prompts
- expected outputs or acceptance criteria
- failure cases and edge cases
- logs, traces, diffs, or artifacts from previous runs
Workflow
- Define the task surface.
- What should trigger the workflow?
- What should not trigger it?
- Which tools or files may it use?
- Build test prompts.
- Include normal cases, incomplete inputs, adversarial phrasing, and noisy data.
- Include at least one case where the correct answer is to ask for clarification.
- Run and inspect.
- Capture final output and important intermediate artifacts.
- Check whether the workflow used the right tools at the right time.
- Classify failures.
- Trigger failure
- missing context
- bad tool sequence
- weak validation
- overconfident output
- privacy or data-leak risk
- Patch the workflow.
- Tighten instructions only where the failure was observed.
- Prefer concrete checks over broad warnings.
Scoring
Use a simple score for every test case:
pass: output meets acceptance criteriawarn: useful output with reviewable uncertaintyfail: incorrect, unsafe, incomplete, or unverifiable output
Validation Rules
- Do not use hidden knowledge from the evaluator when judging the workflow.
- Prefer raw artifacts over summaries.
- Do not add broad instruction bloat to fix narrow failures.
- A workflow is not production-ready until it handles failure paths predictably.