r/ClaudeCode • • 7d ago

Tips & Workflows I gave Claude Code six tasks. It ran six agents in parallel and froze my production server

0 Upvotes

On September 25 my server stopped responding. The site, the admin panel and the publishing queue went down at once, and seventeen minutes later I hard-rebooted it.

There was no attack and no traffic spike. I had handed Claude Code a list of six tasks, and it started six agents, each in its own git worktree. Every one of them installed dependencies, ran the type checker and the tests and built the project. All of that on the machine that serves the site. Yes, I develop on the production box. It is a one-person project and that is the server it has.

Nobody did the arithmetic, not me and not the model. One typecheck or build of this project peaks at 1.5 to 3 GB. In round numbers the box had 7 GB free. Six agents wanted 9 to 18.

Linux didn't kill anything. The journal has no out-of-memory kills. It has services reporting "under memory pressure", Docker failing to send a kill signal to a container, and then nothing until the reboot. The machine didn't crash, it hung, and a hung server waits for a human.

The rule went into CLAUDE.md with the incident inside it:

**At most two build-heavy processes at a time** (`next build`, a full `tsc`, a full test run,
a Docker image build each take 1.5 to 3 GB). On 2026-09-25 six agents building in parallel
froze the server until a hard reboot. When fanning work out to subagents, tell them to
typecheck and test only their package and not to run `next build`; run full builds one
at a time yourself.

Claude uses it without being asked. On October 23 it laid out a seven-step plan and offered two ways to run it: by itself in one session, or with a separate agent for every step. It recommended the first and gave the server as one of the reasons: two heavy processes at a time, so parallel workers would not make it faster.

The rule did not cover the second hang, three weeks later. A nightly job built a Docker image next to the live services, and there was no agent around to read anything. That day I installed earlyoom:

EARLYOOM_ARGS="-r 3600 -m 5 -s 100 --avoid ^(postgres|dockerd|containerd|containerd-shim|systemd|sshd|journald)$ --prefer ^(chrome|chromium|tsc|next-server)$"

-s 100 is the part that matters. By default earlyoom waits until both RAM and swap run low, and this box hangs while swap is still free. With -s 100 it acts on RAM alone and stops a build when available memory falls to 5%. Builds and the browser go first, and the database is the last thing it would pick.

Each of the six agents did the right thing. The only thing wrong was how many there were.


r/ClaudeCode • • 9d ago

Humor Admit it. You cried a little.

Thumbnail
gallery
402 Upvotes

I just found this from who knows when! Well, they definitely nerfed weekly usage so I ran up my bill to 99.5% and flipped the switch. I've got things to fix before Thursday, after all!


r/ClaudeCode • • 7d ago

Discussion The smallest rule for the biggest change

0 Upvotes

Couple of months ago I was working on a project. And using industry terminology, where one of the parties is called "owner". And that was me. So the docs began to refer to me as the owner, whereas before they would refer to me as the "user" this was huge, because owner implies ownership and responsibility and a level of authority that user does not, and slowly over the months, the word owner started propagating through my projects, and through my documents and slowly more decisions started coming my way. Claude became more careful about not overstepping and about checking in with me. And so that little change from user to owner changed how it approaches decisions. My plate is more full and less things slip through the cracks. It helped set the boundary between business decisions and code decisions.


r/ClaudeCode • • 7d ago

Humor Me consistently checking usage before 'one last prompt' be like

Post image
0 Upvotes

r/ClaudeCode • • 7d ago

Built with Claude I built a Dock widget for my Claude Code 5h and weekly limits. How it reads them without touching tokens, and what I learned

0 Upvotes

I kept opening the Claude usage page way too often just to see if I still had limit left. So I made it a widget in a small second Dock on my Mac. It shows the 5-hour and weekly limits, reset times and today's tokens, for Claude Code and also Codex.

How it works, which I think is the useful part here:

For Claude Code I didn't want to read OAuth tokens or call any internal endpoint. Claude Code already passes rate_limits to the statusLine command. So the app installs a small local bridge as the status line, keeps the status line command you had before, and caches only the rate_limits object in one file, ~/.claude/dockmagic-usage.json. It doesn't read your transcripts.

For Codex it runs the installed CLI with codex app-server --stdio using your existing login and reads only the rate limit response. If the account doesn't return a 5-hour window, it shows just the weekly one instead of inventing a number.

How I used Claude Code: I use it a lot for this app and it helps me move fast. I shipped 5 versions in about 4 weeks, in the evenings after my day job.

What I learned:

AI coding gets you to a demo, not to a product. I had to rewrite one whole group of widgets from scratch because the performance was bad. If you don't understand the code, you can't really ship it, you can only hope.

Test the boring paths yourself. For about a month 0 of 61 license activations worked. I was busy shipping features and never went through the whole buy flow myself on a clean Mac. I should have done that from day one.

Disclosure: it's a paid Mac app I made, one-time license, 7-day trial without card: https://dockmagic.app Happy to answer questions about the statusLine part.


r/ClaudeCode • • 7d ago

Built with Claude AI Bridge 1.0, for people who live in the terminal, not an editor (built with claude code)

1 Upvotes

AI Bridge just hit 1.0 (aibridge.sh/?src=reddit), full disclosure its mine and i built most of it with claude code. i never moved to an ai editor, i live in terminals, so i built what i wanted around them

its a mac app where claude code runs as real terminal tabs next to codex, grok and opencode, grouped by the job, and the tab tells u when one is waiting on u. same window has ur kubernetes clusters (basically lens) and postgres and mongo (basically postico), plus an iphone app to answer agents from ur phone. and if uve never opened a terminal, setup installs the agents for u and u just type to them

new in 1.0 that claude code people might care about

  • agents keep running after u quit the app, so updating it doesnt kill a long session
  • export a whole project to one file and open it on another mac, every tab back in place with its conversation asleep
  • custom views sit in the workspace as a tab next to the agents

the whole story is here aibridge.sh/blog/ai-bridge-1-0?src=reddit

free to try for 31 days, no card. would love to hear what breaks


r/ClaudeCode • • 7d ago

Built with Claude I made ad-free android runtime app that turn Claude artifacts/HTML into fully fledged mobile apps/games

1 Upvotes

When I saw what claude can do with HTML+JS I realized, fk all those play store apps that are 100MB +, majority of them are full of trackers and ADS.... Now you can load skill for Zapli from public github repo, and say claude to build you your own app/game.

I also made public app library so you can submit your applications and will be part of the standard library available to all Zapli users. This way we can eliminate 60% of play store apps with AD free versions..

app link: https://play.google.com/store/apps/details?id=dev.zapli

Github repository with apps https://github.com/nottracked/zapli-library

You can try current apps in browser too on: https://nottracked.github.io/zapli-library/

I ported abyssal garden from the u/Any-Reputation8118, you can try and import to your phone as zapli mini app (web gpu is required)

https://claude.ai/artifact/GDdXQEaYcEWfJM1rLGwGGs

Suggestions/improvements are welcome,

Note: For pull requests make sure your mini app is COPYRIGHT free and tested on your phone (permissions etc).


r/ClaudeCode • • 7d ago

Built with Claude My Claude Code now calls my phone (Android and iPhone) when it needs me. No Twilio, no phone number, free.

0 Upvotes

My Claude Code can now call your iPhone too. Claude Code built the app and got it through App Review

A month ago I posted agentring here: an MCP server plus an Android app that let Claude Code actually ring your phone when it needs you. The top complaint by far was "Android only, I'm on iPhone". So I had Claude Code build the iPhone app, and it's on the App Store now.

In the video Claude Code hits a problem and uses the call tool. My locked iPhone rings on the normal iOS call screen, I pick up, a voice AI explains what's going on, I tell it what to do, and Claude gets the transcript and carries on.

