Jobs
A Job is a script and when to run it: one TOML file in ~/.config/boiler-room/jobs/, named for the Job
(aws-case-1234.toml is the Job aws-case-1234). Boiler Room reads the folder as it changes, so a file you save,
pull with git or have an agent write is picked up at once. A file it can't read shows in the window with the reason.
A Job file #
name = "AWS case 1234" # shown in the window; the file's name if not
run = "~/bin/check-case 1234" # a line for your login shell, or a list; or `script`, below
every = "3h" # or cron = "0 9 * * mon-fri"
jitter = "5m" # spread it out by up to this
timeout = "2m" # 10 minutes if not given
notify = "on-change" # never, on-failure, on-change or always
loud = true # also an alert in Slaps
env.AWS_PROFILE = "work"
env.GITHUB_TOKEN = "op://Work/GitHub/token" # from 1Password
op_environment = "blgexucrwfr2dtsxe2q4uu7dp4" # a 1Password Environment
secrets = ["aws-support-token"] # from the Keychain
cwd = "~/src/project" # the home folder if not given
shell = "/bin/sh" # what reads `run`
host = "pty" # where it runs: see Terminals
A new Job runs at once, then on its schedule. A Mac asleep runs nothing; at wake, a Job that missed its time runs once, not once for each time it missed.

