Agent Skill
2/7/2026dial-run-machine
Run a DIAL state machine from the CLI. Use when executing a machine definition JSON file.
E
eloquentanalytics
0GitHub Stars
1Views
npx skills add eloquentanalytics/dialai
SKILL.md
| Name | dial-run-machine |
| Description | Run a DIAL state machine from the CLI. Use when executing a machine definition JSON file. |
name: dial-run-machine description: Run a DIAL state machine from the CLI. Use when executing a machine definition JSON file. argument-hint: "<machine.json>"
Run a DIAL State Machine
Execute a state machine definition and run it to completion.
Command
npx dialai <path-to-machine.json>
Examples
Basic execution:
npx dialai examples/code-review.json
Expected Output
Machine: code-review
Initial state: draft
Goal state: approved
Final state: approved
Session ID: a1b2c3d4-...
What Happens
- DIAL creates a session from the machine definition
- Registers all specialists defined in the machine
- Runs decision cycles (Propose, Arbitrate, Execute)
- Terminates when
goalStateis reached
Common Issues
| Problem | Solution |
|---|---|
Machine definition invalid | Validate JSON with cat machine.json | jq . |
ANTHROPIC_API_KEY not set | Export your API key: export ANTHROPIC_API_KEY=sk-... |
| Machine exits immediately | Check for deterministic specialists auto-approving |
Skills Info
Original Name:dial-run-machineAuthor:eloquentanalytics
Download