r/ClaudeCode • • 14h ago

Help/Question Can anyone assist me in passing a rust memory problem to their Fable (I am a pro user, and am stuck / have no access to Fable)

1 Upvotes

I am trying to solve a memory problem as I am working with a very small device (with 128kb memory) that I am trying to build an app for.
If anyone has the circumstances and is able to share some compute to run a query, I would be like to share a smallish research question for you to ask your AI about. Please let me know.
Fable 5.2 would be great, with a bit of extra thinking if you can spare it.

:SOLVED: - Thank you so very much!


r/ClaudeCode • • 14h ago

Built with Claude I built a Claude Code plugin that remembers across sessions and shows where every memory came from

1 Upvotes

Claude Code forgets between sessions. The memory tools I tried had the opposite problem: they remembered things confidently, with no way to see why.

So I built Provena. Hooks record each turn as append-only evidence, and later sessions get relevant facts back, labeled with where they came from and whether a human reviewed them. If the agent picked something up from a web page instead of from you, the memory says so, and it stays an unreviewed candidate until you approve it. `/provena:why <topic>` prints the trail as a receipt.

Setup:

pipx install provena-agent-memory

provena quickstart claude --plugin

then in Claude Code: `/plugin install provena --marketplace admiralpunk/Provena`

It's self-hosted (PostgreSQL, with or without Docker), MIT, and runs on local Ollama models, or with no models at all. `provena demo` shows the idea in 30 seconds; there's a GIF of it in the README. It also works with Codex.

Honest limits: retrieval needs an exact project scope, and the review console needs Docker for now.

Repo: https://github.com/admiralpunk/Provena. I'd really like feedback on whether the review step is worth the friction.

If you find it useful, a star on GitHub helps more people find it. Thanks!


r/ClaudeCode • • 18h ago

Discussion Building ios apps on windows via github builds, and I’m burning out on the UX/UI loop cuz claude has no sense of good UX feels like.

2 Upvotes

Claude handles the logic fine, passes simulation tests, and compiles and then I sideload the .ipa on my phone and immediately feel all the subtle awkward feel, jumpiness, other poor UX designs that a human could spot. Every single time, I end up acting as a human API just typing out "this feels off, move x here" and burning another build cycle.

I've seen people say you can plug an iphone into windows over usb and let claude drive it with mcp/webdriver. can this actually be done without a mac? even if claude can tap around and screenshot the real app, does it actually catch bad UX feel on its own, or are you still stuck doing all the babystting,reporting only to have claude try to attenpt it again?


r/ClaudeCode • • 1d ago

Help/Question 10 Claude Code skills and repos I keep coming back to

79 Upvotes

I've been trying a bunch of skills and repos for Claude Code, and these are the ones that actually stayed installed.

Planning and workflow

  1. Grill Me, in mattpocock/skills. Claude asks a lot of questions about your idea before writing any code, which is how I usually catch holes in a plan. This is the one I reach for first when something is still fuzzy.
  2. Superpowers (obra/superpowers). Brainstorm, then plan, then build, with TDD and debugging habits built in. A bit heavy for a tiny fix, but I still use it when the work is bigger than a one-line change.
  3. Planning with Files (OthmanAdi/planning-with-files). Keeps the plan, notes and progress in markdown, so they survive a long session or a context reset.

Official ones from anthropics/skills

4. The office file skills (docx, xlsx, pptx, pdf). Proper Word, Excel, PowerPoint and PDF output, not just a wall of markdown.

5. Frontend Design. This is the other one I wouldn't drop. It pushes Claude away from those generic, templated-looking UIs.

6. Webapp Testing. Claude clicks through the app in a real browser instead of assuming the UI works.

7. Doc Co-authoring. A more structured way to write docs with Claude, instead of pasting a blob and hoping.

8. Skill Creator. Handy when you want to build and test your own skills.

Shipping and discovery

9. Deploy to Vercel, in vercel-labs/agent-skills. Lets you push a project live from Claude.

10. Awesome Claude Skills (ComposioHQ/awesome-claude-skills). A big curated list of community skills, useful when I'm looking for something I don't already have.

If I could only keep three, it'd be Grill Me, Superpowers and Frontend Design.

What's still on your install list these days? Anything here you'd drop, or something I should have included?


r/ClaudeCode • • 15h ago

Built with Claude flowlite - A job scheduler that's much easier, faster and lighter than Airflow

Thumbnail
github.com
1 Upvotes

flowlite is a job scheduler for your scripts and AI agents. My goal was to make it simple to set up but still powerful enough for real work.

flowlite is one small program. You install it, point it at a folder of job files and it runs. You don't need a separate database, servers or workers. A job is a short YAML file listing its steps, which steps depend on which and when it should run. You can get your first job running in a few minutes.

flowlite still handles what you'd expect from a much bigger tool:

  • Runs jobs on a schedule, or whenever you start them
  • Runs steps in the right order and passes results from one step to the next
  • Retries failed steps and stops ones that hang or take too long
  • Limits how many jobs run at once
  • Sends email or Slack alerts when a job finishes or fails
  • Keeps a full history of every run, which you can browse in a web dashboard

AI Agents can start jobs, check how they're going and read their results directly. An agent running inside a job can even start other jobs, and flowlite keeps track of all of them.

For most everyday scheduling, it does what I used to need Airflow for, with a fraction of the setup. For AI agents it goes further than Airflow: agents can drive it directly, start their own jobs, and it stops an agent that has gone quiet.

It's still early (v0.2.0) and free to use. I'd love feedback!


r/ClaudeCode • • 21h ago

Built with Claude I cut my Claude Code cost per call by 46% over 29 days, so I open-sourced the setup

Post image
3 Upvotes

I kept running into the same problem with Claude Code: sessions would get huge, I would step away, come back, and suddenly a simple prompt was dragging the whole conversation back into context.

