Workflows: your named ways of working
8 min read
You have explained the same thing to agents more than once. Always branch before you change anything; never call it done until the tests pass; tell me once at the end rather than four times along the way. Written into a prompt, that guidance lasts one session. Written into a workflow, every agent on every machine reads it from then on.
About fifteen minutes. You need a Gateway and the DevThrottle command line, which installs with the product.
See what your fleet already works by
The catalogcc-devthrottle workflow listThree come built in - mission, standalone and standalone-with-review. They are not examples; they are in force right now, and your agents are already being briefed with them.
Read one properly
What an agent actually receivescc-devthrottle workflow instructions standaloneRead the output before writing anything of your own. Notice how short it is, and that it is guidance rather than a script - a few hard rules, stated plainly. That is the shape you are aiming for. A workflow nobody can hold in their head is one agents will follow unevenly.
Start from one that already works
Do not start from an empty file. Pull an existing workflow into a directory and edit it:
Pull it downcc-devthrottle workflow pull standalone ./my-workflowYou get the workflow's definition, its instructions in markdown, and any helper files. The markdown is the part that matters - it is what your agents read.
Write the rules you keep repeating
Edit the instructions. Write the handful of things you find yourself saying over and over, and say why for each - an agent that understands the reason applies a rule sensibly in a case you did not foresee, and one that only has the rule will not.
Give it a name of its own in the definition so it does not overwrite the built-in you started from.
Push it as a draft, then publish
Draft first, then livecc-devthrottle workflow push ./my-workflow cc-devthrottle workflow publish <your-workflow-id>Pushing creates a draft and changes nothing about how your fleet behaves. Publishing is the moment it takes effect - and it takes effect everywhere at once, with nothing to deploy and no restart.
Check it landed
Open Workflows in the Cockpit. Yours is in the list, marked in force, with its version and the date it changed. Any session started from now on is briefed with it.
Next
For the full command surface - turning a workflow off without deleting it, resetting a built-in, and reading past runs - see Workflows. If your workflow describes work split across several agents, see Roles: who plans, who manages, who builds.