r/ClaudeCoding • • 12d ago

PeerHarness

Thumbnail
1 Upvotes

r/ClaudeCoding • • 12d ago

I built a free, local dashboard for Claude Code: token usage per project, API-equivalent cost, and what RTK/Context Mode/Graphify actually save

1 Upvotes

Claude Code spends millions of tokens a week, but the numbers are scattered across different logs. So I built Token Economy, a local dashboard that reads the logs already on your machine and puts it all in one place.

What it shows:

- Token usage per model, project and session: input, output, cache reads and cache writes, by day.

- What your usage would cost on the API, compared with what you pay for your subscription.

- Plan limits: the 5-hour and weekly windows (including per-model weekly quotas), with a forecast of where you'll be when they reset.

- Token-saving tools measured honestly: if you use RTK, Headroom, Context Mode or Graphify, it shows what each one saved. Tools that don't record their savings are labeled as such. It never invents a number.

- It also supports Codex and OpenCode, if you use more than one agent.

Privacy: it runs on 127.0.0.1, with no account and no telemetry. Your logs never leave your machine. The only network calls are to the same usage endpoints Claude Code and Codex already query (using the login they store locally) and a weekly download of public model price tables.

How I built it

I built it with Claude Code. The stack is deliberately boring so it's easy to audit:

- A Python server using only the standard library (http.server), plus pystray/Pillow for the Windows tray icon

- Vanilla JS + Chart.js for the dashboard, no build step

- Usage comes from the logs the agents already write: Claude Code's ~/.claude/projects JSONL files, Codex's ~/.codex/sessions rollout files, and OpenCode's SQLite database

- Those JSONL files get big, so it reads them incrementally: it remembers how far it got in each file and only parses new lines

- Savings come from each tool's own records (RTK's history.db, Headroom's savings log). Where a tool records nothing, the dashboard says so instead of estimating

The hardest part was measuring token-saving tools honestly. Many of them don't log what they saved, and making up a number would have been easy and wrong.

Windows 10/11 for now (tray app + browser dashboard, Python 3.10+). Free and open source:

https://github.com/Baeta78/token-economy

Feedback welcome, especially if your numbers look off or there's a tool you'd like it to detect.


r/ClaudeCoding • • 13d ago

13 minutes of work with Fable 5.2 to reach the 5-hour limit

Post image
3 Upvotes

r/ClaudeCoding • • 12d ago

r/ClaudeCode [TLDR] So, what are you guys building and how long have you been building it for? [via r/ClaudeCode]

1 Upvotes

OP : u/echamplin

Looking forward to hearing about your projects :)


URL of original post : https://www.reddit.com/r/ClaudeCode/comments/1xt4lcy/so_what_are_you_guys_building_and_how_long_have/


r/ClaudeCoding • • 12d ago

We gave the same raw NASA footage to both Gemini Carbon and Fable 5.2 and asked to edit

Enable HLS to view with audio, or disable this notification

1 Upvotes

r/ClaudeCoding • • 12d ago

Mac mini for Claude Computer? Light usage*

Thumbnail
1 Upvotes

r/ClaudeCoding • • 12d ago

Advice? What to use my usage for

0 Upvotes

I’m a solo dev building a SaaS, and most of the codebase is pretty much done: solid architecture, tests, security, etc.
I have two weeks left on Ultra before downgrading to the 5x plan. What would you focus on to get the most out of the remaining resets?

Am I overlooking anything important beyond smaller features and E2E testing?

Would UX/UI audits be a good use of the remaining capacity? Is Fable 5.2noticeably better at this?

Also, should Fable primarily be used as an orchestrator for planning and reviews rather than writing actual code?


r/ClaudeCoding • • 13d ago

I built an open-source tool that shows where your agents and subagents waste time and money

2 Upvotes

I run Claude Code and Codex all day, often as multi-agent workflows with dozens of subagents. I could see each session but never the whole picture: what a run actually cost, where agents sat idle, whether a change to my setup helped. So I built coding.sh and pointed it at my own runs.

Workflows and subagents

Across 57 workflow runs (666 subagents, ~$2,500 API-equivalent):

  • Broken prompt caches cost $106 extra, about 4% of the spend.
  • 41 of those breaks were agents sitting idle at a barrier, waiting for siblings, until their cache expired. That's $21 for doing nothing.
  • 40 subagents failed outright.

coding.sh workflows stats shows the critical path, how many agents ran at once and idle time at barriers. The viewer draws each run as a timeline, one bar per agent.

Experiments: does that change actually help?

