r/ClaudeCode • • 5h ago

Help/Question I built agents that check and improve their own work, and they work, but they eat tokens. Where would you look first?

2 Upvotes

I run a small UK BBQ affiliate site, and over the last few weeks I've built a set of Claude agents to look after it, using CoWork. Each one is set up the same way. A generator does the job, a separate checker marks it against an answer key that gets a new row every time a mistake slips through, and a coach reads the failures and suggests fixes. I approve the changes. It works. The agents have got noticeably better and they catch things I'd have missed.

The problem is that it's heavy. My first run of the SEO page check cost about 191,000 tokens for one page. The site copy agent's first run cost 1.5m! The daily manager agent that reports on all the others is running at roughly 350,000 to 490,000 tokens a day. I hit 10% of my weekly allowance by Wednesday morning.

So I spent a couple of days trying to cut it. What I tried, in order:

  • Having a script fetch the page and work out everything countable, then handing the agent one prepared file. 191k went to 122k.
  • Using a stripped-down subagent type that starts with only a couple of tools. That went to about 82k. A plain empty subagent costs about 55k before it does anything.
  • Capping the file reads to fixed ranges so the agent can't wander. About 67k.
  • Cutting the prompt by 23%. That saved about 6%. The brief wasn't where the tokens were.
  • Putting the script's results into the prompt so the agent doesn't count them. That made it more expensive, because the agent copies them out and output tokens cost more.

The part that surprised me was running the same check on cheaper models through OpenRouter. A cheap model (DeepSeek flash) on the same prompt found the same main problem as Sonnet on all four pages I tried, for about $0.004 against $0.24. It does miss things on its own, so I let scripts do every row that can be counted or checked exactly, and the cheap model only does the judgement rows. With planted faults, the scripts caught 8 of 8 page problems and the cheap model got 6 of 6 on made-up claims once I added a rule for weak matches. For writing the actual page copy, every cheap model I tried made things up, so that stays on Sonnet.

What I'd like to know from anyone who's been here:

  1. Where do the tokens actually go in your multi-agent setups? Mine seem to be the subagent startup, the reading, and the writing back out, and the instructions are the smallest part.
  2. Is a script doing the checkable parts and a cheap model doing the rest a sensible pattern, or am I fooling myself with a handful of test pages?
  3. Has anyone made the separate-checker setup cheaper without losing the independent second look?
  4. Is it worth caching the shared brief and answer key, and does that work through OpenRouter?
  5. What would you redesign first?

I'll happily share the test setup if it's useful.


r/ClaudeCode • • 1d ago

Help/Question Why keep a 1M context window if Claude Code now defaults to auto-compacting at 400k?

413 Upvotes

Saw Lydia Hallie's post that Claude Code is rolling out 400k auto-compact as the default for most 1M models, to help with usage on long sessions. You can still get the full 1M with /autocompact 1m or in config.
I'm a bit confused by the design choice, though. If the default is to compact at 400k because resending a huge history with every message gets expensive even with caching, what's the 1M window for?
Why not just cap context at 400k? When is it actually worth running the full 1M instead of compacting earlier?
Curious how others are thinking about the tradeoff.


r/ClaudeCode • • 1h ago

Help/Question Claude Org on hold?

Post image
0 Upvotes

I use this org for my new startup, we've been using this for the past 4 months and have gotten 0 warnings etc, just one random day and our org is on hold
changes in the past months: changes in tech team, using claude for marketing on facebook and instagram and for leads generation through apollo and using a browser-extensions which use claude (all these extensions run locally are developed by using claude itself)
We have also been testing our product for which we use claude's api keys
Our startup is based around industrial automation and compliances
Not sure if any new member on our org plan was using claude for any personal use which might have gotten us flagged but it seems unfair to take down the whole organisation instead of that specific account or at least report to us any red flags we were generating before putting the org on hold.


r/ClaudeCode • • 2h ago

Built with Claude Built a local memory for Claude Code so it stops rewriting scripts I already have

1 Upvotes

