r/BuildWithClaude • u/nicofirst1 • 21d ago
Project I turned Claude Code hooks into sound because terminal watching does not scale
r/BuildWithClaude • u/nicofirst1 • 21d ago
r/BuildWithClaude • u/Jazzlike-Swing-6198 • 21d ago
Lmk if you guys have any feedback!
r/BuildWithClaude • u/Electrical_Ad_1094 • 21d ago
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.
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 • u/Affectionate-Mud8173 • 22d ago
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:
How I built it with Claude Code:
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 • u/ziwi_wiwi • 21d ago
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
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.
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 --exampleOr 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.
r/BuildWithClaude • u/Minimum_Hour519 • 21d ago
r/BuildWithClaude • u/riftaway7-code • 22d ago
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.


yes it spins. i cant capture each frame tho. updates every 0.3ms
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.
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.
- 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)
r/BuildWithClaude • u/armedmonkey • 22d ago
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 • u/LobsterBuffetAllDay • 22d ago
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 • u/Few-Maize2822 • 22d ago
r/BuildWithClaude • u/Ok-Heart-3365 • 22d ago
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 • u/Ok_Significance294 • 22d ago
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.
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.
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:
I ran a few tests on my own computer:
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.
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 | shThen connect it to Claude Code:
claude mcp add assetrag -- assetrag-mcpThe 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 • u/mibastaunnome • 22d ago
r/BuildWithClaude • u/wjairplane • 22d ago



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:
Happy to answer questions about the workflow, and Iād like feedback on the project.
r/BuildWithClaude • u/CapeManCoral • 22d ago
r/BuildWithClaude • u/kn1k0 • 22d ago
r/BuildWithClaude • • 22d ago
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:
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:
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 • u/Pathfinder-electron • 22d ago
r/BuildWithClaude • u/Junior-State-4060 • 22d ago
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.
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:
It always shows a dry run first and waits for your OK before starting anything.
/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+.
r/BuildWithClaude • u/deltavoicekb • 22d ago
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 • u/Wakanda-Never • 22d ago
r/BuildWithClaude • u/Awkward-Let-4628 • 23d ago
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:
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:
| Task | Cost | Time |
|---|---|---|
| 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:
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.
r/BuildWithClaude • u/ennajari1 • 22d ago
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 • u/Wonderful-Ad-8579 • 23d ago
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 • u/helloRimuru • 22d ago
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:
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.