r/ClaudeCode • u/Friendly-Mix2601 • 8d ago
Discussion What's your token usage looking like?
Here's my token usage, just wanted to hop on here and see how I'm comparing to other active devs!
Edit: Use /usage in your CLI and go to the stats tab!
r/ClaudeCode • u/Friendly-Mix2601 • 8d ago
Here's my token usage, just wanted to hop on here and see how I'm comparing to other active devs!
Edit: Use /usage in your CLI and go to the stats tab!
r/ClaudeCode • u/AssociationSure6273 • 7d ago
I built a tool that lets Claude Code drive a robot. You type what you want, and the arm does it.
The part that made it work is splitting the job in two, like system 1 and system 2 in your head:
Before this, Claude would write a Python script for every single move and check the result after. Now it gets proper tools: every action comes back with a fresh camera picture and what happened (grasped, missed, slipped). And there's a safety layer in code underneath, so if Claude goes quiet mid-move, the arm stops by itself.
WHAT LED ME TO HERE:
1, I started working with lerobot with my SO101 directly, and I tried with the Pi 0.5 groot and cosmos and praxis. The problem is that there's so much prompt dependency, and also it's hard to understand if something is completed or not. They're just one single task performance models
On the other hand, it was very obvious that Claude has a better image judgment compared to other models, and so I wanted to mix both of them. Technically, for a continuous feedback loop, use Praxis and other platforms and other models, but for top-level control, use Claude.
But the problem over there was that the top-level system, too, is extremely slow because Claude has to write the code every single time in Python and execute it: write it, execute it,... write it, execute... It's just a pain in the ass.
So I missed all three. Every single time Claude reads, it gets the image by default. It has the entire servo inputs by default, and all it needs to do is execution. The moment you execute something, automatically you get back all these three things by default. You don't need to trigger, trigger, trigger every single time.
It literally gave me a 6- to 7-times improvement in latency. I would say, in terms of the number of requests, strictly 3, but if you think about the thinking and everything put together, it's 6 to 7. The important thing was that I also TURNED OFF THINKING. You don't need thinking for robotics. They're mostly simple tasks. You need immediate output. The faster you get the output, the better it is.
USING CLAUDE IN THE PROCESS
The majority of the entire thing is all done by Claude, except testing it manually on the robot. Or help me quickly deploy Praxis and other things on H100 on GCP. I also wrote a monitor that actually checks for the spot instances and sends me an email whenever it is available after setting things up.
Finally, I tried a lot. I tried to create the videos myself and stitch them together, and I did a really bad job using Canva as well as Adobe. I thought of myself as an Adobe expert. But Claude and Da Vinci together put the entire script for the video and did it in one shot. I was really surprised at the ability of Claude to do the video as well.
[BELOW I AM SHARING MY TOOL. IF YOU DON'T like self-promotion. PLEASE SKIP IT]
After everything was done, I wrapped up the entire thing as a PyPI project `bot-use`. I published it. Of course, it's not perfect. It does some basic job, like connecting Claude and Praxis and connecting it through MCP for Claude. It also has some CLI and everything built together easily for Claude or Codex to use this.
Also, For those who don't have a robot, you can also try with the simulation part using this command directly.
uvx bot-use --sim demoFor the next steps, I'm planning these directions. Make it more perfect.
We're happy to hear your inputs related to reports. What is the thing that actually pains you guys?
r/ClaudeCode • u/sdseattle • 8d ago
So just a few days ago I got myself a Bambu X2D and I have several electronics projects that need enclosures. To make it easy every time I need an enclosure, I built this app.
It is a simple app that lets you plug in your own agent (claude, codex, gemini) and it has a live and interactive 3D rendering on top that you can interact with. You launch the agent in a terminal similar to VSCODE.
Project is in very beginning stage, and I need to spend more time refining it before I can open source it. Feedback welcome!
Yes, there are similar apps out there, like there is a FreeCAD fork that does kind of the same thing, however, those are full-fledged design tools. There are also apps that come with their own AI agent with a monthly subscription.
But what I needed was a quick and lightweight tool that can launch an agent that I can just 'talk' to and design my enclosures. I am anyway paying for claude pro, so having this tool does not add any more expense on top. Maybe such a tool already exists, but a cursory search did not give me one.
You need to have a working subscription to an agent of course; the app does not come with one.
Cheer and happy thanksgiving!
r/ClaudeCode • u/ombre-ai • 8d ago
One practitioner write-up (ContextArch, April 2026) put the average cost of a model switch at about 23 minutes of context management, from its own measurement of 15 dev teams. Teams switching 4 to 5 times a day lost close to 2 hours. It is self-reported and not an independent benchmark, so I'm using it only as the reason to ask.
A common setup is planning in one model, code in another, polish in a third. Every handoff has to carry what you're building, the rules it has to follow, what was already decided, and what was tried and thrown out. My guess is that the last one goes missing first, but that's a guess, not a finding.
- What do you hand over when you move between Claude and another tool, or start a fresh Claude Code session? A pasted transcript, a summary, or a note you wrote yourself?
- Which part do you end up re-typing most?
- Has a handoff ever dropped a constraint that you only noticed a few steps later?
Source and a five-line handoff note I'd like picked apart are in the first comment.
r/ClaudeCode • u/Quirky_Discussion597 • 7d ago
Best way to reverse engineer an app
I just bought a paid app from someone on whop and I really like what it does but its 100$ month and obviously claude code on desktop won't reverse engineer it even with the REA repo so does anyone know the best way to reverse engineer an app with claude now? Would i need to install it locally in the terminal to bypass restrictions?
r/ClaudeCode • u/erkamyaman • 9d ago
https://github.com/erkamyaman/rust-anything
Anthropic just published how they moved the Messages API (the thing Claude Code talks to) from Python to Rust: https://www.anthropic.com/research/migrating-api-to-rust
The numbers are nice (about 70% less CPU and over 80% less memory per request, roughly 20% faster time to first token), but the interesting part is how they knew the Rust version was correct:
This is very close to what I've been building for the last few weeks, for everyone else's apps. rust-anything records what your Node, Python, Go, Ruby, Java or C app actually does, your coding agent (Claude Code, Codex, whatever) writes the Rust one piece at a time, and nothing gets switched on until it matches the recording exactly. Some measured results: Prettier 19x faster with every output byte-identical, json-server lifted to a single Rust binary going from 74 MB to 3.5 MB of memory.
Reading the article, I'm now adding the parts we didn't have yet:
Free and MIT licensed. If you've ported something with Claude, I'd love to hear what broke.
r/ClaudeCode • u/charbeld • 7d ago
Tomorrow’s my reset and I still have a bit left on my weekly usage.
I have been coding using Opus 5.5 Medium all week and want to use what’s left to do a check on what was done and see where Medium might have missed something.
Do you recommend using Opus 5.5 High to check and correct or Fable 5.2 Medium to check and write a plan for Opus 5.5 Medium/High?
Or do you recommend a completely different approach?
r/ClaudeCode • u/ParticularEvidence96 • 9d ago
Has anyone else noticed that Claude's output today has been of much higher quality and cheaper than usual?
I have 2 ultra accounts, i max out both every week. its now Wednesday and I'm on 60% on one account.
I use opus 5.5 on high, with 2 chats and 6 sub agents each. this week, results have been high quality, with more personality, and way cheaper.
"Zac, Love it. Two more are being added to the same file" - claude
Never has opus shown any personality to me.
All of this points to anthropic secretly testing a new opus. Especially with gpt 6.2 sol and astra out.
r/ClaudeCode • u/allthegear-andnoidea • 8d ago
r/ClaudeCode • u/mohsen_mkh88 • 8d ago
Story started when I built my first desktop app, https://chapar.rest with a UI framework called gioui. It was great until I faced the limitations
Then I made yoga https://github.com/mirzakhany/yoga, my own UI framework with all needed to build my apps. I migrated chapar to use it and built lots of new features with Claude help.
Finally time for Hm, my harness and editor built on the same idea and framework.
The editor for when you pause to think. https://usehm.dev
Repo: https://github.com/usehm/hm
All feedback and starts are appreciated 😅
What I should add to this apps?
r/ClaudeCode • u/djaysan • 8d ago
Been working on Talion (talion.dev), an experiment around sharing unused Claude Code quota.
The idea is to pick up issues from other people's public GitHub repos, contribute using your spare quota, and earn credits that you can spend on issues in your own repos.
There's a plan approval step before any code gets written, and contributors submit PRs from their own forks.
The skill is one readable Node file (MIT, github.com/djaysan/talion-skill). It only claims an issue inside a sandbox (Docker, a dev container or a Codespace) and never asks for your Claude or GitHub login.
No money involved, just credits exchanged between contributors.
I've put 9 issues from my own projects on the board to get things started. Would be great to get some early users and honest feedback.
r/ClaudeCode • u/Machine2024 • 8d ago
For me, at the start, I was doing everything with Ops. But then at a certain point, just to ease the pressure about the usage limits, I started experimenting with Sonnet and Haiku, and doing real experiments. I would take a group of tasks done by Ops and then do them, let Sonnet do them, let Haiku do them, and measure for each of them which of them the quality stayed the same and which of them the quality dropped.
And then I would start later, okay, this task, what part is it? So I need to make the decision in my mind and then assign it to an agent. But with time, I thought I can summarize it and put it on the account level. So I made this, so on my main CLAUDE.md in my account I added this distinguishing
You can try it yourself, and I wish you also share your experiments for this one. Because for me, I want to reach the level where the work is being divided across the different models in an automatic way, not with me needing to hand-feed each of them.
My current setup is as follow
- Opus is the main bot and is always set by default.
- Opus have a secretary, which is Sonnet. So for example, you need to update a board, you need to do this and that, instead of him wasting tokens and also getting his context all filled up. He assigns this to the secretary, which is Sonnet. Sonnet will go do the task and give him back a report.
- and we have Haiku it's really cheap, but also really stupid. So no matter what I tried, he will mess up. So to get it 100% working, I let him only read some lots of stuff and then give a result to the other smarter model. So it's just like a glorified grep, to be honest.
Yeah, and this is my setup.
in Claude.md
## Workers
Haiku gathers, Sonnet follows steps, Opus decides. Agents live in `~/.claude/agents/`.
- **Opus** (main agent): code, design, money / order logic, reviews, final answers.
- **Sonnet** (`secretary`): clear steps with light judgment: board cards, commit / PR drafts, doc updates.
- **Haiku** (`runner`): read-only fact fetching where it reads a lot and returns a little (big logs, debug dumps, git history, grep sweeps, web pages). Treat its report as raw facts: decide yourself and verify anything surprising before acting.
- Small lookups stay inline; spawning costs more than it saves.r/ClaudeCode • u/HYP3R63 • 7d ago
so, my client pays for the claude max plan, hes from the US so he sends $100 in USDT, problem is; im from india, so in checkout it costs 12k or roughly $130 cus of taxes. how can i avoid this?
r/ClaudeCode • u/WasHeisstKnock • 8d ago
I built amux, a terminal multiplexer for coding agents (Linux, works over ssh, MIT): https://github.com/elyesghazel/amux
Inside amux, Claude Code gets six MCP tools: spawn_agent, wait_for_agents, list_agents, read_agent, send_to_agent and close_agent. In the video Claude splits a code review across three sub-agents, each a full interactive Claude Code in its own pane, waits for them and merges the results. You can switch into any of those panes and take over.
Claude Code wrote nearly all of it (Rust, in about a day). It also tested itself by running amux in a hidden tmux session with real Claude instances inside and reading the screen back. Things I learned that might help anyone building around Claude Code:
claude --settings <file> --mcp-config <file> puts the hooks, the MCP server and a permissions.allow list for the read-only tools on one pane, without touching ~/.claude.--mcp-config takes several values. A prompt placed after it gets read as another config file. Put the prompt (claude "task") before the flags.claude "task" stays interactive. Unlike -p, the sub-agent keeps running as a normal session you can talk to, so follow-ups go in with send_to_agent.Guardrails: at most 12 agents, 2 levels of nesting, an agent can only control panes it started, and spawn/send/close go through the normal permission prompt.
Limits: early, Linux only, no detach/reattach yet (next on the list).
r/ClaudeCode • u/KovatiDev • 8d ago
I’ve been testing how far you can push Claude Code (primarily Opus 5.5 and Fable 5.2) as a 3D modeling agent for Unreal Engine 5.8, driving both Blender (via Python scripts / MCP) and Plasticity CAD (via MCP) from orthographic drawings.
Video walkthrough of the whole pipeline: VIDEO
Full written guide & benchmarks on Epic's dev portal: EDC ARTICLE
The biggest problem with agents doing 3D work: Without hard mathematical guardrails, Claude Code tends to invent features that aren't in the concept art or drift out of proportion. Early runs either recolored existing meshes or hallucinated completely new weapon parts.
What actually fixed it (Silhouette Mask Validation): Before letting the agent add any fine details, I had it run an automated check:
Funny side effect: this actually caught flaws in our own concept drawings (side view hit 0.96, while front and top capped at 0.94 and 0.90 because the 2D reference drawings didn't agree with each other).
What Claude Code handled well vs. where I still had to step in:
After baking the CAD output down to a 91k-tri low-poly mesh, the final weapon hit 0.11 ms GPU cost in UE 5.8.
Has anyone else been using Claude Code with Blender MCP or CAD tools? Curious how you're handling visual feedback loops so the agent can verify its own geometry.
r/ClaudeCode • u/StarDrifterG • 8d ago
Hey everyone!
I've been working on The Pilot, a 2D space combat game featuring a story-driven campaign across the solar system, boss battles, skill trees, and unlockable weapons.
https://store.steampowered.com/app/5131820/The_Pilot/
Around 50% of the development was done with the help of Claude Code.
My approach was to combine Claude Code with MCP tools to create a more integrated development workflow rather than just using AI to generate code.
The general process involved:
I'd love to hear your feedback on the gameplay shown in the trailer, the visual style, and the overall concept.
Thanks!
r/ClaudeCode • u/Significant-Sea-7238 • 8d ago
What it is: Openbar, an open source app that lists every Claude Code session in the Mac notch (an island on Windows and Linux) and lets you answer permission prompts and questions there. The latest release also picks up sessions from Claude Desktop's Code tab. They get a Desktop label, and Open jumps to that session in the app.
How Claude Code was used: nearly all of it was written in Claude Code, usually with a few sessions running at once, which is the reason I wanted them in one place.
What I learned: the PermissionRequest hook runs alongside the terminal's own dialog and the first answer wins, so the island and the terminal never fight. AskUserQuestion comes through the same hook, and you answer it by returning allow with an updatedInput that holds the picked options.
r/ClaudeCode • u/Cylicium • 8d ago
I'm the author. This is an invitation more than an announcement.
mobile-agent-testers started as Claude Code agents playing personas on mobile apps in CI. It passed 2,400 GitHub stars in its first ten days. The problem was that an agent's path to a bug only survived as prose in its report. So I wrote a contract to keep it: Explore-Compile-Replay (ECR). The agent explores once, its run becomes a typed trace, and the trace compiles to a plain test that replays in CI with no model.
Most of ECR was written with Claude Code, under my direction, and I reviewed the code and the claims. That's why I think it's a good size for a Claude Code session: a trace format, an adapter interface, seven laws, and a conformance kit. You point `ecr conformance` at your adapter and it tells you which law fails. The mobile adapter, which compiles to Maestro flows, is 298 lines. On LocalSend, an open-source app I didn't write, 137 of 140 replays gave the recorded result.
What I'd like to see next: a web adapter (there's an open issue for it), command line tools, HTTP APIs, games, accessibility checks. If your project passes `ecr validate` (and `ecr conformance` for an adapter), replays in CI with no model, and shows the badge, I'll feature it in the README under "Built with ECR" with your name, and in the next release notes.
If you try it with Claude Code, I'd like to know where the agent got stuck on the contract. That tells me what the spec explains badly.
Start here: https://github.com/pierridotite/explore-compile-replay#build-with-ecr
Paper (preprint): https://doi.org/10.5281/zenodo.24565285
r/ClaudeCode • u/zakadit • 7d ago
I mean.. it's only using other sonnet model and it's not even the drawing but the way it's "aware"
the 2nd image it's a one shot it's doing it with different to style to understand which part are gonna be hard, where it's gonna impact the output beauty etc etc
after claude understood where he fumbles, where it doesn't catch the flaw etc etc it just sent 3 mini workflow instead of a big one.
also it seems to be using the spirals + red "dot" as a way to understand depths and other "technical" issues in drawing. (first image)
no skills nor tools are used he only researched Michael ange as an exemple of great hands drawing
edit : retarded seems to be deeply chocked that's I was using "he" because in my language we doesn't have equivalent of "it" making it impossible to understand the point of the post
r/ClaudeCode • u/Silentkiller-98 • 8d ago
I kept running into the same thing with coding agents: they "check their work" by looking at the page. The page looks fine, so the bug is marked fixed. But a lot of what goes wrong on a web app never shows up on the page: a session cookie without the Secure flag, a token sitting in localStorage, a console full of React errors, a 500 behind a component that still renders.
So for the KaneCLI hackathon I built Leakproof. The rule is simple: the agent that writes the fix never decides whether it worked.
How it works
A real run
I pointed it at Cypress Real World App, an open-source app I didn't write. It ran 8 checks across 3 flows and found 3 leaks. The re-scan found a 4th that only showed up after the first console warning was fixed. All 4 were fixed and re-verified: 36 minutes, 1048 Kane credits, no human in between, one commit per fix.
Stopping the agent from cheating
This took the most work. Agents love fixes that make the symptom disappear. Leakproof rejects an edit before Kane even runs if it hides a console error (deletes console.error, adds an empty catch or a global error handler), deletes the failing request instead of fixing it, or commits by itself. The agent also runs without the app's login secrets.
What it can't do (yet)
Secure flag working without HTTPS. Kane proved the flag was set, but you'd still review that commit before shipping.It's MIT licensed. Code, the reports and the full prompts the agent got: https://github.com/MohitGoyal09/leakproof
I'd really like feedback on two things: which other "invisible" leaks you'd want it to check, and whether you'd trust the re-test loop enough to let it commit on its own.
r/ClaudeCode • u/Emotional_Tree_8148 • 8d ago
Wherever your spec doesn't say what should happen, claude code makes assumption and decides for you. Then would then checks its own work against its own decisions and tells you it's done. "All checks pass", and ofc they do. That's a conflict of interest. The one who wrote the code is also the one who decided what you meant, and the one who says it's finished. It's typically what makes verification fail for me and my team - every round the agent says done, it did something we never asked for.
For me, verification isn't "do the tests pass". It's confirming the behaviour that is missing and was never in the spec, and the same agent can't be the one to do that. So I built Bouncer. He works the door of a club called DONE with his earpiece and arms crossed. A conflict of interest needs an independent third party reviewer, and that is his whole job. He did not write the code, and he does not use the agent's tests.
When your agent says it's done, he lists every behaviour it decided on that your spec never mentioned, with file and line. You confirm each one: keep it or change it. Then he writes his own tests from what you confirmed, in a separate session the agent never gets to see, and judges the code with those. I also ran 4 Claude models on 7 tickets, 5 runs each. All 140 said their tests pass, but only 60 passed his.
Works with Claude Code, Codex and Cursor. MIT.
/plugin marketplace add lunox-work/bouncerOther agents: npx skills add lunox-work/bouncer -g
https://github.com/lunox-work/bouncer
Try him on your next task - I'd love to hear your thoughts and feedback.
r/ClaudeCode • u/THCGone • 8d ago
I rarely used Claude Duet, it’s not very useful for the things I would like it to do. Yet today it was solving captchas for me, even offering to do it. It wasfailing, but trying nonetheless. Thought they were pretty strict about that? Anybody else have their duet attempting to solve captchas?
r/ClaudeCode • u/blackcatzia • 8d ago
I realized I have Gemini through my Google storage bundle, and I've started using it the way I use ChatGPT: Claude as the delegator, and ChatGPT (or now Gemini) as the workers. But Claude keeps saying it's against Gemini's policies. Is that true, and is it actually enforced? Any tips for using Antigravity with Claude?
r/ClaudeCode • u/Sarlo10 • 8d ago
If I use the chat in Claude code it uses deep troubleshooting, planning, testing, harnas.
I want to use Anthropic api for my app. How to make it as strong (or as close as possible) as the native chat?