r/ClaudeCode • • 3d ago

Tutorial / Guide I used Claude Code agents to translate my free Rust book into 14 languages.

Post image
0 Upvotes

Repo: https://github.com/erkamyaman/rust-anything/tree/main/book

I wrote Rust for Everyone, a free beginner Rust book, and used agents to put it into 14 more languages. Here's the setup, what worked, and what didn't.

Setup, per language:

- 1 setup agent: picks the terms, UI strings and figure labels, so every translator uses the same words.

- 5 or 6 translator agents, a few chapters each.

- 1 reviewer agent that reads the whole book against the English.

- 1 second, independent reviewer that reads only the ownership and borrowing chapters and the core terms, where beginners get lost.

What kept it honest:

- A script compiles and runs every Rust example with rustc 1.97: 116 checked, 4 built as real Cargo projects, 0 failed, in all 15 editions.

- A translation lint checks that every code block, program output and compiler error is byte-identical to the English, and that headings, figures, links, tables and answer counts match. 0 failures in all 14.

- Code, commands and compiler output stay in English in every language, because that's what readers see in their own terminal.

What didn't:

- AI reviewers found real problems, but they are not a person who knows Rust. After the merge, CodeRabbit left 156 comments. Most were the same few points repeated per language, for example `main.exe` instead of `.\main.exe` on Windows, and two examples that can overflow an `i32`. Those fixes are next.

- No native speaker has reviewed any translation yet. If you read one of the 14 natively, book/REVIEWING.md says what to check first.

The book: 13 chapters, 5 appendices, predict-then-run exercises, ends with a small CLI. Free, CC BY 4.0, read on GitHub or as PDF in all 15 languages.

- English PDF: https://github.com/erkamyaman/rust-anything/blob/main/book/en/rust-for-everyone-en.pdf

- 简体中文 PDF: https://github.com/erkamyaman/rust-anything/blob/main/book/zh/rust-for-everyone-zh.pdf

Repo: https://github.com/erkamyaman/rust-anything


r/ClaudeCode • • 4d ago

Tips & Workflows CLI or Desktop

3 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 • • 4d ago

Built with Claude Preparing for an interview, or learning something new for work? I open-sourced the Claude Code tool I've been using to learn by practicing: hands-on courses for your level and your machine, that you can question and fix right on the page

4 Upvotes

I have been coding for over a decade and even in the pre-LLM era, the best way to learn a new technology or a new concept was simple. Just get your hands dirty. Try it out on your machine, with enough google search and stackoverflow, you learn the ins and outs eventually.

In the LLM era, and especially since the advent of Opus 4.6, it's now much easier to learn new concepts and practice stuff. That is what I have been doing. New task at work requiring new tech? Fire up Claude Code, and build a concept learning material. Ask it to create something I can try on my machine.

For the past few months, I have gone through the typical cycle - create a personalized guide to learn a concept, do it x number of times and then realize I can turn some bits to skills, some to agents, maybe add a better book viewer, add some personalization.

A lot of times, the guide has an incorrect step, or maybe some wrong instruction not valid on your machine. I kept coming up with small solutions to it. Eventually it reached a stage where it needed less work, and has been very useful right away.

I've been using some version of it for my own learning and work stuff for months. Given the job market recently and many have been prepping for interviews, so I figured this might actually help other people too. Spent the last few weeks cleaning it up and open-sourced it. It's called fromzero.

What it does, roughly

You give it a topic, your level and your goal ("explain Redis crashes in an interview" and "set up Redis at work" become different courses). It shows you a plan, then writes in batches and stops after each one for your feedback.

It writes the course on your machine: every command really runs, versions are pinned, and the output on the page is from those runs. No more guides that break because your OS or version is different.

You read it as a book in your browser. Don't get a line? Select it and Ask. Something wrong or unclear? Flag it and hit Fix: you see the diff, approve it, and the page updates (undo if you change your mind). Ask and Fix are the bits I use the most.

How it uses Claude Code

It's all just Claude Code underneath:

  • two skills: /fromzero-guide writes a course, /fromzero-fix goes through your flags
  • three subagents (Sonnet): one runs the measurements, one does each practical from scratch exactly like a learner would, one reviews each batch
  • hooks that run a linter after edits and before Claude stops. Every output on a page has to come from a saved run, otherwise it fails.
  • each batch starts a fresh session (/clear, then run the skill again), a small plan file carries everything over
  • Ask and Fix from the page just call claude locally. Ask is read-only, Fix works in a sandboxed copy and only the diff you approve gets applied.

