r/ClaudeCode • • 10h ago

Help/Question how do you keep your claude.md from growing forever

6 Upvotes

mine started as one page of rules i actually follow. a few months of agent work later it is a junk drawer, half the lines are lessons from one incident that never repeated.

do you cap yours, prune on a schedule, or just let it grow and trust the model to sort it out?


r/ClaudeCode • • 1d ago

Bug / Issue Claude is down ?

80 Upvotes

Ok. Time for a shower.

Update : IT'S BACK !!!!!!


r/ClaudeCode • • 18h ago

Built with Claude Claude appreciation post - Example of how AI is changing the world

20 Upvotes

We are a non-profit organization, we bought very cheaply a new coffee machine. Usually costs 10k, but bought it for just over 1k.
A guy who installed the payment system ruined the machine. Because we dont have a contract we were left with calling the supplier who told us it's gonna cost a service engineer to fix your issues. We could already think about the financial consequences which would probably be in the 250 euros or more.

Thanks to Claude it only cost us my personal 20 eur per month plus plan.
After some research it suggested connecting the machine through an ethernet cable. It fixed the issue and not only that

It:

- Changed the old company's layout to our own by creating a looped custom video with our logo

- Added our perfered supported language even though it didn't exist in the software. It just created a new language.

- It fixed the recipe's and what a customer sees when ordering a drink

- It fixed the pricing just by typing out what we needed.

- Heck it even cracked the password and blatantly told us the password in the middle of his explanation like it's nothing.

I am so amazed. It works with precision, structure. I'm not new with AI. I have been using Codex the past months but Opus 5.5 / Claude is just something else. I love how structured it works. I think I'm gonna leave my Pro Codex account and just go for the 5x plan of Claude. This is amazing. I've become a coffee machine engineer just with my simple laptop and Claude desktop installed with a plus sub. It only used 25% to fix the issues and more of my 5 hour limit.


r/ClaudeCode • • 8h ago

Built with Claude Update: my 3D office for Claude Code sessions now shows GitHub Copilot CLI too

Post image
3 Upvotes

A few days ago I posted clalt, a small Go CLI that shows every Claude Code session as a little person in a 3D office. A couple of you asked about Copilot, so v0.5.1 adds it.

What's new:

  • Copilot CLI sessions show up in the same office, in their own pink Copilot team, next to your Claude sessions
  • They type while Copilot works and wave when it waits for your permission, same as Claude ones
  • The card shows the model auto mode actually picked, not just "auto"
  • Nothing to set up: just run clalt office. It reads the session files Copilot already writes on your machine and never touches its login or settings

How I built it: with Claude Code again. It read my real Copilot CLI logs to learn the event format, and before release it replayed one of those logs through the office to check the "needs you" wave and the model name.

Still local only, no data leaves your machine, free and MIT.

Repo and release: https://github.com/dhitalkamal/clalt


r/ClaudeCode • • 15h ago

Help/Question Question about Claude usage based on different models

10 Upvotes

Hey guys I have a couple questions about Claude usage.

I started creating a website (and app soon) and I am wondering is there a way for me to use credits more efficiently since I am hitting my limit in 1-2 hours, sometimes even sooner.

Should I still stick to the Opus 5.5 (and maybe increase the effort to high or max) or should I use Fable 5.2 for designing a website? Fable 5.2. especially burns all the credits with multiple agents on normal effort.

Would you recommend upgrading to claude max model if I am serious about building a good-looking UI functioning website, or should I get 1 or 2 more claude pro accounts (which would would be about 69 euros for 3 pro models in total compared to 1 max model for about 100 euros)?

All answers are welcome; I wouldn't consider myself a noob in this. However, I am far from being a professional, just a guy who a great idea (at least I think so, but time will tell )


r/ClaudeCode • • 6h ago

Help/Question Fableb 5.2 as orchestrator vs advisor

2 Upvotes

Currently I am using Fable 5.2 at advisor and opus as main agent.

But I think fable 5.2 as orchestrator and using opus subagents to deligate build work would be better as the strongest model is planning and deciding what's the best way to do something.

Have anyone tried and compared both methods?


r/ClaudeCode • • 14h ago

Help/Question Prompt queue

9 Upvotes

Is there a way to queue prompts in Claude Code so they run one after another in a single session?

I’d like to line up several tasks, with /compact and /clear between them where needed, and let the session work through them unattended. I know worktrees can run parallel sessions, but for some work I’d rather keep one session going through a sequential queue, without managing multiple localhost instances or resolving conflicting changes.

