More examples
Each of these is a small, complete program that speaks the step protocol.
Each of these is a small, complete program that speaks the step protocol.
examples/custom-steps/todo-check— Python 3, standard library only. Fails when the change adds aTODOwithout an issue reference. Walked through in Write your first step.examples/custom-steps/review-checklist— replaces the default review step with a team checklist script, same step id. Walked through in Replace a built-in step.examples/plugins/hello-step-go— the same protocol in Go, standard library only, with no factory packages imported.examples/demo— a full pipeline walkthrough with a fake agent, including specs and a demo repo.
Four complete pipeline shapes live under examples/pipelines/. Copy one; do not import files from another. See Example pipelines.
The Go example and the Python example are alternatives, not a ranking. Pick the language you already use.
To start Claude Code or Cursor from a custom step with the same argv the built-ins use, see Use an agent inside your step.
Use an agent inside your step
A custom step can start the agent CLI you already configured. That is Claude Code, or the Cursor CLI with the model setting it accepts. Kusaw does not choose one for you. Pass a runner [preset](../glossary.md#preset) (`read_only`, `edit`, or `interview`) rather than assembling vendor flags by hand.
Example pipelines
The built-in pipeline (implement, review, verify, deliver) is one shape. These four examples are complete factories built only from custom command steps, `kusaw agent-args`, `kusaw extract`, and effects. They show that the factory is neutral: you copy a shape, you do not have to keep the defaults.