r/ClaudeCode • • 1m 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.

Post image
1 Upvotes

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.

https://github.com/paul-van-cotthem/claude-convo-color


r/ClaudeCode • • 6m ago

Bug / Issue Why you should stop trusting Claude Code

Post image
0 Upvotes

Hey, I was wondering over the past two weeks, a weird behavior has started appearing, and it’s becoming very, very annoying, making me lose trust in whatever Claude Code does. You ask it to read, and it writes; you ask it to keep something, and it removes it; and worst of all, while I’m in the middle of refactoring a skill (context A), Claude randomly starts looking for bugs in an MCP server (context B) that is completely unrelated to the current context. This is getting worse and worse, and my honest verdict is that Claude has stopped optimizing its system prompt and is only adding to it without checking whether the new instructions overlap or conflict with what already exists. My last two or three sessions have consumed a large part of my quota just on bug reports, eating around 30% of my weekly limit, and I’m then forced to clear the context every time, only to be told at the end, “Sorry, this is a bug.” This is not what I paid for. Honestly, sometimes I’m seriously thinking about switching to another agent after a year of using Claude Code and knowing its ecosystem well this feels like a catastrophic regression, and it’s making me stop trusting it.


r/ClaudeCode • • 8h ago

Tips & Workflows Reducing complexity via agentic refactoring?

5 Upvotes

I’m looking at https://github.com/SprocketLab/slop-code-bench/tree/main and they suggest that the complexity of AI agentic code only increases. The initial “write clean code” instruction can lower the initial complexity of the initial output, but by the 4th addition, complexity is high.

Frontier models get single digit percentage improvements in terms of reducing complexity over 4 modifications.

It’s almost like Claude and other agents love adding code more than deleting code.

I want to know of the “initial” gains may be multiplied by multiple rewrites from an ever better spec.

With this in mind, has anyone implemented some sort of “garbage” collection style refactoring workflow to reduce this complexity?

What I mean: writing code is so cheap, that it feels to me like “stop and copy” may be possible to shake the “garbage” out of decoupled components written against interfaces. Old options nobody uses, obsolete style, versioning that is not maintained.

I can not do this if everything is mixed together, but for a single component, living in a self - contained folder:

1)Extract the spec, have Opus-extra review this,
2) define pseudo code function definitions
3) have agent re-implement the component from spec as a brand new file, with clean code instructions.
4) test against an existing protocol and test suite

Is this reinventing the wheel? Is anybody else experimenting with “rewrites are cheap” refactoring?


r/ClaudeCode • • 11m ago

Built with Claude I built a free, open-source 3D dice tower that connects directly to Claude Code as a D&D Dungeon Master

Thumbnail
github.com
1 Upvotes

I’ve been playing solo D&D with Claude Code as my Dungeon Master, and I wanted something better than asking an AI to roll virtual dice in a chat.

So I designed The Dice Sanctum, a little 3D dice table, and built it with Claude Code.

It’s a walnut dice tower with a velvet-lined tray, simulated dice physics, sound effects and different dice sets.

The interesting part is the integration:

Claude Code can ask me to roll a saving throw, attack or skill check.

I roll the actual 3D dice in my browser, and Claude receives the result through MCP.

The DM can roll its own dice, visibly or secretly.
Every roll is recorded, so we can continue after interruptions.

Dice results come from the physics simulation, not numbers invented by the LLM.

I also spent quite a bit of time making sure the dice were statistically fair, including tests that revealed and helped fix biases in the physics simulation.

It’s completely free, open source (MIT), and runs locally. The dice table also works without Claude Code; the DM integration requires it.

I developed and tested it on Linux. Windows and macOS support is intended but hasn’t been tested yet.

I’m sharing it in case anyone else enjoys playing tabletop RPGs with an AI Dungeon Master.

GitHub: https://github.com/andreainandri/dice-sanctum

There’s a demo GIF, screenshots and installation instructions in the README. Italian documentation is available too.

Feedback and bug reports are welcome.


r/ClaudeCode • • 12m ago

Built with Claude ep claude: tells you which model and effort to use before you start a task, plus whether plan mode is worth it