So I started experimenting with earlier handoffs, prompt caching, and using cheaper subagents for the reading-heavy stuff. I have been using the setup for the past few weeks and just open-sourced it as token-diet.

I compared my local transcripts from 33 days before installing it with 29 days after (chart above):

  • Average context per model call: 285k → 101k
  • Cost per call at API list prices: $0.086 → $0.047
  • Main sessions exceeding 200k tokens: 36% → 3%
  • Model calls: 9,896 → 26,759

For the 26,680 calls included in my cost comparison, that works out to roughly $1,050 less at API list prices than if each call had cost what it did before.

Important distinction: I use a Claude subscription, so that is not $1,050 off a bill. For me, the practical difference is getting more use before hitting my limits.

The plugin does a few things:

  • Suggests a handoff around 150k tokens instead of letting the session keep growing.
  • Keeps a large session's cache warm for a while when I step away.
  • Catches a prompt headed into a large session after the cache has gone cold, so I can hand off instead.
  • Uses cheaper subagents for bounded searches and other suitable work.

One thing I learned: starting fresh too early can cost more. In one test, handing off midway through a 60-85k-token feature was 34% more expensive than just finishing it. The threshold is not magic; it is a tradeoff.

This is one person's before-and-after data, not a controlled benchmark. I also changed some of my own habits during that time, so I cannot attribute the entire improvement to the plugin.

It is MIT licensed, runs locally, and the repo includes the transcript analysis scripts if you want to check your own numbers.

https://github.com/zekariasasaminew/token-diet

Curious how other people handle long sessions: do you compact, hand off to a fresh session, or just let them run?


r/ClaudeCode • • 15h ago

Built with Claude I released AgentDesign 2.0 today. Would love some honest feedback.

1 Upvotes

Hey everyone, I’m the developer of AgentDesign. It’s a Mac app for reviewing designs made by coding agents like Claude Code, Codex and Cursor.

The idea is simple: see the screens, leave feedback and agree on the design before the agent builds it.

2.0 went live today, rebuilt in SwiftUI and AppKit. You can keep screens, comments and design versions together while working with your agent.

I’d love to hear what feels useful or confusing. Even feedback on the idea would help.

https://getagentdesign.com

Would reviewing screens before coding save you time, or would it feel like an extra step?


r/ClaudeCode • • 1d ago

Help/Question Need help cleaning up my Claude Code setup

5 Upvotes

Hey guys, disclaimer that I'm relatively new to Claude Code (few months). It started out super simple with vanilla Claude Code, but over the past few months I've been adding custom Claude skills, MCP servers, scripts, and mixing in Codex. Ofc they had their reasons but now the setup feels overly convoluted.

I searched this (and the other Claude) sub for these cleanup threads and seen a few suggestions. A common suggestion I've seen is to look for a single interface that handles separate CLI sessions / scripts. So stuff like Ramp Glass which puts MCP connections and skills under one platform. Also t3 code seems to be recommended a lot in the comments to manage coding agents and git worktrees under one GUI.

Never tried any of this so open to any advice on cleaning up. I'm already working on auditing /context and cutting out unused MCPs/skills, but need a bit more time to clock what's useful and what's bloat. Thanks everyone.


r/ClaudeCode • • 1d ago

Built with Claude Google can automatically block your account and take 20 years of your photos with it. There's nobody to call. So I built a Chrome extension with Claude Code that backs it all up to AWS, Azure or Cloudflare.

128 Upvotes

We've all seen the recent stories: people try Google Antigravity, an automated system flags them, and their whole Google account gets blocked. Gmail, Drive, and every photo they've ever taken, gone at once.

If you have a big following on X, maybe enough noise gets you a human. If you don't, you're done. You get a couple of appeal forms, the answers are templates, and then the account is gone. The appeals don't work.

So I built an extension that copies your whole Google Photos library, as original files, to your own AWS, Azure or Cloudflare storage. Or straight to a folder on your own computer. You decide. They're your files, and nobody else should get to decide that for you.

  • Free and open source (MIT)
  • Runs on your machine, in your browser. Your keys, straight to your storage. No server, no account, no tracking.
  • Original files, not compressed copies. It resumes if you close the browser and skips what's already copied, so you can run it again for new photos.

I'm not submitting it to the Chrome Web Store, because I don't expect Google to approve an extension whose whole job is getting your data out of Google. You install it from the GitHub release instead (Developer mode → Load unpacked, about a minute).

https://github.com/ogamaniuk/google-photos-backup

Back up your photos while you still can.


r/ClaudeCode • • 15h ago

Built with Claude I kept jumping between 5 Claude Code sessions to approve stuff, so I built one queue for it

1 Upvotes

I made this, so take it with that in mind. I usually have 4 or 5 Claude Code sessions going and I was the one slowing everything down, one wants permission for a command, one asks a question, one is done and wants a review, and I'm cycling through tabs. Running with permissions skipped wasn't an option for me because I still want to read what goes in.

Pogon runs each task in its own worktree with your normal claude CLI on your own plan, and every permission ask, question and finished diff goes to one queue where you allow it once, allow it for the rest of the task or decline, with one key. Tasks can also come straight from GitHub or Linear issues and end as pull requests, and if you work with others everyone sees the same queue.

As for how it works with Claude Code: the runner just starts your own claude in headless mode (claude -p with stream-json), one git worktree per task. Permission asks go through --permission-prompt-tool to a small MCP tool the runner serves, so instead of a prompt sitting in some tab I'm not looking at, it shows up in the queue and the session waits for me. It's the same CLI you're already logged into, it never touches your credentials.

Pretty much all of it was written with Claude Code from issues I wrote, and once the queue worked I started running Pogon's own issues through Pogon. I still read every diff before it merges.

