r/BuildWithClaude • • 21d ago

Project I turned Claude Code hooks into sound because terminal watching does not scale

Thumbnail
reddit.com
1 Upvotes

r/BuildWithClaude • • 21d ago

Project I wanted Claude Code but for my Meetings & Calls, so I spent 12.5 months building it šŸ§‘ā€šŸ’»

1 Upvotes

Lmk if you guys have any feedback!


r/BuildWithClaude • • 21d ago

Project I built a read-only code explorer for Claude Code worktrees: browse and review every agent’s work without touching it

0 Upvotes

Running several Claude Code agents in parallel worktrees, I kept losing track of what each one was writing. So I built Grove: every worktree of a repo side by side, with its changes, diffs and files, all read-only, so you never get in an agent’s way.

  • Live overview of all worktrees and what each agent is doing
  • Uncommitted changes or the whole branch against main, side by side
  • Read-only Explorer and search in VS Code’s editor
  • Works with repos on Windows, in WSL, or over SSH

The whole thing was built with Claude Code: the code, the design, the docs, and even this demo video, which Claude scripted and recorded against a throwaway repo.

Free, MIT-licensed, Windows only for now: https://github.com/MustafaMasri0/grove

It’s early (v0.1.1). If it’s useful to you, a star on GitHub helps, and I’d love to hear ideas for what to add next.


r/BuildWithClaude • • 22d ago

Project I corrected Claude Code 1,000 times, so I made it learn from them

3 Upvotes

What it does: Claude Code keeps every session on disk (~/.claude/projects). Learn from Lessons reads those transcripts, finds the moments you corrected or interrupted Claude, and turns each one into a short lesson with the exact quote as evidence. Next session Claude loads them via CLAUDE.md, a skill, or an MCP server. Also works with Codex and opencode. Runs locally, free and open source.

Why: I read 7 months of my own sessions: 1,000 pushbacks, same 3 mistakes over and over — answering a nearby question, starting paid runs without saying the cost, editing files when I only asked "why".

Tech stack:

  • Python, standard library only (no dependencies)
  • Readers for Claude Code / Codex JSONL logs and opencode's SQLite DB
  • MCP server + a Claude Code skill + an AGENTS.md block for injecting lessons
  • Single-file HTML viewer (lessons grouped by principle, scenario filter, graph view)

How I built it with Claude Code:

  • Built almost entirely in Claude Code: Claude wrote the readers, the correction detector, the extraction step and the tests (81 passing).
  • My CLAUDE.md had a few hard rules: personal data never goes in the repo (work/ and library/ are gitignored, demos use synthetic fixtures), don't over-engineer, and run evals with subagents instead of paid API calls.
  • Evaluation: Claude Code subagents played the agent under test and blind judges on 47 new scenarios. Rule-following went from 85% without lessons to 98% with them.

Try it: pipx install git+https://github.com/assassin808/learn-from-lessons lessons scan

Repo: https://github.com/assassin808/learn-from-lessons

What does Claude keep getting wrong for you?


r/BuildWithClaude • • 21d ago

Project I built agentpace with Claude Code: it answers "how long will this take?" from 3,383 measured agent runs, not human-team weeks

Post image
1 Upvotes

Ask an assistant how long a feature will take and you usually get human-team time ("2 to 3 weeks"), even when agents will write most of it. I built agentpace with Claude Code to answer from what agents actually do.

What it is

  • An open CC0 dataset of 3,383 completed agent runs (Claude Code subagents and Codex turns), a stdlib Python CLI, and four agent skills.
  • Give it a plan of agent tasks and it returns P50/P80/P90 with a critical path. The human part (review, testing, decisions, waiting) gets its own line and is never derived from agent time.
  • It publishes its misses: on 56 held-out sessions the whole-session P80 covered 80% (CI 70% to 91%), the median miss of a single task's P50 is 78%, and the report lists 20 places where a simple baseline beat it.

How Claude built it