Pause a Job, or start it again, with its switch in the window's list (or ⌘P). Change its schedule from the window
(⇧⌘S, or click the schedule under its name), with boiler-room schedule aws-case-1234 "0 9 * * mon-fri", or in its
file. The window and the command line change only that line and keep your comments.
Archive a Job you're finished with instead of deleting its file: Job ▸ Archive or Unarchive, or
boiler-room archive aws-case-1234 (and unarchive). It writes archived = true into the Job's file, keeping your
comments, so git and agents see it too. An archived Job never runs and leaves the window's list, but its file and every
Run are kept. To see the archived ones, filter the list with is:archived. Its Gauges stay on any Dashboard page that
has them, shown as stale, since nothing is checking them any more.
What it runs in #
A Script runs as it would in your terminal: your login shell's environment, so PATH, Homebrew and your credentials
are there. A run line goes to your login shell (fish, if that's yours) unless the Job or the daemon's settings name
another shell. A run list (["/usr/bin/python3", "check.py"]) runs the program as it is. A script is read by
its runner, its shebang or your shell, as Code in the Job file says.
Each Job has a folder of its own that's kept between Runs, as $BOILER_ROOM_STATE, for anything it wants to
remember.
A Run you start yourself, with Run Now or boiler-room run, has $BOILER_ROOM_FORCE set to 1, which one on its
Schedule doesn't. A Script that stays quiet when nothing's changed can do its work anyway then: the Homebrew example
asks which updates to upgrade whenever you press Run Now.
Secrets: boiler-room secret set aws-support-token keeps one in the Keychain (typed unseen, or piped in), and
secrets = ["aws-support-token"] gives it to the Script as $AWS_SUPPORT_TOKEN. An op:// value in env, or an
op_environment, runs the Script through 1Password's op run.
Code in the Job file #
Instead of run, a Job can carry its code as a script, so one file holds the Job and the script it runs, and
git, Export Page and an agent move them together:
name = "AWS case 1234"
every = "3h"
runner = "uv" # what reads the script: uv, python3, node, bun, deno, or your own
script = '''
# /// script
# dependencies = ["boto3"]
# ///
import boiler_room as br
br.value("status", "Pending AWS")
'''
Boiler Room writes the text to a file of its own and runs that, so a runner can read the script's own header (uv's
dependencies above), and an error shows real line numbers. What reads it:
runner, if the Job names one.uvrunsuv run --script, andpython3,node,bunanddenodo what they say.runner_args = ["--quiet"]adds arguments before the file, andrunner = ["deno", "run", "{file}"]gives the whole command, with{file}where the script goes. A runner that isn't installed fails the Run with a message saying so.- A shebang, if there's no
runner:#!/usr/bin/env bashas the first line runs the script as bash, whatever your login shell is. - Your shell, if there's neither, which reads it as a file.
run and script are alternatives; a Job has one. shell is only for a run line, and was runner's name there
before script existed, so a Job that says it still works.
You can add runners or change a built-in one in the daemon's settings. A
Template's params are never put into script, runner or runner_args, since a value an agent supplies can't be
made safe to paste into code; the script reads it as BOILER_ROOM_PARAM_<NAME> (br.param("case")) instead.
Python and JavaScript scripts report back with a small library that needs nothing installed: From a Script.
What changed #
After each Run, Boiler Room decides whether it's a Change, in this order:
- What the Script said:
boiler-room changedorboiler-room unchanged, or a Notice (boiler-room notify "AWS replied"). - A value that's different from the last Run's:
boiler-room value status "Pending customer action". (A number toned by its thresholds is different only when its tone is; see Many Gauges.) - Output that's different from the last Run's.
So the simplest script just prints what it found, and Boiler Room compares. A Script can also give the Run a report
in Markdown, shown in the window (boiler-room report summary.md, or - to read it from stdin), and say what it's
doing (boiler-room progress "3 of 5").
A Run's Changes tab shows what's different from the last Run of its Job that succeeded: each Value, old and new,
then its output, a line at a time. A Value that's a number (42, 87%, 12.5 GB) is charted across the Job's
recent Runs, beside it.
A Script can name its steps as it goes, as a Prefect or Dagster run shows them: boiler-room step "Check for updates" starts one and ends the step before, and the Run's output shows in its steps, each with how it went. It's
the line {"step": "Check for updates"} in the output, which a Script can print itself. Each step says how long it
took, and warns when that's far longer than it usually takes. boiler-room answers in
every Run, the Daemon's own, whether or not the command line is installed. The example Homebrew Job checks, asks which
updates to upgrade, then upgrades them, a step each.
A Script can say when it wants to run next: boiler-room again 3m, or the line {"again": "3m"}. It's for the next
Run only, so a Run that says nothing puts the Job back on its schedule: check every three minutes while something's
wrong, and every half hour once it's fine, as the example Job for GitHub's status does.
notify says when you're told: on a Change and when it starts failing or works again (on-change), only about
failures, every Run, or never.
Many Gauges from one Run #
A Run can report as many Gauges as it likes, so one query can light up a whole page of tiles instead of one Job per
tile. Each name is its own Gauge (job/name), compared with the same name in the last Run, so every one notices its own
change. Give every Gauge each Run, with the tone it has now: a Job's Gauges are those of its latest Run that gave any.
From the command line, call value once per Gauge:
# One New Relic query, a Gauge per service
nrql='SELECT percentile(duration, 95) FROM Transaction FACET appName SINCE 5 minutes ago'
./query.sh "$nrql" | jq -r '.[] | "\(.appName) \(.p95)"' | while read -r app ms; do
boiler-room value "$app-p95" "${ms}ms" --max 500 --warn-above 300 --bad-above 450 --icon gauge --group Latency
done
From Python, loop over br.value:
import boiler_room as br
for app, ms in results.items():
br.value(f"{app}-p95", f"{ms:.0f}ms", max=500, warn_above=300, bad_above=450, icon="gauge")
Or print one line of JSON, with a key for each Gauge:
jq -c '{values: (map({key: "\(.appName)-p95", value: {value: "\(.p95)ms", tone: (if .p95 > 450 then "bad" elif .p95 > 300 then "warn" else "good" end), icon: "gauge"}}) | from_entries)}'
Declare the ones you know in the Job's file, so they show, waiting, before the first Run and say what they measure:
[gauges.checkout-p95]
about = "95th percentile latency of checkout"
icon = "gauge"
max = 500
warn_above = 300
bad_above = 450
Just watching numbers. A number whose Gauge has thresholds (--warn-above, --bad-above, warn_below, … on the
command line or under [gauges.x]) and no tone the Script chose changes only when its tone does: 212ms to 214ms is
green to green and not a Change, and 320ms going amber is. So a metrics Job with thresholds only tells you when something
crosses one. Without thresholds, or with a tone the Script gave, any different Value is a Change, and a latency or a
count differs nearly every time. For those, set notify = "never" to hear nothing, or "on-failure" to hear only when
the query itself breaks. Runs and Gauges are kept either way. A Script that does want some Changes can say so for the Run with boiler-room changed or unchanged.
One Run is still one Job: the Job has one schedule, one history and one Change. If each thing needs its own schedule or its own Run history, make a Job for each from a Template instead, and put the Jobs' Gauges on one page. A Job's Gauges are let in once, for the whole Job, so a service that first appears in a later Run shows up on its own. Examples has a full one.
Backfilling a Gauge #
A Gauge charts what each Run gave it, so a new Job starts with an empty chart. When what the Script reads keeps its own history (New Relic, Datadog, Prometheus), a backfill fills the chart in. You don't need one: leave it out and the chart builds up as the Job runs.
boiler-room backfill checkout-p95 --from 7d # the last week, up to now
boiler-room backfill checkout-p95 --from 2026-11-01T00:00:00Z --to 2026-11-08T00:00:00Z --wait
That runs the Job once, in a Run of its own, whose Script is told the time to fill in: BOILER_ROOM_BACKFILL=1,
BOILER_ROOM_FROM and BOILER_ROOM_TO (RFC 3339). The Script asks the service for the whole of it in one query, and
reports a Value for each moment with --at:
./query.sh "SELECT average(duration) FROM Transaction SINCE '$BOILER_ROOM_FROM' UNTIL '$BOILER_ROOM_TO' TIMESERIES 1 hour" \
| jq -r '.[] | "\(.time) \(.avg)"' | while read -r at ms; do
boiler-room value checkout-p95 "$ms" --at "$at"
done
From Python, points sends them all at once, and backfill() is the window, or None in a Run on its schedule:
import boiler_room as br
if window := br.backfill():
br.points("checkout-p95", [(row["time"], row["avg"]) for row in query(*window)])
else:
br.value("checkout-p95", latest(), max=500, warn_above=300, bad_above=450)
(points and backfill are the same in JavaScript, with a Date or text for each time.) A Script that never looks for
BOILER_ROOM_BACKFILL just runs as usual, so a Job needs a branch like the one above before it can be backfilled.
- A moment that already has a Value is replaced, so running a backfill again corrects the first one.
- Only moments from
--fromto--toare accepted. The Daemon refuses any other, and only a backfill's Run may report one, so a Script can't rewrite the rest of a Gauge's history. - A backfill is no Change. It's compared with nothing, isn't what the next Run is compared with, doesn't move the Job's schedule, and tells you nothing.
- A point has no look of its own. Give the Gauge its look in a Run's own Value (or the Job's
[gauges.x]); the history shows for a Gauge some Run has already given, and each past point's tone comes from its thresholds. - Agents can do it with the
backfill_jobtool.
Templates #
A Template is a Job with blanks, in ~/.config/boiler-room/templates/:
# templates/aws-case.toml
name = "AWS case {{case}}"
run = "~/bin/check-support-case {{case}} --profile {{profile}}"
every = "3h"
[params]
case = { about = "The support case's ID" }
profile = { about = "The AWS profile", default = "work" }

Make a Job from it in the window (⌘N), with boiler-room new aws-case case=1234, or run it once without a Job:
boiler-room run aws-case case=9999 --wait. A value filled into run is always quoted for the shell, so whatever's
typed stays one word. A script, runner or runner_args in a Template is never filled in at all; the script reads
the value as BOILER_ROOM_PARAM_<NAME>. Changing a Template changes every Job made from it.
Phin Tech docs
Boiler Room in the store →