Claude Code Routines

284 points - today at 4:54 PM

Source

Comments

joshstrange today at 6:32 PM
LLMs and LLM providers are massive black boxes. I get a lot of value from them and so I can put up with that to a certain extent, but these new "products"/features that Anthropic are shipping are very unappealing to me. Not because I can't see a use-case for them, but because I have 0 trust in them:

- No trust that they won't nerf the tool/model behind the feature

- No trust they won't sunset the feature (the graveyard of LLM-features is vast and growing quickly while they throw stuff at the wall to see what sticks)

- No trust in the company long-term. Both in them being around at all and them not rug-pulling. I don't want to build on their "platform". I'll use their harness and their models but I don't want more lock-in than that.

If Anthropic goes "bad" I want to pick up and move to another harness and/or model with minimal fuss. Buying in to things like this would make that much harder.

I'm not going to build my business or my development flows on things I can't replicate myself. Also, I imagine debugging any of this would be maddening. The value add is just not there IMHO.

EDIT: Put another way, LLM companies are trying to climb the ladder to be a platform, I have zero interest in that, I was a "dumb pipe", I want a commodity, I want a provider, not a platform. Claude Code is as far into the dragon's lair that I want to venture and I'm only okay with that because I know I can jump to OpenCode/Codex/etc if/when Anthropic "goes bad".

andai today at 5:47 PM
I'm a little confused on the ToS here. From what I gathered, running `claude -p <prompt>` on cron is fine, but putting it in my Telegram bot is a ToS violation (unless I use per-token billing) because it's a 3rd party harness, right? (`claude -p` being a trivial workaround for the "no 3rd party stuff on the subscription" rule)

This Routines feature notably works with the subscription, and it also has API callbacks. So if my Telegram bot calls that API... do I get my Anthropic account nuked or not?

comboy today at 7:33 PM
Unrelated, but Claude was performing so tragically last few days, maybe week(s), but days mostly, that I had to reluctantly switch. Reluctantly because I enjoy it. Even the most basic stuff, like most python scripts it has to rerun because of some syntax error.

The new reality of coding took away one of the best things for me - that the computer always just does what it is told to do. If the results are wrong it means I'm wrong, I made a bug and I can debug it. Here.. I'm not a hater, it's a powerful tool, but.. it's different.

