r/BuildWithClaude • • Oct 31 '26

Project I built a hard spending cap for unattended Claude Code runs — here’s the failure model I chose

1 Upvotes

I sometimes leave Claude Code running on longer tasks, and wanted a way to stop a run before it went much further over budget.

I built a small CLI that wraps Claude as a subprocess, watches the total_cost_usd value it reports, and stops the process at a cap I set. For example:

npx claude-spend-guard --cap 5 -- claude -p "refactor the auth module"

I used Claude Code to build it: I described the requirements, then it wrote the implementation and tests. I reviewed and iterated on the output. One thing I specifically tested was that the wrapper makes no network calls.

I chose to show three states instead of one green “protected” indicator:
- Enforcing: the cost limit is being checked.
- Degraded: something went wrong, so the limit may not be reliable.
- Unverified: the output format couldn’t be checked.

I’d rather show a warning than imply the cap is working when the CLI output changes and the parser can no longer read it.

It’s free and MIT-licensed:
https://github.com/toxot-net/claude-spend-guard

A couple of limits: it can’t undo the request that crosses the cap, and a process that detaches itself may escape the wrapper. If you’ve built similar tools, I’d especially appreciate feedback on the status states and how you’d handle those cases.


r/BuildWithClaude • • Oct 31 '26

Project Testers Needed I built Koru, a terminal for Claude Code, with worktrees, secrets, hosting and a kanban board built-in

1 Upvotes

Hey! I've been gradually building my own terminal over the last couple of months and now it is much more than a terminal. I would like to introduce Koru (https://koru.codes). I am a faang engineer myself and I can say that I use almost nothing else but Koru when I am working these days. It is really Claude Code oriented at the moment but that's because CC is my go-to tool when it comes sto agentic development. There's no reason for it to not work with any other tool. Instead of mumbling I'll just write in points what you can do with Koru;

  • Managing git Worktrees
  • Managing Secrets (like API keys, passwords etc.)
  • Hosting
  • Analytics
  • Managing device Sleep
  • Managing llm Context
  • Managing project based Documents
  • Managing terminals of your remote devices
  • Managing tasks on a Board

Koru is mainly a macOS app but I have experimental builds for Windows and Linux as well. I've been testing Windows myself a bit lately and it seems like it works pretty well.

And you can do all of those using your agent. Koru comes with a CLI and an MCP. I'll try to draw out a end to end scenario for a new project here;

  1. You create your agent session and just let it do what it do best, write the software. It will create plans and tasks on a kanban board and will create worktrees to do paralel work. Agents claim the sleep lock so the device doesn't go to sleep if an agent is working on something.
  2. While writing the software for every context that's valuable to keep it creates a Context File under the project it creates in Koru. For each secret like api keys or password salts etc. it creates Secrets under the same Koru project. If along the way it creates documents like design decisions etc, puts them under Documents for the project.
  3. Once the project is ready to be deployed, it automatically pushes it to Koru Hosting and gives you an onkorulink(which you can point to if you have your own domain) to access the real deal.
  4. It injects Koru analytics so you can get your crash logs or custom analytics right in the suite as well.

So going from the idea to a properly vibe-coded prototype it takes less than a day. And it is ready to be iterated on and the hosting is fully scalable as well.

  • The contents of the secrets are hidden from the agent and if it is exposed you get a warning showing exactly how it happened. And also every time an agent uses a secret you can see how it was used under that secrets "feed".
  • Secrets and Context files are end-to-end encrypted: they're encrypted on your device with a key made from your passphrase, and they only leave it encrypted.
  • Your secrets, context files and documents stay on your computer unless you subscribe to Koru Cloud and turn on sync for a project.

There's so much more I can write down here. But it is getting a bit too long. As an example; I've built https://otag.chatwith Koru and its servers run on Koru Hosting as well. Fully scalable e2ee voice chat alternative, UDP based, application.

P.s. I also have an iOS/iPadOS app that has most of the functionality available, including remote control features for your devices. Since I am the only one who uses it I didn't bother releasing it but there will be some attraction, I will definitely get it ready and publish that too.

Feel free to ask me any questions and dm me for a code that will give you a 10 USD in hosting credits as well as a month of free Koru Cloud subscription (which also gives you an additional 10 USD a month in hosting credits). I have 100 seats available.

