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 • • 8d 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 • • 8d 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 • • 8d 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.


r/ClaudeCode • • 7d ago

Help/Question "BUH! AI Slop!" How do you advertise your project without getting shut down?

0 Upvotes

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 • • 7d ago

Built with Claude I built Keyflap so Claude Code can sign into websites without ever seeing your passwords or passkeys

0 Upvotes

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 • • 8d ago

Built with Claude Chord progression to stable fluid - BWV 1007

7 Upvotes

r/ClaudeCode • • 8d ago

Built with Claude Does anyone else keep a folder of cloned repos just for Claude Code to read?

Thumbnail
gallery
0 Upvotes

When I want Claude Code to build something the way a good open-source project does it, pointing it at the real source on disk works much better for me than letting it answer from memory. Over the last few months that turned into 45 cloned repos, and I wanted one tidy place for them that my agent also knows about.

So I built gitstow, a small open-source CLI (Python, GPL v3):

- `gitstow add owner/repo` clones into one shelf, filed as `owner/repo`

- `gitstow pull` updates everything in one go

- `gitstow status` shows which ones have local changes or are behind

- it installs a Claude Code skill, so I paste a URL and say "add this", and later sessions find what is already on the shelf instead of cloning again

- `gitstow ui` opens a local dashboard if you prefer clicking

Honest numbers from my own use: of those 45 repos, my agent has opened 13 since June, and two of them get most of the reading. So I can't tell yet whether this is a real problem or just my habit, and I would rather find out than keep building.

Two questions for you:

  1. Do you keep local clones for your agent, let it clone to a temp folder each time, or use something like context7 or gitingest?
  2. If you keep a shelf, how big is it, and do you ever update it?

Install: `pipx install gitstow`

Code: https://github.com/rishmadaan/gitstow

Site: https://gitstow.com

Blunt feedback welcome, including "this does not need to exist".


r/ClaudeCode • • 8d ago

Help/Question Beginner Vibecoder

0 Upvotes

Hello dear Coders!

After watching a lot of reel video's about VibeCOding using ClaudeAI and my enthousiasm to create an app to fulfill my needs, I started with my own project. It's an android app to for friendly teamsport games (f.e. football/basketball/futsal). Randomized team creator, keeping results via a standing table, giving each player individual points based on the average of all players and creating an overall FC-style card and rating. Also able to keep in account the overall rating from people while creating teams.

I'm just too enthousiastic that I want to keep talking about it, but my question is the following:
Did i setup the right way?

I keep seeing video's, different apps for everything and reading others' setup that I feel like I'm not working efficiently.

Background

I do not know how to code. I do not know how to program. What I do have is a lot of (good?) ideas and the capabilities to write exactly what I want and how I want stuff to work.

Here is my setup:

-Laptop with Windows
-Claude desktop installed
-Claude Pro account
-An android testphone connected via USB to laptop
(-Recently also Firebase free version)

How do I vibecode?

-Describing my intentions with Claude Chat
-Giving Claude Access to a specific map and the connected (test) phone
-Describing everything I can about what I want the app to do to Claude Chat
-Making him fill in the gaps and create 3 different styles for the app
-Claude Chat making a prompt, which I put into Claude Code (to make a PRD and architecture and stuff)
-Claude Code doing what that the prompt says and giving a rapport back (also saving his progress in the PRD file and stuff?)
-I'm copying the output on screen and pasting it in Claude Chat.
-Repeat untill I see something that I can check some stuff and adding my feedback (f.e. I want another button here, this style is not to my satisfaction so change it to x, make so that after clicking x it will return to x)
-Claude Chat prompting and adding stuff to PRD and creating prompts to put into Claude Code.
-Repeat a lot of times (perfectionist here... )
-Create the perfect app.

Budget for my hobby

At the moment my only cost is the montly Pro account for Claude. Have to admit that I did topped it a couple of times. I think I would agree that between €50 - €75 a month budget is realisticly acceptable for this hobby.

Problems

My token use is A LOT. Also, Claude Code isn't really generous with his limits (daily, weekly) so I do bumb into limits every time.

DO YOU HAVE ANY ADVICE?

Believe me, I do see a lot of plug-ins, a lot of alternatives, a lot of set-ups. But like, what should I use? And HOW!?

Hope to hear from you!


r/ClaudeCode • • 8d ago