What I built: Relict. It scans your machine, throws everything it finds (scripts, old projects, tools, Claude Code skills) into a local sqlite file you can search, plus there's a little graph dashboard if you want to click around instead of using the CLI. The actual point of it is a Claude Code skill that checks this index before writing new code, so it stops reinventing stuff I already built two repos ago.

How Claude Code was used: basically all of it. It wrote the setup flow, the CLI, the test suite, all of it, I mostly just kept telling it what I wanted and reviewing diffs. Pushed it pretty hard on tests specifically since the whole pitch is "never touches your secrets, never executes anything, never phones home" and I didn't want that to just be a README claiming it. 272 tests, 99% coverage now.

What I learned: letting it test a new feature against my actual real database instead of a throwaway folder seemed fine in the moment, but it quietly left some junk rows behind afterward that I only noticed later by accident. Not a big deal to fix, just a reminder that "test against real data" and "test against real data without leaving a mess" are two different asks and I need to actually say the second one out loud next time.

Repo: https://github.com/harry-sandhu/Relict. Free, noncommercial license. Haven't tested on actual Windows hardware yet, that's the honest gap right now.


r/ClaudeCode • • 8h ago

Help/Question $8 Claude vs ChatGPT Go. New to AI

3 Upvotes

Hi Ive been using Chat GPTs Go $8 plan and I have been wanting to automate some tasks. Is it worth putting $8 worth of credit for Claude for this vs Chat? Ive been using chat as a general search engine and assistant but now I have a new use for AI I'm wondering if a switch might be in order


r/ClaudeCode • • 6h ago

Help/Question Claude iOS to Claude Code

2 Upvotes

I’m trying to do a simple workflow: chat with Claude iOS — save session decision --> pick up decision in Claude code.

I’m having the hardest time. First, I couldn’t connect Claude iOS to GitHub. (Still can’t get it to read my gh project kanban.) Then, I couldn’t get Claude code to pick up session memory from iOS.

Right now I save a file from the iOS session to Google Drive and pick it up from there. Is there a better way? I like using the voice feature on iOS, and I don’t want to pay for Whisper.


r/ClaudeCode • • 8h ago

Help/Question Legit feels like we can build anything, but it’s like what’s the next step?

3 Upvotes

Feeling like this overwhelming feeling that we can build anything but it somehow all feels pointless and not sure how to get over that..


r/ClaudeCode • • 7h ago

Built with Claude Tried MiniMax's new model M78 and put it up against Opus 5.5

2 Upvotes

I'm in MiniMax's beta for M78, and after using it for a while it kind of felt better than Opus 5.5 to me.

So I ran an experiment. Same prompt, same Claude Code, both at max effort. I plugged M78 into Claude Code through the MiniMax API and ran Opus 5.5 on my regular Claude subscription.

I asked for an interactive 3D Mad Hatter's tea party in three.js, with everything built in code, stuff you can click on, and Drink Me / Eat Me to shrink and grow.

Both results blew me away. Each one went from that single prompt to a complete, working 3D scene.

The video shows the two finished scenes side by side (M78 on the left, Opus on the right), then both Claude Code sessions sped up 200x.

I'll put the full prompt in the comments.


r/ClaudeCode • • 21h ago

Discussion Are there any real alternatives to Opus for coding?

30 Upvotes

I've used pretty much every major commercial LLM in the past, but I've been exclusively using Claude Code for my current project for almost a year now, so I'm a bit out of touch with the latest Google and OpenAI models.

Are there any real alternatives to Opus for coding? I tried Neon today, but it didn't come close in my experience.

What's your experience with Google, OpenAI's models? Do you also use native clients like Agy and Codex?


r/ClaudeCode • • 11h ago

Help/Question My new 2nd claude $20 sub is draining 10-20x faster

4 Upvotes

I was blown away by how much my 1 year old $20 sub giving me that I cancelled my opencode go and took another $20 sub. I now realize how these AI companies are abusing lack of transparency around usage.

