kabane jobsextension
Agent work that starts without you.
Write a procedure once, as a recipe in your project. kabane run starts an agent on it in a background terminal, kabane job starts it every weekday at 9, and the board tells you when a run is waiting on you.
kabane run lists the project’s recipes. Name one and an issue, and Claude Code starts on JMYA-5 in an hc terminal. You get your prompt back at once.
Background work you can still reach
A recipe is one file
.kabane/recipes/<name>.mdsays what the run works on, its inputs and which skill it uses. A small one carries its own prompt, with{{inputs.depth}}filled in.The agent knows nobody’s watching
Each run opens with its id, that it runs in the background, where to file a decision for you and where its result goes.
Ask for a job in plain words
The
jobskill turns “triage the inbox every weekday at 9” into onekabane job add, then reads it back with when it fires next.Fire only when there’s work
A job’s
--checkruns first. When it exits nonzero, the tick starts nothing and says why, so an empty inbox costs no session.Hear when a run needs you
jobs.onAttentionruns your command when a job’s run starts waiting on you, and again when it finishes, with the attach command in$KABANE_ATTACH.Take the terminal over
kabane runs readprints the run’s screen.kabane runs attachhands you its terminal, andctrl+\gives it back.
Every command on one sheet
kabane runs finds a run from any folder by the last few characters of its id.
kabane run
- run
- the recipes here, their skill or prompt, harness and inputs
- run <recipe> --target <id>
- start it on an issue
- --input k=v
- one input; --inputs takes JSON
- --harness codex,exec
- the command it starts, for this run
kabane runs
- runs
- this project’s runs in flight
- --all --ended
- every project’s, ended ones too
- read <id>
- print the terminal’s screen
- send <id> <text>
- type an answer and press enter
- attach <id>
- take the terminal over
- stop <id>
- end its program
kabane job
- add <recipe>
- --title, --schedule, --request
- edit <id>
- change only the fields you give
- list show <id>
- the jobs, then one with its runs
- pause resume <id>
- stop firing, start again
- run <id>
- fire it now
- tick
- fire what’s due; launchd or cron calls it
job options
- --session keep
- one conversation across fires
- --check '<shell>'
- fire only when it exits 0
- --project <dir>
- add it from any folder
- --harness claude,--model,opus
- this job’s own command
Start your first run
Jobs ship with kabane, off until you turn them on.
curl -fsSL https://github.com/davidpp/kabane/releases/download/v2.0.0-beta.3/install.sh | sh -s -- --version 2.0.0-beta.3macOS and Linux. kabane update takes the next beta.
- Install kabane.
- Tick jobs on the first-run setup screen, or run
kabane config set extensions jobs --layer global, naming every extension you want on. - Put
hc(herdr core) on yourPATH: runs start in its terminals. - Write
.kabane/recipes/<name>.md, thenkabane run <name>.kabane job addoffers to install the tick when nothing runs it yet.