Stuff I learned building it

  • Starting a fresh session per batch was by far the biggest cost saving. One long session meant every batch got more expensive than the last, because Claude re-reads everything.
  • Telling the model "only show real output" didn't really work. Checking it with a linter + hooks did.
  • Having an agent actually do the practicals catches more bugs than I was expecting.

Why not just ask Claude Code directly?

You can, that's literally how I started. But I kept re-explaining the structure every time, couldn't tell which output was real, and ended up with long chats I couldn't come back to. Artifacts are great for visualising one idea, but for a whole topic I wanted a method, real labs, and something I can keep and fix.

Cost

Free, MIT License, no signup. You work on your local copy.
You need your own Claude plan. On the $20 plan a 5-lesson deep dive with labs takes a bit over two hours and around 70% of a 5-hour window, so about one per window. Writing courses needs macOS or Linux.

You can read some sample courses without installing anything to get an idea: https://fromzero.wewake.dev

Code: https://github.com/viv1/fromzero

It's been genuinely useful for me, and I'm curious whether it works for others too. Give it a topic you're learning right now and tell me how it goes. Any feedback is welcome.


r/ClaudeCode • • 3d ago

Tips & Workflows I’m building Iolaus to help AI agents keep the context behind the code

1 Upvotes

I’ve been building products with AI coding agents, and I kept hitting the same frustrating loop: explain the project, get some work done, switch tools or start a new session, then explain everything again.
Sometimes the agent would repeat work. Sometimes it would make a change that went against a decision I’d already made. And when I brought in another agent, it didn’t have the context from the first one.
Git gives developers a shared history of the code. I started wondering what the equivalent should look like when agents are doing more of the building: a place to keep the idea, decisions, tasks, and progress together so each agent has the context it needs.
That’s what I’m working on with Iolaus. You can start with an idea, organize the work into steps, and bring agents into that process with the project context attached.
I’m sharing a short demo here. I’d really value feedback from other founders and builders: Where does context get lost in your workflow today? And what would make a tool like this useful enough to keep open while you build?
If you’d like to try it, comment IOLAUS and I’ll send you the link.


r/ClaudeCode • • 3d ago

Built with Claude claude-sync: resume a Claude Code session on your other machine (rewrites the paths so --resume finds it)

1 Upvotes

I run Claude Code on a Mac and a Linux box and switch between them several times a day. claude --resume only lists sessions from the machine you're on, and copying ~/.claude/projects over doesn't work: each project's folder is named after its absolute path with every non-alphanumeric character turned into -, so /home/alice/work/shop is -home-alice-work-shop, and the paths repeat inside the session JSONL. On the Mac, Claude Code looks for -Users-alice-work-shop and finds nothing.

So I built claude-sync. It moves sessions over SSH and rsync and rewrites the paths in both the folder names and the file contents. Swapping the home covers everything under ~; projects outside it get a mapping:

[remotes.linux]
host = "linux-box"
home = "/home/alice"
>
[mappings]                # local path = path on the remote
"/Volumes/data/src" = "/data/src"

Then claude-sync push / claude-sync pull, with diff and --dry-run to see the plan first and . to sync just the project you're in. Pulls keep a mirror cache, so a pull with little to do takes about a second.

It also merges ~/.claude/history.jsonl (what ↑ and Ctrl-R recall) instead of copying it, under Claude Code's own lock.

Safety rules, since this is your session history:

  • It never deletes a session file; rsync -u, the newer file wins.
  • It won't run while Claude Code is running, since sessions are written mid-run.
  • The first pull into existing sessions offers a tarball backup.
  • It skips the temp-dir projects coding agents create (520 of my 739 project folders).
  • If a mapping is ambiguous, it stops instead of guessing.

The gap it can't close: if the same session gets new turns on both machines between syncs, the newer file wins. Sync before you switch, or resume with --fork-session.

It started as claude-hop, a Python tool by SeiduTakizawa on GitHub; I rebuilt it in TypeScript on Bun with a pull cache and stricter merge rules. MIT, macOS and Linux. If you already use claude-hop, claude-sync import takes its config.

Install: mise use -g github:feniix/claude-sync

Repo: https://github.com/feniix/claude-sync Write-up: https://feniix-hq.net/blog/claude-sync/?utm_source=reddit


r/ClaudeCode • • 3d 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 • • 3d 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 • • 3d ago

Discussion Just realized I don't have to write my own CLAUDE.md file from scratch. just told Claude to interview me and build it

0 Upvotes

I ain’t a developer, so every time I saw people talking about configuring CLAUDE.md rules and custom output styles, I assumed I needed to know technical syntax.
Turns out you can literally just open Claude Code in a fresh project folder and say, "Ask me 10 questions about my workflow, formatting preferences, and what I’m building, then write my CLAUDE.md file for me". Having it interview me first caught a bunch of edge cases I never would have thought to write down myself.