I connected this new account to my Hermes agent. I ran one content research skill in the Claude Code terminal at around 7:30am and it took the whole 5 hour limit. On my main Pro account the same kind of session costs me 4 to 6%, 8% at worst. That's roughly 12 to 25x more for the same thing.

The limit reset at 7:50. Since then I've sent maybe 2 to 4 messages through the Hermes chat to figure out drain. The context is around 130k. The meter went from 0 to 17% of 5 hour limit.

I took readings with a tiny probe call: 12% at 8:17, 18% at 8:32, 35% at 8:41.

These are basic requests of check usage kinda messages that doesn’t get 2% or none on my main account

For comparison, my main account in October was 12,514 messages and 3.08B tokens. That’s 2.09B Opus, 937M Sonnet, 58M Haiku, 11.7M output, and about 97.8% of the input was cache reads. At API prices that’s roughly $920 on a $20 plan.

Anybody experienced this? Any advice?

I’m thinking of upgrading my account to $100 sub instead as I feel they got something usage quota based account age or so.


r/ClaudeCode • • 3h ago

Help/Question Is it possible to use 2 claude accounts?

0 Upvotes

Okay so I´m a dev and Ive been making a proyect (im a junior so its a big one for me) consisting on a full web (front and backend), a desktop app and an android app. Its for personal use, for context;

Ive been running out of tokens pretty fast with the pro plan (2 days into the week) because I need to cover many parts of the project with 1 account (research, multi agent coding, versions...) and my own skills. I could do it with my own hands but it would take sooo much time just like you wouldn´t copy the info inside a pdf file whenever you want to move it with your own hands.

question is... Will I get banned for buying 2 pro plans (2 accounts), 1 for coding and 1 for research and versions? I cant buy the max plan since I cant really make full use of it and cant afford it... (spain wages + housing prices...).

tl;dr: Will I get banned for buying 2 pro plans for the same project, different tasks or will I get banned for limit usage avoiding?


r/ClaudeCode • • 14h ago

Rant CC made up how my own live system works, and told me to change real data based on it. Anyone else?

7 Upvotes

I use an AI coding agent to help run a live system. The code is right in its workspace.

I asked what the system would do at the next cycle. It confidently said "the cycle will do nothing" in my situation, and gave me a step to set a flag on live data. When I pushed back and it actually read the code, the code does act on the next cycle.

The scary part: a checked answer and an invented one look identical. Both are confident and detailed, with exact steps. My instructions already said, in caps, never to go by memory and always to check. It didn't hold. Even if it went by memory it should have said that the code acts on the next cycle. The code has ALWAYS done that, and CC helped code that up too.

My fix: before every reply, a second model checks each claim against what the agent actually read in that turn, and makes it correct anything unsupported.

Has this happened to you? How did you stop it?


r/ClaudeCode • • 4h ago

Built with Claude Alternative start menu inspired by the old windows versions

Thumbnail
gallery
1 Upvotes

I got tired of microslop’s horrendous ux/ui and remembered that we dont have to put up with their bullshit anymore in the age of claude code

I would upload it to github and share the repo but its just a few prompts on CC and you can make it exactly the way you want


r/ClaudeCode • • 4h ago

Tips & Workflows How I prevented Claude Code from losing his head over big repos without using up my weekly limits

1 Upvotes

Previously, I would allow one session to go on indefinitely until auto-compaction activated and Claude instantly forgot everything about the architecture that we had just agreed upon.

Switching to a strict "plan -> execute -> fresh review" loop completely fixed it:

- Plan first, clear context second: I have Claude write the implementation plan to a local PLAN.md file, then run /clear before writing a single line of code.

- Keep CLAUDE.md strictly as a map: Instead of stuffing it with style rules, I only list where things live (e.g., "adding a new API route always touches these 3 files").

-Fresh diff review: After a big batch of changes, I open a brand-new session that only sees the git diff and the original goal so it catches mistakes without agreeing with its own prior reasoning.

What’s your current strategy for keeping context clean on bigger projects?