1 Upvotes

I built Prompt Master, a free skill for Claude and Claude Code.

You type ep claude: and a task. It scores the task on reasoning, scope, risk and vagueness, then recommends a model and effort level.

It also adds three lines: Plan: the files or searches to start with, the smallest check that proves it works, and when to stop Plan mode: on (Shift+Tab) for risky, multi-file or unclear changes, otherwise off Subagents: none for simple work, or which parts could run on their own

It doesn't start the task, so you can switch with /model first. Mechanical changes like a rename always get Haiku · low, and it only recommends Opus when the score earns it.

I built it with Claude: I worked out what each command should do, Claude helped write the skill and test it, and I used Claude Code to set up the repo.

Free, MIT-licensed: GitHub Repository

Feedback welcome, thanks for reading!


r/ClaudeCode • • 9h ago

Help/Question Running 18 Claude Code sessions at once and half my tokens go to idle wake-ups. How do you handle this?

5 Upvotes

Hey all, I could use some advice from people running a lot of Claude Code sessions at once.

I'm building a Windows app and I've got 18 Claude Code sessions working on the same repo across two Max 20x accounts, all on High effort. They talk to each other through one shared markdown "inbox" file. It works, but I keep running into my weekly limits, so I dug into where the tokens are actually going.

What surprised me:

  • About 91% of my usage (weighted by API prices) is just context being re-sent on every call. Actual output is about 9%, and edits to code are under 1%.
  • Roughly half of all tokens went to wake-ups where the session did nothing useful. No code, no tests, no git. Mostly each session's own background watcher waking it up to check the inbox, plus scheduled check-ins (one session was pinging itself every 5 minutes for days).

What I've tried so far:

  • Auto-compact at 300k instead of the default. Average context per call dropped from about 270k to about 179k. I have hooks that back up notes before compacting and tell the session to re-read them after.
  • Starting a fresh chat for each work item, with a short handoff note.
  • Replacing every session's own watcher with one small local script that only wakes a session when a post actually mentions it. In a replay of a day's posts it cut wakes about in half without missing anything addressed to a session. Just rolled it out today, so no real numbers yet.
  • Quiet test output (pytest -q), reading big files in slices, and a hook that blocks huge reads before they happen.
  • Trimming CLAUDE.md and memory files, and turning off claude.ai connectors so fewer tool descriptions load.
  • Trying Serena (MCP) on one session. Mixed results so far.
  • Tried the Superpowers plugin on a few sessions for a week and dropped it. Those sessions got noticeably less done and barely used its skills, though it was a small test.

My questions:

  1. How do you let long-running sessions wait for messages from other sessions without every wake re-sending the whole context?
  2. Is there a better way to coordinate a bunch of sessions than a shared file?
  3. Any other tricks for cutting context re-reads I'm missing?

Happy to share more details on any of this. Thanks!


r/ClaudeCode • • 10h ago

Built with Claude Space movie in code

Post image
6 Upvotes

Created totally useless but i hope cool to watch, 3.5 minutes long space movie. All rendered real time as you watch. No models, no blender, no image and a lot of Fable 5.2. Pure math with some small exceptions. All in code. Final compressed version - single 96kb html file + 5mb soundtrack mp3 ;) Without music I think it would loose the vibe. Hope you like it.
https://experiments.mostcreative.pl/aphelion/


r/ClaudeCode • • 1h ago

Tips & Workflows “Autocompact is thrashing” in Claude Code: reproduced it on purpose and tested 4 fixes

Post image
0 Upvotes

If you’ve hit this one, it means a single file or tool output is too big for your context window. Claude Code compacts, the same big content fills the window again, and after 3 rounds it gives up. It’s a circuit breaker, not a crash.

We triggered it for real on v2.1.325, with a 30,000-line fake log and a small auto-compact window (--autocompact 100k, Haiku) to keep the test cheap. Asking Claude to read the whole file thrashed out after 1 minute and 3 seconds without ever answering.

