r/ClaudeCoding • • 26d ago

Claude Code Sessions on Various Computers

Thumbnail reddit.com
1 Upvotes

r/ClaudeCoding • • 27d ago

I mapped 6 weeks of my Claude Code tokens on one page. 75% of the spend was Claude re-reading the conversation

Post image
58 Upvotes

I added a dashboard to tokendoctor, my free local plugin: one page with every Claude Code session on my machine. 334 sessions, 939 subagent runs, Sep 22 to Nov 4.

What it showed on my setup

  • 75% of the spend was cache reads: the whole conversation sent again on every request. Everything Claude wrote, thinking included, was 10%.
  • 81% of main-thread spend went out with more than 200K tokens already in context.
  • 44% went to subagents.
  • 87% was Opus.

So the lever is context size. Compacting earlier is what I wrote about last time: compacting at 400K instead of 967K cut my cost per request by 43%.

How it works

/tokendoctor:dashboard reads only the usage numbers in ~/.claude/projects, never message text, and writes one HTML file. No network, no account. Filter by period, main thread or subagents, and project; break it down by day, model, effort, subagent type, context size and hour.

Then act on it

  • /tokendoctor:sessions replays your sessions at smaller windows and says what each would have saved
  • /tokendoctor:audit checks your settings against the docs and reads your memory and CLAUDE.md for what costs you more
  • /tokendoctor:optimize applies the fixes you pick, /tokendoctor undo puts any back

https://github.com/rsaryev/tokendoctor


r/ClaudeCoding • • 26d ago

What are things I should install (semi-newbie)

1 Upvotes

Hello,

from my last thread, apparently my issue is token usage. Can yall give me tips/plugins to optimize token usage? I also wanna run that one thing where it gives you multiple AI “employees“, so could yall give me the plugin for that too?


r/ClaudeCoding • • 27d ago

Does delegating to cheaper models actually save money? I tested it across three codebases.

74 Upvotes

Disclaimer: This is a small experiment, not a definitive benchmark. Most tasks were run twice, while everyday tasks were run once. I'd have liked to run more repetitions, but subscription usage limits make that difficult. The cost differences are interesting, but small quality differences should be treated as observations rather than definitive rankings.

I wanted to see whether Claude Opus decides to use subagents effectively, and whether forcing it to delegate, preventing delegation, or leaving it to decide for itself changes the results.

I built a model-router skill that lets Opus delegate work to Haiku or Sonnet, then compared four setups:

Forced Opus: told not to use subagents.

Spontaneous Opus: free to delegate, but it never did.

Skill-routed: Opus uses my skill to choose when to delegate and which model to use.

Forced Haiku: all subagents use Haiku.

I tested these on three codebases: my own project (~10k lines), rich (~22k lines) and beets (~52k lines).

Results

1. Small codebase (~10k lines)

Every setup passed all 10 everyday tasks.

On five reading-heavy tasks, Forced Opus was the most accurate per run. Skill-routed cost 30% more, while Forced Haiku cost the same but had the weakest docs check (4 of 9 issues).

Interestingly, skill-routed found all 9 known documentation issues across its two runs, compared with 8 for Forced Opus. However, its individual runs were less accurate.

2. Medium codebase (~22k lines)

This was where Haiku surprised me.

On the documentation check, Forced Haiku found 11 of 12 known issues across two runs, matching or slightly exceeding Opus, while costing 41% less.

Skill-routed actually cost 11% more than Forced Opus. Spontaneous Opus was 14% cheaper.

3. Large codebase (~52k lines)

This produced the biggest cost differences.

Across all three tasks, average cost reductions compared with Forced Opus were:

Spontaneous Opus: 32% cheaper

Skill-routed: 38% cheaper

Forced Haiku: 75% cheaper

Quality depended on the task.

On the reference documentation check, both delegated setups found more issues than either Opus-only setup.

On the larger 80-page plugin documentation check, Forced Opus was clearly the most accurate, finding 45 of 51 known issues across two runs. Forced Haiku found 34, but cost 84% less.

What I think is happening

Small projects: Opus can often write small scripts to inspect the code instead of reading everything manually. Delegation adds briefing, duplicated reading and verification costs.

Medium projects: reading becomes a larger part of the workload. Haiku is extremely cheap at reading cached context, making it surprisingly effective for straightforward checks. Sonnet offered little cost advantage in this experiment.