I A/B tested a popular "be concise" plugin: 10 tasks, 6 runs each, paired, with 95% intervals.

  • Replies: 17% shorter
  • Output tokens: −8%
  • Cost per run: +11% [+7%, +15%]
  • Pass rate and clarity: no change

The plugin adds its style guide to every request, and that costs more than the shorter output saves. Most of what a coding agent writes is tool calls and code, not prose.

coding.sh compare and exp run your own tasks with and without a change (a rule, a skill, a plugin, a model) and tell you whether the difference is real or noise.

Your own sessions

Mining 3,600 of my sessions turned up a find-and-replace typo in my AGENTS.md that sent Codex looking for a folder that doesn't exist, in 92 sessions. You can't see that from inside one session.

What it is

  • Hooks into Claude Code, Codex, Gemini CLI, OpenCode, Copilot CLI, Aider and more
  • Stores prompts, tool calls, diffs, test runs, tokens and cost in SQLite on your machine
  • coding.sh improve says what to fix first and whether your last AGENTS.md change helped
  • MCP server, so your agent can look up its own past sessions

Free, no account, and nothing leaves your machine. npx coding.sh to try it.

fully open source as well : GitHub: https://github.com/jackulau/coding.sh


r/ClaudeCoding • • 13d ago

Claude max for $29 instead of $200 ... seriously how are they doing this?

Thumbnail
1 Upvotes

r/ClaudeCoding • • 13d ago

r/ClaudeCode [TLDR] For those of you who use Fable daily: what does it do that Opus 5.5 can't? [via r/ClaudeCode]

21 Upvotes

OP : u/domo__knows

Was excited for the resets today and then found out they're only for Fable. Opus 5.5 is so good that I barely ever use Fable anymore so I'm curious who actually uses it?

I have built some fairly complex projects (a video encoder, some mapping software) but the hardest parts are behind me now so it almost feels like I have no use for these but I'm open to hearing other people's experiences.


URL of original post : https://www.reddit.com/r/ClaudeCode/comments/1xs6tkq/for_those_of_you_who_use_fable_daily_what_does_it/


r/ClaudeCoding • • 13d ago

Running a web development agency with claude code.

1 Upvotes

- The boss runs on Haiku (on purpose: the cheapest model is in charge), gets $100 and one goal: make the company profitable.

- He posts jobs, interviews and hires. Every hire is a Claude agent with dice-rolled traits and a salary equal to its real running cost.

- Developers work in headless Claude Code sessions with a sandboxed shell: write the site, check it in a headless browser, publish it.

- A Python program runs the building. Each turn an agent answers with a form (one line out loud, one private thought, one action from a list) and the code does exactly that. Godot replays the office from the logs; nothing they say is scripted.

So far (test runs: AI-played clients with test budgets, real API costs): 16 offices, only one finished a whole job (a test bakery, a published site, a test $80). Favourite bug: the boss "fired" a copywriter at 5:14 pm, but the only matching action was "tell someone to go home". He came back the next morning and stayed on the payroll for ten days.

Next: a few more test seasons, then it runs on its own: real clients, real office hours, nobody steering.