Stuff I learned along the way: the model was never the slow part, I was. Most of the time a session was just stuck on a permission prompt I hadn't seen yet. Most asks also repeat within a task (same test command, same package manager), so being able to allow something for the rest of the task got rid of most of the noise without going full skip permissions. And one worktree per task is the only way I got several sessions working on the same repo without them stepping on each other.

The runner is open source (github.com/pogonbuild/runner), it's free on one machine and you can try the demo without signing up: app.pogon.build/demo

How do you all handle this today, do you skip permissions and hope or babysit every session?


r/ClaudeCode • • 1d ago

Built with Claude Delegating from Opus to Haiku subagents can cut costs by up to 60% without hurting quality, depending on the task. I ran nearly 400 benchmarks and built a skill that automatically picks the best model combination for each job.

90 Upvotes

TL;DR

- My idea was simple: there are several types of task, so for each type there must be an ideal model, or model + subagent combination, to handle it. I've now built a skill that picks the most appropriate one for each task. The full report, stats and details are here: https://github.com/Manuele-T/claude-model-router If you find it interesting, a star on the repo would be really appreciated :)

- I've run about 380 benchmarks on real open-source codebases. They helped me understand how Opus handles the work, either doing a task itself or spawning subagents, and check cost, quality and time.

- I also ran several "intentional" combinations: Opus alone with subagents blocked, Opus told not to delegate, Opus free to delegate, Opus coordinating Haiku subagents, Opus + Sonnet subagents, Opus + Opus subagents, Haiku alone, Sonnet alone, Haiku first and then one Opus review, and fixed splits of 1, 4, 8 and 16 Haiku subagents.

- I posted twice over the last few weeks about the partial results. You can find the discussions here, but be aware they're proper walls of text: https://www.reddit.com/r/ClaudeCode/comments/1xn18cu/does_delegating_to_cheaper_models_actually_save/ and https://www.reddit.com/r/ClaudeCode/comments/1xxyc5a/does_delegating_to_cheaper_models_actually_save/

Here are the most important findings, summarised:

- On small jobs, Opus alone can be cheaper and better than Opus + subagents, probably because of less overhead and because it can reuse its own cached context. Each subagent starts from scratch, and that overhead can outweigh the cheaper tokens. Furthermore, on three small tasks Opus didn't read file by file: it wrote a short script and answered from its output, which was cheaper than briefing any subagent.

- Left alone, Opus rarely delegates: in my runs it never spawned a subagent on its own, even on big jobs. So if you want the savings, you have to push it.

- On big reading and review jobs, Opus + many small Haiku helpers beats Opus alone, probably because the extra coverage makes up for Haiku being less smart. On an 85-page docs check, 16 Haiku helpers found 86 real errors for $1.69 (Opus $1.30, Haiku $0.39), against 37-40 for about $4 for Opus alone.

- The split helps more than the model. The same 16 pieces given to Opus helpers found 89 errors, but for $8.12, almost 5 times the cost. And Opus alone didn't skip pages: it read everything and still missed more lines. Small, fresh pieces seem to get read more carefully.

- On coding, Haiku alone is very capable on well-defined tasks with tests: the same hidden-test results for about 5% of Opus alone's cost, though it skips extras like a database index or a release note.

- Haiku first, then one Opus review, gets most of those extras back at 61% less than Opus alone, with every hidden test passing. Opus + Haiku helpers was a bit more reliable, at about 1.5 times the cost.

What I built from it: the skill

The skill turns these results into rules. Opus picks the way and says why in one line:

- Small job: Opus alone.

- Big reading or review job: Opus + Haiku helpers, about 400 lines each, up to 16.

- Most coding tasks: Haiku, then one Opus review. If the task is unclear, risky, or every case must be covered, Opus + Haiku helpers instead.

A skill can't switch your Opus session to Haiku, so for coding it works in two ways for now:

- Manual (subscription): two terminal sessions, and you start the second one. Opus gives you one command, you run it in a second terminal, and Opus starts the review by itself when Haiku is done.

- API key (opt-in): one session only. Opus starts Haiku itself in the background, capped at $0.50 (you can change it, see the how-to in the repo), and reviews it.

I'd like the one-session version to work on a subscription too, but I've asked Anthropic whether their terms allow it, and I'm still waiting for an answer.

You can find the skill here: https://github.com/Manuele-T/claude-model-router/tree/main/skills

The results in detail

In Part 1 and Part 2, I tested how Claude Code splits work between Opus and cheaper models. Part 2 left two questions:

- Big reviews: Opus + Haiku found far more errors than Opus alone, at half the cost. Is it the split or the model?

- Coding: Haiku alone wrote working code for about 5% of Opus's cost, but skipped the extras Opus adds. Can one Opus review get those back?

v3 tested both: 80 more scored runs, 5 per setup, designs committed before any run, answers scored blind.

Coding: Haiku first, then one Opus review

Haiku alone does the task. Then a fresh Opus session checks the changes against the task and fixes anything wrong or missing. Same four tasks on buildbot (~100k lines) as Part 2, same hidden tests.

- $0.86 across the four tasks (Haiku $0.14, Opus $0.71), against $2.23 for Opus alone: 61% less. The review is most of the bill.

- Every run passed every hidden test, before and after the review.

- The review caught what Haiku left out: the release note every time, a missing database index, a missed planted bug in 2 of 3 reviews, and a real race condition.

- Opus + Haiku helpers was a little more reliable (every planted bug, every time) and faster (8 minutes against 12), at $1.34, about 1.5 times the cost.

So for coding: Haiku then one review is the cheap option, Opus + Haiku helpers the careful one.

(The chart for this is in the TL;DR above.)

A correction

In Part 2, every Opus-led run flagged a symptom in my bug report that it couldn't reproduce, and Haiku never did. I counted that as care Opus adds. It didn't hold: none of 15 later Opus-led runs flagged it, Opus alone included, with the same prompt, model and Claude Code version. It changed with the day, not the setup, and I still don't know why.