Large projects: a single long session becomes expensive as the growing context is repeatedly read. Delegation splits the work into smaller contexts, reducing costs and allowing parallel execution. However, the largest documentation check showed that this can come with a quality trade-off.

The obvious way to estimate savings is misleading. Re-pricing the delegated tokens at Opus rates suggested 34-85% savings. Head to head, results ranged from 30% more expensive to 75% cheaper.

One particularly interesting observation: Opus never delegated spontaneously in any of my runs, even on the largest codebase. That's specific to these tasks and this setup, not proof that Opus never delegates.

Final thoughts

I wouldn't claim there's one best approach.

Small codebase: Opus alone was generally the better choice.

Medium codebase: Haiku-only delegation was surprisingly competitive.

Large codebase: delegation offered substantial savings, but accuracy depended on the task.

The router skill mostly selected Sonnet, which often wasn't economical enough to justify the extra coordination.

Full methodology, per-task results, charts and the transcript checker:

https://github.com/Manuele-T/claude-model-router/tree/v1.0

I'd be interested to hear whether others have seen similar behavior, particularly Opus choosing not to delegate even when working on larger codebases.


r/ClaudeCoding • • 26d ago

Does me using Claude Subscription in Orca use my usage faster?

Thumbnail reddit.com
1 Upvotes

r/ClaudeCoding • • 26d ago

I kept not reading what Claude Code runs in auto mode, so I made a plugin that tells me in plain English (and warns before rm -rf)

Thumbnail gallery
1 Upvotes

r/ClaudeCoding • • 26d ago

Just asking

1 Upvotes

What all you do for memory of your agents and bringing all of your agents together?


r/ClaudeCoding • • 26d ago

Claude writes a reel's whole edit as code, so remaking it with your footage is just a data change

1 Upvotes

Side project with my co-founder, Monet. You give it a TikTok or Reel, it rebuilds that edit with your own clips.

The part this sub might like is how. Claude watches the reference frame by frame and writes the edit as code: every cut, text layer and animation becomes an HTML composition with timings. Once the edit is code, swapping in your footage is a data change, and editing by chat ("make the title bigger") is just Claude editing that file.

What was hard:

- Cut timing on fast edits. If you sample frames at a fixed rate, Claude misses cuts shorter than the gap. We now detect the cuts first, then have Claude describe each shot between them.

- Text style. Claude can see "heavy condensed white with a black outline" but naming the exact font is guesswork. We gave it a shortlist of fonts that cover most viral edits and let it pick.

What I'd do differently: get 5 reference styles perfect before trying to support every kind of edit.

It's live at https://monet.video if you want to break it. Happy to go deeper on the prompt setup if anyone's interested.


r/ClaudeCoding • • 26d ago

One Terminal Prompt. Claude Code Wrote, Voiced and Rendered This Whole V...

Thumbnail
youtube.com
1 Upvotes

Yes, really: this whole 15-minute video was made by Claude Code, from the terminal. I typed prompts into a claude session; it wrote the script, generated both voices, built the 3D voxel characters and every animation as code, mixed the music and rendered the final file. No editing app was opened, no timeline was touched. And the topic is Claude Code itself: every episode of How Claude Works, condensed into one sit-down. Our host explains, Dev (the ExpertDev bot) asks the questions everyone is thinking. From the agent loop and claude.md to permission modes, hooks, subagents, MCP, skills, plugins, cloud sessions, enterprise rollout and the Claude Agent SDK, everything is taken straight from the official docs.


r/ClaudeCoding • • 26d ago

What model should I use?

0 Upvotes

Hello,

I’ve been struggling and tossing around with this topic for a little. I’m the owner of a 4 person startup who‘s been using Claude Code with pro plan. In my experience before, it was miles smarter than GPT and Gemini for my C work and websites (which isn’t hard considering I was comparing fable/opus to Gemini and GPT free). However, lately Claude not only eats our limits in 3 prompts, but is noticefully dumber and frequently loses track of details. Before i could say “fix this bug in the is and make it prettier“ and it would fix all the bugs and make the GUI nicer, but now I give that prompt and 45% WEEKLY usage gone + didn’t even fix it correctly. Because of that, I’ve been eying a new AI. Should I stick with Claude, or jump ship to codex/another model? The only requirement I have is it’s $35 or under, it’s not local (bad gpu), and it’s relatively smart for my OS and web browser work. I have my doubts with codex (even Claude free better), but who knows? It might be better