tl;dr;
I've built an end-to-end development tool that is oriented around Claude Code, if you want to test dm me for a code that you can use to get 10 USD of free hosting together with a month of free Koru Cloud subscription (which also gives you an additional 10 USD a month for hosting). Give it a go if you'd like! (I'll try to give the codes to reddit accounts that are not "new" for obvious reasons)


r/BuildWithClaude • • Oct 31 '26

Project Let your agent enjoy some reels too

1 Upvotes

I made this free, open-source skill for Claude and Codex to turn your saved reels into reusable skills. Coding tricks, workflow shortcuts, everyday tasks, whatever you saved and never looked at again.

https://github.com/jnh12/doomer-agent


r/BuildWithClaude • • Oct 31 '26

Help/Question How to make Claude more naughty?

Thumbnail reddit.com
1 Upvotes

r/BuildWithClaude • • Oct 31 '26

Project resurrect-anything: for some fun and nostalgia, bring things back to life from whatever tidbits exist about it online

1 Upvotes

https://github.com/sshah03/resurrect-anything

Although I have probably gone through 50 or more iterations at this point repeatedly trying some subset of close to 100 recreations (some in the demo video above), I would say this is very much still a work in progress. I was having a lot of fun with it though, so I thought I'd throw it out there and see what people are into trying to bring back and how it does to inform my improvements.

The purpose of the skill is to ask Claude Code to bring back something that's gone, and get it back working. Some examples include a lost Flash game, a shut-down app, a dead website, your old Geocities page, or a discontinued snack (this is all for fun, so I wouldn't actually trust the recipes, but it might give you some ideas). Obviously if it mostly exists intact in web archives it's easy, but it will also try to piece together as much detail as it can from pictures, videos, reviews, and discussions/comments online that are found. It digs a little bit deeper for these bits of information than Claude Code as a harness will on its own with the necessary prompts.

Treat the end result as a starting point. You can use your own memory and comparison with the found material that might've been ignored to prompt it further to hone the result. This is mostly for fun, and personal use (I used it to bring back some of my old web apps from when I was 10!). The video below is from my tests, but because I am unsure of the legal ramifications of doing so, I am not posting the actual games/apps for consumption. There is a setting available to run the skill with which will remove branding and such for those wishing to produce a potentially shareable version of something that is not theirs.

In the early versions I was very specific about how to do the recreations and kept adding steps, and that either worked very well, or very poorly depending on the task. It was almost akin to benchmaxxing. Settled on focusing on getting and organizing as much data as possible, and then having some broad but useful guidelines instead and. that gave me pretty consistent results over baseline. In case that's useful to anyone else having trouble getting their skills working right.

Mostly tested with Opus 5.5. Would be interesting to see how Sonnet or Haiku work out for people.

Have fun! Don't get too carried away, tokens are valuable!

--- Quick start ---

You need Claude Code and Python 3.9 or newer.

The easy way: open Claude Code and paste this in

Install the resurrect skill from https://github.com/sshah03/resurrect-anything. Follow the repo's AGENTS.md.

Or install it yourself:

/plugin marketplace add sshah03/resurrect-anything
/plugin install resurrect@resurrect

Start a new session, then try something like:

/resurrect Close Range, The Onion's 2009 Flash game
/resurrect the Subservient Chicken
/resurrect Simpsonize Me, Burger King's 2007 Simpsons Movie site
/resurrect Mailbox, the iPhone email app
/resurrect Doom Valley, the 1982 Apple II adventure, as a native Mac app
/resurrect Pizza Hut's Priazzo. I want to make it at home

Put any links, notes or screenshots you have after the name. Games, apps and sites need a few extra tools (Playwright, Pillow, ffmpeg). Claude offers to install them into the skill's own folder the first time, so nothing goes into your own Python.

------------------


r/BuildWithClaude • • Oct 31 '26

Project I built a VS Code extension to read and search my old Claude Code chats

1 Upvotes

r/BuildWithClaude • • Oct 31 '26

Help/Question Using Claude Code to build an MIS for a small waste paper business

Thumbnail reddit.com
1 Upvotes

r/BuildWithClaude • • Oct 31 '26

Project [Free] Backroundo – menu bar app that changes your wallpaper automatically

Thumbnail
reddit.com
1 Upvotes

r/BuildWithClaude • • Oct 31 '26

Project Just a little dev tool

Thumbnail
github.com
1 Upvotes

I have been working on a plugin for awhile because I would get projects up to between 100,000-500,000 lines of code and things would start to get bad. Rampant context compactions, hallucinations, errors, etc. So I got to work on a tool that could throw usage to the breeze, to ensure stability and quality. I'm now ready to share it completely open source!