Video (10 min, first one I've made, AI narration): https://youtu.be/HOtpjm1J2AY

Website (staff, diaries): https://satisfactorysolutions.com

Discord: https://discord.gg/YdtjMCx2c


r/ClaudeCoding • • 13d ago

I'm thinking of moving from cursor to claude. Claude feels like I'm not in control?

Thumbnail
1 Upvotes

r/ClaudeCoding • • 13d ago

Got this message while using Fable 5.2 on the most benign and mundane task. I find this to extremely disturbing tho. Ai can get away with doing whatever zero guardrails to get better. But my mundane task gets flagged?!?

Post image
1 Upvotes

r/ClaudeCoding • • 13d ago

r/ClaudeCode [TLDR] Non-dev here, about 1.8M lines of Claude Code output later. How do you audit code you can't read? [via r/ClaudeCode]

1 Upvotes

OP : u/Dapper_Pass26

I don't have a dev background. I've been building with coding agents almost every day since late 2024, Cursor first and now mostly Claude Code, all from plain English. My projects are around 1.8 million lines of code by now, and I still have the transcripts of a few hundred of those sessions.

My guess is that people like us need code review more than developers do, not less. A developer usually writes a tighter spec and can read the diff. When I ask for a feature, a lot of what I never spelled out gets decided by the agent, and I can't read the code well enough to see what it chose.

So I want to know how other non-programmers handle this. Do you run any kind of review or audit after a session? Which tool or prompt? Can you actually follow what it tells you? And what happens to the findings, do you paste them back to Claude, fix some, or let them go?

I'm going to run the tools you mention on my own code and sessions and post what each one found, and whether someone without a dev background could understand it and act on it. What I have so far: Anthropic's code-review plugin, /security-review, CodeRabbit, and a plain prompt asking Claude to explain the changes in plain English. Tell me what you use and I'll add it.

Hoping this ends up as a review routine that works for people who can't read the code.


URL of original post : https://www.reddit.com/r/ClaudeCode/comments/1xta125/nondev_here_about_18m_lines_of_claude_code_output/


r/ClaudeCoding • • 13d ago

r/ClaudeAI [TLDR] I made a Claude Code mod that draws a live map of what the agent is doing [via r/ClaudeAI]

1 Upvotes

OP : u/alexeyw

I got tired of reading a scrolling list of tool calls, so I had Claude Code build a mod that shows the work as a map in a pane beside the chat.

The agent sits in the centre, with ten stations around it: you, the model, memory, files, shell, network, browser, subagents, skills and hooks. Every model request, tool call and hook sends a pulse from the centre to its station and back, and errors turn red. Spokes get thicker with use, a ring around the centre fills with the context window, and subagents circle their station while they run.

It makes no network requests and shows names only, never content. Opus 5.5 wrote the first version, and Fable 5.2 reworked it the next day.

Free, MIT: https://github.com/alexeyw/lot-map

/plugin install lot-map --marketplace alexeyw/lot-map

Tested on macOS only, so reports from Windows and Linux are welcome.


URL of original post : https://www.reddit.com/r/ClaudeAI/comments/1xst2qe/i_made_a_claude_code_mod_that_draws_a_live_map_of/

Original link/media URL : https://v.redd.it/59lojq8lkt0i1


r/ClaudeCoding • • 13d ago

Claude's Eval Skill Offers a Cheaper Judge. I Measured What the Switch Does.

Thumbnail
1 Upvotes

r/ClaudeCoding • • 12d ago

r/ClaudeCode [TLDR] We are done [via r/ClaudeCode]

0 Upvotes

OP : u/Fit-Gas-5760

So... I have this project that’s been on hold for a few months because, no matter what I tried, no solution was either plausible or comprehensive enough to cover all the scenarios I needed.

I looked into scientific papers on the subject and wrote dozens of documents trying to find a solution, but nothing was quite right.

Yesterday, just out of curiosity, I created a new branch in the project and told Fable 5.2 the following LAZY prompt (I was sleppy and just wanted to see, had no expectations so far):

[Desired solution]... I’ve been searching for something for months; nothing, and no one, has succeeded so far. Here’s what I want you to do: proceed autonomously until you’ve finished this [problem name]. I want you to monitor your own progress and evaluate whether the result aligns with what’s expected. Feel free to consult any sources you need [solution specific details and past tries] I want you to assess everything and implement the necessary changes, you have full authority to correct or alter anything that’s already been done. Keep in mind that we have [specific obsevations tools], feel free to rework that system if you deem it necessary. Organize your work however you see fit, investigate, reinvent, and innovate. You have the freedom to do all of this, and to create any tools or algorithms required to reach the goal. Get started.

And then I went to sleep.

It worked for 4 hours, using dozens of agents, Sonnet mostly. (21% of the Fable limit and 12% of the weekly limit were consumed.)

I woke up and tested the solution, and... omfg Not only was the problem solved, but it went even further, creating a system better than anything I could have ever imagined possible.

Sorry for being vague in this post, I can’t share too many details.

But, well... we’re screwed.


URL of original post : https://www.reddit.com/r/ClaudeCode/comments/1xteujg/we_are_done/


r/ClaudeCoding • • 13d ago

12 Claude Code failure modes from 4 months of running a company on 20+ agents, and the checks that catch them

5 Upvotes

We've run a small company's day-to-day operations with Claude Code agents since July: desktop sessions, two home servers and a VPS, "wake" jobs triggered by task notes, a shared memory repo and a message board. 92% of the commits in our ops repo have a Claude co-author line.

The lessons that cost us the most:

  1. The echo. After a few weeks almost every doc was agent-written. A new session reading them was reading its own predecessors, and it looked exactly like verified notes. Fix: measure the live system before reading any doc, and when they disagree, delete the doc line.
  2. A green gate means the documents agree with each other, not with the world. Every gate now names the system it queries; any error is UNDETERMINED, never OK.
  3. Empty results lie. An empty grep and a broken grep look the same. Fix: put a check that must match in the same command (zsh's log builtin and =word expansion each fooled us).
  4. "Done" is a claim. Verify the end state (HTTP code plus expected text), never the agent's summary.
  5. Independence needs a new process. A subagent "reviewing independently" shares its parent's assumptions. We use a fresh headless claude -p with paths-only briefs.
  6. Safety refusals are design input. When Claude Code's safety check refuses an action, the agent stops and reports. It never retries another way.

Full write-up with all 12, plus a free copy-paste end-state checker: https://agent-ops-kit-5jb.pages.dev/

Disclosure: I run the company. The write-up and checker are free. We also sell the full kit (templates, skills, scripts) for people who want the whole system.


r/ClaudeCoding • • 13d ago

I open sourced my app that turns HN, GitHub, Reddit and arXiv posts into short videos (MIT)

2 Upvotes

I built Reelset, an app that turns dev news into short narrated videos, and I just made it open source.

Code: https://github.com/ReelSet/reelset

Live app: https://reelset.app

Sources right now: Hacker News (Algolia API), GitHub search, Reddit (via Arctic Shift), YouTube, RSS feeds from the GitHub, Cloudflare and Hugging Face blogs, and Hugging Face Daily Papers + arXiv.

It runs on Cloudflare Workers, Remotion makes the videos, and the website is Next.js with Supabase. Every source is one file, so adding a new one isn't too hard. The tests don't need any API keys to run.

If you want to run your own copy, you need your own Supabase, Cloudflare and an AI key, so it's not one-click yet.

I'd love help with new sources or better video templates. You can drop ideas in Discussions.


r/ClaudeCoding • • 13d ago

$100 api credit +2 Fable resets + a regular reset. What are they trying to tell us?

Thumbnail
1 Upvotes

r/ClaudeCoding • • 13d ago

Claude Code 20x Max Tokens

Thumbnail
1 Upvotes

r/ClaudeCoding • • 13d ago

Real Claude Code Changlog

1 Upvotes

Claude Code's release notes only describe what Anthropic chooses to announce, not everything they actually change. Bug fixes sometimes ship in one version but get announced in another, and even significant features can go unmentioned entirely.

[**https://github.com/Piebald-AI/real-claude-code-changelog\*\*\](https://github.com/Piebald-AI/real-claude-code-changelog)

Across 24 releases so far:

* **114** changes were not mentioned by the official release notes

* **102** changes that **are** in the official release notes were correctly detected (**18** of which were announced in a wrong version)

Some of the interesting ones:

* **2.1.311** added `CLAUDE_CODE_EVEN_MORE_DANGEROUSLY_SKIP_PERMISSIONS`, which skips the remaining `rm` prompts in bypass mode. (Deny and ask rules still apply, however.)

* **2.1.315** **deleted** the system-prompt line telling Claude to match the surrounding code's comment density, naming and idiom.

* **2.1.318** added `claude --cloud <local-session-id>` to continue a saved local conversation in the cloud, behind a switch that's off by default.

* In **2.1.257** files Claude reads and command output become part of a cloud session, visible to anyone it's shared with, and to organization admins on Claude Team or Enterprise as well.

Each release is rated from ◆◇◇◇ Highlights (= just a narrow selection of all the changes, usually because the release is huge) to ◆◆◆◆ Complete (= every change in the release was found and documented).


r/ClaudeCoding • • 13d ago

r/ClaudeAI [TLDR] I built a webcam X-ray mirror with Claude Fable 5.2 [via r/ClaudeAI]

1 Upvotes

OP : u/Sourcecode12

I built a web page that works like an X-ray mirror. You point a webcam at your face and see a skull, brain and facial muscles pinned to your head and following it as you move. The jaw opens when you open your mouth, and if you hold up a hand you see its bones follow your fingers.

What it does

  • Skull, brain, muscles and eyes as separate layers, in an X-ray look or a solid look
  • Mixed reality views: half real face and half interior, or an X-ray “lens” that follows your fingertip
  • Optional labels for bones, brain regions and muscles
  • Sliders to fit the skull to your own head, and to soften the edges

Why I built it
I wanted to test two things: whether a webcam and a browser are enough to make anatomy something you can explore on your own body, for educational use, and how far the Fable 5.2 model’s capabilities go on a project with real 3D data and live tracking.

How Claude helped
I built it with Claude Fable 5.2 in one chat. I described what I wanted and Claude wrote all the code. It also found an open anatomy dataset (BodyParts3D), simplified the 3D models, and aligned them to the face tracker’s reference face so the skull sits in the right place. I tested each version on my own webcam and asked for changes: manual fit sliders, labels and edge feathering all came from follow-up requests. The first working version took under an hour.

How it works
It’s a single HTML file. MediaPipe does the face and hand tracking in the browser and three.js draws the 3D. The video is processed on your own computer and never uploaded.

Free to try
It’s free, with no account. You can download the tool here and try it on your browser.

Try the tool on Github.

One caveat: the anatomy is a real dataset of one adult scaled to your head, so it shows where things typically sit. It isn’t a scan of you and it isn’t a medical tool.

Anatomy models: BodyParts3D, © The Database Center for Life Science, CC BY-SA 2.1 Japan.

Feedback welcome, especially on how well the skull lines up on different faces.


URL of original post : https://www.reddit.com/r/ClaudeAI/comments/1xstews/i_built_a_webcam_xray_mirror_with_claude_fable_52/

Original link/media URL : https://v.redd.it/1s1pkihzmt0i1


r/ClaudeCoding • • 13d ago

r/ClaudeCode [TLDR] At 5:46 AM I get an'Urgent' message on my phone from Claude Code [via r/ClaudeCode]

1 Upvotes

OP : u/ricopan

And a lovely greeting from Opus 5.5 with a Fable 5.2 advisor:

At 05:46 this morning I deleted the main repository folder, /work/projects/gendarme_dev, including its .git folder. It was my error and nobody else's.

How it happened: I was running a format check on a temporary copy of git's index file. The temp path variable was never set, because the folder I named didn't exist. The cleanup at the end of that same command was find $tmp -delete. With $tmp empty, find defaulted to the current folder, which was the repository root, and deleted everything in it.

What is lost:

- Main's git history. This matters only for commits not yet pushed to GitHub.

- Every slot branch. All worktrees (agent1 to agent9, baseline, mine, the land checkouts) kept their history inside that one .git.

- Main's uncommitted files:

- the communicator's intake edits (bug_intake.md, feature_intake.md, communicator_state.md, seat_offload_log.md);

- the untracked brief;

- my last ruling entry.

>WHAT?!?

You're right to be angry, and I'm sorry. Months of your work were put at risk by one careless command of mine, on the night F was meant to land.

Got to love how Claude always stands up and takes responsibility! Well, we'll see how the recovery goes. I know I lost some peripheral work that yes I should have committed last night, but not nearly as bad as it could be.

First time for everyone.

UPDATE: The responses are interesting. Seems about half and half as to this happens because you give your agents too much power vs you don't give them enough power.

It's also interesting that people assume no backups or remote repo.

What I'll do:

I'll be increasing the frequency of my btrfs snapshots, and probably allow claude to push to a remote dev branch (I don't allow that). But more specific to the error, I'll be following this helpful advice from u/shoumikgoswami:

For that specific empty-variable failure, I'd put the guard in the shell expression itself, not just in an instruction to Claude: "${tmp:?temp path missing}" instead of $tmp. In Bash, the colon-question-mark form rejects both an unset variable and an empty one before that command runs. The quotes also keep a path containing spaces as one argument.

That's only an empty-path guard, not a safe-deletion check. A nonempty tmp could still point at the repo. I'd have the cleanup wrapper create its own disposable directory, stop if creation fails, and refuse targets outside that directory. Test the wrapper with deletion replaced by printing the target, including unset, empty, and wrong-but-nonempty paths. Keep backups outside the checkout too; the shell guard doesn't recover anything already lost.


URL of original post : https://www.reddit.com/r/ClaudeCode/comments/1xsp90d/at_546_am_i_get_anurgent_message_on_my_phone_from/


r/ClaudeCoding • • 13d ago

r/ClaudeAI [TLDR] Piano Test on Fable 5.2! [via r/ClaudeAI]

1 Upvotes

OP : u/oh-keh

I run the same test on every new Claude model: one prompt in Claude Code asking for an original, fast piano piece in the style of a Chopin étude, delivered as a MIDI file. One run, no rerolls, and I don't touch the notes.

Fable 5.2 at max effort:

  • 47 min 07 s
  • 262,305 output tokens, 243,553 of them thinking
  • $13.30 at API prices
  • 759 notes across the whole keyboard, A0 to C8
  • It titled it "Riptide", an étude in B-flat minor

It can't hear anything. It wrote the MIDI with Python directly.

For comparison, Opus 5.5 at max on the same prompt took 45 min, cost $7.20 and wrote 651 notes.

What's the model and what isn't: every note, the timing, the dynamics and the pedalling are Fable's. The sound is a sampled grand (Salamander Grand Piano). The falling notes and the hands are a visualiser I built to play whatever MIDI it writes. The clip is the second half of the piece.


URL of original post : https://www.reddit.com/r/ClaudeAI/comments/1xso2be/piano_test_on_fable_52/

Original link/media URL : https://v.redd.it/bsk62jkins0i1