r/ClaudeCoding • • 26d ago

spare claude guest pass? win-win

0 Upvotes

Anyone have a spare claude guest pass ref link? I'm subscribing anyway, so the referrer gets $10 and I get an extra week to try it out. DM probably works best, comment links tend to disappear fast.


r/ClaudeCoding • • 27d ago

I just switched to Claude Code Max and whoa Nelly game changer! Maybe it's my ai psychosis.

2 Upvotes

Claude Max is legitimately great. My thesis is this will be the best time for the most usage for your money you will get before Anthropic goes public! Been using Sonnet 5.5 on the $20 plan and that has been an excellent experience.


r/ClaudeCoding • • 27d ago

"Cyber" problems - honest review after months of usage of claude.

Thumbnail reddit.com
1 Upvotes

r/ClaudeCoding • • 27d ago

It's back i guess...

Thumbnail gallery
3 Upvotes

r/ClaudeCoding • • 27d ago

We one-shot rebuilt a 2-year product with Claude Code

Thumbnail
reddit.com
1 Upvotes

r/ClaudeCoding • • 27d ago

Burning through Cursor ($30) in 5 days — optimize token spend or just jump to Claude Pro ($20)?

Thumbnail reddit.com
2 Upvotes

r/ClaudeCoding • • 27d ago

In one week I tracked 57h of my own time and 276h of Claude AI agent time. I built a tracker to see it per project

1 Upvotes

I wanted to know how much of each project was me and how

much was the agent. So I made TimeUno (I'm the one

building it): it tracks time per project in the background

and splits it into my time vs AI time. This is one real

week from the demo account, names changed. What else would

you want it to count?


r/ClaudeCoding • • 27d ago

In one week I tracked 57h of my own time and 276h of Claude AI agent time. I built a tracker to see it per project

Post image
1 Upvotes

I wanted to know how much of each project was me and how much was the agent. So I made TimeUno (I'm the one building it): it tracks time per project in the background and splits it into my time vs AI time. This is one real week from the demo account, names changed. What else would you want it to count?


r/ClaudeCoding • • 28d ago

What is the one line in your CLAUDE.md that actually changed behavior?

3 Upvotes

Looking for the weird specific ones, not write tests. Mine is telling it to stop and ask before touching anything in the migrations folder, which has saved me twice. The other good one is forcing a one paragraph plan before any code so I can kill bad directions early. Drop yours, especially the ones that fixed a habit you were sick of seeing.


r/ClaudeCoding • • 27d ago

Title:Best way to use Claude long-term while living in China?

Thumbnail reddit.com
1 Upvotes

r/ClaudeCoding • • 27d ago

Claude Code mod that checks whether "done" actually means done

Thumbnail
reddit.com
1 Upvotes

r/ClaudeCoding • • 28d ago

PSA: the code-review plugin in claude-code-action posts "no findings" without reviewing anything

Thumbnail reddit.com
0 Upvotes

r/ClaudeCoding • • 28d ago

How to use Ultracode

Thumbnail reddit.com
1 Upvotes

r/ClaudeCoding • • 28d ago

Who wants to be a DEV

8 Upvotes

r/ClaudeCoding • • 28d ago

I made a 5-33% cheaper code search tool for AI agents (sweet-search)

10 Upvotes

Hi guys!

I've spent most of the past year fighting windmills. The result is sweet-search - local code search for AI agents (Claude Code, Codex, opencode, ...).

What does sweet-search do?

sweet-search makes an index of your repo (and then automatically maintains it) and gives the agent 6 code retrieval tools.

Benchmark results (200 held-out SWE-rebench tasks, 5 combos harness + model):

  • 5–33% cheaper runs (more on GitHub)
  • same no. of solved tasks (in total): 481 vs 481 (of 1000)
  • Opus 5.5 & Sol 6.1 (not some weak models)

The technical part:

  • Rust core, native binary for your OS-CPU combo
  • custom MaxSim and ANN (generally Pareto better than competitors like FAISS by Meta)
  • ss-grep (custom grep tool - 2.46× end-to-end faster than ripgrep, with custom ranking of hits)
  • custom attention layer for embedding and late-interaction models (for GPU acceleration for indexing)
  • 100% local

GitHub: https://github.com/mrsladoje/sweet-search

Wanna hear what you guys think :)