Big reviews: how many pieces?

Back to the 85-page docs check. I cut the pages into fixed groups and told Opus to use **exactly 1, 4, 8 or 16 Haiku helpers**, then check and merge their findings. Every claim was checked against the code, blind.

- 1 helper: 20 real errors for $1.25 (Opus $0.46, Haiku $0.79). 16 helpers: 86 for $1.69 (Opus $1.30, Haiku $0.39), four times as many for 35% more, and the quickest (about 4 minutes against 7).

- One helper isn't even cheap. It reads everything, so most of its cost is at the higher price Haiku charges past 100k tokens per request.

- With more helpers, Opus becomes most of the bill: it has more reports to check and merge.

- The catch: more false claims. 16 helpers made about 10 per run, against about 3 for 4 or 8.

- Haiku then one review is a poor fit here: 50 errors for $3.04 (Haiku $1.72, Opus $1.32). The review can only check what Haiku reported.

Opus alone, re-scored on the same list: 37 and 40 for about $4.

Is it the split, or the model?

Same 16 groups, same wording, Opus helpers:

- 89 real errors for $8.12 (lead $1.16, helpers $6.96), against 86 for $1.69. Equal once borderline errors are left out.

- They were cleaner: fewer than half the false claims. That's the one gain.

So splitting is what helps, and Haiku is good enough for each piece.

And Opus alone? After Part 2, people here suggested it skims late pages or compacts its context. I checked the transcripts: it read every page, didn't skim the late ones, and never compacted. It just missed more lines. A small fresh context per piece seems to look harder.

Caveats

Small experiment: 5 runs per setup in v3, mostly 2 before. Costs are API list prices, a proxy for subscription usage. The big review is one task on one codebase. Claude Opus wrote my tests and judged the results, blind but not independent. The skill has been tested on a handful of small tasks so far.

So: small jobs, Opus alone. Big reviews, many small Haiku pieces. Coding, Haiku then one Opus review.

Skill, how-to, full results, charts and checker:

https://github.com/Manuele-T/claude-model-router


r/ClaudeCode • • 15h ago

Discussion Interrupting a Claude Code session mid-fix from a code review: one signal split in two, 8 s coalescing, re-delivery after 5 min

1 Upvotes

If you send a coding agent a review comment while it's mid-fix, when should it see it?

My setup used one poll for that, and the poll meant two things: "I'm listening" and "I'm done with the last batch". So a comment sent mid-fix waited for the whole batch, and an unanswered thread read "no answer" the moment the agent polled again.

Now a poll only means listening, and only a reply settles a thread. The agent (Claude Code here) starts its next poll as a background task before it acts. While it works, a new send is held 8 s after the last one (30 s max), so three quick sends are one interrupt. A thread with no reply and no edits for 5 minutes goes out again, up to 3 times, then reads "no answer". Edits push that clock back, capped at 15 minutes.

Where it doesn't work: an agent whose poll holds its turn still acts, replies, then polls, and the page has to say "sends wait".

"Listening" and "done" were one signal. Splitting them fixed both bugs.

Disclosure: this is in Diffo, a review tool I built (free, Apache-2.0): diffo.io/demo

How do you handle a message that never gets answered: re-send, or let it time out?


r/ClaudeCode • • 15h ago

Built with Claude I made The Cube, a free browser game where you take apart a giant block cube with bouncy balls (no login, no install)

Thumbnail
gallery
1 Upvotes

Play: https://the-cube.pardev.net1

Screenshots: https://the-cube.pardev.net/gallery/

The Cube is a first-person game in your browser. Your new job is to dismantle structures made of glossy plastic blocks with bouncy, explosive and generally unwise balls. Collect the shards that fall out, recycle them for money, and spend it at the upgrade terminal on damage, bounces, capacity and a shard drone.

Inspired by Aerolicious

What's in it:

  • A twelve-level campaign, bonus levels and an endless mode
  • Level shapes from cubes and pyramids to arches, ziggurats, glass letters, spheres and gyroids
  • Crafting: the Infuse-o-Matic turns materials into stranger balls
  • Night mode with stars, floodlights and a flashlight
  • A third-person view of your robot (press V)
  • 175 achievements!

It's completely free, with no login, no account and no install. It's playable on phones and tablets, but the best experience is on desktop with a keyboard and mouse.

I built it with heavy use of Claude Code, from the physics and level generation to the UI, tests and these screenshots.

Feedback is very welcome: bugs, balance, levels you'd like to see, or anything that felt off. Thanks for playing!


r/ClaudeCode • • 10h ago

Help/Question What do you use to verify the code that claude has written? Been hearing Neon is working great for other...

0 Upvotes

I've been facing this issue where I have been feeling sabotaged by Opus 5.5 the past few weeks. Its intentionally overfitting and hardcoding the use cases and not listening to my instructions properly. The solutions it suggests is also really bad 80% of the times, and I feel like when it notices how I dissect its suggestions and provide fixes, so the next suggestions is written in such an overly analysed and energy draining way that its almost as if claude wants me to say yes to its suggestions by not making me have to go through the items.

I do feel the Neon posts have "bot" vibes but I dont know. I'm just really cautious before I get neon, so I would like to know what everyone is actually using, people who "Agentic" code not vibe code. Please let me know. If Neon, what about Carbon from google? Are they really that good?


r/ClaudeCode • • 16h ago

Help/Question Cloud containers, tokens?

1 Upvotes

Are there any indication that using cloud containers use up more tokens because the compute costs might be applied on the token limits?


r/ClaudeCode • • 20h ago

Tips & Workflows CLI or Desktop

2 Upvotes

Hi! Coming from Codex, where everything is done in the desktop app. Still confused with Claude: how do you guys use it? From the desktop app or CLI? Just looking for the standard experience


r/ClaudeCode • • 16h ago

