Skip to content
davidpp.com

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.

Alex’s terminal: kabane

From one run to every weekday

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.

Alex’s terminal: myapp

Background work you can still reach

  • A recipe is one file

    .kabane/recipes/<name>.md says 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 job skill turns “triage the inbox every weekday at 9” into one kabane job add, then reads it back with when it fires next.

  • Fire only when there’s work

    A job’s --check runs 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.onAttention runs 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 read prints the run’s screen. kabane runs attach hands you its terminal, and ctrl+\ 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.

Release
curl -fsSL https://github.com/davidpp/kabane/releases/download/v2.0.0-beta.3/install.sh | sh -s -- --version 2.0.0-beta.3

macOS and Linux. kabane update takes the next beta.

  1. Install kabane.
  2. Tick jobs on the first-run setup screen, or run kabane config set extensions jobs --layer global, naming every extension you want on.
  3. Put hc (herdr core) on your PATH: runs start in its terminals.
  4. Write .kabane/recipes/<name>.md, then kabane run <name>. kabane job add offers to install the tick when nothing runs it yet.
Read about recipes and jobs