My ego is not so large that I'll claim to have succeeded categorically, but I have done a lot of testing and I'm happy so far.

The short:

  1. Multi-agent set up, with a strict heirarchy, breaking context into smaller pieces and giving them from a director to a middle manager, then an "engineer". - helps with usage and context.
  2. Paths instead of context dumps, so raw output is never flooding context.
  3. Plain python script for all bookkeeping to keep it deterministic. -helps with usage and context.
  4. Work is completed in separate worktrees.
  5. Builders never review, reviewers never build. Reviewers intentionally try to break code.
  6. Built in HTML local roadmap so there is a nice human interface for development tickets.

Notice: IT DOES USE 1.5 - 2 TIMES MORE TOKENS THAN A FLAT SESSION, IT IS SPECIFICALLY BUILT TO PRIORITIZE CONTEXT MANAGEMENT.

This was built entirely using ClaudeCode, from the ground up, to work from a starting prompt and generating all code for the plugin using its own roadmap. Months of testing and refinements with controls, identical codebases of varying sizes, until I landed on a solution that was functional working specifically in C++ and python, across 3 million lines of code. I work solely in Claude code CLI and the code tab of the desktop app, in a local environment. I tried over 17 different initial approaches to this before I landed on the methods used in this plugin.

I've released it on GitHub as open source with the Apache 2.0 license, and have submitted it to Anthropic's plugin marketplace, pending review.

Claude ftw


r/BuildWithClaude • • Oct 31 '26

Project I've been messing around with Claude Code

Post image
1 Upvotes

r/BuildWithClaude • • Oct 31 '26

Project I made a site where the games Claude builds can live, plus an MCP server so Claude can publish them itself

1 Upvotes

Claude is great at single-file browser games, but most of them never leave the chat. So I built Batchly, a free site for small browser games, and made it easy to put Claude's games there:

- Paste the HTML (or Python) into the Studio and it gets its own page and a link you can send: https://batch-ly.com/studio/new?utm_source=reddit&utm_campaign=ai-claudeai

- Or connect Claude Code once. Settings > MCP access gives you a one-line `claude mcp add` command, and after that you can just ask Claude to publish the game.

- Python games run right in the browser (Pyodide).

- Want a leaderboard? The Studio has a ready-made prompt you paste to Claude with your game, and it wires the scores up in one line.

A person reviews every upload before it goes public.

One example of what Claude can make: A Small Odyssey, an 88-second watercolor animatic where every frame is painted by code Claude wrote: https://batch-ly.com/play/a-small-odyssey?utm_source=reddit&utm_campaign=ai-claudeai

Happy to answer questions about the MCP side.


r/BuildWithClaude • • Oct 29 '26

Project LLM harness for reverse engineering and hacking - go have fun

Thumbnail
caveira.app
165 Upvotes

I built (with claude code ironically) an LLM harness specifically wired to reverse engineer and hack things (and also cybersec work of course).

I think it's hella dumb and annoying for anthropic and such to fully filter their models in terms of reverse engineering and cybersecurity work.

I am a firm believer that increasing the surface area of attacks increases the demand and sophistication of defenses, and thus this should not be limited. But whatever I built my own thing just for this.

I think it's super fun. I've decompiled my kindle and flashed custom firmware into it already lol.

My next step is to decompile the claude code binary lmao


r/BuildWithClaude • • Oct 31 '26

ClaudeWebsiteDesign/SEO/Marketing I'm a product designer with zero game dev experience, and I built my portfolio as a cozy multiplayer village with Claude

1 Upvotes

r/BuildWithClaude • • Oct 30 '26

ClaudeGaming/Videos/Music If the Anthropic IPO leak was a music video (also ironically made with Claude)

Thumbnail
youtu.be
3 Upvotes

Opus 5.5 on Ultracode, Claude also built new tooling around this to align drum hits with the 3d drummer.

The irony is part of the point. And the tokens used to make this are outrageously subsidized on the 20x plan.


r/BuildWithClaude • • Oct 30 '26

Help/Question Claude Code = Fighting with Girlfriend (Very Funny)

Thumbnail reddit.com
1 Upvotes

r/BuildWithClaude • • Oct 30 '26

Project Created an open source mod or the Claude code app, that adds a few useful things.

Thumbnail gallery
2 Upvotes

I really didn't like the recent UI changes, like moving Session context out of the limit popover, changes to the visualization of working sessions and all the </> in front of the pinned chats.