Tips & Workflows Evaluating coding agents from merged PRs: leaks, picky tests, and noise

0 Upvotes

Spinning up a coding agent eval on your own repo takes an afternoon. Google AI overview even does a pretty good job of explaining how to do it!

Coding agent evals are an 80/20 problem - getting the first 80% takes 20% of the effort and feels really great. Making it trustworthy takes the remaining 80%.

Most of the numbers below come from an early benchmark I built on Click (29 merged PRs), comparing a cheap, fast setup (GPT-6 Luna at low effort, $0.27 total) against a frontier setup (GPT-6.1 Sol at high effort, $4.38 total).

Here are 5 areas of unexpected complexity I ran into buliding it:

I'm building Stet to turn a team's real work into a private living benchmark, allocate agent spend efficiently, and raise the engineering quality floor with evidence. If you're weighing a change on your repo (switching to a cheaper model, tuning reasoning effort, editing AGENTS.md, or evaluating whether skills are helpful) and want to measure it on your own tasks, reach out!

Evals are world simulation

An eval is a simulation of reality built to help you make a decision. To get a high quality signal, the tasks, prompts, and environments need to look like the work you actually hand to agents.

If I tell the model to

Implement function `parse_pkg_version(name)` in `src/click/decorators.py` using `importlib.metadata.version()`, catching `PackageNotFoundError` and falling back to `__version__`. Add unit tests in `tests/test_options.py` covering missing distributions, mismatched import names, and empty strings.

most models, from Haiku to Fable, will probably nail it. In this world, the agent is implementing a specification.

Instead, if I ask the agent to

hey big dawg, `--version` is broken when a package's import name doesn't match its pip name. can u fix?

the agent is determining user intent, researching a bug, figuring out how to fix it, and implementing the fix, which is far closer to how engineers use agents day-to-day.

This creates a tightrope between specifying the interface contract and leaking the implementation. If the hidden tests we use for grading import a specific public function name foo or specific exported constants, these constraints must be named in the prompt, or an otherwise good solution will fail for trivial reasons. At the same time, if you over specify, and describe how to wire them up, the task can become trivially easy for agents to solve.

Our approach is for public APIs/constants, name them naturally in the initial prompt. We don't expose private names, and if a hidden test calls a private helper, we move the test to a public entry point instead of turning the prompt back into a spec that names everything to implement.

Mining PRs naturally biases toward easy to isolate changes. When we audited our 29 Click tasks, 22 were small changes and none touched 150 lines of production code (we have since updated the task pipeline to choose harder tasks, but this illustrates the difficulty in doing so).

Environments leak and fail silently

Agents yearn to cheat. It's your responsibility to stop them.

What makes cheating a quagmire and not just a 5 line Dockerfile fix is how it warps your results. First, cheating looks like the agent is doing great! On one task I audited, a contaminated run graded "identical to the human patch". Second, cheating scales with reasoning effort. Higher effort / more persistent agents search harder (checking git reflogs, tags, remote PRs, or closed issues), so leakage doesn't lift every model evenly. It silently manufactures a win for higher effort configs that "make sense" to be winners.

To block this, you must set up the environment as it would have been at the start of the task: cut off git history and refs after the parent commit, snapshot Jira/Linear to the same cutoff if agents have access, preinstall deps in setup, run the agent behind a provider-only relay (blocking web/PR/commit lookups while letting model traffic through), and finally audit tool traces after the fact to find cheating.

Historically, roughly a third of our candidate attempts failed on infrastructure or setup rather than the agent itself (we are driving this down). If your grading instrument scores an empty or timed out run as 0, an infra failure looks identical to a model failure.

In practice, you need to snapshot and reuse verified environments (reusing 2 Click snapshots across 29 tasks cut median verification time from ~15 minutes to ~20 seconds) and classify every non-pass so infra and quota losses get rerun (and fixed) instead of being scored as failures by the agent.

Testing is hard

Tests can be wrong in both directions. On our 29 Click PRs, we found 7 runs where the held-out tests failed an agent's patch even though our LLM reviewers passed it. Three turned out to be real regressions the reviewers missed (like --help exiting with code 2). The other four failures were the result of overly picky tests pinning unstated details, such as exact error wording.

When we asked an automated LLM reviewer to screen those Click tasks for bad tests, it flagged 17 of the 18 tasks another blind audit confirmed were completely fair, while missing half the real test defects.

Because static LLM review can't reliably separate a picky test from a real behavioral assertion, we verify tests by execution. Prove that every test fails on the parent commit and passes on the merged patch, and when a reasonable patch disagrees with a test, run a quick behavioral check against both the human patch and the agent patch outside the test suite before blaming or relaxing the test.

Static diff review isn't execution

On a Click PR, both models wrote the exact same bracket bug, turning [a|b]! into [[a|b]!]. At low reasoning effort, our equivalence judge called the broken patch equivalent to the human PR in 3 of 4 draws at 0.99 confidence. At medium effort it was still wrong at 0.98. Only high reasoning effort caught the bug.

Tightening the prompt doesn't automatically fix it either. Across 14 Click patches we knew by execution were broken, a requirement checklist judge still marked 5 as meeting every essential requirement (and 3 of those 5 had also passed the hidden unit tests). When we tightened the prompt to force tracing edge cases and compatibility paths, false passes went up from 5 of 14 to 6 of 14.

The takeaway here is to not trust judges by themselves. Treat the judge (model, prompt, and reasoning effort) as a measurement instrument, calibrate its error rate, and deploy it according to its measured performance, not its self-reported confidence.

Your scoreboard invents winners

On our 29 Click PRs looking at tests alone, 22 tasks told us nothing about which model was better (13 both passed, 5 both failed, 4 unresolved). The entire 29-task benchmark came down to 7 deciding tasks, which the frontier setup won 7–0.

