Live data from Hacker News

Claude Code Routines

code.claude.com

51–60 of 451 posts

Re: Claude Code Routines

#51

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"

gramming

Re: Claude Code Routines

#52

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.

You seem to be vouched for now, no longer dead for me.

Re: Claude Code Routines

#53
post #25

I'm a little confused on the ToS here. From what I gathered, running `claude -p ` 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…

Wait we can't use claude -p around other tools? What is the point of the JSON SDK then? Anthropic is confusing here, ugh. edit : And specifically i'm making an IDE, and trying to get ClaudeCode into it. I frankly have no clue when Claude usage is simply part of an IDE and "okay" and when it becomes a third party harness..

Wouldn't ACP be better for an IDE? https://agentclientprotocol.com/get-started/introduction

Re: Claude Code Routines

#54
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).

Re: Claude Code Routines

#55

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"

Sounds more like openclawing.

Re: Claude Code Routines

#56
post #49

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

7 days is long enough for work to leave the context window, hence…

Re: Claude Code Routines

#57

Earlier quoted context omitted.

Wait we can't use claude -p around other tools? What is the point of the JSON SDK then? Anthropic is confusing here, ugh. edit : And specifically i'm making an IDE, and trying to get ClaudeCode into it. I frankly have no clue when Claude usage is simply part of an IDE and "okay" and when it becomes a third party harness..

Wouldn't ACP be better for an IDE? https://agentclientprotocol.com/get-started/introduction

Possibly, though at first i was entirely focusing (and still am) on Claude Code usage. Given that CC had an API, i figured its own SDK would update faster/better/etc to new Claude features that Anthropic introduces. I'm sure ACP is a flexible protocol, but nonetheless i was just aiming for direct Claude integration.. and you know, it's an official SDK, seemed quite logical to me.

It would be absurd to me if the same application is somehow allowed via ACP but not via official SDK. Though perhaps the official SDK offers data/features that they don't want you to use for certain scenarios? If that were they case though it would be nice if they actually published a per-SDK-API restrictions list.

That we're having to guess at this feels painful.

edit: Hah, hilariously you're still using the SDK even if you use ACP, since Claude doesn't have ACP support i believe? https://github.com/agentclientprotocol/claude-agent-acp

Re: Claude Code Routines

#58
post #8
post #6

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?

I would imagine that this sort of scheduling allows them to have more predictable loads, and they may be hoping that people will schedule some of their tasks in “off hours” to reduce daytime load.

Also you can schedule it a bit off. Every hour? Delay it a few seconds. Can’t do that with a chat message. Also, batch up a bunch of them, maybe save some compute that way? Latency is not an issue.

Re: Claude Code Routines

#59

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.

You seem to be vouched for now, no longer dead for me.

Hmm, I can't edit the original comment to retract that edit either. Either my account is flagged for something or HN is being weird.

Re: Claude Code Routines

#60
post #48
post #41

Earlier quoted context omitted.

They’re shooting themselves in the foot with these dumb restrictions.

They are not dumb restrictions. They just don't have the compute. That is the dumb part. Dario did not secure the compute they need so now they are obviously struggling.

The restrictions are dumb not because they're lower than any of us want them to be, but because they're unclear. Every time Claude comes up on Hacker News, someone asks this question. And every time people chime in to agree that they also are unclear or someone weighs in saying, no, it's totally clear, while proceeding not to point at any official resource and/or to "explain" the rules in a that is incompatible with official documentation.

Example: https://news.ycombinator.com/item?id=47737924

Post reply on HN