- pull the unread mail
- draft each reply
- send me a Slack update
A routine is a saved instruction that Claude runs on its own. You write out a task once, pick what sets it off (a time of day, an incoming web request, a direct call from your own code), and from then on it runs without you. The work happens on Anthropic’s servers rather than your machine, so it fires whether or not your laptop is open. The clearest way to picture one: the same prompt you would type into a live session, except it runs on a timer and reports back when it is finished.
01A saved prompt that runs itself
The example in the source video is a morning inbox routine. It reads the unread mail, checks each sender against earlier threads for context, drafts replies in the owner’s voice, and sends a Slack message with the summary and the drafts. It runs at 5:10 a.m., before he wakes up. He never starts it by hand.
Three things can set a routine off: a schedule, a web request that another service sends when something happens (a webhook), or a direct call from code you control. The last one matters more than it sounds, because it lets one routine hand work to the next: a finished sales call sends a transcript, which starts a routine that drafts the follow-up email. That is how small automations chain into a larger one.
02The same shape, minus the wiring
Every automation has the same three parts: an event that starts it, some logic in the middle, and an output it hands to another service. A schedule fires at 5 a.m., a chain of steps runs, and the result lands in Slack or a customer-record system.
The older no-code builders, tools like n8n and make.com where you assemble a workflow by dragging boxes onto a canvas, put all the work in that middle part. You wire the boxes together, set up a login for each service, and match every field by hand. That middle is where the hours went.
“Might make more sense just to one-shot it as a routine.”
Nick Saraev, “Claude Routines Just Dropped, And It's Perfect” · 15:01A routine keeps the same event and the same output and replaces the hand-wired middle with plain-language instructions. You describe the steps instead of building them. The proposal generator that took the video’s author two to three hours to wire together is now a paragraph of instructions he can stand up in a couple of minutes. This is the same trigger-worker-output shape from Automate the step that slows you down, with the worker written rather than assembled.
03Write it to run unattended
An unattended run is the whole point, and it is also the catch. In a live session you read along and steer when the model drifts. A routine gives you no such chance, so the instruction has to be right the first time and every time.
“The routine occurs entirely hands-off, meaning that it basically needs to work almost perfectly every time.”
Nick Saraev, “Claude Routines Just Dropped, And It's Perfect” · 10:29So write a routine tighter than a prompt you plan to babysit. A few habits do most of the work:
- Spell out more context, not less. The model cannot ask you a follow-up mid-run, so everything it needs has to be on the page.
- State a clear sign of when the job is done, such as “once finished, send me a Slack update.” That gives the run a definite end.
- Name each step plainly to shrink the room for a wrong turn.
This is the same care that Brief the model like a brilliant new hire asks for, turned up because the work runs alone. Keeping a long unattended run honest is its own subject in Guardrails for hours-long agent runs.
04When a routine is the right tool
Not every workflow belongs in a routine. Running a task through a model costs more per step than running it as plain computation in a purpose-built tool, so moving a heavy flow that already works can raise the bill and buy you nothing. A stable, high-volume pipeline is often better left where it is.
The case for a routine is build time. When a task would take hours to wire together by hand, and you could instead describe it in a paragraph and have it running in minutes, the routine wins. Reach for it on new work you have not built yet, not as a blanket move of everything you already run. The gain is that changing it later is a sentence, not an afternoon of rewiring.
Further reading
- Nick Saraev · Claude Routines Just Dropped, And It’s Perfect, the walkthrough this guide distills
- Anthropic · Claude Code documentation, the tool a routine runs on
- Wikipedia · webhook, the incoming-signal trigger explained in full
- Wikipedia · cron, the scheduled-trigger idea in its original form