Worse, small samples actively hallucinate winners out of run-to-run noise. Before comparing two setups, compare one setup against itself (an A/A test). When we ran the exact same configuration twice across 24 tasks, checking results partway through at 16 tasks reported an 89.8% probability that one identical run was better than the other. Across simulations, false-winner rates ran 11.3% at 5 tasks and still sat at 6.1% at 24 tasks.

Finally, collapsing cost and quality into a single ratio ("cost per successful task") rewards the model that gives up fastest. On our 24 task benchmark on our own repo, the cheap Luna low setup ranked #1 on cost per success ($0.26) while losing 0–13 head-to-head, because on hard multi-file tasks it quit in under four minutes for a few cents.

Conclusion

Synthesizing learnings from above, here's a checklist you can use going forward to raise the quality of coding agent evals you make:

  1. Ensure tasks are representative and fair.
    • Compare task size/type to the changes you actually make.
    • Specify the interface contract hidden tests import without leaking the implementation.
  2. Snapshot envs and block history.
    • Reuse verified environments so observation stays fast.
    • Catch and rerun infra/quota losses instead of scoring 0.
    • Aggressively block git/web/ticket lookups of the answer and audit traces.
  3. Verify tests by execution.
    • Prove tests fail on parent and pass with the solution.
    • Run behavioral checks outside the suite before relaxing a disputed test; use LLMs in tandem with execution, not as a replacement.
  4. Calibrate LLM judges.
    • Pin judge model, prompt, and reasoning effort across every arm you compare.
    • Don't trust judges' self-stated confidence - calibrate against execution-verified bad patches and factor that error rate into your decision.
  5. Pair results, run A/A, and extract calibrated signal.
    • Count head-to-head wins per task on disagreements, and keep cost separate from quality.
    • Run A/A tests to know your noise floor, and only add finer-grained grading dimensions whose accuracy you've measured.

Running the coding agents is the cheapest and easiest part: on the 29 Click PRs, running both models e2e cost $4.65 total ($0.27 + $4.38). Everything else (building clean tasks, maintaining sandbox snapshots, verifying disputed tests by execution, calibrating judges on known-bad patches, and running A/A checks) costs an order of magnitude more time, money, and engineering discipline.


r/ClaudeCode • • 16h ago

Tips & Workflows I built an open-source Rust CLI + MCP server to coordinate parallel AI coding agents at the symbol-contract level

Thumbnail
gallery
1 Upvotes

If you've avoided running multiple coding agents in parallel because of merge conflicts (or tried git worktrees and got burned), you've probably seen both failure modes:

  1. Uncoordinated parallel agents fall apart: in our 12-agent CommonMark 0.31.2 benchmark (652 official spec tests), uncoordinated worktrees (parallel-off) averaged ~9 merge conflicts and dropped to 199/652 passing (~302 integration-loss regressions).
  2. Silent cross-file breakage that git never catches: Agent A adds a required user_id param to send_email() in email.py; Agent B calls the old signature from reset.py. Clean git merge, both branches pass their own tests, broken together.

Running sequentially avoids conflicts but takes 65.1 min (3.1x slower). So I built Seamlock (Rust, MIT/Apache-2.0) — a local coherence engine + 12-tool MCP server that coordinates parallel agents at the symbol-contract level instead of locking whole files.

How it works

  • Contract vs. body separation (tree-sitter): Body edits never block anyone. Breaking contract edits (signatures, types, SQL/Prisma/Protobuf/OpenAPI schemas, and cross-language HTTP routes like FastAPI/Express/Next.js <-> fetch) send surgical notices only to affected callers.
  • Live region coherence + AST-verified union: Pure two-sided insertions in the same file are combined via patience/diff3 + AST verification; genuine overlaps use region ownership and hand-offs.
  • Finish gate: Blocks an agent from finishing while it depends on a stale contract or unresolved conflict.

Benchmarks (attached chart)

We didn't even benchmark against sequential — the primary comparison is head-to-head against a strong baseline: the same parallel agents plus a 13th AI merge-integrator agent (parallel-integrator), same models, reproducible harness:

  • 12-agent Python CommonMark (652 spec tests, DeepSeek V4.1 Flash): 652/652, 0 conflicts, 20.0 min, 34.0M tokens, $0.99 vs integrator's 31.7 min, 43.8M tokens, $1.15 (~9 conflicts resolved).
  • 6-agent Polyglot Full-Stack (SQL + Python + TypeScript @/, 30 live E2E): 30/30, 0 conflicts, 8.8 min, 7.7M tokens, $0.40 vs integrator's 13.8 min, 8.2M tokens, $0.33 (5–6 conflicts resolved). (Honest note: on small ~200-line additive scaffolds, a quick post-hoc integrator pass can still be a few cents cheaper; live coordination pays off most on larger, coupled codebases.)
  • 5-agent Next.js/Postgres product sprint: 0 conflicts, 16.7 min vs 19.1 min ($0.69 vs $0.76).
  • 6-agent TypeScript app (48 tests): 48/48, 0 conflicts, 3.7 min vs 6.8 min ($0.16 vs $0.21).

How you use it (plugs into your existing agent — macOS, Linux, Windows)

  1. Via MCP: npm i -g seamlock && seamlock setup — auto-configures Claude Code, OpenAI Codex CLI, OpenCode, Cursor, Windsurf, Gemini CLI, VS Code/Copilot, and Antigravity (or any stdio MCP client via seamlock mcp). Then just ask your agent to plan and run parallel tasks with Seamlock.
  2. Direct CLI: seamlock run --tasks tasks.json --mode enforce --regions --test-cmd "npm test" + seamlock watch.
  3. Sidekick only (no orchestrator): seamlock worktrees --base main to check existing git worktrees live for silent contract breaks, or seamlock merge --base main b1 b2 --type-check.

