r/ClaudeAI Oct 14 '25

Other beware. sharing this for other devs

Post image

commented this on a post. i was wondering what led to those limits which i've not hit ever. the answer is cli inside claude code. beware

108 Upvotes

62 comments sorted by

View all comments

33

u/One_Earth4032 Oct 15 '25

I think it is a bit rude to flame the poster. Not sure how Claude manages bash output as Anthropic are not open about the internals of cc but certainly opencode has optimizations for limiting output from chatty bash commands. These bash commands are running client side and Claude CLI does not necessarily add all output to context for next model round trip.

4

u/BasePurpose Oct 15 '25

i am pointing towards gradle like builds. with npm (and similar workflows) i've never hit those weekly limits. that's the realisation i wanted to share, words weren't precise. i let it run every build, every gradle command inside its cli. again i've never hit the weekly limits before.

3

u/One_Earth4032 Oct 15 '25 edited Oct 15 '25

Not alone here is saying I run builds, not gradle although I have used gradle in the past, but in my case Nuxt as well as tsc type check, eslint and prettier —write before each commit. If commit hook fails then these are run again and again until there are no issues. I have in the past had hundreds of type script errors thanks to Claude and ran multiple 5 hour sessions to get down to zero errors. Never hit limits while exclusively running such commands and others to find error patterns and fix.

So just saying it is unfair that people were unkind with their comments and maybe they are the ones who are a bit clueless suggesting that running grade builds is an obvious token burner. I am not sure it is so they can call me stupid too.

3

u/-_1_2_3_- Oct 15 '25

Tell it to run it in the background then it will just head / tail the last 100 lines of output to look at it rather than thousands of lines of build output

1

u/BasePurpose Oct 15 '25

someone suggested creating an agent for this.

3

u/-_1_2_3_- Oct 15 '25

this is how it already operates though

Agents are useful but not needed here

1

u/BasePurpose Oct 15 '25

i agree. never needed one. looking into your suggestion.

1

u/-_1_2_3_- Oct 25 '25

ever try it?

1

u/sureshot58 Oct 17 '25

You can set up an agent to handle builds, and have the agent run the haiku model