[{"name":"adb-run-workflow.py","purpose":"Execute TOON YAML workflow with phase-based coordination","type":"python","command":"uv run .claude/skills/adb-workflow-orchestrator/scripts/adb-run-workflow.py","zero_context":true,"version":"1.0.0","last_updated":"2025-12-01T00:00:00.000Z"}]
color
magenta
Quick Reference (30 seconds)
Workflow Orchestration for ADB Automation
What It Does: Parses and executes TOON YAML workflow files that coordinate multiple ADB scripts across phases with error recovery, verification, and state management.
phases:-id:phase1_initname:"Initialization"steps:# Steps execute sequentially-id:captureaction:adb-screen-capture-id:phase2_interactname:"User Interaction"steps:# Each phase waits for previous to complete-id:tap_buttonaction:adb-tapparams:x:100y:200-id:phase3_verifyname:"Verification"steps:-id:check_resultaction:adb-wait-forparams:method:texttarget:"Success"
Error Recovery
recovery:# Retry on phase error-on_error:phase2_interactaction:retrymax_attempts:3delay:1# Fallback action-on_error:step_tapaction:adb-swipeparams:direction:updistance:300then:retry# Custom recovery script-on_error:phase3_verifyaction:adb-screenshot-capture# Run scriptthen:continue
Scripts
adb-run-workflow.py
Execute TOON YAML workflow file.
# Basic execution
uv run adb-run-workflow.py --workflow magisk-setup.toon
# With parameters override
uv run adb-run-workflow.py --workflow magisk-setup.toon \
--param device_id=192.168.1.100:5555 \
--param timeout=15
# Dry run (show what would execute)
uv run adb-run-workflow.py --workflow magisk-setup.toon --dry-run
# With detailed logging
uv run adb-run-workflow.py --workflow magisk-setup.toon --verbose
# JSON output for integration
uv run adb-run-workflow.py --workflow magisk-setup.toon --json
This skill includes TOON-based workflow definitions for automation.
What is TOON?
TOON (Task-Oriented Orchestration Notation) is a structured workflow definition language that pairs with Markdown documentation. Each workflow consists of:
[name].toon - Orchestration logic and execution steps
[name].md - Complete documentation and usage guide
This TOON+MD pairing approach is inspired by the BMAD METHOD pattern, adapted to use TOON instead of YAML for better orchestration support.
Available Workflows
Workflow files are located in workflow/ directory: