Docs / Core concepts / Scheduled prompts
Scheduled prompts
Give an agent a recurring prompt: every N minutes, or daily at HH:MM in a time zone you choose. It is how an agent watches a repository, a queue, a dashboard, a log.
/cron every 30m check the open pull requests and tell me what is blocked
/cron daily 09:00 summarise what the team's agents did yesterday
/cron once 2026-08-25T08:42 run the migration
The same thing is in the cockpit, on each agent. /cron list prints them with an 8-character id, and on, off and del take that prefix.
A daily prompt can also run on chosen days only — a triage that would be pointless on a Sunday, a weekly report. Name them after the time:
/cron daily 09:00 mon-fri triage whatever came in overnight
/cron daily 18:00 fri write the week up for the team
mon,wed,fri, a range like mon-fri, weekdays and weekend all read, and so do the French names. The cockpit shows the seven days as chips beside the time, all ticked; untick the ones you do not want. Ticking none is refused rather than guessed at, and a daily with no days named still means every day — which is what every schedule you already have keeps meaning.
The guard that costs nothing
This is the feature the project is named after. Les Shadoks were cartoon birds whose entire joke was that they pumped: relentlessly, exhaustingly, and for no result anyone could identify. An agent woken every hour to report that nothing happened is pumping. You pay a model call to be told there was nothing to do, and it will tell you that twenty-three more times today.
So a schedule can carry a deterministic guard command, which runs without the model:
- it prints nothing → nothing happened, the agent is never woken, the run costs zero tokens;
- it prints something → that output is prepended to the prompt and the agent runs, with the news already in hand.
A watcher that is quiet most of the day costs nothing most of the day. In exchange you write a few lines of shell, and the guard has one rule worth knowing: its exit code is not a failure signal. grep, diff and test all exit non-zero with no output exactly when there is nothing to report, so news is read from stdout. A non-zero exit only counts as broken when it also wrote to stderr, or was killed, or never started — and a broken guard wakes the agent, so the monitoring does not die in silence.
The guard runs with the target agent's profile secrets. That is why an agent may only put a guard on itself, while a person may guard any agent they can drive.
A fire that says what it did, and a lost one that comes back
Every fire logs one line, including the quiet one — otherwise "ran, nothing to say" and "never ran" are indistinguishable from the outside, which was a real bug here once.
A fire that was lost on delivery — the quota guard blocked it, the agent was mid-turn, the socket dropped — is rescheduled about ten minutes out, at most three times, and never past the next normal slot. A fire that timed out is not replayed: the turn is still running, and replaying would stack two prompts on one agent.
Keeping it quiet on purpose
An agent that has nothing to report can answer exactly NOTHING TO SHOW and the cockpit drops the message instead of posting it. A monitor that runs every five minutes should be silent in the chat too, not just free.
Woken by an event instead of the clock
Some things do not happen on a schedule: a build fails, a form is submitted, a monitor trips. For those, an agent can carry a webhook — the same delivery as a scheduled prompt, fired by an HTTP call instead of the hour.
curl -X POST https://<cockpit>/hooks/<id> \
-H 'Authorization: Bearer whk_…' \
-H 'Content-Type: application/json' -d '{"status":"failed"}'
The call is answered immediately, before the agent has said anything — it starts the work, it does not wait for it. Your own prompt runs first, then the body of the call, so the agent reads the event with its instructions already in hand. Create one from the ⚡ button in the agent's bar, beside the ⏰: the token is shown once, with a curl ready to paste, and you can pause it, rotate the token or delete it later.
Two things are worth knowing before you point the internet at an agent. The token is the credential — the hook answers before the cockpit's password, and an unknown id, a paused hook and a wrong token all answer the same 404, so nothing can be probed. And the body arrives as untrusted text: it is fenced, capped, and labelled as something never to take instructions from. Creating or changing a webhook is a person's act from a browser, never an agent's — an agent must not be able to open a door from the internet into itself.