r/ClaudeCode • • 8h ago

Help/Question Is anyone still actually using dynamic workflows in Claude Code? Why?

2 Upvotes

I use dynamic workflows myself, but lately I'm wondering if I even need them.

After a recent Claude Code update, bumping the effort level doesn't turn them on by default anymore. Did they get switched off because of the downsides, or did Anthropic find a single agent just gets more done per token?

My experience: it's slow and it eats tokens like crazy. A task often runs 3-4 hours and probably burns 5-10x what a single agent would, and the output isn't noticeably better.

Right now the only time I use it is the night before my weekly reset, when I've got a lot of tokens left. I give it one big task and go to bed.

So if you still use it, what for? Is it actually worth it for you?


r/ClaudeCode • • 16h ago

Rant Remeber when Amodei hyped up Mythos to be "too strong to relaese to the public"

9 Upvotes

Look at the mythos now, thats a generation after that hyped up model, lol

Basically everytime Amodei gives an interview on channels like CNN preaching dangers of ai and rsi he's getting a very strong free advertisement campaign that increase their company's value

as soon as he pocketed multi billions, he wrote another disgusting "pace the fronteir" essay while literally being the one accelerating frontier competition, when most of society have yet to see any tangible benefit to their lives other than having a bot send them email reminders, and still stuck in their jobs with rumors they're soon gonna be replaced by ai anyways

id be pretty happy to slow the progress down myself if i already have more money than i can use in my lifetime


r/ClaudeCode • • 14h ago

Bug / Issue [Update] Anyone else continually hitting safety blocks?

6 Upvotes

Original Post: https://www.reddit.com/r/ClaudeCode/comments/1y5rjuy/anyone_else_continually_hitting_safety_blocks/?source=notification

Apparently, clearing out the memories from older security audits fixed the safety filtering - but the recent safety filters won't allow me to scan my own codebase for a full security audit now..

and even worse, I tried orchestrating 2 agents to communicate with one another and tried including "Thoughts:" in the prompt - and apparently that triggers [reasoning_extraction] errors too.

Anthropic is literally ruining Claude, as far as I'm concerned. Looks like Google has officially surpassed Anthropic. Maybe the IPO was a cash grab all along?

Anyone else experiencing insane blockers, or is it just me?
Any tips on how to actually use Claude for professional development without getting railroaded at every turn?


r/ClaudeCode • • 12h ago

Built with Claude We open-sourced our internal code graph engine (with an MCP server)

4 Upvotes

We build games, and our repositories are big: the main one is 170k source files of C++, a couple of in-house scripting languages and shaders. Agents were bad at navigating it. To find who calls a function they grep the name, read every hit and burn context telling real calls from comments and namesakes. And yet the token consumption is not the "selling-point" – it is the reason.

So we built a code graph engine with an MCP server on top (it is engine at first with MCP happens to be on top), and we've been running it internally for our own agents and code review for well above half a year. We've now opened it up: kartta, MIT, written in Rust (for those believers).

What it gives an agent: where a symbol is defined, who calls it, what it calls, where it's used, what implements an interface, which files include a file, what an edit would break, plus file and content search. One server, 24 first-party languages (as of now, easily extensible), one set of tools.

The part we care about most is scale. Numbers from an M5 Max at 8 threads:

  • Linux kernel, 97k files, 2.2M symbols, 4.6M calls: first index about 20 s, about 3 s when the cache is warm, about 1.4 GB peak.
  • Kubernetes: 4 s cold, 1.4 s warm.
  • Callers of kfree across Linux, two hops: about 165 ms. Files that include linux/sched.h (20,988 of them): 1 ms.

And so that you know - as far as author aware - there is no engine that is capable to index linux sources at all, not to say that it works in seconds. Competitors do work hours to provide the same or less quality..

We tried the other code-graph tools we could find on the same trees before deciding to develop own and once more before to publish. On Linux they either ran for more than an hour or didn't finish. That's the gap we built this for. Our consumption makes it impossible to wait more than minute to be operationable.

