Routines fire prompts on a schedule, without you starting the conversation. This guide walks through adding a daily morning briefing to the orchestrator and confirming it works. The same shape applies to any routine on any agent. Read Routines first if you have not already. There are limits worth knowing before you build a workflow on top of routines.Documentation Index
Fetch the complete documentation index at: https://docs.rundock.ai/llms.txt
Use this file to discover all available pages before exploring further.
Before you start
You need:- An agent already created, ideally the one you want to attach the routine to. The orchestrator is the natural home for a daily briefing because its body already knows how to triage.
- A clear sense of what the routine should produce. Routines that ask the model to “think about” something disappear into the void: routine output is not captured to a visible conversation. The routine’s prompt should instruct the agent to write something the user will find later (a file, a Todoist task, a Notion page).
1. Open the agent file
Open the agent file you want to attach the routine to. You can edit it directly in any text editor or through Rundock’s interface. Both routes write to the same file. The file lives at.claude/agents/<slug>.md in your workspace. For the orchestrator, that is typically something like .claude/agents/chief-of-staff.md.
2. Add the routines block
Routines are declared in the agent’s YAML frontmatter, in aroutines: array. Each entry is a YAML object with four fields.
Here is the morning briefing routine:
nameis what shows in the routines panel and on the agent profile. Required.scheduleis when the routine fires. Required. Accepts only specific human-readable forms (no cron). See below.promptis the message sent to the agent when the routine fires. Treated as a single user message: the same text you would type. Required.descriptionis a one-line plain English explanation surfaced on the agent profile. Optional.
3. Pick a schedule that will actually match
The schedule format is exact. Both patterns below use two-digit zero-padded times and lowercase, full weekday words.| Cadence | Pattern | Example |
|---|---|---|
| Daily | every day at HH:MM | every day at 05:00 |
| Weekly | every <weekday> at HH:MM | every friday at 04:00 |
4. Save the file
Save the agent file. The scheduler picks up the change on its next tick (within 60 seconds): you do not need to restart Rundock. Open the routines panel at the bottom of the left sidebar. The new routine should appear in the list under the agent it is attached to, with the schedule formatted as5:00 AM for the daily case or Fri 4:00 AM for the weekly case.
5. Confirm the routine fires
The honest answer here is: the easiest way to confirm a routine works is to schedule it for a few minutes from now and wait. Rundock’s routines panel does not currently expose a manual trigger button. The panel is display-only. To confirm without waiting until 5am tomorrow:Set the schedule for two minutes from now
Edit the agent file and change the
schedule field to a time two minutes ahead of the current local time. Save.Watch the routines panel
Within 60 seconds of the scheduled time, the routine row should switch to a
Running... indicator in the working colour. The scheduler ticks every minute, so there can be up to a minute of delay.Check that the agent wrote something
Routine output is not captured to a Rundock conversation. The way you know the routine ran is by finding what the agent produced: the file it wrote, the task it created, the note it updated. If the routine’s prompt instructs the agent to write a trace, that trace is the proof of life.
Check the routine status
Once the run completes, the routines panel returns to showing the schedule. The agent profile shows
Last run: <relative time> (<status>) for the routine. If the status is failed, the subprocess exited with an error.Limits worth knowing
The same limits from the Routines concept page apply here. They are worth restating because they shape what kinds of routine actually work.No notification when a routine completes. You see the timestamp update in the routines panel and the agent profile. To know whether the run did the right thing, check the file or task the agent was instructed to produce.
Patterns that work
Three routines that work well in practice:Where to next
Routines concept
What routines are and the limits worth knowing before you build on them.
Routine format
The exact schedule patterns and field reference.