Skip to content

ctrlyoke

The standalone CLI currently exposes two commands:

text
ctrlyoke run [file]
ctrlyoke validate <file>

ctrlyoke run

Run a prompt or workflow file:

bash
ctrlyoke run my-workflow.ctrlyoke.yaml

Important options

OptionMeaning
-H, --harness <harness>Harness override
-m, --model <model>Model override
-d, --cwd <path>Working directory
-t, --timeout <seconds>Overall prompt timeout
--script-timeout <seconds>End-condition script timeout
--headlessForce headless mode
--interactiveForce interactive mode
--allow-tool <pattern>Allow tool pattern
--deny-tool <pattern>Deny tool pattern
--allow-all-toolsDangerously allow all tools
--add-dir <path>Add an allowed directory
--var key=valueSet a substitution variable
-p, --prompt <text>Inline prompt instead of a file
--resume <session-id>Resume a session
--new-sessionIgnore resume behavior and start fresh
--jsonEmit JSON output
-q, --quietOnly print errors
--verboseEnable debug output
--no-colorDisable colored output

Examples

bash
ctrlyoke run review.ctrlyoke.yaml --harness claude-cli --model sonnet
ctrlyoke run lint-fix.prompt.md --prompt "Fix the lint errors" --headless
ctrlyoke run build.ctrlyoke.json --json --quiet

ctrlyoke validate

Validate a workflow file without running it:

bash
ctrlyoke validate my-workflow.ctrlyoke.yaml

Source-available under the ctrlyoke Commercial License.