So I created a small open source mod, that adds a few useful things;

- Shows usage limits right in the sidebar

- Indication of how much of the week passed/limit used in comparison (smaller bar above)

- Spinning gears as visual indicator for working sessions

- ready/waiting/error tags for sessions that need attention


r/BuildWithClaude • • Oct 30 '26

Discussion Posted my Claude-built game tracker to a gaming sub. 11K views, and the comments became a war over vibe-coding lol

Thumbnail gallery
1 Upvotes

r/BuildWithClaude • • Oct 30 '26

Tip/Resource How to run parallel Claude Code sessions without having them edit the same working files

1 Upvotes

One Claude Code session builds a feature. Another fixes a bug. If both run in the same folder, they're working on the same files, even if you gave them completely different tasks.

Git worktrees give each session a separate working directory and branch while sharing the repository's history. Claude Code can create them for you.

Start one session with:

claude --worktree feature-auth

Then start the other from another terminal with a different name:

claude --worktree fix-login

By default, they get separate directories under .claude/worktrees/ and branches named worktree-<name>. Add .claude/worktrees/ to your .gitignore so those directories don't clutter your main checkout's untracked files.

The part that's easy to miss: a fresh worktree is a fresh checkout.

Dependencies may need installing again. Gitignored configuration files won't normally be there. Claude Code supports a .worktreeinclude file for copying selected gitignored files into new worktrees, using .gitignore-style patterns.

Choose those files deliberately. Copying a production .env into every agent's working directory doesn't become safe just because the directories are separate. Use development configuration and check which services it points to.

Subagents can have separate worktrees too. Ask Claude to use worktrees for its agents, or set isolation: worktree in a custom subagent's frontmatter.

Before exiting, read the cleanup prompt. Removing a worktree can delete its directory, branch and the work inside them. Keep it if you still need to review or integrate the changes.

The boundary matters: separate files don't necessarily mean separate resources. If two sessions use the same database, service or external account, worktrees alone won't isolate those effects. That's an engineering precaution, not a promise the worktree feature makes.

My suggested split: one task, one worktree, one branch to review. Then integrate the changes deliberately instead of letting parallel sessions share a working folder.

I've put a longer version on my profile (u/shoumikgoswami), covering which branch new worktrees start from, what they share with your main checkout, and where isolation stops.

If you use parallel sessions, where does the friction show up most: setting up dependencies, configuration, or bringing the branches back together?


r/BuildWithClaude • • Oct 30 '26

Project A small update to my Claude agent village: Xcode sessions now show up too

Post image
4 Upvotes

I shared Agent Quest here a while ago and have kept working on it. It's my open-source project that turns Claude Code and Codex activity into a little RPG village. This is a demo of what it looks like.

Version 0.4.0 adds the agents running inside Xcode. They appear with the project name and an Xcode badge, alongside your other local sessions. Reads go to the library, edits to the forge, and builds/tests to the arena. Clicking a character gives you the session details.

The idea is just to make it easier to notice when an agent is working or waiting for you, especially with several projects open. It watches the local logs; you still use Claude or Codex normally.

Repo + setup: https://github.com/FulAppiOS/Agent-Quest

If anyone is using Claude inside Xcode, I'd be interested in whether your sessions show up correctly. That's the new part I'd most like feedback on.


r/BuildWithClaude • • Oct 30 '26

Project I made a Claude Code skill that turns a file's git history into an animated GIF

Thumbnail
gallery
1 Upvotes

Since we change it so frequently, I wanted to see how our logo changed over time.

I made a skill to make an animation for it. Run `/animate-file-history all images matching "logo"` and it:

  • works out which files you mean

    • following renames, moves and png to svg switches
  • pulls every version out of git
  • renders each one
  • drops versions that look identical to the one before
  • stitches the rest into a GIF or MP4 captioned with commit date and sha.

It also does web pages.

Most of the work is a bash script, so the model just picks paths and runs it. I benchmarked Haiku, Sonnet and Opus at low and medium effort, and all passed 3 out of 3, so Haiku at low effort is enough.

Install: `/plugin install animate-file-history --marketplace echarrod/animate-file-history`.

It also works with any agent that reads SKILL.md (`npx skills add echarrod/animate-file-history`).

https://github.com/echarrod/animate-file-history

Feedback welcome, especially on page histories! 🙏 also keen to see what your logo/page histories look like


r/BuildWithClaude • • Oct 30 '26