Eldodi today at 6:11 PM
Anthropic is really good at releasing features that are almost the same but not exactly the same as other features they released the week before
minimaxir today at 5:26 PM
Given the alleged recent extreme reduction in Claude Code usage limits (https://news.ycombinator.com/item?id=47739260), how do these more autonomous tools work within that constraint? Are they effectively only usable with a 20x Max plan?

EDIT: This comment is apparently [dead] and idk why.

cedws today at 8:53 PM
This is the beginning of AI clouds in my estimation. Cloud services provide needed lock-in and support the push to provide higher level services over the top of models. It just makes sense, they'll never recoup the costs on just inference.
ctoth today at 5:31 PM
You'd think that if they were compute-limited ... Trying to get people to use it less ... The rational thing to do would be to not ship features that will use more compute automatedly? Or does this use extra usage?
twobitshifter today at 10:02 PM
It seemed OpenClaw is just Pi with Cron and hooks, and it seems like this is just Claude Code with Cron and hooks. Based on the superiority of Pi, I would not expect this to attract any one from OpenClaw, but it will increase token usage in Claude Code.
eranation today at 6:15 PM
I've been using it for a while (it was just called "Scheduled", so I assume this is an attempt to rebrand it?)

It was a bit buggy, but it seems to work better now. Some use cases that worked for me:

1. Go over a slack channel used for feedback for an internal tool, triage, open issues, fix obvious ones, reply with the PR link. Some devs liked it, some freaked out. I kept it.

2. Surprisingly non code related - give me a daily rundown (GitHub activity, slack messages, emails) - tried it with non Claude Code scheduled tasks (CoWork) not as good, as it seems the GitHub connector only works in Claude Code. Really good correlation between threads that start on slack, related to email (outlook), or even my personal gmail.

I can share the markdowns if anyone is interested, but it's pretty basic.

Very useful, (when it works).

mellosouls today at 5:49 PM
Put Claude Code on autopilot. Define routines that run on a schedule, trigger on API calls, or react to GitHub events...

We ought to come up with a term for this new discipline, eg "software engineering" or "programming"

summarity today at 5:31 PM
If you’re trying this for automating things on GitHub, also take a look at Agentic Workflows: https://github.github.com/gh-aw/

They support much of the same triggers and come with many additional security controls out of the box

matthieu_bl today at 5:29 PM
eranation today at 9:55 PM
If anyone from anthropic reads it. I love this feature very much, when it works. And it mostly doesn't.

The main bugs / missing features are

1. It loses connection to it's connectors, mostly to the slack connector. It does all the work, then says it can't connect to slack. Then when you show it a screenshot of itself with the slack connector, it will say, oh, yeah, the tools are now loaded and does the rest of the routine.

2. ability to connect it to github packages / artifactory (private packages) - or the dangerous route of allowing access to some sort of vault (with non critical dev only secrets... although it's always a risk. But cursor has it...)

3. the GitHub MCP not being able to do simple things such as update release markdown (super simple use case of creating automated release notes for example)

You are so close, yet so far...

netdur today at 5:40 PM
didn’t we have several antitrust cases where a vendor used its monopoly to disadvantage rivals? did not anthropic block openclaw?
airstrike today at 5:38 PM
Still no moat.

The reason someone would use this vs. third-party alternatives is still the fact that the $200/mo subscription is markedly cheaper than per-token API billing.

Not sure how this works out in the long term when switching costs are virtually zero.

sminchev today at 7:20 PM
Everything is big race! Each company is trying to do as much as possible, to provide as many tools as possible, to catch the wave and beat the concurrency. I remember how Antropic and OpenAI made releases in just 10-15 minutes of difference, trying to compete and gain momentum.

And because they use AI heavily, they produce new product every week. So fast, that I have no time to check, does it worth or not.

This one looks interesting. I have some custom commands that I execute manually weekly, for monitoring, audits, summary, reports. It it can send reports on email, or generate something that I can read in the morning with my coffee, or after I finish with it ;) it might be a good tool.

The question is, do I really want to so much productive? I am already much better in performance with AI, compared with the 'old school' way...

Everything is just getting to much for me.

woeirua today at 9:00 PM
I don't get the use case for these... Their primary customers are enterprises. Are most enterprises happy with running daily tasks on a third party cloud outside of their ecosystem? I think not.

So who are they building these for?

dispencer today at 6:45 PM
This wild, one of the pieces I was lacking for a very openclaw-esque future. Now I think I have all the mcp tools I need (github, linear, slack, gmail, querybear), all the skills I need, and now can run these on a loop.

Am I needed anymore?

oxag3n today at 7:56 PM
Are they going to mirror every tool software engineers were used to for decades, but in a mangled/proprietary form?

I think to become really efficient they'll have to invent new programming language to eliminate all the ambiguity and non-determinism. Call it "prompt language", with ai-subroutines, ai-labels and ai-goto.

causal today at 8:05 PM
Haven't Github-triggered LLMs already been the source of multiple prompt injection attacks? Seems bad.
vessenes today at 5:36 PM
This is one of the best features of OpenClaw - makes sense to swipe it into Claude Code directly. I wonder if Anthropic wants to just make claude a full stand-in replacement for openclaw, or just chip away at what they think the best features are, now that oAI has acquired.
taw1285 today at 6:53 PM
I have a small team of 4 engineers, each of us is on the personal max subscription plan and prefer to stay this way to save cost. Does anyone know how I can overcome the challenge with setting up Routines or Scheduled Tasks with Anthropic infra in a collaborate manner: ie: all teammates can contribute to these nightly job of cleaning up the docs, cleaning up vibe coding slops.
srid today at 6:47 PM
I just used this to summarize HN posts in last 24 hours, including AI summaries.

This PR was created by the Claude Code Routine:

https://github.com/srid/claude-dump/pull/5

The original prompt: https://i.imgur.com/mWmkw5e.png

watermelon0 today at 5:50 PM
Seems like it only supports x86_64. It would be nice if they offered a way to bring your own compute, to be able to work on projects targeting arm64.
tills13 today at 7:27 PM
> react to GitHub events from Anthropic-managed cloud infrastructure

Oh cool! vendor lock-in.

egamirorrim today at 6:48 PM
I wish they'd release more stuff that didn't rely on me routing all my data through their cloud to work. Obviously the LLM is cloud based but I don't want any more lock-in than that. Plus not everyone has their repositories in GitHub.
theodorewiles today at 6:08 PM
How does this deal with stop hooks? Can it run https://github.com/anthropics/claude-code/blob/main/plugins/...
dispencer today at 6:36 PM
This is massive. Arguably will be the start of the move to openclaw-style AI.

I bet anthropic wants to be there already but doesn't have the compute to support it yet.

jcims today at 6:36 PM
Is there a consensus on whether or not we've reached Zawinski's Law?
nico today at 5:45 PM
Nice, could this enable n8n-style workflows that run fully automatically then?
desireco42 today at 5:56 PM
I think they are using Claude to come up with these and they will bringing one every second day... In fact, this is probably routine they set.
teucris today at 7:01 PM
My only real disappointment with Claude is its flakiness with scheduling tasks. I have several Slack related tasks that I’ve pretty much given up trying to automate - I’ve tried Cowork and Claude Code remote agents, only to find various bugs with working with plugins and connectors. I guess I’ll give this a try, but I don’t have high hopes.
varispeed today at 5:51 PM
Why would you use it if you don't know whether the model will be nerfed at that run?
ale today at 5:36 PM
So MCP servers all over again? I mean at the end of the day this is yet another way of injecting data into a prompt that’s fed to a model and returned back to you.
verdverm today at 6:35 PM
One gripe I have with Claude Code is that the CLI, Desktop app, and apparently the Webapp have a Venn Diagram of features. Plugins (sets of skills and more) are supported in Code CLI, maybe in Cowork (custom fail to import) but not Code Desktop. Now this?

The report that they are 90% Ai code generated seems more likely the more I attempt to use their products.

qwertyuiop_ today at 9:45 PM
ā€œScheduled tasks and actions invoked by callback urlsā€
consumer451 today at 5:58 PM
meta:

Sorry, but I just have to ask. Why is u/minimaxir's comment dead? Is this somehow an error, an attack, or what?

This is a respected user, with a sane question, no?

I vouched, but not enough.

edit: His comment has arisen now. Leaving this up for reference.

crooked-v today at 5:50 PM
The obvious functionality that seems to be missing here is any way to organize and control these at an organization rather than individual level.
bpodgursky today at 5:30 PM
OpenClawd had about a two week moat...

Feature delivery rate by Anthropic is basically a fast takeoff in miniature. Pushing out multiple features each week that used to take enterprises quarters to deliver.

hamuraijack today at 8:59 PM
please, no more features. just fix context bloat.
Shinobis_dev today at 8:53 PM
[dead]
KaiShips today at 7:02 PM
[dead]
lo1tuma today at 7:31 PM
[dead]
maroondlabs today at 7:17 PM
[dead]
vdalhambra today at 7:35 PM
[dead]
hankerapp today at 9:19 PM
[dead]
SadErn today at 5:35 PM
[dead]