MCP also follows the working tree: edit a file and the next query sees it. Besides being embeddable.

Honest limits:

  • It's tree-sitter plus resolution rules and heruistics atop, not a compiler. Answers carry a confidence mark, and it tells you when it left something out.
  • No edges across languages (no FFI hops), at least yet, wet dream, but costs much.
  • The version is 0.x because we're not ready to freeze the API, not because it's new to us, it serves us well than enough of time.

Install: cargo install --locked kartta-mcp, then claude mcp add --scope user kartta -- kartta-mcp. There's also an npm package and Go and Node bindings if you want the engine as a library.

Repo: https://github.com/GaijinEntertainment/kartta


r/ClaudeCode • • 6h ago

Discussion What do you think about Roblox MCP and Claude Code?

0 Upvotes

Tried building a roblox game with claude code and honestly it's the best decision I made.

I've built a bunch of prototypes and mini games on Godot, Unity, UE5 and plain browser games, but what Claude can do on Roblox is just wow.

Cool assets, tests, tons of stuff. same as other engines in theory, but here the whole dev process is way smoother and way more convenien.

Anyone else building games? How's it going?
Drop yours below. Mine are still in dev, will share after release. And please share your opinion and experience if you have some.


r/ClaudeCode • • 10h ago

Bug / Issue Why do Claude Code randomly switch to Spanish?

2 Upvotes

I have noticed recently that Claude seems to switch to Spanish from time to time. This is an example in one of my session, working with Opus 5.5 High. Has anybody else seen this?

There is absolutely no Spanish in this project


r/ClaudeCode • • 1d ago

Humor Flip it back

Post image
618 Upvotes

I you flip a table in Claude (not because of Claude by the way), it will put it back up :)


r/ClaudeCode • • 10h ago

Help/Question Moving to claude code for the first time (Cursor user)

Post image
2 Upvotes

Man, its been a long time comin'. I've been a loyal Cursor user since 2023 close to when it released. Was an avid defender of it all these years. I have zero issue with the new ownership. What lost me was how expensive third party AI became (I use Claude a lot) and these weekly limits on a plan I pay $100/mo for. I can't even use my own $100/mo plan right because of limits. Being that I use Claude Code the most, I'm FINALLY making the move to Claude Code.

Any advice for someone like me who makes near religious use of PLAN and ASK mode before implementing? Who's migrated, and what have you done to make your experience as close to Cursor as possible?


r/ClaudeCode • • 16h ago

Help/Question Usage going faster than normal for the past couple weeks?

6 Upvotes

I feel like my single sessions are using up way more usage than normal for the past couple weeks. Same workflows as the past months and I never ran into my 5 hour limit or if I did it was, then it was close to the end of the window, like 20 or 30 mins. Now i go through the entire 5 hour window in an hour and a half and it 1 5 hour window takes up like 25% of my weekly limit.

Is anyone else experiencing this? I am in the max $100 plan.


r/ClaudeCode • • 16h ago

Help/Question 20$ Plan performance

6 Upvotes

I was using antigravity pro plan and i want something better and was considering claude. What i want is to be able to code for atleast 1-2 hours a day (I know time is a terrible metric but suppose a scenario where I am building an app from scratch, i use one day's quota maybe to build a proper plan then use sonnet to implement those steps). Is the 20$plan still good enough for stuff like these and give quality results?

And i know there might a hundred of these posts everyday but please answer...


r/ClaudeCode • • 1d ago

Bug / Issue Weekly usage running fast, claude ultra plan.

33 Upvotes

Hey guys,

I have a question.

Are we gonna stay silent on the weekly usage running fast ?

Ive used to had 5 projects running on ultracode before october, and ive never run out of it.

Now with one project, using opus 5, medium, in two days i get to 80%.

They are silent and didn't mentioned anything about this.

Am i the only one, or there people too suffering from this ?

( Please abstain from the easy solutions, this is not something in peoople's setup, this is anthropic doing this )

Thanks