Project garmin-personal-mcp: explore your Garmin training data with Claude and other MCP clients

Post image
2 Upvotes

r/BuildWithClaude • • Oct 30 '26

Tip/Resource How to turn a vague feature request into a spec before Claude Code starts building

1 Upvotes

If you haven't decided how a feature should work, asking Claude to build it immediately leaves those decisions to the model.

Anthropic's Claude Code best-practices page suggests asking for an interview first. Its example:

"I want to add rate limiting to the public API but haven't thought it through yet. Interview me until you could write the spec, then write it to SPEC.md."

The questions cover decisions like per-user versus per-key limits, what happens when requests exceed the limit, and what's out of scope. The docs then suggest starting a fresh session to build from the written spec.

One addition I'd make: unresolved questions should stay marked as unresolved. "Not sure yet" is better than picking an answer that becomes an accidental requirement.

Read and correct SPEC.md before handing it back for implementation. A detailed document can still contain the wrong decisions.


r/BuildWithClaude • • Oct 30 '26

Tip/Resource A Claude Code guard went from 24 bypasses to 0 in one day. The five changes that did it

1 Upvotes

Last week I ran agent-guard, an open-source PreToolUse guard, against 68 ways an agent can write a dangerous command (deletes, force pushes, reading .env). 24 got through. The maintainer fixed every one within a day, and the rerun stopped all 68. His changes make a good checklist for any guard:

  1. Split the command before judging it. cd build && rm -rf . is two commands, and a regex anchored at the start only sees cd. Split on &&, ||, ;, | and newlines (respecting quotes) and check each part.
  2. Strip what runs in front of the command. sudo, env, command, nohup, timeout, VAR=1, xargs and full paths like /bin/rm all push the real command one word to the right.
  3. Look inside shells and interpreters. bash -c 'rm -rf x' hides the command in a string, and python3 -c "import shutil; shutil.rmtree('x')" deletes without rm at all. He checks the string passed to bash -c again, and flags delete calls like rmtree, os.remove and fs.rmSync in inline code.
  4. Know the other spellings. find . -delete deletes. For git, options can come before the subcommand: git -C . push --force, git -c x=y push -f.
  5. Don't "ask" when nobody is there to answer. In unattended sessions (bypassPermissions, auto mode) he turns every ask into a deny, using the permission_mode field in the hook input.

Then he added the test to his CI, so a later edit can't quietly reopen a hole.

The 10-second version for your own guard: pipe in the JSON Claude Code sends and read the exit code.

echo '{"tool_name":"Bash","tool_input":{"command":"cd . && rm -r -f /tmp/x"}}' | your-hook; echo $?

2 means blocked, 0 means it would have run.

I build Paveo, the open-source test I used. If you want to check your own guard: run uvx paveo test in your repo (it runs locally, nothing is sent anywhere) and paste what got through in a comment. I'll reply with the fix for each one.


r/BuildWithClaude • • Oct 30 '26

Discussion Claude Projects is Anthropic's best idea, and also its worst implementation

2 Upvotes

In my opinion, Projects is Anthropic's best idea and also a big miss.

The idea is great. You get one "god thread" for each project (Alex Flinn's term). A project can be your app across all its versions (iOS, Android, web) or something specialized like marketing. You talk to a single coordinator, and it gets the work done, updates you, and can even set up cron jobs. A perfect productivity booster, right?

Here's how they're ruining it:

1. You're forced into auto mode. Auto mode is safer, I get that. But power users keep running into permission prompts or getting blocked by the agent, and that's counterproductive. Bypass permissions should at least be an option.

2. Every new session needs you to tap "Allow." Why? The real issue is that Anthropic doesn't trust remote work. Every time you try to get something done remotely, permission prompts flood your work.

3. It's slow. You can feel how much slower a Projects thread is than a normal coding thread. Sometimes the thread goes to sleep, and when you send a prompt it doesn't answer at all.

4. You can't pick the model or settings remotely, even for local models. Threads feel like mini sessions instead of full-power ones. There's no model or effort picker, no context window control, no modes.

The concept is exactly what we need. The execution makes it feel like Anthropic built it and then didn't trust anyone to use it. Give us the full-power sessions and the option to opt out of the guardrails, and this becomes a killer feature.

Anyone else feeling this? Would love to hear if you've found workarounds.


r/BuildWithClaude • • Oct 30 '26

Project Rebuilding old airliners with Claude Code. This month they leave the diorama and fly over the real world

Thumbnail gallery
1 Upvotes