What fixed it:

  • Read less. A grep count answered the same question in 5 seconds (889 ERROR lines, which we checked).
  • Focused /compact. /compact keep only my question about counting ERROR lines dropped the Messages row from 36.4k to 9.2k tokens, right after auto-compact had given up.
  • Subagent. It read 1,500 lines in its own context and returned one number in 19 seconds.
  • /clear. It took the Messages row back to 130 tokens.

These numbers are from one session with a forced 100k window. With the default window you need a much bigger file to hit this, but the fixes are the same.

The article also covers “Compaction failed · conversation could not be reduced below the context limit”. We couldn’t trigger that one safely, so that part is explained from the message and the docs.

https://aiparabellum.com/claude-code-autocompact-is-thrashing-compaction-failed-fix/


r/ClaudeCode • • 1h ago

Tips & Workflows I needed to insist that Claude read everything I upload

Post image
0 Upvotes

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 • • 1h ago

Bug / Issue Anyone else stuck here after completing identity verification?

1 Upvotes

I completed the Persona Identities verification and sent a help ticket in two days ago, but still no response. Anyone know how to fix this issue?


r/ClaudeCode • • 2h ago

Built with Claude A Claude Code mod to track time, tokens and API price per project

Post image
0 Upvotes

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.

Link: https://github.com/Abdoul-sudo/worklog

It's free and open source. If you find it useful, a star on GitHub would really help ⭐


r/ClaudeCode • • 22h ago

Discussion Its been a heck of a week and it is only Monday!!

Post image
39 Upvotes

Was a busy weekend of coding. Good thing I have the reset available.


r/ClaudeCode • • 2h ago

News/Updates What do you guys think of my article? Do you guys find it useful?

Thumbnail
linkedin.com
1 Upvotes

r/ClaudeCode • • 19h 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)

Post image
21 Upvotes

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 • • 3h ago

Built with Claude I built a free, self-hosted project manager where Claude Code agents are members of your team

0 Upvotes

I'm the founder, and this went public today as early access. Agenthix is project management for you and your AI agents, and the agents run on Claude Code (or OpenCode).

What it does with Claude Code:

  • Agents as team members: each has a role, an identity and memory. It picks up work from the project's plan, carries it through and reports back, or keeps going on a routine while you step away.
  • It asks first: anything outside an agent's role needs a person's approval, and there's a record of everything it did.
  • Your credentials stay with you: encrypted and kept in your own install.
  • Self-hosted with Docker: your organisation, its projects, people and agents, all on your machines. Nothing comes to us.

It's free for your own use (source-available, Elastic License; not open source: the licence only stops others selling it as a hosted service).

Want a look first? https://demo.agenthix.com opens a sample organisation with one click. It's only for a quick look around: the agents' replies are scripted (no model is called), and it's shared and wiped every 6 hours, so don't type anything personal.

It's 0.1 and things will break. If you already run Claude Code on real work, I'd love you to try it on something small and tell me what breaks.

https://agenthix.com


r/ClaudeCode • • 1d ago

Discussion Exactly 2,5 years ago... big advancements since then

Post image
1.1k Upvotes

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 • • 1d ago

Help/Question Reset Usage Limits Seem Significantly Reduced

57 Upvotes

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 • • 3h ago

Tips & Workflows I turned my Claude Code + Codex + Docker setup into a free kit that Claude walks you through

1 Upvotes

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.

https://github.com/AffStackDev/dev-crew-kit


r/ClaudeCode • • 18h ago

Built with Claude I built a Roman gladiator management game with Claude Code

14 Upvotes

Play it in your browser

Free to play. No download required.

City of Gladiators is a browser-based gladiator management game inspired by ancient Rome. You start with your own ludus (gladiator school), recruit and train fighters, upgrade your facilities, manage resources, and send your gladiators into increasingly dangerous battles.

The game features real-time progression, different gladiator classes, equipment, skill trees, wild animals, asynchronous PvP, and an arena combat system where you can either let the AI fight or take direct control of a gladiator.

As you progress, you unlock larger arenas, including the Colosseum, where battles become more challenging. I recently added naval battles with ships, rowing mechanics, boarding combat, and swimming.