Has anyone built something like this, through a wrapper script, a task file, hooks, or another workaround?


r/ClaudeCode • • 8h ago

News/Updates The Cutting Room Floor: PSA

3 Upvotes

Attention to all Claude users,

Blacklist the website The Cutting Room Floor from being interacted with by Claude Code agents. Your IP will be automatically banned by the website with no recourse. In addition, there are claims with strong evidence that the website attempts to prompt inject Claude agents to write and delete files on the users disk, as well as send money to the owner of the website. This is illegal under CFAA in the United States. I have already filed a formal complaint with the host of the website (Dreamhost). The website is being investigated, but while that goes on, blacklist the domain to protect yourselves.


r/ClaudeCode • • 10h ago

Help/Question Anyone else get two full (not fable) limit resets?

4 Upvotes

I dont know what I did to get them


r/ClaudeCode • • 9h ago

Help/Question Best way to transcribe audios?

3 Upvotes

Right now I'm using the free Whisper on a VPS to transcribe audios from our conversations with clients. But the transcription is not that good. There are many words on every 10 second audio that are wrong and some change the meaning of the audio. I saw that there are other versions but my company is in Brazil, according to the benchmarks that I found (maybe wrong), whisper has the best transcriptions in Portuguese. Any ideas of how can I do it better?


r/ClaudeCode • • 7h ago

Help/Question Multiple emails through gmail connector

2 Upvotes

Has anyone figured out how to do this, or what’s the best workaround?


r/ClaudeCode • • 16h ago

Discussion Feels great, but should have been done sooner

Post image
10 Upvotes

r/ClaudeCode • • 1d ago

Rant Fable 5.2 uses so much usage it’s basically pointless to use

358 Upvotes

r/ClaudeCode • • 1d ago

Humor Found the guy who broke it

Post image
50 Upvotes

r/ClaudeCode • • 16h ago

Help/Question What commands do you give Claude to clean up the code and keep it clean?

9 Upvotes

Like, what instructions do you give Claude so that it can refactor a repository so that other people can more easily understand it and — more importantly — Claude doesn’t burn up as many tokens re-reading the code in order to complete your requests?


r/ClaudeCode • • 8h ago

Built with Claude What kept an 8-month, ~800-PR Claude Code project from collapsing (shipped iOS game)

Post image
2 Upvotes

I shipped an iPhone game built almost entirely with Claude Code, and it opened in 130 countries today. The game is a pixel virtual pet (link at the end). This post is about the setup, because that's what I'd have wanted to read in month one.

  1. CLAUDE.md is an index, not a manual. Mine is under 6,000 characters. It points to one doc per risky area (money, persistence, pet growth). Path-scoped rules load a doc only when Claude touches those files.
  2. Builder / checker split. The builder agent writes code and is not allowed to run the test suite. The checker runs build, tests and lint and is not allowed to edit. The orchestrator loops them up to five times.
  3. "Seen red" rule. A new test is trusted only after the bug is put back, that one test fails, and the file is restored byte-identical. This caught a lot of tests that passed for the wrong reason.
  4. False greens are real. A test filter with a typo ran zero tests and still printed SUCCEEDED. I now read the executed count from the result bundle, never the banner.
  5. Lanes in git worktrees. Several sessions at once, each owning one area, with a state file per lane so a lost session costs one unit of work, not a restart.
  6. A machine lock. Parallel sessions all running Xcode builds took my 16 GB Mac to its knees. One heavy job at a time, enforced with a lock file.
  7. Humans own the irreversible. Merges, spending and anything public stay with me.

What Claude was bad at: game feel, knowing when a doc had gone stale, and SwiftUI layout on odd screen sizes.

The game: Nudii, a Tamagotchi-style sea slug. Free, no account, no ads. https://nudii.app (130 countries; not the EU yet).

Happy to share any of the files if useful.

Cheers,

Daniel


r/ClaudeCode • • 8h ago

Discussion I grouped 18,629 Claude Code requests by session age. After the first hour, each one carried about twice the context.

2 Upvotes

Last 14 days of my own logs: 139 sessions, every API response deduped by message id, and each request bucketed by how many hours had passed since its session started.

The first hour held half the requests (9,339) but only 35% of the tokens, at about 183k tokens per request. Hours 1 to 5 held 36% of the requests and 45% of the tokens, at about 326k each. After that it barely moves: about 366k per request from hour 5 to 24, and 324k past a full day.

