running-flow
Installation
SKILL.md
Running a Robomotion Flow
Run a flow on a robot, watch the agent-mode event stream, react to failures. Four moving parts:
- Pre-flight —
robomotion validate <flow-dir>catches pspec/schema errors locally in <1s before you ever submit. Cheap; always do it first. - A robot — the person's own, connected on this computer (Robomotion's Desktop App, or
robomotion robot connectwhen the person agrees).robomotion get robotsshows which are connected. - Trigger —
robomotion run <flow-dir> --robot <name>builds locally, submits, and streams the event log. - Observation —
runtails the JSONL session log;robomotion logs --lastreads it again. A run is done at itsflow_end(orflow_error) event; anagent_modestart/end pair may bracket it, but do not wait for one.
A flow that starts at Robomotion.ChatAssistant.ChatIn is not run here. Nothing would send it a message; it would wait until --timeout. Test it as an Agent in the real chat page with the running-chat-assistant skill (robomotion agent).
No browser: the log is the only oracle for a flow. A flow has no screens, so nothing shows you whether it worked but the robot's events. Read them; never say a run worked without a flow_end status=success in them.
Step 1 — Validate (mandatory pre-flight)
robomotion validate <flow-dir> # exit 0 = pspec-clean, 1 = errors on stderr