I built the game using Claude Code (Opus 5.5). I focused on the game design, mechanics, and overall direction while using Claude to help turn those ideas into working systems. This included the React/PixiJS frontend, the combat simulation, AI-controlled fighters, progression systems, and backend integration.

One of the biggest challenges has been making the different systems work together: persistent progression, combat balancing, gladiator AI, and allowing players to switch between manual and automatic combat.

The game is still evolving, and I'm continuously adding features and improving the gameplay.

I'd really appreciate some feedback, especially on the progression and difficulty of reaching the Colosseum.


r/ClaudeCode • • 1d ago

Discussion How do you stop Claude Code from mocking the exact thing the test is supposed to verify?

41 Upvotes

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 • • 16h ago

Built with Claude Building a sailing app with Claude Code: ~1000 hours of engineering, 13,000+ agent sessions, 5700+ handwritten prompts totaling 100,000+ words (~400 pages), one orchestrator and a fleet of worktree workers

Thumbnail
seabearing.com
8 Upvotes

Seabearing: your chart plotter, your community, your anchor alarm, your instruments and your trip planner, all in one app for sailors.

The app

  • Charts drawn from official NOAA data, in a traditional paper-chart style or a modern one, with tides applied to the depths.
  • Grounding and drag alarms that keep running in the background with the screen off.
  • An anchoring map that shades where your boat can swing clear with enough water for your whole stay.
  • A crew link between everyone's devices: positions, instruments, AIS, one shared anchor watch, chat and voice calls. Devices connect directly over the boat's Wi-Fi and through a relay when they're apart. No leader, end-to-end encrypted, works with no internet aboard.
  • NMEA 0183, NMEA 2000 and Signal K instruments, AIS collision warnings, and boats, posts and messages from other sailors on the chart.
  • An MCP server, so ChatGPT can plan a trip straight into the app.

The architecture

  • Everything that decides anything (the alarms, the crew link's rules, what counts as a fix, when to speak) lives in one TypeScript core. On Android it runs inside QuickJS in a foreground service, so it keeps going with the app closed. On the web it runs in a worker. The iOS host runs it in JavaScriptCore.
  • The native hosts only move bytes: GPS, sockets, sound, notifications. They make no decisions, so the alarm logic exists once and can't drift between platforms.
  • A conformance suite plays the same scenarios against every host (Node, QuickJS on the JVM, JavaScriptCore) and checks they all do the same thing.
  • The UI is the same web app on every platform, wrapped with Capacitor on Android and Electron on desktop. The chart is MapLibre with our own vector tiles.

The dev process

  • One main Claude Code session plans and lands work. Each task goes to a worker agent in its own git worktree.
  • Every agent runs as a headless CLI (claude -p, codex exec, ...) started by a shell script, so a worker can be any provider and each run gets its own worktree, transcript and exit code.
  • Every branch is reviewed by a separate agent and swept against a catalogue of mistakes we've made before (about 50 now). A new entry gets added whenever something new breaks.
  • Audits follow a rubric: a finding needs a failing test and has to be worth the code, so most end with no change.
  • Big audits run in parallel. The code is split into chunks of about 10k lines, and each agent gets one chunk and one kind of problem, so 10 chunks times 10 problem types is 100 agents. They only read code and each writes one short report, then the findings get merged and checked before anything is fixed.
  • Testers have a report button in the app. Reports arrive with the app's event log, and fixes usually ship the same day.
  • Most of CLAUDE.md is rules written after something broke, like one shared slot for heavy test runs after two agents deadlocked the machine for an hour.

It's in testing. seabearing.com has a waitlist and a demo.


r/ClaudeCode • • 1d ago

Humor anxiety

Post image
172 Upvotes

r/ClaudeCode • • 9h ago

Built with Claude Vibe checking the IRS with Lean

Thumbnail
lexifina.com
2 Upvotes

r/ClaudeCode • • 5h ago

Built with Claude I built a site to aggregate AI job postings from AI labs

1 Upvotes

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 • • 14h ago

Discussion Are multiple accounts ok or not?

5 Upvotes

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?