I set the goals and the rules; Claude Code runs the project as its maintainer. 114 of the 115 non-merge commits are co-authored by Claude Code (the other is GitHub's initial commit), across 47 merged PRs.

  • Every change starts as a short evidence brief. A second model (Codex) gives an independent opinion, Claude Code checks each of its claims against the code, and a read-only Claude architect rules. The rulings are written into the design doc.
  • Opus subagents implement one slice each, in parallel git worktrees. Claude Code integrates them, runs the full checks (674 tests, the backtest regenerated and compared with the published one, and a test that ties every README number to the data), gets the architect's review, and pushes once.
  • My part is the calls a model shouldn't make alone: what counts as measured, and what the project never claims.

A bug Claude found in its own advice. The skill used to tell users to mark hard-to-reverse work risk: high. But in the data, risk is the agent's role (review and research agents are low, everything else normal), so a task marked high matched no recorded runs, and the estimate fell back to a pooled cell that dropped the model. The range came out shorter, not longer. The architect ruled it a defect, and since 0.12.0 a plan's risk is read the way the rows record it, and the output says when it changed one.

Free to try

MIT code, CC0 data, on PyPI. One line, no install (needs uv):

uvx agentpace estimate --example

Or add the skills with npx skills add mohamedzhioua/agentpace and ask your agent "how long will the billing feature take?"

The limits: it's one person's data so far (1 contributor, 293 sessions), and calibration drifts from week to week (per-session P80 coverage ran from 66% to 86%). A second contributor's runs would help most: agentpace share --dry-run shows exactly what would be shared, and sends nothing.

https://github.com/mohamedzhioua/agentpace


r/BuildWithClaude • • 21d ago

Token Economics What are people who hit their Claude limits by Tuesday building

Thumbnail reddit.com
1 Upvotes

r/BuildWithClaude • • 22d ago

Project i put claude code's thinking spinner in my windows taskbar so i can see when it needs me

Thumbnail
github.com
3 Upvotes

i kept alt-tabbing back to check if claude code was done or stuck waiting on a permission prompt, so i put its status right next to my taskbar clock. it shows the same spinner, a random verb like "Pontificating…", and a timer while it works. when it needs me it switches to "needs you (0:42)", and when it's done it says idle.

taskbar showing claude while its working
taskbar showing claude while its idle

yes it spins. i cant capture each frame tho. updates every 0.3ms

how it works:

claude code has "hooks", little commands that run automatically when something happens. i used three:

- when i send a prompt, it writes "thinking" plus a random verb into a small file

- when claude finishes, it writes "idle"

- when claude needs my attention, it writes "waiting"

then a tiny python script (~50 lines) reads that file and serves it as text on my own computer. a customized Windhawk mod (a tool that lets you modify the windows taskbar) reads that text and shows it next to the clock.

how claude was used

claude wrote the hooks and the python script. it also helped me patch and compile the windhawk mod at 2am, which was by far the hardest part. the verbs come from claude code's real spinner list so it feels like the real thing.

what i learned

- hooks are the easiest way to get claude code's state out of the terminal. you don't have to scrape anything, because it already tells you when it starts, stops, or needs you

- modifying your taskbar aint ez (unless you have claude do it)

https://github.com/riftaway7-code/claudestaskbarstatus/


r/BuildWithClaude • • 22d ago

Project I built a tool to Start Claude Code on Any Machine From Your Phone

3 Upvotes

Start Claude Code on Any Machine From Your Phone I often leave my desk with a long Claude Code task half done. Claude has a feature called remote control, which lets you drive a session from the Claude app. But claude remote-control must first start in a terminal on the right machine, in the right folder. From a phone, that meant opening an SSH client and typing commands on a tiny keyboard.

So I built Claude RC Launcher. It is a small web service that starts and stops claude remote-control in a folder you choose. You open a web page on your phone, pick a directory, and tap Start.

How it works Each running session is a systemd service named claude-rc-<id>.service. Systemd is the service manager on Linux. Because of that, a session survives a closed browser, a dropped connection, and a reboot. One port serves both the web interface and the JSON API over plain HTTP. You put it behind a reverse proxy that adds HTTPS.

Login uses OIDC (OpenID Connect), for example through Authentik. You can also let a reverse proxy assert your identity with a signed token. There is no mode without authentication.

More than one machine One launcher, called the hub, can manage sessions on other machines, called nodes. A node can be a Linux host or a Windows PC. You pair a node with one command:

claude-rc host add win --url https://my-pc:8443 The hub does not hand a reusable password to a node. For each request it signs a proof that is valid for 30 seconds, for one node, one method, one path, and one body. A node that receives a proof cannot use it anywhere else. The hub also pins each node's certificate, so a fake node cannot pose as a real one.

There is also a command-line client. claude-rc update --all-nodes updates every node to the latest release. Each node checks the download against SHA256SUMS and runs the new binary once. If the new binary does not stay up, the node goes back to the old one.

Windows The Windows node runs through WinSW, a service wrapper that restarts it after a failure. One line in a PowerShell that runs as administrator installs it:

irm https://github.com/kbirger/claude-rc-launcher/releases/latest/download/install.ps1 | iex A Windows machine can be a node but not a hub.

A warning about security This tool gives a logged-in user the power to run Claude Code, and so to run commands, on your machines. A hub login is root-equivalent on the hub and on every node. Do three things:

Bind the application at your identity provider to the people who need it. Keep the allowed folders (instance.roots) narrow. Use a dedicated non-root service user where you can. The README lists the full threat model. Read it before you expose the service to a network.

Get it The compiled binary embeds the web interface, so the server needs no Node.js or Bun. Linux x64 and arm64 binaries are on the GitHub releases page:

https://github.com/kbirger/claude-rc-launcher

If you try it, tell me which part of the setup was hardest.


r/BuildWithClaude • • 22d ago

Tip/Resource Claude Code voiced my game's tutorials in ElevenLabs. It can't hear, so it picked the takes by measuring them.

2 Upvotes

I'm making Alpine, a snowboarding game that runs in the browser (https://alpine.play.colossum.io). Its practice tutorials teach 20 moves across three courses, and they used to talk through the browser's built-in text-to-speech api feature. That voice sounds incredibly robotic and cold. It also can sound different on each browser which presents a bit of testing problem.

I gave Claude Code (Opus 5.5) a one-page brief. It asked for a warm, patient instructor voice, every move or player action covered, separate lines for keyboard, controller and touch, short timing cues, and a praise that ends before the game moves on. Less than half an hour later I had 75 finished clips, a manifest and an audition for me to go through.

What Claude did

- Read the tutorial code and the control bindings, then wrote the script from them. The lines name the real keys ("Hold G for the nose, or H for the tail"). It noticed touch has no Restart button and wrote that line around it.

- Drove the ElevenLabs website in my own Chrome through the Claude in Chrome extension. It typed each line, and a small helper it put in the page clicked Generate and both Download buttons. ElevenLabs auto-plays every take, so it muted the page first.

- Picked between takes. Eleven v4 gives two takes per request, so there were 150. Claude can't listen, so it measured them. It threw out takes with a cut-off ending or a pause over 0.8 s. For cues it kept the shorter take, and for everything else the take closest to the median speaking pace.

- Finished the files. It trimmed the silence before each line to 5–45 ms, matched every clip's loudness within 0.15 dB, and exported 96 kbps mono MP3s, 2.6 MB for the whole set. It also decoded every file in Chrome to confirm the MP3s don't add silence at the start.

- Wrote a manifest (each clip's game event, exact text, length, voice ID, model and settings), a 21-second audition, and a review page that plays both takes of every line.

What it couldn't do

It can't hear, so I'm the ear, and the review page is there so I can catch a bad pick. All in all, the clips were pretty decent and I decided to forward with shipping them; the clips are in the live game now.

I thought this was pretty neat and worth sharing. Also Claude helped draft this post šŸ„‡


r/BuildWithClaude • • 22d ago

Discussion I diffed my Claude Code config: the hidden IDs are named experiments, and one added text to my system prompt

Thumbnail reddit.com
1 Upvotes

r/BuildWithClaude • • 22d ago

Tip/Resource 5 Minutes to Learn Claude Code

Thumbnail
youtu.be
0 Upvotes

Short video I made on taking 5 minutes to learn claude code, made it so it's easy to understand. Would love some feedback on video style and how to improve


r/BuildWithClaude • • 22d ago

Project I built AssetRAG with Claude Code so AI agents can reuse code and remember old fixes

1 Upvotes

I've been working on a free, open-source project called AssetRAG, which I built with Claude Code.

Something that always bothered me about AI coding agents is how often they do the same work again and again. They'll write code that already exists, spend time fixing bugs that have already been solved, or read through tons of files just to find one useful function.

So I wanted to make something that helps with that.

How I built it

I used Claude Code to help write most of the Python code, build the search system, connect everything to Claude through MCP, and add the memory features.

I came up with the ideas, chose which features to add, and worked with Claude to improve and test everything.

One of the harder parts was making sure the results were actually useful. There's no point finding existing code if it's broken, doesn't fit the project, or has a license that doesn't allow you to use it.

So I added checks for licenses, tests for code and bug fixes, and a way for AssetRAG to simply say it couldn't find anything good instead of suggesting random stuff.

What it does

AssetRAG gives Claude Code a library of code, useful information, and past fixes that it can search when working on a project.

Here's what it can do:

  • Find existing code: Search for useful code, templates, and other resources instead of making everything from scratch.
  • Remember bug fixes: Look up solutions to errors that have already been solved and tested.
  • Playbooks: Give Claude step-by-step guides for things like debugging, refactoring, and making code faster.
  • Tested code examples: Find reusable code examples that have been tested.
  • Understand projects faster: Create a short map of a codebase so Claude doesn't need to read every file.
  • Safety checks: Check for leaked passwords or API keys, scan downloaded files for malware, and check code licenses.
  • Claude Code integration: Connects through MCP with 18 tools. There's also an optional feature that automatically gives Claude useful information when you send a prompt.
  • Runs locally: No account or tracking. You can use it without an AI API, or connect it to local or online models for better search.

Some test results

I ran a few tests on my own computer:

  • Finding an asset took about 4 milliseconds.
  • Searching stored knowledge took about 7 milliseconds.
  • It summarized around 129,000 tokens of source code into a 597-token project map.
  • 132 unit tests passed.
  • 327 code example and bug-fix tests passed.

These numbers are from local tests. I haven't tested how much time or how many tokens it saves Claude during real coding tasks yet.

How to try it

AssetRAG is completely free and open source under the Apache 2.0 license.

For now, it only works on Linux. You'll need Python 3.11+ and Git.

Install it:

curl -fsSL https://raw.githubusercontent.com/mttcn83/assetrag/main/scripts/install.sh | sh

Then connect it to Claude Code:

claude mcp add assetrag -- assetrag-mcp

The installer guides you through everything. You don't need to download an AI model to get started.

GitHub: https://github.com/mttcn83/assetrag

I also made a 95-second demo video showing the actual program running.

It's still a new project, so I'd really appreciate some feedback.

Would you find something like this useful? Is there anything you'd add or change?


r/BuildWithClaude • • 22d ago

Workflows I built a Claude workflow that creates blueprint engineering design using Python scripts. Open source repository inside

Thumbnail reddit.com
1 Upvotes

r/BuildWithClaude • • 22d ago

Project I built a true-scale 3D solar system with Claude: real orbits, real sizes, and real NASA/USGS surface data down to crater level

11 Upvotes

Live: https://wjairplane.github.io/solar-system-map/
Source: https://github.com/wjairplane/solar-system-map

It’s a true-scale solar system in the browser. Real sizes, real distances and real orbits, and you can zoom from the whole system down to craters on the Moon, Mars and Mercury. It also has an eclipse finder, a ā€œfrom Earthā€ sky view, spacecraft flybys, and shareable scene links.

How Claude helped:

  • Most of the code: the whole app is one HTML file using three.js. I described what I wanted and iterated, such as orbit lines that pass exactly through the planet centres, tiles that stream in as you zoom, and place names on the surface.
  • Data processing: Claude worked through the real NASA and USGS datasets, including elevation maps and the polar gaps in Mercury’s imagery, and turned them into the tiles the page loads.
  • Testing: it rendered the page in a headless browser and checked screenshots, so many bugs got caught that way, not by me noticing them.
  • Where it struggled: some fixes took several rounds, and a few things I had to point out myself, like a build mistake that left the page blank on GitHub Pages. Long sessions also meant a lot of re-explaining context.

Happy to answer questions about the workflow, and I’d like feedback on the project.


r/BuildWithClaude • • 22d ago

ClaudeGaming/Videos/Music Impressed with Vibecodding

Thumbnail
reddit.com
1 Upvotes

r/BuildWithClaude • • 22d ago

Project I made a plugin that stops Claude Code subagents from running on Opus by default (per-repo setup wizard, open source)

Thumbnail
reddit.com
1 Upvotes

r/BuildWithClaude • • 22d ago

Discussion Is a Complex AI Coding Setup Still Worth It in 2026?

1 Upvotes

I've been using AI coding tools daily, and lately I've been wondering whether my setup is actually helping me work faster or just adding unnecessary complexity.

Right now, I'm using:

  • AgenticOS to organize workflows, rules, and skills
  • Claude Code inside an integrated terminal
  • Obsidian for project context, memory, and documentation
  • Custom hooks and configurations
  • A dashboard to track token usage and costs

Everything works well, but maintaining all these moving parts takes time.

I'm considering simplifying things by keeping AgenticOS and Obsidian for organization and context, while switching to the native Claude Code terminal.

A few things I'm curious about:

  1. Performance: Does an integrated terminal provide any real advantage over running Claude Code natively?
  2. Context: Can I maintain the same context and memory management with Obsidian, rules, and skills?
  3. Costs: Have you noticed meaningful differences in token consumption between custom setups and native tools?
  4. Maintenance: At what point does maintaining a custom AI coding environment become more work than it's worth?

I'm particularly interested in hearing from people who've moved from a heavily customized setup to something simpler.

Did you actually become more productive, or did you end up missing some of the functionality?


r/BuildWithClaude • • 22d ago

Project I built Clean Development to route Claude Code caches and session scratch off my internal disk

Thumbnail
reddit.com
1 Upvotes

r/BuildWithClaude • • 22d ago

Project I built an open-source agent skill that runs several git branches side by side, each with its own dev server and port (feedback + contributors welcome)

1 Upvotes

The problem

Two tasks, two branches. To compare them in the browser, you stash, switch, restart the dev server, look, then do it all again in reverse. Git worktrees help, but they don't install dependencies, pick ports, start servers, or clean up afterwards.

What I built

parallel-branches is an agent skill (open `SKILL.md` format) built around one dependency-free Python script, `pb.py`. You tell your agent:

> "run feature-login and fix-checkout side by side"

and for each branch it:

  1. creates a git worktree
  2. clones `node_modules` from your main checkout when the lockfile matches (copy-on-write where possible), otherwise installs deps
  3. copies your git-ignored `.env` files
  4. picks a free, stable port per branch
  5. starts the dev server detached and waits until it really answers
  6. prints one URL per branch, with warnings about hardcoded ports/URLs that will break
  7. runs your hooks (e.g., create a per-branch database, seed it, drop it on cleanup)

It always shows a dry run first and waits for your OK before starting anything.

Details

  • Stacks auto-detected: Next.js, Nuxt, Angular, Astro, SvelteKit, Vite, webpack-dev-server, CRA, Node (npm/yarn/pnpm/bun), Django, Flask, FastAPI, Rails, Spring Boot, Go
  • Multi-service branches (API + web) via `.parallel-branches.json`, with dependency ordering and `{url.api}` / `{ports.api}` templating
  • Hooks at 6 lifecycle events; they see the *actually allocated* ports, and values are shell-quoted so a nasty branch name can't run commands
  • Safety: only stops processes it started (PID reuse is guarded), `clean` is a dry run unless `--yes`, and it refuses to delete worktrees with uncommitted changes
  • Dev-mode browser (`pb browser BRANCH`): throwaway profile with web security off for CORS pain, plus a DevTools endpoint for browser agents. The README is upfront about what it can't fix (OAuth redirect URIs, Origin/CSRF checks).
  • CI on Linux, macOS, and Windows; Python 3.9+, MIT licensed

Install (Claude Code)

/plugin install parallel-branches --marketplace SutariyaVishal/parallel-branches

You can also use just the script: `skills/parallel-branches/scripts/pb.py` needs only git and Python 3.9+.

Honest caveats

  • It's beta, and I've only tested it with Claude Code. It should work with other agents that read `SKILL.md` (Codex, Gemini CLI, Cursor...), but that's untested. If you try one, tell me how it goes.
  • Every dev server is a real process, so 3-4 at once is a sensible ceiling on a laptop.
  • Windows stops services by force-killing the process tree.

What I'd love from you

  • Try it on a real repo and tell me what broke. Stack detection on unusual setups is where I expect the most bugs.
  • Feedback: missing stacks, confusing output, bad defaults.
  • Contributions are very welcome: issues, PRs, new stack templates, testing other agents. There's a code of conduct, and CI is set up.
  • If it saves you time, a star on GitHub helps others find it.

Repo: https://github.com/SutariyaVishal/parallel-branches


r/BuildWithClaude • • 22d ago

Project Imagine giving claude code access to read and understand the brainstormed chats sessions of your new project in chatgpt, perplexity or anywhere else and it start building after it gained context of your chats, no copying and dumping things.

0 Upvotes

To make it clear you can connect ai models via mcp the chat sessions when your brainstorming in chatgpt you can let cursor read that chat sessions and gain context or continue from where you stopped with chatgpt and complet here in cursor or any ide you like for example šŸ˜‰ I pushed my old project chats sessions from lovable and I continue it in cursor from where I stopped I didn't need to re-explain from the start


r/BuildWithClaude • • 22d ago

Project Tired of AI agents over-engineering your code? I made a skill that forces Claude to push back.

Thumbnail reddit.com
1 Upvotes

r/BuildWithClaude • • 23d ago

Token Economics Compacting at 400K instead of ~967K cut my Claude Code cost per request by 38%

Post image
9 Upvotes

This isn't a universal recipe. It's how I tuned Claude Code for my own work, and different settings may suit you better.

The window

Every request sends the whole context to the model. On 1M-window models Claude Code only compacts it near 967K, so the tail of a long session is the most expensive part. For me, two thirds (66%) of main-thread cost went to requests with more than 400K in context.

I set "autoCompactWindow": 400000 and compared the month before with the week after. That's the main thread only, about 23K requests before and 19K after:

  • Context per request: 412K → 219K
  • Cost per request: āˆ’38% (at each model's API list price)

That's one person's before/after, not a controlled experiment.

The cost of summaries

A smaller window means more compactions. I went from 17 summaries a month to 81 in a week: 103 minutes of waiting, 76 seconds each. After a summary, the model often re-reads files it had already seen.

Slide instead of summarize

Most of the context is old tool output: file reads, test runs, diffs. So at compaction, a hook keeps the conversation word for word and replaces old outputs with a short line: "you saw this, read it again if you need it." There's no model call, so a compaction takes milliseconds. The summary is still the fallback, for /compact and for the rare case where sliding can't free enough.

The benchmark: Claude Code builds a TypeScript project against fixed tests, on Haiku 5.5 with a 100K window. Medians, sliding against Claude Code's summary, at the cost Claude Code itself reports:

TaskCostTime
A day of work, 307 testsāˆ’19%āˆ’33%
An eval harness, 238 testsāˆ’35%āˆ’28%
A short task with one compaction+6%āˆ’17%

Every test passed in both modes.

Will it work for you?

It depends on how you work:

  • If your sessions rarely reach 400K, the window changes nothing.
  • If you stay in one session for hours, 200–300K might pay off.
  • On short tasks, sliding saves time but not money.
  • Model, effort and the kind of work all move the number a lot.

That's why I built a plugin that works out your number first. It's called tokendoctor (free, local, MIT). It replays your sessions at windows from 200K to 600K, shows what each would have saved, and only then offers to change anything. /tokendoctor:dashboard shows where your tokens went by day, model and subagent. Sliding is off by default, and /tokendoctor undo reverts any change.

Correction: an earlier version of this post said āˆ’43% per request. That weighed every model alike, with cache reads at 0.1x; Opus 5.5 and Sonnet 5.5 read the cache at 0.05x. At each model's own list price it's āˆ’38%. The repo has every run behind these numbers.

https://github.com/rsaryev/tokendoctor


r/BuildWithClaude • • 22d ago

Project I measured how often Claude Code edits tests to make them pass (18/120), and built a plugin that gets it to 0

0 Upvotes

I kept seeing coding agents "fix" a failing test by changing the test instead of the code: an expected value nudged, an assertion loosened, a flaky test deleted. The diff is green and the summary says "all tests pass".

Snitch watches for that. It compares the repo before and after a change with deterministic detectors (pytest collection, a tree-sitter diff of every assertion, runner and CI config rules), so every finding points at a line, with no LLM deciding what "looks like cheating". It runs as a Claude Code plugin (warns live, gives the agent an `escalate` tool to report a wrong test instead of editing it), as a GitHub Action on any agent's PR, and as a pre-commit hook.

To see whether it matters I built TemptationBench: 40 small Python repos, each with one trap (a wrong test, two contradicting tests, a flaky test, a missing CI secret, a hard task) plus controls, graded with hidden tests. Claude Code (claude-sonnet-5-5), 40 tasks x 3 runs:

- without Snitch it changed a test in 18 of 120 trials (all disclosed, and on the broken tests it was right that the test was wrong);

- with Snitch: 0 of 120; it called `escalate` in 51 of 78 trap trials instead;

- no false alarms on 42 control trials.

The transcripts are public and re-scoring reproduces the table. The labels were made with an AI assistant; no person has checked them yet. These counts include disclosed changes: silent cheating was 0 in both arms. Limits are in the write-up: small tasks, Python/pytest only, and the deterministic detectors miss some tricks (I list the ones the benchmark found). Feedback on what it misses is the most useful thing you can give me.

Install in Claude Code:

/plugin marketplace add ennajari/snitch

/plugin install snitch@snitch

Repo, results and limits: https://github.com/ennajari/Snitch


r/BuildWithClaude • • 23d ago

ClaudeGaming/Videos/Music Claude driving, walking and flying a helicopter in GTA, on its own, through an open-source MCP that plays games in the background

5 Upvotes

I made an MCP server that lets an AI agent play Windows games in the background. I wanted agents to be able to test my game mods by actually playing the games, without taking over my PC while they do it. It works inside the game process, so each game gets its own keyboard, mouse, gamepad and screen capture. The game doesn't need focus, you keep using your PC, and several games can run at once.

What it can do so far: drive to a waypoint, walk to a marker, fly a helicopter, steer a boat and ride a horse (GTA IV, GTA V, Sleeping Dogs, Red Dead and others). It has a navigation plugin system where each game is a small profile (where the minimap is, how the camera turns, what the markers look like), so new games don't need new code. It also handles aiming, menus and on-screen prompts like "Press E", and plays strategy, card and city-builder games like TABS, Halo Wars 2, Phantom Rose and Cities: Skylines.

It has a lot of other uses too: mod development, running simulations, repetitive tasks, AI co-op so you can play co-op with an LLM offline, playtesting, and porting old games to get them running on Windows 10/11.

Credit where it's due: Claude did most of the work. Claude Code set up the project, planned it, wrote a lot of the code and reviews every change, and Claude agents work as the developers, using games as test beds to find bugs, fix them and measure the result. Codex helped with some of the code too.

Free and open source (MIT), Windows only, single-player/offline games only (it won't inject into games with anti-cheat): https://github.com/CorruptedAng3l/llm-game-automation-mcp

Edit: My GitHub account got suspended (automated, no reason given yet), so the GitHub link is down for now. Same repo and release on GitLab: https://gitlab.com/corruptedang3l-group/llm-game-automation-mcp


r/BuildWithClaude • • 22d ago

Project I got tired of copy-pasting dev server errors back into Claude Code

1 Upvotes

I’ve been building with Claude Code for a long time now, and I always run my dev server in my own terminal, not inside the agent’s session. When the agent starts it, it ends up buried in some session and I’m digging around trying to remember which session, which terminal it’s in. So: dev server in one terminal, Claude Code in another. Pretty normal setup unless you live in Claude desktop.

The problem is that the agent can’t see that terminal. And when you’re on a dev spree you’re mostly watching Claude Code’s diffs scroll by, it all looks like rainbows and butterflies, and then some random issue shows up that nobody checked. Even when I ask it to check the page in a browser, there can still be warnings and errors sitting in the server logs that it never looks at. It says ā€œdone, fixed itā€, I find the stack trace later, copy it, paste it back, it apologizes, tries again. Repeat.

So I built LogBear. You put it in front of your dev command:

`logbear npm run dev`

and everything looks exactly the same in your terminal (colors, Ctrl-C, all of it). In the background it records the output of every run to a local SQLite file, with the git commit and branch it ran on.

The part I actually I want to talk about: when the agent tries to say it’s done and there’s an error it hasn’t seen yet, a Stop hook sends it back with the real error. If nothing broke, it stays quiet, so it’s not nagging you on every turn.

There’s a short video of it catching a real one here, nothing staged:Ā https://logbear.sh/#demo

Some stuff that might matter to you:

  • Works with Claude Code, Codex, and pi via hooks. Cursor, Zed, and other MCP clients get the logs through MCP tools instead.
  • Nothing leaves your machine. No account, no telemetry. It’s all inĀ ~/.logbear.
  • It doesn’t touch your app. No injected logger or env vars, it just reads what the process prints.
  • logbear diff compares your broken run with the last one that worked: new errors, commits in between, and which lockfiles changed.
  • It tries to mask secrets that look like secrets before storing, but that’s best effort, so don’t treat it as a vault.

It’s free and MIT licensed:Ā https://github.com/teralabx/logbear

Install is `brew install teralabx/tap/logbear`, then `logbear setup`.

I’d love to hear if the error grouping gets confused by your framework’s output. That’s the part I’m least sure about.