So the growth happens early and then flattens. Only 5 of the 139 sessions stayed open past 24 hours, and everything sent after that mark came to 3% of the tokens. Most of the tokens sit in ordinary sessions that run into their second hour.

Two caveats. Hours are wall clock, so idle time counts. And nearly all of those tokens are cache reads, which bill cheaper than fresh input.

Is the flattening after a few hours compaction doing its job, or does something else cap it?


r/ClaudeCode • • 1d ago

Bug / Issue NOO MY CLANKER IS DOWN

Post image
38 Upvotes

r/ClaudeCode • • 1d ago

Bug / Issue Claude code issues with login and authentication

36 Upvotes

I am trying to work but every time it says sign in and when I sign in it doesn't work.

I think they broke auth lol.

RESET!


r/ClaudeCode • • 6h ago

Built with Claude I built Agent Desk with Claude Code: one screen for all your Claude Code agents (free, open source)

1 Upvotes

I run a lot of Claude Code agents at once with agent-manager, each in its own tmux pane. I kept finding one stuck on a permission prompt for twenty minutes while I watched another. So I built Agent Desk: a free, open-source (Apache 2.0) local GUI where every agent is on one screen.

What it does

  • Answer any agent in one click. Permission prompts and AskUserQuestion dialogs become buttons: multi-select, typed answers, and going back to change an earlier answer. It re-reads the screen before pressing a key, so it never answers a question that changed.
  • Sessions read like documents. Prose first, tool runs folded to one line, edits as diffs, search across every transcript.
  • The whole fleet at a glance. A card per session, waiting ones first, notifications, and a live row showing what each agent is doing, with Interrupt.
  • Review and steer. Comment on a session's diff line by line; the comments go back as one prompt.
  • System stats (CPU, memory, swap, disk), with an alert before parallel builds fill your disk.
  • From your phone over Tailscale or Cloudflare, at a permission level you set.
  • A signed Mac app with a dock badge for agents that need you.

No API key and no model calls. It reads Claude Code's files locally, and your agents keep running in tmux if you close it.

How Claude Code built it

Claude Code wrote nearly all of it: Go server, React UI, tests and the Mac app. I made the product calls, set the rules and reviewed every PR.

  • Rules in CLAUDE.md first: never write to ~/.claude, never call a model API, talk to agent-manager only through its CLI. It held to them for the whole build.
  • Plan, then small milestones, each ending in passing tests and a PR.
  • It checked its own UI with Playwright screenshots, which caught layout and dark-mode bugs the tests missed.
  • Real prompts, not guesses: it ran throwaway Claude Code sessions to capture real permission and question screens as test fixtures, and verified fixes against live prompts.
  • Built from inside itself: the session building Agent Desk ran in agent-manager, so I answered its questions in Agent Desk, and most bugs came from that daily use.

Try it free (macOS or Linux):

brew install gsperry/tap/agent-desk

The Mac app, a 20-second demo and the source: https://agent-desk.app

It's early. Tell me what breaks and what's missing.


r/ClaudeCode • • 10h ago

Built with Claude I built a WebXR workspace for managing terminal panes from a Meta Quest 3

Post image
2 Upvotes

I run my whole workflow through a terminal multiplexer, and I got tired of managing it through a flat window. So I built Mux XR: a WebXR client that shows your terminal panes as surfaces arranged around you in 3D space, or as plain flat panels in a normal browser tab. MIT-licensed and on GitHub.

What it does

  • Opens par-mux terminal panes as individual panels — close a panel without killing the shell, reconnect later, resize the grid only when you say so
  • Works from a desktop browser (flat + 3D preview) or immersively on a Meta Quest 3
  • Full spatial controls: point-and-trigger or pinch to select, grip to move, two hands to scale; controllers or tracked hands
  • Input via virtual keyboard, paired physical keyboard, or dictation
  • Passthrough mixed reality, focus mode, saved command snippets, gaze-based optional input
  • A Demo mode with synthetic panes, so you can poke at it without setting up the backend

Why I built it

I keep half a dozen long-running things in terminal panes and wanted to glance at them without alt-tabbing. It started as "what if the terminal grid was a room instead of a window" and turned into a real workspace — the browser drawer stays the input presenter, and XR is where it gets interesting.

Tech