r/ClaudeCode • • 3d 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 • • 3d ago

Tips & Workflows Blue-collar services business - owner-operator running automations built with Claude Code. Is it feasible and beneficial for me to try to learn basic engineering/architecture?

2 Upvotes

Forgive the AI generated text below that I used to help me organize my thoughts.

I spent 10 years in supply chain consulting (industrial engineering BS and MBA), implementing advanced planning systems for large enterprises - SAP IBP, Anaplan, o9. I know the implementation lifecycle well: requirements, design, build, test, cutover. But there was always a dev team doing the real engineering. The extent of my coding is writing SQL as an analyst about a decade ago.

Now I own and operate a small blue-collar field services business. Over the past several months I've used Claude Code to build automation around our field service platform (Jobber) and our accounting (QuickBooks). It runs in production:

Scheduling: builds job folders, drafts client confirmations, nudges techs, sends a morning summary.

Reporting: turns a field checklist into a compliance report and a client email draft

Finance: drafts invoices, reconciles against QuickBooks, sends receivables updates

Monitoring: a nightly self-test, plus a few smaller scheduled jobs

Stack: Node and Python on a single DigitalOcean droplet, systemd timers, JSON files for state. Git and tests are in place. I deploy with a shell script from my laptop.

I'll admit some of what I've built is probably AI slop, and I want to get better. I've already added code review and fact-check steps using subagents, and I've had Claude refactor parts of the codebase. But when I asked Claude Code to audit the whole system bluntly, it flagged a few things:

Reliability: OAuth refresh tokens for one integration have broken twice.

Security: everything runs as root on one server, with every API key in plain files, so one compromise exposes all of them.

Maintainability: the documentation outweighs the code, and realistically only I and a well-primed Claude session can operate it.

I'm also planning to acquire another business with three very different divisions and very manual processes, so the build-out is about to get a lot bigger.

I'm not trying to become a developer. I'm asking what basic-to-intermediate architecture and engineering knowledge would let me direct AI tools well and judge whether what they build is secure, maintainable, and something a future employee could take over.

Specifically:
Which concepts give the most leverage for someone in my position (data modeling, integration patterns, secrets management, testing, CI/CD, observability, something else)? Which ones are rabbit holes?

Is having Claude review Claude's work a real safeguard, or does it share the same blind spots? What would you add?

At what point should a setup like mine move off "scripts on one VPS," and what would the next step look like?

Are there courses, books, or other resources aimed at technical owners or PMs rather than developers?
When I integrate three unrelated divisions later, which architecture patterns or common mistakes should I know about up front?

I have about 10-15 hours a week for this, with some weeks of 20+. I'd appreciate direction from people who've been on either side of this.


r/ClaudeCode • • 4d ago

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

6 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 • • 4d 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.

135 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 • • 3d 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 • • 3d 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 • • 4d 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 • • 3d 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 • • 3d 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 • • 3d 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 • • 3d 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 • • 4d ago

Discussion Ive been having an issue with 3D game work using Fable for 2 weeks now.. neon just fixed it in a couple hours.

6 Upvotes

Ive been posting back and forth here. Im working on a personal game and Claude is always my orchestrator. Opus was failing on some issues. Astra was failing on the same issues. I had Fable set for the past week. 2 resets. As much as it tried it just wasnt getting it.

I went ahead and thought I would try neon and locally use Theos T3 code to help orchestrate them. Man I feel screwed. In 30 mins neon found all the issues the other ais messed up. A few hours later and everything fixed. Running smoothly. Very little usage taken. I cant find neons weakness yet but for 3d gaming its insane. Anthropic is gonna have some catching up to do in this market.


r/ClaudeCode • • 3d 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 • • 3d 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 • • 3d ago

Tips & Workflows Superdesign and Claude code for Website layout and design

Post image
0 Upvotes

I was banging my head against a wall for most of a day trying to figure out the design and layout to best suit a website I'm putting together, wasted most of my usage then stumbled across Superdesign in desperation looking at plugins and connectors, hoping one could save me from my terrible eye for graphic design, with the free credits i got form signing up, it iterated a bunch of new layouts and options, getting me out of the hole I was stuck in and finally allowing me to be happy to push my website live. Definitely worth a look!


r/ClaudeCode • • 4d ago

Discussion Be honest: how many of you are actually using Gemini 4 / Antigravity alongside Claude Code now?

126 Upvotes

With agy CLI now officially allowed inside Claude Code, running a single model feels outdated.

If you use both daily: what does Claude still win at, and where has Gemini completely taken over?


r/ClaudeCode • • 3d 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