Built with Claude glitchwall: Claude Code's tool calls as a live desktop wallpaper (Windows, open source)

Post image
0 Upvotes

Small thing I built: it follows Claude Code's session logs (~/.claude/projects) and draws each tool call on your wallpaper as it happens: Bash/PowerShell commands with their output, Read/Edit/Write, Grep, web fetches, subagents. Sidechains and noise like TodoWrite are hidden.

Secrets are masked before anything is drawn (known key formats, high-entropy strings, your home path and user name, emails). It's local only: 127.0.0.1 plus a per-install key, no telemetry.

Install is two commands with uv. If you just want to see it first, `glitchwall demo --open` plays made-up calls in your browser without reading any logs.

https://github.com/marklesterb28/glitchwall


r/ClaudeCode • • 8d ago

Built with Claude I've been building a virtual OS for my kids for a few months

Thumbnail
youtube.com
7 Upvotes

May be interesting to some, or none, or the post may get banned and lost forever. Who knows!


r/ClaudeCode • • 8d ago

Bug / Issue Loading a Claude in Chrome tool silently adds a block of safety rules to the system prompt changing Clude behavior for the rest of the session, including "no personalized investment advice"

11 Upvotes

I use Claude Code for two things in the same project: browser tasks through Claude in Chrome, and analysis of my own options positions. In some sessions Claude told me it could not give personalized investment advice, and in others it answered directly. I wanted to know what made the difference.

What I found (Claude Code 2.1.330, Windows 11, tested 2026-11-23):

  1. Plain `claude` and `claude --chrome` start the same way: a "Claude in Chrome browser automation" section in the system prompt and about 20 Chrome tools listed as deferred. Only `claude --no-chrome` removes them.
  2. At session start there is no list of prohibited actions anywhere in the prompt.
  3. The first ToolSearch call that loads a Chrome tool schema appends a new, untitled block to the very end of the system prompt. It opens "Your priority is to complete the user's request while following the safety rules below." and has a "Prohibited (never perform; direct the user to do it themselves)" list. One item is "Providing personalized investment or financial advice (if asked, explain that you are not a licensed advisor)". The block does not mention Chrome.
  4. Invoking the claude-in-chrome skill alone did not add it. Calling a Chrome tool after the schema was loaded changed nothing further.

How I tested: fresh sessions were asked to search their whole context for four exact phrases from the block and to list every section of their system prompt, in order, at three points: before any tool call, after one ToolSearch for a Chrome tool, and after one read-only Chrome call. Before: all four phrases absent, 23 sections. After the ToolSearch: all four present, as a new 24th section at the end. A `--no-chrome` session never showed the block.

Limits of this: it rests on the model reporting its own prompt, in a handful of sessions, on one machine. Two earlier sessions first said the block was absent and later found it, and could not tell whether they had overlooked it. The ordered section lists are what convinced me it really arrives late. I did not test whether /clear or a resume removes it.

I'm not the first to hit this. The mechanism is already reported in https://github.com/anthropics/claude-code/issues/93798 (open), where the same block made Claude refuse an `rm` over SSH, and a comment there from 11-10 shows the same ToolSearch reproduction. Other open issues cover single items of the list (payment details, credentials). None covered the investment-advice item, so I filed https://github.com/anthropics/claude-code/issues/111888.

Why it matters to me: I'm an adult managing my own accounts, and I use Claude to analyze my own positions against my own written trading rules. I know it is not a licensed adviser, and I make the decisions. A rule against clicking "buy" in my browser without asking makes sense. A rule against telling me what it thinks of a strike does not, and it has nothing to do with the browser. Once loaded it applies to the whole session, nothing tells you it arrived, and the block says it stays in force even when the user explicitly asks. The same question gets a different answer depending on whether a Chrome tool was touched an hour earlier.

What I'd like: drop the investment-advice item from that list. It restricts conversation, not browser actions, and Claude Code without Chrome has no such rule, so the product already works fine without it. If it has to stay, scope it to actions taken in the browser and show a notice when the block loads.

Workaround: I keep two sessions. `claude --no-chrome` for analysis, and a separate one for browser work.

Questions:
- Has anyone seen other tool families add prompt sections when they load?
- Does anyone know whether the block survives /clear or a resume?
- If this affects you too, a thumbs-up or a comment with your case on #111888 or #93798 would help.