Routine Golems

Golems that do a job again and again, on a timetable Golemworks keeps.

A routine golem does a job over and over: checks a channel every half hour, or watches your computer's health. The Board lists these in their own group, named Routine Golems, below your other golems. The group starts closed with its count in the header (Routine Golems · 12); click the header to open it, and the computer or phone remembers your choice. Closed, it still shows any routine golem that needs you or whose last run failed, and the header says how many (· 1 needs you).

Save a routine golem

Golemworks can run the job for you: it keeps the timetable, starts a golem each time and records how it went. Click New routine golem at the top of the Board, give it a name, instructions (typed, or a brief file) and a schedule, and save. You can also ask your Overlord ("check my disk every 30 minutes"), or type it yourself:

gw routine add "Disk check" --every 30 --instructions "Check free disk space. Ask for help under 20 GB."
When How to say it
Every so often, 5 minutes or more --every 30, with --from 08:00 --to 23:00 and --days mon,tue if you like
Daily --daily 07:00
Weekly --weekly mon,fri --at 19:00

Times are your computer's local time. --brief <file> hands the golem a file instead of typed instructions. gw routine also lists, shows, edits, pauses, resumes, runs now and deletes them.

Check with a command first

A job that mostly finds nothing does not need a golem each time. Give the routine golem a command (Check with a command first, or --command) and Golemworks runs it on the timetable with no golem and no Claude use. The command says what happened with its exit code:

Exit code What happens
0 Nothing to do. Recorded as ok
10 It found something. A golem gets your instructions and the command's output. With no instructions, it needs you
Anything else, or running past the time limit Failed

The first line the command prints is the result you see. The same result several times in a row shows as one run, and the Overlord is told once. Only you and your Overlord can set a command.

One golem that stays

A new golem for each run starts clean and costs less, and it is the default. For a job that needs to remember earlier runs, or a signed-in browser, pick One golem that stays under Each run goes to (--standing). Golemworks starts that golem for the first run, then sends it a message for each later one. If you close it, the next run starts a new one. Deleting the routine golem, or switching it back to a new golem each run, closes it.

A golem that stays keeps every earlier run in its conversation, and each new run reads all of it again. Once that passes 20% of its context, Golemworks has it compact (summarize its conversation) between runs, so each run stays cheap. Keep anything a run must not forget, such as where the last check stopped, in a file. gw context-reset off <golem> turns compacting off for one golem, and gw context-reset default <golem> turns it back on.

A golem can also put itself on a timetable. Ask it to, and it runs gw routine add "Slack check" --every 30 --self --instructions "Check Slack.". Golemworks messages it each time and never starts it, so while it is closed its runs count as missed. A golem can do this only for itself. You and your Overlord can point a routine golem at an open golem with --golem <name>.

How a run ends

Result Meaning
ok Nothing to do
attention It needs you or the Overlord
failed It could not do the job
no report The golem said nothing within an hour (--limit changes this) or closed first
skipped The previous run's golem was still open
missed The run did not start in time, for example while the computer was off or asleep

A new golem closes after it reports; a golem that stays does not. The Overlord is told about every result except ok and skipped. After time off, Golemworks runs at most once to catch up. It cannot run or wake a computer that is off. gw routine runs "Disk check" shows the history.

These are separate from Claude's own routines, which run in Anthropic's cloud.

What a row shows

Part Meaning
Dot Green: the last run was fine, or one is running. Amber: a run was missed, skipped or never reported. Red: it failed or needs you. Grey: paused or not run yet
Name and workspace Which routine golem it is
Status When it runs, and how the last run went
Memory Computer memory (RAM) its golem and the programs it started use while one is open, not tokens or context. Routine golems that message the same golem show the same number. Blank otherwise
Next When it runs next, or paused
Buttons Run now, Pause or Resume, Edit, Delete

Click a row for its run history, and to open its golem while one is running. Delete waits until no run is going.

Golems that keep their own timer

A golem you list on the strip yourself shows "not scheduled yet": it starts its own checks, and Golemworks only shows what it reports. Its dot is green while checks are on time, amber when one is late, red when it needs you, and grey before the first. Click its row to open it.

Put a golem on the strip

Tell the golem it is a routine golem, or run gw watcher <golem> on. A golem whose status line starts with "watching" is listed too. gw watcher <golem> off takes a golem off, unless its status line still starts with "watching".

A golem reports each check with gw tick self "<what it found>" --every <minutes>. If it takes planned breaks, tell it to add --next <HH:MM> before each one, so the row does not turn amber overnight.

On your phone

On Mobile, each routine golem shows under Routine Golems at the bottom of the Active view (closed at first, like the Board's) with Run now and Pause or Resume (Face ID, like Unpause). Adding and changing them stays on your computer. Output from a command check stays on your computer, and so does a run's result line where the workspace sends names and steps only.

All topics