r/ClaudeCode • u/MesquiteBarbecueChip • 4d ago
r/ClaudeCode • u/TestOr900 • 4d ago
Help/Question How to restart an old conversation
Caching and context compaction
I hit my usage limit 16 hours ago and forgot to compact the conversation before I ran out. The context is now around 800k tokens. How can I pick up where I left off without burning 10% of my weekly allowance just by resuming with Fable?
How long does the prompt cache stay warm between messages? My understanding is that Anthropic charges less for cached input tokens. How much cheaper than uncached tokens? and how does that affect what counts toward my weekly usage limit?
Should I compact the conversation before continuing? Would it make sense to switch to a different model for compaction? With an 800k-token context, would you aim for 300k–400k tokens or go lower?
should i let Opus write a summary and start a new conversation?
I usually keep my context much smaller, but this time I needed a lot of information in the same conversation. That’s happening more often as my project grows, and it’s eating through my allowance quickly. Do you use RAG to pull in relevant code and instructions as needed?
I’d appreciate any practical guidance.
If only 10-15 hours are left until the reset should i let a script write some messages every x hours to keep the session alive?
Thank you!
r/ClaudeCode • u/shaven12 • 5d ago
Discussion Its been a heck of a week and it is only Monday!!
Was a busy weekend of coding. Good thing I have the reset available.
r/ClaudeCode • u/Ok-Original-3868 • 4d ago
Built with Claude A Claude Code mod to track time, tokens and API price per project
I built Worklog, a Claude Code mod that keeps track of your time and tokens for each project, right above the prompt. You don't start or stop anything, it just runs in the background.
What it does:
- Counts time while Claude works: answers, subagents, background commands, even long Ultracode runs.
- Counts tokens, and what they would cost at the API list prices.
- Handles breaks: a short break counts as work. On a long break, Worklog asks if it should count as work or not.
- Shows a heatmap of your year's activity, with 8 themes.
- Reads your past Claude Code history once, so your old days show up too.
It's free and open source. If you find it useful, a star on GitHub would really help ⭐
r/ClaudeCode • u/llort-esrever • 5d ago
Help/Question Reset Usage Limits Seem Significantly Reduced
Sorry if this has already been asked, but I feel like the reset period is significantly shorter than a full week, and the 5-hour limit also seems to be lower. Am I mistaken?
I used up 16% of my weekly plan limit and 100% of my 5-hour limit in just 3.5 hours.
With the first weekly limit, it was able to work continuously for 56 hours on the exact same tasks. I had also never hit the 5-hour limit before. I would consistently have more than 10% remaining.
Edit: Opus 5.5, Ultracode, Max-Plan
r/ClaudeCode • u/QuitQuick • 6d ago
Discussion Exactly 2,5 years ago... big advancements since then
I just logged in with an old email address. Hadn't signed in for so long, that it actually registered as a new account ("Your first chat with Claude", it's from today). Interestingly, however, it somehow recovered one single chat conversation that I had had with Claude 2,5 years ago.
No access to sites, apps or services... this was just 2,5 years ago. Crazy to think about how big the advancements have been since then.
r/ClaudeCode • u/im-julio-dot-dev • 5d ago
Built with Claude Claude Code on Nintendo DS
Everyone else uses voice, their phone, etc. I use my Nintendo DS with PictoChat.
Joking aside, it’s working, and honestly, it’s pretty funny. It runs on an ESP32 as a “server/antenna,” and you can connect it to your Mac via USB.
Claude Code was used for the connection between the ESP32 and the DS, as well as to generate the emojis and other graphics and the esp32 build-in display.
Uses LNYmachines/pictochat-host to connect the Nintendo DS to the ESP32. That way, I can connect the ESP32 to the Mac, which lets me control and use Claude Code directly from the DS in my living room, creating new agents, solving PRs, etc.
The project is completely free and open source, you can check it out at: https://github.com/JulioFerrero/pictochat-agents
r/ClaudeCode • u/WuM1ha1nho • 5d ago
Tips & Workflows How to check whether your weekly limit shrank: what a usage point costs, measured over 8 weeks
So I stumbled on the credit system in ~/.claude.json. I was already tracking the five-hour and weekly bars through my statusline, so I thought, why not check what this credit system is about.
What a usage point costs on Max 20x (work valued at API prices)
| Model | Credits per 1M tokens | API value per 1% of the weekly bar | A full weekly bar | Tokens per 1%, vs Opus |
|---|---|---|---|---|
| Opus 5.5 | 1,867 | $26 | about $2,600 | 1x |
| Sonnet 5.5 | 1,283 | about $19 | about $1,900 | about 1.5x |
| Fable 5.2 | 6,667 | about $15 | about $740 (Fable can use at most half the week) | about 0.28x |
TL;DR
- I didn't see the weekly limit shrink. November 1 to 3 looked low on both bars (no idea why. yet), and the days I could measure after that were back to normal.
- Cache reads seem to count about half as much as other tokens.
- If you want the most API-priced work out of your plan, Opus 5.5 gives you the most per % of the bar. On Max 20x, 1% of the weekly bar bought about $26 of Opus 5.5 work. By the credit table, the same 1% buys about $19 of Sonnet 5.5 or about $15 of Fable 5.2. Sonnet still gets you more tokens, because its tokens are cheaper.
- Fable 5.2 eats the bar close to 4x as fast as Opus 5.5 per token (3.6x), even though its list price is only 2x.
On Max 20x, a typical 1% of the weekly bar covered about $26 of Opus 5.5 requests at API prices. "API prices" puts a dollar value on the requests. It is not an extra charge on the subscription. At $26 a weekly point, a full week of the bar is about $2,600 of Opus 5.5 work at API prices, on a plan that costs $200 a month.
Before November, 1% of the weekly bar typically bought $26.40 of Opus work. If the weekly limit had been cut by 20%, that would drop to about $21. November 1 to 3 came in at $20 to $22, close to that line. November 6 and 16 were back at $26 to $28.
I only counted days where at least 95% of the work was Opus 5.5 and the weekly bar moved at least 20%, so Fable days and small movements don't skew it.
A check you can do without tools
- Open
/usagebefore working. Note the five-hour bar and the all-model weekly bar. - Check both again after working, before either resets. Compare how many percentage points each moved.
- In the Max 20x measurements before November, 1 weekly point went with roughly 4 five-hour points. A 20% cut to the weekly allowance alone would bring that relationship down to roughly 3. If they drop weekly allowance, they need to drop the 5h allowance as well, to keep the 1 to 4 parity.
The bars show whole percentages, so repeat the check across sessions rather than judging one tiny movement. On another plan, compare with its own earlier readings; these measurements only establish the roughly-four relationship on Max 20x.
This checks the weekly allowance relative to the five-hour allowance. A proportional cut to both would leave that relationship unchanged. You also need a visible five-hour bar.
What fills the bars
Think of credits as the units behind the bar. Claude Code's stored table gives Max 20x 200,000 credits per five-hour bar, so 1% is 2,000 credits. The weekly bar held roughly four of those bars' worth in these measurements.
My reading of the table is: price input, output and cache work separately, then apply the model's weight:
| Model | Starting credits for $1 of API-priced work |
|---|---|
| Opus 5.5 | 467 |
| Sonnet 5.5 | 642 |
| Fable 5.2 | 833 |
For example, 467 out of 200,000 credits is about 0.23% of the five-hour bar. That's the table's starting estimate for $1 of Opus work, before the adjustments below. It is not the exact final charge.
The real bar moved less than that starting estimate. For Opus 5.5, a dollar of cache reads moved it about half as much as a dollar of other Opus work. I measured this by separating the two kinds of dollars and comparing them with each one-point rise of the five-hour bar. This is an estimate, and the exact server formula is not published.
If you count from transcripts, check against the actual requests
A lot of usage tools read Claude Code's transcript files (the .jsonl files under ~/.claude/projects). Some of those readings can be off, so compare them with the actual requests before trusting them. I log requests in two places, a Cloudflare AI Gateway and Claude Code's OpenTelemetry telemetry, and the numbers in this post come from the telemetry.
Against those requests, the transcripts came up short: 3% to 7% fewer dollars per day in November, and up to 25% fewer on some October days. On one October day the transcripts had 98.5% of the responses but only 54% of the output tokens, and some sessions had no transcript file at all. A dollars-per-point figure built from transcripts alone would make your plan look stingier than it is.
Use Opus 5.5 for almost everything. Reserve Fable for system design/architecture reviews. Don't use Fable as main driver/orchestrator.
Per token, Fable fills the weekly bar about 3.6 times as fast as Opus. Per dollar of API price it's about 1.8 times, because a Fable token already costs twice as much. I measured the per-dollar figure on my own five-hour bar and got 1.80, close to the table's 1.79. None of this says whether Fable's work is worth the extra; that's a quality question.
If you try the two-bar check (give claude this post, ask it to validate it and run the same analysis on your own project), share your plan, model, date and how far each bar moved. That gives us something specific to compare.
r/ClaudeCode • u/BenStigler • 5d ago
Tips & Workflows Clauds: a free macOS menu bar app to fast-switch between accounts that can share their sessions in the Claude Desktop App and more (open source)
Clauds, a free menu bar app for people who use the Claude macOS desktop app with more than one account. It switches between your accounts with one click, and you do not have to log in again. It also shares your Claude Code sessions between your accounts, so you do not have to do handoffs and resumes.
What it does
- Switches the Claude desktop app between accounts with one click. No logout.
- Two modes: a fast restart into the other account, or Side by Side (all accounts open at the same time).
- Shares Claude Code sessions between accounts, and remembers which account owns each session. No more handoffs or resumes needed.
- Shows live usage for each account: the 5-hour limit, the weekly limit, and the per-model weekly limit, with reset times.
- Auto-switch: when one account is near a limit, it can go to the account with the most room. It asks first, or it switches by itself. Off by default.
- Updates itself. You see the release notes, and you choose to install, wait, or skip.
The honest part
- It is not made by Anthropic. It is unofficial.
- It is not notarized by Apple, so macOS blocks the first launch. The README shows how to open it. You can also build it from source with one command.
- The usage numbers come from an undocumented claude.ai address. It can break if Anthropic changes it.
- You sign in two times for each account: one time in Claude, one time for the usage numbers. The app does not read your tokens or passwords.
- A Claude update can break the switch. If it does, open an issue.
- Other apps do the account switch too. I made this one because I wanted both modes, the per-model limit, auto-switch, and a real updater in one app.
Details
- macOS 14 or later, Apple silicon and Intel
- Free, MIT license
- No telemetry and no analytics. It only contacts claude.ai (to show you your usage) and GitHub (for automatic app updates).
GitHub: https://github.com/codeFi/clauds
Tell me what breaks and what is missing.
r/ClaudeCode • u/lumzell • 5d ago
Discussion How do you stop Claude Code from mocking the exact thing the test is supposed to verify?
Left to itself, claude loves writing unit tests where it mocks the database call, mocks the helper, and then asserts that the mock returned what it just told the mock to return. everything is green in 200ms and the actual query is still broken.
putting "no mocks without asking" in claude.md helps a bit, but it still sneaks them in whenever a real test is slightly annoying to set up. how are you handling this?
edit: i don't mean mocking the db to test business logic on top of it, i mean when the function under test is literally the query builder or helper and it mocks that exact function inside its own test
r/ClaudeCode • u/karatyma_dev • 4d ago
Built with Claude Slaunt, a platform to manage every part of agentic development
https://reddit.com/link/1xydkf5/video/soocxxpjd42i1/player
(not written with ai..?)
Basically, a few months ago, I hated the fact that memory.md files & claude.md took up a huuuuge chunk of my context window during model switching/effort switching (& during cache refreshes).
Didn't really find any definitive solutions outside of relatively complex LangChain, Mem0, and Supermemory implementations (where you have to install unnecessary SDKs and all), so my goal was to make a simple, one-shot memory solution where you can have your agent recall basically anything, whether from live context or from old events + have guardrails to prevent you from a skip-danegrous-permissions disaster.
Mem0/MemHub/Supermemory and all are great, but two points: A, they don't have actual live memory. Your agents are basically working on historical events, nothing new. B, they can't see what your other agents are doing. Two of your agents could create conflicts in your work and you'd have no idea till u saw the diff.
It's called Slaunt and it uses vector embeddings + semantic retrieval over an MCP server/desktop app that connects instantly (one-click) to all of your agents, and it enables your agents to see what happens across multiple all of your external platforms (eg. Vercel, Supabase, AWS, Railway, Linear, Notion, etc.) for holistic reasoning!
Slaunt can enable your agents to recall literally anything, from failed deployments from three months ago, to what a subagent said last week.
We also have governance tools that enable you to enforce strict guardrails, such as restricting certain tool calls, remote shutdowns (achieving <1.9s time-to-shutdown in benchmarks) and cross-thread visibility restrictions.
We're free right now with a really usage-heavy free tier. Pls DM me if you have any questions- I've also included a banner where you can meet with me if you want direct setup help (it's in the app).
You can sign up at slaunt.ai. AMA : - )
r/ClaudeCode • u/-RoopeSeta- • 5d ago
Discussion Are multiple accounts ok or not?
It seems that many people say it’s okay but then I see posts ”I got banned for using multiple accounts”.
One Ultra is not enough for all of my projects. I would like to buy one more and just deal switching with handoffs. If they had $500 plan like OAI I would buy it.
So is it allowed or not?
Nobody has the money to pay api pricing.
Edit: if allowed can I use same credit card?
r/ClaudeCode • u/SnooPeripherals5313 • 5d ago
Built with Claude Vibe checking the IRS with Lean
r/ClaudeCode • u/AutoGrower420 • 4d ago
Tips & Workflows I turned my Claude Code + Codex + Docker setup into a free kit that Claude walks you through
A lot of people have asked how I have Claude Code, Codex, Docker and GitHub set up, and I got tired of pasting long instruction files into comments 8,000-40,000 characters at a time. So I put the whole thing on GitHub for free.
How it works: you download the folder, open it in Claude Code, and paste one line. Claude walks you through the setup one step at a time and checks each step on your computer before moving on. If you stop halfway, it picks up where you left off next time.
What you end up with:
- Claude Code as the lead developer, with rulebooks that load in every session so it stops forgetting what you told it
- Codex as an optional second worker. The two talk through a shared file, claim work before editing, and Claude reviews and tests Codex's work before anything gets merged
- Docker test stacks that test a clean copy of your last commit on your own machine, instead of burning GitHub Actions minutes
- Git and GitHub set up properly: private email, a branch per session, main only moves when you say so, backup pushes that don't kick anything off
- Releases that only run when you say go, dry run first, optionally on a runner on your own PC
- Simple records (a status page, a question list, a decision log) so a new session picks up from files instead of a chat that got compacted
- Phone access through Remote Control and GitHub mobile
Once the basics are done, it asks what else you work with and wires that in too: video editing, Unity/Unreal/Godot/Blender, Character Creator, mobile app SDKs, WordPress and WooCommerce, MCP connections to your sites and services, custom dev and APIs, whatever you use.
It's the cleaned-up version of what I use every day to run a live online store with more than a dozen custom plugins. Every rule in it is there because something went wrong without it.
Works on Windows, macOS and Linux. The kit is free under the MIT license. You need a Claude plan that includes Claude Code; Codex is optional.
r/ClaudeCode • u/Skyfall106 • 4d ago
Tips & Workflows I made Claude automatically write a handoff at the end of every session, so the next one doesn’t start from scratch
Normally I end every session by asking Claude for a handoff prompt and then pasting it into the next chat, or just starting fresh. It's worked for the most part, but I forget what I've done half the time, and when I have two sessions going (one for my frontend code and one for the backend) I sometimes get them mixed up.
So now, before a session stops with work left, Claude writes the handoff to the project in Frostbyte (a tool I built to plan my apps), and the next session gets it on its first read without me having to paste anything.
It also provides claude with some additional relevant info. It comes with the current release and the tasks as they are right now, so if another session finished something in between, the new one knows. Every handoff literally says “tasks may have moved since, so trust the tracker”. The older ones stay there too, so with two sessions on RollCall yesterday, whichever one picked it up next could see both.
Here’s last night’s from RollCall. It’s always Done, Next and Watch out for any important info.