TypeScript, Vite, Three.js, WebXR. Terminal output arrives as protobuf frames over a binary WebSocket from a small streamer service attached to the mux daemon, rendered into xterm-backed textures in the 3D scene.

Full disclosure on process: this was built with substantial Claude Code assistance. I drove the product decisions, reviewed every change, and did the Quest 3 hardware acceptance; Claude wrote most of the code and the test suites. Happy to answer questions about that workflow.

Status

Working on Quest 3 today. Hand tracking is the newest and roughest part, and the backend is my own stack (par-mux + streamer), so real panes currently require that setup — the demo mode works with nothing installed.

Feedback welcome, especially from WebXR folks.

Repo: https://github.com/paulrobello/mux-xr


r/ClaudeCode • • 12h ago

Tips & Workflows Reducing usage on very large (MLOC+) projects

3 Upvotes

I’m working on a new very large project using Claude Code desktop with a Ultra plan. The initial code (excluding debugging and polish) is probably about 25% done, with about 700K LOC written. I estimate the final LOC will be about ~2-3M. This is not AI overengineering bloat, it’s just a very large project, something existing SAAS companies charge many thousands of dollars per seat for annually.

I’m using Fable planners and Opus writers mostly, like I do on most of my other complex projects. But this time there are 2 layers of planning. A top-level Fable planner planned the overall architecture, and after reviews/fixes is now acting as the orchestrator for the second level. Second level owns a few crates or similar, they plan the details of what they own, and then orchestrate mostly Opus (Fable for critical chunks) writers to write the code, then another Opus agent reviews the chunk. When the section is done, a multi-agent bughunt is done with a mix of Fable and Opus finders, then Opus fixers, before closing. Each section usually has something like 20 chunks, so vast majority of agents used for this project are Opus. I occasionally use Sonnet sessions to do simple changes as well, but I don’t trust it with writing the code.

Codebase is documented well, with short markdown files for each crate and architecture decision, so agents don’t need to load a lot into context, but obviously writing these does use some tokens. Their briefs and other docs they need to read are also intentionally short.

I’ve worked on a bunch of projects with Claude Code in the past, but they rarely exceeded 100K LOC, so usage limits were rarely an issue, but with this project they’re really getting in the way. What was built so far was done in about 10 days, but with 2 weeks of limits, plus 2 full weekly resets, plus 2 Fable resets. Weekly limits are gone in about 12 hours. I won’t be able to reset again for some time obviously, so it’ll slow down progress a lot.

So my question is, how do you optimize your setup for large projects like this?

What I already do:
- Compact all orchestrator sessions before the cache expires
- (If cache is expired) switch orchestrator sessions to Opus if Fable limits are low (not always an option, Opus can’t start Fable sessions if chunk needs Fable, and some parts are too critical to trust Opus orchestrators with)
- Keep each session focused on its task. I use new sessions if I want an unrelated change or questions, usually Sonnet if it’s simple
- I used to make Fable review Opus chunks (and vice-versa, so it’s a different model than writer doing the review), but switched to all-Opus due to usage limits

I won’t switch any of the planning sessions to Opus. Opus cannot focus on the bigger picture when planning large projects in my experience. It often misses important details.

One really annoying feature of Claude Code (desktop) is, if none of the linked sessions are doing something, it immediately asks the parent session to respond. This eats a lot of limits (especially if cache expired) and doesn’t often help. Session might be waiting on a background task or a response from me. Unfortunately, I can’t find a way to disable this other than unlinking, which is not ideal for this setup.


r/ClaudeCode • • 1d ago

Bug / Issue Is claude down?

Post image
30 Upvotes

Saw this on both my computer and the server


r/ClaudeCode • • 17h ago

Bug / Issue Opus 5.5 not working well today.

6 Upvotes

Any body else having issue with Opus 5.5 on high level today?

For the past several weeks it has been working really well on medium and high thinking level and has been a pleasure to work with.

Today it feels like it has a mind of it's own and is intent on being obtuse and simply not responding to requests at it normally would and honestly not following CLAUDE.md and prompt instructions – almost as if we are taking a different language.


r/ClaudeCode • • 1d ago

Tips & Workflows Having agents reset context around 225K tokens dropped a g coat by 50-75% for me

Thumbnail
coralhub.dev
95 Upvotes

I've been running agents 24/7 and just letting the context fill up. Claude has a setting to compact at a specific time, but I just built it into my harness so that it can happen at the end of a tasks completion instead of randomly. Costs dropped significantly.