build-machine
Installation
SKILL.md
Build an agent machine
The spec's invariants become structure, then proofs. A rule that lives in a prompt is not an invariant.
invariants → machine → scenario tests → proofs → crash/resume → inspector → hand back
Use generate-machine instead when the whole spec fits a JSON AgentWorkflowConfig: truthy guards, no counters, no spawn.
1. List the invariants
Write each spec rule as one sentence a search can falsify: "book_table never runs without a CONFIRM for its key", "at most 8 model turns". Ask the user for thresholds and caps you cannot read from the spec; decide the mechanics yourself.