Install: npx seamlock · uvx seamlock · brew install lucas-rus/tap/seamlock · cargo binstall seamlock-cli

Happy to answer questions on the tree-sitter contract diffing, region coherence protocol, or benchmark setup!


r/ClaudeCode • • 6h ago

Built with Claude I built a Claude Code + Codex usage monitor for Linux

Post image
0 Upvotes

I wanted to keep track of my Claude Code usage without constantly checking the terminal, so I built a little JARVIS-inspired desktop HUD for Linux.

It shows usage limits, context window, token consumption and even Codex usage, all in an animated Iron Man-style interface.

Everything runs locally, with no API keys or telemetry.

Would love to hear what you think!

GitHub: https://github.com/khushaljethava/claude-code-usage-monitor


r/ClaudeCode • • 1d ago

Discussion ChatGPT to plan, Haiku to execute

5 Upvotes

Paying 20 a month at each provider

Got a GitHub set up

Using Chat Sol 6.2 Instant in preparation for the Merge

I talk in Chat, it reviews the repo, we plan, brainstorm and then I get a prompt for Claude

In Claude Main is Haiku 5.5 Medium, Low subagent Explorer and High for Review/Advise

When done I go back to Chat with Claude's reply. It pushes code and also I have an evidence branch with pics and anything else needed technical like logs and reports

When I need a 2nd opinion I launch a temporary Chat on Medium

I think it's great value for 40 bucks, lasts me all week

Can't justify 100 and see no point getting another 20 dollar plan

Anyone experimenting with a similar workflow on a budget?


r/ClaudeCode • • 1d ago

Help/Question Claude account suspensions and VPNs: Shared IP vs. dedicated VPS IP?

4 Upvotes

I'm from a country where Claude is not officially supported. I've been using Claude Pro with Proton VPN Free for almost a year, connecting mostly to Dutch servers, and so far, I haven't experienced any bans or account suspensions.

I'm now considering two options:

Upgrading to Proton VPN Plus and continuing to use Dutch servers.

Renting a Hetzner VPS in Germany and setting up my own WireGuard VPN with a dedicated, static IP.

As far as I understand, both use data center IPs, but Proton Plus still uses shared IPs, while a VPS would give me a dedicated IP.

My main concern is account suspension. Since I've been using Dutch servers for almost a year, I'm also wondering whether switching to a German VPS could be an issue.

I mainly use Claude Desktop and Claude Code in VS Code. Setting up and maintaining a VPS isn't a problem for me.

Would you recommend upgrading to Proton Plus, switching to Hetzner, or simply sticking with Proton Free since it has been working fine?

I'd really appreciate your experiences and recommendations


r/ClaudeCode • • 17h ago

Discussion Is there a benefit to Claude Code for someone who uses Claude mainly for educational video creation and graphic design?

1 Upvotes

I use Claude primarily for graphic design and video editing, using Canva and Suno MCP. Claude also seems to handle video editing on its own computer, although I’m not entirely sure how that works.

I mainly use the desktop app to help me edit videos and upload them to YouTube. I then use Muse to schedule my graphics and videos across my Meta social media pages.

I frequently run into issues with video files being too large to upload or download, and I often find myself going back and forth with multiple editing revisions. I create a lot of faceless educational content, so I’m wondering how I can streamline my workflow, reduce these issues, and make the entire process more efficient.


r/ClaudeCode • • 1d ago

Built with Claude My 16-bit Star Trek bridge simulator game built with Claude Code | 7 days ~240 prompts

17 Upvotes

"Star Trek: Peak Performance"

You're a Starfleet Academy cadet in Sirna Kolrami's battle simulator, inspired by the TNG episode "Peak Performance." You don't "fly" the ship, and it's not a shooter. Each turn you give orders to your bridge crew at helm, tactical, engineering, ops, and comms. They report back, and the turn plays out on the viewscreen. It looks and sounds like a lost 90s 16-bit console game. It's a free fan game that runs in any browser, on a computer or a phone.

There are 40 ships in the game and 17 classic captains to battle, plus villains like Khan and Shinzon. You can also build and fly your own ship, or fly ships designed by other players.

Everything I gave Claude was plain English: design notes, playtest notes, and edits I typed into Word and Excel files.

Numbers

  • 7 days so far (several hours-long marathon sessions and nearly-all-nighters over Thanksgiving Break writing detailed feedback ship-by-ship, event-by-event, line-by-line). It went live on the evening of day 3, and I've updated it from player feedback every day since.
  • 238 prompts. About 70 of them are short replies like "Go live" or "Yes, do it."
  • Almost all of it ran on Claude Opus 5.5, including 123 subagents. Two multi-agent workflows did the biggest checks: 82 agents shook down every part combination in the ship builder, and 28 agents checked every grammar fix against the real game.
  • About 12,000 lines of plain JavaScript, plus some Python tools. There's no game engine and no framework. The only package is Cloudflare's command-line tool.
  • Claude ran about 6,000 shell commands. It also playtested in the desktop app's built-in browser, with about 700 JavaScript probes into the running game and about 450 screenshots and close-ups at desktop and phone sizes, to check its own changes.
  • Before there were any graphics, it simulated about 2 million computer-vs-computer battles to test the rules.
  • 31 updates since launch. Before each one goes up, the deploy script plays 1,560 test battles, checks the 220,000 lines of battle text they produce, and backs up the database and the live site.

    • I see this as a living-game, with new ships, captains, battle-scenarios, and features added - as long as it makes the game play and experience more fun. I don't want to weigh it down or make it clunky or complicated
  • Since launch: about 800 devices from 42 countries, 907 battles, 55 cadet accounts and 28 player-designed ships in the community registry.