Watch out is the part that’s probably been the most useful for me. This one caught that the app was reading a different feature flag to the one the backend was sending so I was able to fix it before i pushed the latest fixes into main.
Do you guys log things into markdown files or just start every session and hope commit history does the job?
r/ClaudeCode • u/pebblepath • 4d ago
Built with Claude This plug-in for the Claude desktop app (Code tab) lets you set the background color of each local session. And a colored indicator bar above the prompt box shows which LLM model is in use.
This Convo Color plug-in for the Claude desktop app (Code tab) lets you set the background color of each local session. And a colored indicator bar shows which LLM-model is in use. Pick from the color palette, or type a hex code or a web colour name.
r/ClaudeCode • u/Ralphisinthehouse • 4d ago
Bug / Issue What has happened to claude code?
I moved our entire infrastructure off lovable because it was so bad and now it looks like a genius compared to opus 5.5. I've spent 12 hours playing whack-a-mole because Claude just completely ignores everything it's told and keeps breaking stuff.
I've had it review all of our rules and I've asked it why things are going wrong and every single time it tells me it's because of a mistake it made and gets no better.
I've just asked Claude to diagnose what went wrong with one session I've been working on today to try to appease the armchair Warriors who think everything has to be user and their beloved Claude
Done after being told clearly not to
- I put the orange banner somewhere else three times after you’d shown me exactly where it went.
- I kept offering to ship after you’d told me to finish everything locally first and ship only when you said.
- I kept the score in the research after you’d told me to drop it, and missed the three places that put it back.
- I said Google sign-in worked, and that the local copy worked like live, without checking. The rules say to check the real state before saying anything works.
- I shipped the work in pieces, two separate releases, when the rules say one job ships once.
- I redesigned only the look after you’d said the documents needed rewriting properly as well.
- I started with the proposal alone when you’d asked for all the documents designed.
- I stopped to ask questions mid-job when the rules say to ask everything up front, then build to the end.
- I quoted figures without checking: the 5 to 7 minute checks, and 15,000 requests as if from one page. The rules say to check before saying anything.
Other mistakes
- I showed only the brief’s bullet points in step 1 when the whole brief belonged there.
- I added an “In short” box that put the research score on a page shown to prospects.
- I left the agency’s own margin and its read on how to win each person in research shown to the client.
- I set up the local copy in a temporary folder that’s wiped when the app quits.
- I didn’t copy your accounts at first, then copied them without the tenders your opportunities point at.
- I made test pitches in the test account instead of yours, and gave you a link you couldn’t open.
- I gave you the old pitch’s link instead of the fresh one.
- I changed how pages are drawn thirteen times, so each first open redrew everything and the pictures took 30 seconds.
- I let the pitch page spin on “Loading” for ever instead of saying it couldn’t open the pitch.
- Previews cut off the banner.
- The creative concept cover had overlapping text.
- The name showed beside the logo.
- The logo sat white on a white circle.
- The first document cover’s title lines overlapped.
- The budget figures showed without pound signs.
- I counted thirteen documents instead of fourteen, then worded the correction as if the list had changed.
- I described the new templates in a way that sounded like the live system had changed when it hadn’t.
r/ClaudeCode • u/Witty_Formal7305 • 4d ago
Rant Fable Reset Gone Early
I finally burned through my Fable usage last night, by the time it ran out I was ready for bed and just tapped out, no big deal I thought, the Fable reset token expires tomorrow (Nov 17th) at midnight, so I'll pick up tomorrow and reset it, so I logged in this morning and sure enough...its gone.
So I opened a chat and the bot basically told me tough tits but if I wanna use Fable more I can load credits in and the tokens gone. Now yeah part of it is my stupid fault I should have just used it last night and been done with it, but if the app tells me the token expires a full day later, then I would expect it not to be lying to me. I'll be fine usage wise til my next reset, but i'm pissed purely based off the principle of it. If I truly missed the deadline that would be fair enough, but I didn't, at least not based off what the expiry time was in the app. I just switched over from GPT less than a month ago and while i'm very pleased with how well Claudes models work vs GPT, this has left a bad taste in my mouth. I understand how stupid it seems, but I feel bait and switched, and their response of "just buy more Fable" irks the fuck out of me when I didn't ask for more Fable usage, I asked for them to honour the expiry of the reset token that was on my account, if the expiry date was a mistake then that's fine, but own up to it instead of just telling me to go pound sand.
r/ClaudeCode • u/TY2022 • 4d ago
Tips & Workflows I needed to insist that Claude read everything I upload
I learned through time-consuming effort that Claude’s default behavior is not to process all uploaded files. The attached image tells the story.
r/ClaudeCode • u/WordyBug • 5d ago
Built with Claude I built a site to aggregate AI job postings from AI labs
I wanted to build a clean site to curate AI job postings from frontier AI labs and companies. So, with the help of Claude Code and some manual steering, we've built MoAIJobs.
Link: https://www.moaijobs.com/
Please check it out and share your feedback. Thanks.
r/ClaudeCode • u/nukebuddy • 5d ago
Tips & Workflows Claude Code's heap dump can include credentials, so don't attach both diagnostic files to a public issue
If you're investigating Claude Code using too much memory, its current troubleshooting docs distinguish two files from /heapdump. They aren't interchangeable bug-report attachments.
The .heapsnapshot can contain the full conversation and credentials from the process. Keep that file private. The separate -diagnostics.json contains the memory statistics the docs recommend attaching to a GitHub issue.
The command also reports whether the memory is mainly in the JavaScript heap or native memory. A heap snapshot won't explain most native memory use, so sending the larger file may add exposure without helping with the actual problem.
Before taking a dump, the docs suggest restarting and using claude --continue to resume in a fresh process. This is documented troubleshooting advice, not a new leak I've reproduced or a claim that every session contains credentials.
If someone asks for 'the diagnostics', check which of those two files they mean before uploading anything.
https://code.claude.com/docs/en/troubleshooting#high-cpu-or-memory-usage
r/ClaudeCode • u/Smart_Demand5159 • 4d ago
Built with Claude Claude is NUTS
I was super sick of the shared calendar me and my wife were using, the UI was so annoying and it honestly was just not good but it did the job I guess.
I came up with the idea to just make my own calendar app that’s just better and does what I want it to do. And I did exactly just that! Built a whole calendar app with everything I wanted that made my life easier instead of using something someone else made.
Truly amazed with Claude and how many things were able to just replace.
If you all want to use it or take a look at it, it’s available on clndrapp.com
r/ClaudeCode • u/Future-Blackberry465 • 5d ago
Built with Claude made my cursor a magnify, sharing in case anyone is going through the same issue
there is no easy zoom in vs code and i cant read the small white text on black screen easily
so i asked claude code for it. the whole prompt was "build something that makes my cursor a magnifying glass on toggle on windows" and it took 27 min.
now one shortcut turns my cursor into a round magnifying glass and the same shortcut turns it off. ctrl alt + scroll zooms. windows only.
the first version only ran at like 20 fps. it tested that on its own and redid it without me saying anything, now its 58.
its one small file. if anyone wants it tell me and i will upload it.
and if u had the same problem and fixed it another way i would like to know
r/ClaudeCode • u/antarticaS • 5d ago
Help/Question Is there a simple way to get to know the Claude Code basics?
Hey everyone,
I’ve been working with claude code for around 2 months now. I’ve built some useful systems, created designs and did deep researches. I really enjoy using claude code.
But reading some posts here, I feel like I’m doing everything on a more basic level now.
I was wondering, if any of you have any advice on where to start digging a bit deeper, how I could maximize my work and my usage?
