Eval workflow

From jmagly/aiwg · View interactive version

Eval workflow is an AI agent skill from the GitHub repository jmagly/aiwg. Run evaluation tests against a multi-agent workflow to assess orchestration quality and failure archetype resistance

How to use this skill

Skill file

Workflow Evaluation

Run automated evaluation tests against a multi-agent workflow.

Research Foundation

Usage

/eval-workflow flow-security-review-cycle
/eval-workflow flow-inception-to-elaboration --scenario distractor-test
/eval-workflow flow-deploy-to-production --verbose --strict

Arguments

| Argument | Required | Description |

|----------|----------|-------------|

| workflow-name | Yes | Workflow (flow command) to evaluate |

Options

| Option | Default | Description |

|--------|---------|-------------|

| --scenario | all | Specific scenario to run |

| --verbose | false | Show detailed test output |

| --output | stdout | Output file for results |

| --strict | false | Fail on any test failure |

| --timeout | 300 | Maximum seconds per scenario |

What Gets Evaluated

Orchestration Quality

Archetype Resistance

Output Validation

Process

  1. Load Workflow: Read flow command definition
  2. Select Scenarios: Based on --scenario flag or all applicable
  3. Setup Workspace: Create isolated .aiwg/working/ test space
  4. Execute Flow: Run workflow against each scenario
  5. Validate Outputs: Check artifact presence, structure, and content
  6. Generate Report: Output results with pass/fail per assertion
  7. Cleanup: Remove test workspace

Output Format

{
  "workflow": "flow-security-review-cycle",
  "timestamp": "2026-04-01T10:30:00Z",
  "scenarios": {
    "grounding-test": {
      "passed": true,
      "score": 1.0,
      "assertions": [
        {"name": "threat-model-created", "passed": true},
        {"name": "security-gate-run", "passed": true}
      ],
      "duration_ms": 45000
    },
    "distractor-test": {
      "passed": false,
      "score": 0.7,
      "assertions": [
        {"name": "correct-assets-only", "passed": false, "evidence": "Distractor file referenced in output"}
      ],
      "duration_ms": 38000
    }
  },
  "summary": {
    "passed": 4,
    "failed": 1,
    "total": 5,
    "score": 0.80
  }
}

Examples

# Full evaluation of a workflow
/eval-workflow flow-security-review-cycle

# Single scenario with verbose output
/eval-workflow flow-inception-to-elaboration --scenario grounding-test --verbose

# Strict mode with output saved
/eval-workflow flow-deploy-to-production --strict --output .aiwg/reports/deploy-eval.json

Success Criteria

| Metric | Target |

|--------|--------|

| Artifact creation | 100% |

| Grounding compliance | >90% |

| Distractor resistance | >80% |

| Recovery success | ≥80% |

| Overall | ≥85% |

Related Commands

Evaluate workflow: $ARGUMENTS

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.