Tools

  • Claude Code in the desktop app did the design documents, the code, the simulations, the review files and the deploys.
  • The game draws on an HTML canvas at 320×224, the Sega Genesis screen size, with Super Nintendo colors. Warp jumps and cloaks use the SNES mosaic effect.
  • Cloudflare Workers and D1 handle hosting, cadet accounts and the ship registry. Claude built the accounts from scratch, with email confirmation and password resets. Email goes through Resend's free plan.
  • Google Gemini made the art for the ships, bridges and portraits. I started on my own in the Gemini app, then asked whether agents could automate it. Claude wrote a script for Gemini's API (about 130 images at around 3 cents each) and a Python converter that shrinks each picture into a sprite with a 16-bit color palette. I art-directed every piece against canon reference pictures, using a Word review sheet where I pasted the references into a notes column. Many pieces were redone over and over.
  • The music is Kasatochi's free chiptune album Beamed, credited on the title screen. The sound effects come from a small synthesizer built into the game.
  • Every review happened in Word or Excel. The design went through 10 drafts. The ship ratings live in a spreadsheet whose formulas recalculate a ship's rating as I change its stats.

Stages (prompts in each)

  1. Design and simulation, day 1 (8). In my first prompt I gave Claude a detailed vision and asked for "just how it would play." Claude wrote a design document, and I gave notes in Word through three drafts that night. Before bed (about 4 am) I asked it to simulate the game before building anything. Using the design document as a guide, with no graphics, Claude had computer players fight about 2 million battles. That turned up 11 problems, such as torpedoes dominating, stalemates and a difficulty cliff, and all of them were fixed by Draft 5.
  2. Building it, day (and all night) 2 (35). A second simulation round got battles to 11 or 12 turns. I wanted the game to be something you could play for a quick distraction, or sit with and work your way up through the levels. Then came the build: the battle screen, the crew reports and Kolrami's commentary. The Gemini art went into batch production. After my first playtest I added two more captains, Shaw and Seven of Nine, and a tournament mode.
  3. Shipyard, accounts and launch, day 3 (51). I signed off on Draft 10 of the design and the ship ratings spreadsheet. Then Claude built the Utopia Planitia shipyard, where you design your own ship, four challenge battles against alien ships, and touch controls for phones. After that came the accounts, Cloudflare and the domain. It went live that evening, and a real sign-up from my phone worked.
  4. First players, days 3 and 4 (75). We did another art review round with reference pictures, fixing details like Voyager's bridge and a Gorn ship that looked more like a bird than a starship. Claude checked my actual Cloudflare account to confirm the game couldn't run up a surprise bill. Players said some of the text sounded like AI (I wrote as much of it myself as I could in my sleep-deprived haze), so every line went through a spreadsheet review and was rewritten where needed. Simulations rebalanced the shipyard so no custom ship can outclass its era's best canon ship. Last, Claude wrote a deploy script that tests and backs up everything before anything goes live.
  5. Player feedback, days 5 to 7 (69). I added a new tournament, the Enterprise Cup, built in its own session. One player's detailed bug report led to cloak and gambit fixes. Kolrami also now knows when you lost without making a single mistake. When that happens, he quotes one of Picard's most famous lines, which comes from the episode "Peak Performance": "It is possible to commit no mistakes and still lose. That is not a weakness. That is life."

What I'd tell another non-coder who wants to make a game

  • Design and simulate before building. The 2 million test battles caught problems I never would have found by playing.
  • Start "simple" - instead of being super ambitious with a lifelike game, I gave it a simpler, retro feel that works. A world like Star Trek has iconic, specific imagery that's more forgiving replicate in 16 bit graphics.

    • I originally started developing an ambitious Dominion War strategy game months ago, but paused it to do other projects and make this easier game, first. Now I feel more confident I can tackle that much more sophisticated Trek game after getting reps in on Peak Performance.
  • Review in files you already know how to use. A notes column in Word carried almost all of my feedback. I'm a video producer, so writing pitches that deliver the vision and story and giving detailed feedback is part of my everyday work. I leaned into the way I already work and what makes sense for me.
  • Write your rules down once and ask Claude to keep them in its memory notes, so "only go live when I say so, and test and back up first" holds in every session without you having to repeat it.
  • I often tell it "don't guess, look," meaning research it online. That's how I kept Claude's imagination from creeping into the very well-defined Trek universe.

Play it: https://starshipbridgesim.com


r/ClaudeCode • • 1d ago

Discussion Still hitting 85-87% above 150k context even when I open a new session per task in the same folder

Thumbnail
gallery
26 Upvotes

I've been using Claude Code a lot heavier this week and I know my session workflow is off, just not sure where.

I already try to avoid context bloat by starting a project folder and opening a fresh session in that same folder whenever I move to the next task (either manually or asking Claude to spin up a new session once the current one feels done). Even doing that, 85-87% of my runs still end up above 150k context, with heavy subagents and a 50 min session hitting 53.9M cache reads on Opus.

Clearly my "new session in the same folder" habit is outdated or missing something. How are you guys keeping runs under 150k context when working in the same repo all week?


r/ClaudeCode • • 11h ago

Built with Claude I let Claude Code write code, not approve its own work

0 Upvotes

Claude Code stays my main coder. I just don't let it review its own changes.

Disclosure: I build Sno Station. It's open source, built with Claude Code and Codex.

Every change Claude Code makes gets reviewed by Codex in a fresh session. Codex's changes go back to Claude Code, also in a fresh session. That's the distinction I care about: a clean session isn't the same thing as a different reviewer.

Sno Station lets those agents share memory, message each other and review each other's work. Now Gemini joins through the Antigravity CLI (agy) or the Gemini CLI. It reviews their work and gets reviewed too.

Gemini and agy are great. Pairing them with Claude Code or Codex works really well for me. I'm excited about adding another reviewer, not replacing Claude Code.

How are you handling disagreements between reviewers?

Install: curl -fsSL https://www.sno.ai/install | sh

https://github.com/sno-ai/sno-station/releases/tag/v2.4.0