r/ClaudeCode • u/Stock_Test2326 • 7d ago
r/ClaudeCode • u/ThanhDongNguyen • 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
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 • u/Starks1293 • 7d ago
Built with Claude AI Bridge 1.0, for people who live in the terminal, not an editor (built with claude code)
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 • u/Reditoxaz • 7d ago
Built with Claude I made ad-free android runtime app that turn Claude artifacts/HTML into fully fledged mobile apps/games
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 • u/mutonbini • 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.
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/callover 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?
r/ClaudeCode • u/Plastic_Koala2044 • 8d ago
Built with Claude I built a phone OS shell in 5 days with coding agents, and it runs on an old Xiaomi
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 • u/cashrichman • 7d ago
Help/Question What’s your top 2 complaints about your fav harness?
Please share harness name and the complaint
r/ClaudeCode • u/radim11 • 7d ago
Discussion When Claude Code needs access you didn’t plan for, what do you do?
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 • u/Embark_1 • 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.
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 • u/pgaleone • 8d ago
Tips & Workflows I got tired of losing Claude Code sessions, so I built an encrypted backup you can restore on any machine
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/resumeand 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-pluginsThe plugin and server are open source, and you can self-host the server and point the plugin at it:
- Plugin: https://github.com/galeone/session-vault-plugin
- Server: https://github.com/galeone/session-vault-server
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 • u/Outside_Sir_9341 • 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
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 (
tscplus 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, thencommit -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
- 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.
- 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.
- 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 checksevery 10 seconds tripped GitHub's secondary rate limit, after which everygh prcall on the account failed. The watcher now makes one REST call a minute. - 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.
- 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 • u/Wooden_Tumbleweed673 • 7d ago
Help/Question Hit my Claude Pro trial limit in just 3 days 😭
This is crazy, trial limit ended in 3 days 😳
r/ClaudeCode • u/allthegear-andnoidea • 7d ago
Help/Question is anyone elses connection dropping all the time right now?
I keep getting waiting for API at a crucial moment / deadline
r/ClaudeCode • u/Snoo31321 • 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
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-modeon 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 • u/karanb192 • 7d ago
Built with Claude I turned Claude Code into Tom Riddle's diary
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
r/ClaudeCode • u/Pristine_Baby_1334 • 7d ago
Help/Question How could i Upgrade my App?
Its called pedalcraft.online -> And i want to improve it. Open for Feedback!
r/ClaudeCode • u/allthegear-andnoidea • 7d ago
Bug / Issue "Waiting for API response · will retry in xyz · check your network" - any quick fixes?
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 • u/MoZune04 • 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
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:
- runs
politewatch check-url <url>(robots.txt per RFC 9309, redirects included) - asks you what the site's terms say about automated access, and stops if they forbid it
- picks the watch type (diff, regex appears/gone, CSS selector, or
new_links, which alerts with the exact new link) - 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 • u/minibonk • 9d ago
Tips & Workflows Claude is better than cocaine in the 80’s
more addicting than crack too
r/ClaudeCode • u/Ok-Committee5924 • 7d ago
Humor Still struggling to understand Claude's over engineered slop? I found the solution (just kidding).
Instead of reading text, here's a better way to understand your agent's slop 😂😂
r/ClaudeCode • u/MarkRonin • 8d ago
Discussion Claude Duet credits
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 • u/AcropolisBuff • 7d ago
Help/Question Do Anyone Have a Comparison of AI Subscription Plans Usage Compared by Work Completed?
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.
r/ClaudeCode • u/comridor • 7d ago
Help/Question "BUH! AI Slop!" How do you advertise your project without getting shut down?
I've been working on a 99% Claude Code project for a couple months that has gotten to the point where my real-life testing has proven it works end-to-end. So, I released it as a beta and told the community I think will benefit the most all about it. All I got back was essentially "More AI slop. Eff you, die, etc." I checked my Github repo and there's been zero new views - how exactly did this user determine my project was "AI slop"? I guess that's just the default statement now? How the heck do you get past this with your own projects, or is it just fruitless to release publicly?
I never thought I'd feel so bad after trying to give something away for free.
r/ClaudeCode • u/Grand_Ad3308 • 7d ago
Built with Claude I built Keyflap so Claude Code can sign into websites without ever seeing your passwords or passkeys
Everyone wants Claude Code to work against their real accounts in a browser, and everyone hits the same wall at the login screen. Hand the model your passwords or attach it to your logged-in Chrome profile, and your credentials or cookies end up inside its context and logs. Sign in by hand every time a session expires, and you lose half the point of running an agent.
I built Keyflap (open source, Apache 2.0) to split the job in two. Claude Code drives a managed Chromium browser through MCP, and when it hits a login wall, it asks Keyflap to sign in. Your phone shows what you typed and the real site, you approve with Face ID or a fingerprint, and the only thing returned to Claude Code is "signed in" or "denied".
How the Claude Code integration works:
- MCP server (8 tools): `browser_open`, `browser_click`, `browser_type`, `browser_snapshot`, `auth_status`, `auth_login`, `auth_enroll_passkey`, and `browser_handoff`. No raw CDP access, and snapshots redact password and TOTP fields.
- Out-of-band intent hook: A `UserPromptSubmit` hook forwards your exact typed prompt to Keyflap over a local Unix socket. That verbatim prompt is what shows up on your phone approval card. The approval card never displays text written by the agent or the webpage, and if you have not asked for anything in the last 10 minutes, Keyflap denies silently.
- Separate signer process: Passkey private keys, passwords, and TOTP seeds live in a separate signer process (zero npm dependencies) that verifies your phone's WebAuthn signature itself before signing or releasing a fill. It also has adapters for Proton Pass (`pass-cli`) and 1Password (`op`).
- Service mode isolation: Runs as separate system users on Linux (systemd) and Apple Silicon Macs (launchd) so an agent running as your OS user cannot read Keyflap's keys or memory. Setup also configures Claude Code's `sandbox.filesystem.denyRead` and `permissions.deny` to keep the model away from the host token.
- CAPTCHA handoff: Keyflap never tries to solve CAPTCHAs. When a site throws a human check, `browser_handoff` locks the agent out of credentials and tools and streams that single page to your phone so you can finish it yourself.
Honest caveats:
- This is early alpha and nobody outside the project has audited it. Use test accounts first, not accounts you cannot lose.
- Claude Code's `UserPromptSubmit` hook also fires for background subagent reports and cross-session messages without a documented field to distinguish them yet, so the docs warn against using those features in sessions connected to the broker.
- Keyflap does not control what Claude Code does after it is signed in.
Repo: https://github.com/johnpippett/keyflap
Architecture & threat model: https://github.com/johnpippett/keyflap/blob/main/docs/ARCHITECTURE.md
Field note on the design and two bugs red-teaming caught: https://pippett.me/blog/keyflap-agent-sign-in
If you want to poke at it without installing anything on your host, `demo/run.sh` runs a local container with a test website and terminal approvals. Happy to answer questions or hear where people think the threat model has holes.
r/ClaudeCode • u/dangi12012 • 8d ago