What problem does it solve?
Coordinating multi-step, parameterized, or fan-out jobs across AI coding agents is error-prone when done ad hoc. This Skill guides you through authoring deterministic, resumable Python workflow scripts for CLI Agent Orchestrator (CAO), with a mandatory validation gate and explicit user approval before any run.
Core Features & Use Cases
- Workflow Authoring: Write Python scripts using the
cao_workflow package (step, run_step, get_inputs, emit_output) that fan work out across agents with stable step IDs and declared recovery policies.
- Mandatory Validation: Run
cao workflow validate to catch banned imports, nondeterministic constructs, and missing recovery policies before execution.
- Resume & Halt Handling: Resume interrupted runs with
cao workflow resume, resolve halted steps via --decide, and avoid replay divergence through deterministic script design.
- Use Case: Summarize every file in a directory concurrently — author a parameterized fan-out script with a
ThreadPoolExecutor, validate it, get user approval, then run it with a pre-announced run-id.
Quick Start
Ask the AI to author a CAO workflow script that summarizes each file in a target directory, validate it with cao workflow validate, and wait for approval before running.