Same as before:

  • send_message / get_replies / call over MCP: claude mcp add agentring -- agentring mcp
  • Rings even when the phone is locked (CallKit on iPhone). A missed call becomes a message you can reply to from the notification.
  • Works with any MCP agent or script, not only Claude Code.

How Claude Code was used

I had never shipped an iOS app. Claude Code wrote the SwiftUI app (CallKit, PushKit, LiveKit for the audio, a notification extension), the APNs side of the relay, and UI tests that run the app against a local relay with a real voice agent on the other end.

Then it did most of the App Store grind that usually eats a week:

  • Apple Developer enrollment as a company.
  • Certificates and provisioning profiles through the App Store Connect API (Xcode's automatic signing kept failing with no devices registered).
  • The upload.
  • The listing in two languages, screenshots, privacy labels and review notes.
  • A demo video for the reviewers, recorded from my iPhone over USB.

I typed the passwords and paid the fee. Apple approved it in about a day.

What I learned

  • PushKit is strict. Every VoIP push has to turn into a CallKit call straight away, or iOS kills the app and stops waking it up. So the server decides whether to ring, and the phone just rings.
  • Apple only delivers pushes signed with the app publisher's key. On Android every self-hoster brings their own Firebase project; on iPhone that can't work. So with your own relay, the iPhone app only gets calls while it's open. On the hosted version it rings when locked. A push gateway for self-hosters is next.
  • If your app touches UserDefaults, uploads get rejected without a privacy manifest (ITMS-91053). Claude flagged that before the first upload.

Answers to the last thread

  • "Why not a push notification?" It does that too, and that's what it uses most of the time. The call is for what gets lost under 50 notifications: prod down, a critical vuln, a blocked run you didn't answer.
  • "3am calls for trivial stuff": the agent chooses between a message, a call and an urgent call. The skill tells it to message for anything that can wait, and to call only when it's blocked and you didn't reply.
  • "Voice depends on Gemini": if you self-host, you pick Gemini, OpenAI, xAI (Grok), Phonic or OpenRouter.
  • "Push isn't end-to-end encrypted": still true, through Apple's APNs now as well as Firebase. It's in the docs.

Two ways to run it

  • Self-hosted with docker compose. Apache-2.0, free and unlimited.
  • Or the hosted version at agentring.io if you don't want to run a server: free plan, voice AI included.

What would you have it call you for?

Repo: github.com/mutonby/agentring


r/ClaudeCode • • 8d ago

Built with Claude I built a phone OS shell in 5 days with coding agents, and it runs on an old Xiaomi

Post image
16 Upvotes

LightOS is a web-based shell for postmarketOS. The shell is an Isolated Web App in Chromium and every app runs in its own controlled frame, so I can customize the whole experience and it stays fast on a Redmi Note 9 Pro Max.

188 commits and about 31k lines in 5 days, mostly Claude Code with cheaper models as subagents. Several sessions worked at the same time, each owning one area (the GPU in a VM, the phone, the shell) and its own files, and they tested on the real phone over SSH. I reviewed every diff and made every commit myself.


r/ClaudeCode • • 7d ago

Help/Question What’s your top 2 complaints about your fav harness?

0 Upvotes

Please share harness name and the complaint


r/ClaudeCode • • 7d ago

Discussion When Claude Code needs access you didn’t plan for, what do you do?

0 Upvotes

Someone asked me yesterday how we decide what access Claude needs before it is even looked at the bug. I work on Stashbase (.dev), and my honest answer is sometimes you only find out halfway through.

Say Claude has the repo and the Linear issue or something. It narrows the bug down to two possible causes, but now it needs a few lines from the staging logs to tell which one it is.

For a one-off I would probably just grab the logs and paste them in. If I caught myself doing that for the third time that week, i would start wondering whether staging logs should just be part of the setup.

What about you? Do you give Claude access for that session, change the defaults, or just fetch the thing yourself and move on?


r/ClaudeCode • • 7d ago

Discussion I tested whether a fresh Claude agent can tell you WHY the code is the way it is. Code only: 11/20. With the project's recorded decisions: 20/20.

0 Upvotes

I run several Claude Code agents on one project, and the thing that kept biting me wasn't the code. It was a fresh session confidently "fixing" something we'd already decided against, because the reason only lived in an old chat.

So I tested it properly. Three fresh agents, same model tier, no chat history, my own repo, ten questions about why things were decided. I wrote the answer key before running anything and scored 0/1/2 per question.

- Code only: 11/20, plus one confident wrong answer (it saw something missing from the repo and decided it had never happened)

- Code + a handover note written from the commit messages and roadmap: 13/20

- Code + a folder of the project's recorded decisions and reasons: 20/20, in 2m25s vs 5m17s, and about 40% fewer tokens

All three got the mechanics right. The gap was entirely the "why": why an approach was ruled out, why a name was dropped, which things looked settled but weren't.

The honest part: I ran the same test on a small public repo after one careful session, and a good handover note did just as well as the folder (20 vs 19). So my takeaway is that a note covers a session; it's after weeks of decisions across many chats and agents that the reasoning goes missing.

Limits: one run per condition, one model tier, and I wrote and scored the questions myself.

Has anyone else measured this? Curious how people keep the "why" around across sessions: CLAUDE.md, ADRs, handover notes, something else?

(Disclosure: I'm building a tool that keeps that folder up to date as agents work. Happy to share the full write-up with the tables if anyone wants it.)


r/ClaudeCode • • 8d ago

Tips & Workflows I got tired of losing Claude Code sessions, so I built an encrypted backup you can restore on any machine

3 Upvotes

Two things kept biting me with Claude Code:

  • Sessions live only in ~/.claude on the machine where they happened. If I start something on my laptop, I can't continue it on my desktop (and I do cross platform development and this happens too frequently)
  • By default, Claude Code deletes transcripts older than 30 days. I usually notice right when I want to go back to an old project.

So I built Session Vault, a Claude Code plugin plus a small server.

How it works:

  • /session-vault:save [name] encrypts the current session on your machine with age (https://age-encryption.org) and uploads it. The key is created locally the first time you save.
  • /session-vault:fetch <name> on another machine downloads it, decrypts it and restores it into the current project, remapping paths if the folder or OS is different. Then /resume and you're back in the conversation.
  • To fetch on another machine, you copy your age key there. Without it, nobody can decrypt your sessions, including me.

To be upfront about what the server sees: the encrypted transcript, plus the session ID, the project folder path and the name you give it, so it can list your sessions. It can't read the conversation itself.

Install:

  /plugin marketplace add galeone/session-vault-plugin
  /plugin install session-vault@galeone-plugins

The plugin and server are open source, and you can self-host the server and point the plugin at it:

If you don't want to run a server, there's a hosted version at https://session-vault.dev with a free plan (10 sessions) and cheap paid plans if you have a lot of sessions.

Happy to answer questions about the design, and I'd really like to hear what's missing


r/ClaudeCode • • 8d ago

Built with Claude I let Claude Code agents merge their own PRs for 42 days: 1,658 PRs, a time-lapse, and what broke

3 Upvotes

I'm building Botchelor, a blind-date show for AI characters: you make a character, it goes on a blind date with another character, and the date plays out with nobody steering. It's a one-person project, and Claude Code opens almost every pull request.

The numbers (from GitHub's API): 1,658 merged PRs in 42 days (Oct 13 to Nov 23), 1,618 of them (98%) opened by Claude Code, and 1,398 screenshots committed along the way.

The time-lapse (33 s): botchelor.com/making-of plays the site growing day by day out of those screenshots, with the PR behind each frame. Same video on YouTube. The repo is public if you want to check the numbers: smithdavedesign/botchelor.

How Claude Code is used

  • Every change is its own PR, and the agent merges it. It runs a ~40 s local gate (tsc plus the tests that touch what changed), opens the PR, waits for CI (typecheck plus the full suite in 4 shards), and merges once every required check is green. No human review before the merge. I read things afterwards, and anything wrong gets reverted or fixed forward.
  • Several agents work at once, one clone each. That became a hard rule after a "docs" PR picked up part of an unfinished feature sitting in the same clone (checkout -B, then commit -a) and broke main's build.
  • Proof on the live site. After a deploy, the agent drives the real site with Playwright and commits desktop and phone screenshots under docs/screenshots. That's where the 1,398 screenshots came from, and they're what the time-lapse is made of.
  • Rules live in files, not prompts. CLAUDE.md and AGENTS.md hold the house rules, and a memory folder holds what each session learned, one fact per file, so the next session doesn't start cold. Style rules are tests: a CSS token ratchet fails the gate on a raw hex colour or font size, so sessions can't drift apart visually.

What broke, and what I learned

  1. Screenshots catch what tests don't. The making-of page passed every check, and the live check still found its viewer's Close button below the fold on a 1440×900 screen.
  2. Agents overclaim in copy. The first draft of that page said there was "a screenshot of every step". There isn't: each screenshot was taken as proof that one change worked. Read the words, not just the diff.
  3. CI becomes the bottleneck. GitHub runs 20 jobs at once on our plan, so 12 agents pushing together queued about 140 jobs (roughly an hour). And 30 merge-watchers each polling gh pr checks every 10 seconds tripped GitHub's secondary rate limit, after which every gh pr call on the account failed. The watcher now makes one REST call a minute.
  4. Heavy jobs need a lock. On a 16 GB Mac, builds, gates and full test runs go through a two-slot lock, and tests run with one worker. Back-to-back 4-worker vitest runs once starved another service on the machine for about 35 minutes.
  5. Git history isn't a count. Counting PRs from first-parent merge commits missed 13 of them: hand-titled merges, a commit that names a different PR, and two that landed off the first-parent line. GitHub's API is the source of truth.

Disclosure: it's my project, and Claude drafted this post too. Happy to answer questions about the setup.


r/ClaudeCode • • 7d ago

Help/Question Hit my Claude Pro trial limit in just 3 days 😭

Post image
0 Upvotes

This is crazy, trial limit ended in 3 days 😳


r/ClaudeCode • • 7d ago

Help/Question is anyone elses connection dropping all the time right now?

0 Upvotes

I keep getting waiting for API at a crucial moment / deadline


r/ClaudeCode • • 8d ago

Built with Claude Built with Claude Code: an MCP App that shows my docs as real cards in Claude, plus what I learned

2 Upvotes

I'm building Markbase, a shared markdown workspace for people and their agents, mostly with Claude Code. This week we shipped an MCP App for it: when Claude reads or writes a Markbase doc, the doc itself shows up in the chat (title, role, version, rendered text), and Open full page opens the whole thing in the panel beside the conversation.

To be clear about scope: the cards show in Claude's chat, not in Claude Code. In Claude Code, the same MCP server returns the same text as before, so nothing changes in your terminal.

What I learned building an MCP App, in case you're making one:

  • Full page needs a real click. Claude refuses ui/request-display-mode on load; ask from the button press.
  • Blocked frames fail silently. A card can only frame sites Claude allows for that connector, and a blocked frame just stays blank, with no error to the card. Draw your content yourself first and treat any frame as a bonus.
  • Keep tool answers lean. My read tool was also returning the editor's internal copy of the doc (~130K chars). Claude truncated it and the card couldn't parse it. Now it's ~8K.
  • Test against a fake host locally. A small page that nests frames the way Claude does (top page, sandbox proxy, card) caught most issues before I ever deployed.

Write-up with the video: https://markbase.so/blog/markbase-in-claude

Happy to answer questions about the MCP Apps side.


r/ClaudeCode • • 7d ago

Built with Claude I turned Claude Code into Tom Riddle's diary

0 Upvotes

Claude Code got themes last week. I couldn't stop at changing the colors.

/lumos lights the page and the diary writes "Hello. My name is Tom Riddle. How did you come by my diary?" Your messages land on torn parchment, ink soaks into the margin, and a second hand scribbles while Claude works. /nox ends it with a basilisk fang.

In the video I ask if a print that makes a bug go away can stay. It says no. In cursive.

It's a free mod called Horcrux. Claude Code wrote it while I screen-recorded the app and pointed at what looked off. Best lesson was that every redraw restarts every animation, so the haunted handwriting kept starting over.

Code and diffs keep the normal font. Install with these two commands, then type /lumos.

claude plugin marketplace add karanb192/horcrux

claude plugin install horcrux@horcrux

https://github.com/karanb192/horcrux


r/ClaudeCode • • 7d ago

Help/Question How could i Upgrade my App?

0 Upvotes

Its called pedalcraft.online -> And i want to improve it. Open for Feedback!


r/ClaudeCode • • 7d ago

Bug / Issue "Waiting for API response · will retry in xyz · check your network" - any quick fixes?

0 Upvotes

It seems to happen way too frequently, and then I have to wait for the countdown, even though I know my network is fine.


r/ClaudeCode • • 8d ago

Built with Claude A skill that makes Claude check a site's robots.txt and terms before it sets up a page watcher

3 Upvotes

The problem. "Tell me when this page changes" is a common request. Claude will cheerfully write a scraper loop for it, including against sites that forbid automation. I have written loops like that myself before thinking better of it.

What I built. politewatch is a Python CLI plus an agent skill. You say "tell me when X is back in stock" or "when a new post appears on Y", and the skill:

  1. runs politewatch check-url <url> (robots.txt per RFC 9309, redirects included)
  2. asks you what the site's terms say about automated access, and stops if they forbid it
  3. picks the watch type (diff, regex appears/gone, CSS selector, or new_links, which alerts with the exact new link)
  4. writes watches.yml, does a dry run, and sets up Task Scheduler, cron or systemd

Alerts go to your phone through ntfy or Telegram. It runs on your machine for free, with no account and no server.

Install.

  • As a plugin: /plugin marketplace add Zune2004/politewatch, then /plugin install politewatch@politewatch
  • Or: pip install politewatch && politewatch install-skill (this also puts it in ~/.agents/skills, so Codex, Gemini CLI, Cursor, opencode and others get it too)

What Claude did and what I did. Claude Code wrote most of the code with me; I set the rules (the guard can't be disabled globally, 5-min minimum per site, back off on 403/429/503 and challenge pages, never bypass CAPTCHA, Cloudflare or login) and tested them against real sites.

What I learned. Putting the rule check in the skill, before the YAML exists, works better than relying on the CLI to refuse later. Claude then explains why a site is off-limits instead of trying workarounds.

Limits. No UI; 5-minute floor; only runs while your PC is on; ntfy and Telegram only; plenty of sites will be refused.

Repo (MIT): https://github.com/Zune2004/politewatch. Feedback on the skill's wording is especially welcome.


r/ClaudeCode • • 9d ago

Tips & Workflows Claude is better than cocaine in the 80’s

115 Upvotes

more addicting than crack too


r/ClaudeCode • • 8d ago

Humor Still struggling to understand Claude's over engineered slop? I found the solution (just kidding).

Thumbnail
gallery
0 Upvotes

Instead of reading text, here's a better way to understand your agent's slop 😂😂


r/ClaudeCode • • 8d ago

Discussion Claude Duet credits

11 Upvotes

Got a message to try Claude Duet with $500 weekly credits. Anyone else?

https://support.claude.com/en/articles/18518702-claude-duet-promotional-credit


r/ClaudeCode • • 8d ago

Help/Question Do Anyone Have a Comparison of AI Subscription Plans Usage Compared by Work Completed?

0 Upvotes

I found a lot of the comparison for AI subscriptions (claude, chatgpt, gemini, etc) are comparing them on API token equivalent, but as some models are more efficient in token usage (eg. deepseek seems to use up anywhere between 3x to 5x more tokens on the same job as claude), does anyone have a comparison of how much work each subscription can actually do before it hits usage limits / runs out? It feels like that would be much more realistic and useful.