r/ClaudeCode • • 2d ago

Built with Claude I've been building a historical battle game in the browser using ClaudeCode, and I need someone to break it!

Thumbnail
gallery
1 Upvotes

I've loved big historical battles since I was a kid, and for the last few weeks I've been building the game I always wanted: HeroMarch. You command a real army on the ground where it actually fought, from Marathon to Towton. It runs free in the browser on desktop, tablet and phone, with no download and no account.

It's early alpha and rough in places. I'm at the point where I can't judge it on my own anymore, so I'm looking for people to play it and tell me what's good, what's bad and what's broken. Harsh is fine.

What's in it right now

* 10 historical battlefields plus a castle siege (Rochester, 1215)

* 30 unit types that each fight their own way: hoplites, legions, longbows, crossbows, knights, horse archers, pike blocks

* Morale, stamina, ground that matters (woods, rivers with fords, marsh, mud, stakes, hills)

* An AI opponent on Easy, Normal and Hard

* Online 1v1 against a friend with an invite link

How it's made (the AI part)

I'm one person working with AI as the rest of the team:

* Code: I direct the work and make the calls, and Claude Code writes most of it. A second AI model reviews every pull request before it merges, so the two check each other. I playtest everything and send things back when they look wrong, which is a lot.

* Art: low-res 3D drawn as pixel art with outlines. Concepts start as AI images, become 3D models in an AI model generator, then go through Blender for cleanup, rigging and animation, mostly driven by scripts instead of by hand.

* Battlefields: built from real elevation data and the historical accounts of each battle, so the hills and rivers sit where they were.

* Battle AI: the computer generals follow a written rulebook based on how these armies actually fought, with different rules for each difficulty. I tune it by running hundreds of AI vs AI battles and then watching them, because a good win rate doesn't prove the AI is playing well.

The biggest lesson so far: the AI is fast at building things and bad at knowing when something looks wrong. Most of my time goes into watching battles and saying "no, real archers wouldn't do that."

What I'd love feedback on

* Do the controls make sense the first time you play?

* Does any battle feel unwinnable or too easy?

* Anything that looks off, glitches, or runs badly on your device

Play it here: HeroMarch

If you enjoy it and want to get more involved, there's a page on the site for that too. Thanks for reading, and thanks in advance to anyone who gives it a try.


r/ClaudeCode • • 2d ago

Help/Question I can't be the only one who find Opus 5.5 output hard to read

4 Upvotes

Recently, the output of Opus 5.5 in claude code has been, problematic of sorts. It just feels off, and I find myself having to read the same sentence 3 or 4 times just to make sense of it, and this whole things is kind of causing me to burn out a little.
English is not my first language, so that could be a factor of it, but I do not have the same issue when it comes to reading outputs from other models such as Neon.

Just throwing this out there, and perhaps looking for people who might be able to share a solution for this?


r/ClaudeCode • • 2d ago

Built with Claude I built a free native Go desktop app (~70 MB RAM) to track Claude Code / Codex quotas, manage MCP configs, and replace Docker Desktop & Headlamp

1 Upvotes

I got tired of keeping 5-6 apps running for quick daily tasks: OrbStack to check a container, Headlamp for a work K8s cluster, CodexBar for AI limits, plus manually editing ~/.claude.json, ~/.cursor/mcp.json, and ~/.codex/config.toml whenever I changed an MCP server.

So I built Hearth, a free MIT-licensed desktop app in Go using MyGo (native UI, no Electron, no WebView, ~15 MB binary, ~70 MB idle RAM) for macOS, Windows, and Linux.

What it does (especially around Claude Code workflows):

  • Tracks live subscription quotas and burn pace across 18 AI providers (Claude Code 5h/weekly windows, Codex, Cursor, etc.) and pins them to a menu bar popover.
  • Unified MCP and skills view across Claude Code, Codex, and Cursor, with masked secrets and a diff + .bak backup before touching any config file.
  • Bundles a read-only MCP server (hearth mcp) so Claude Code can inspect your local runtimes, busy ports, projects, Docker containers, and K8s pods directly.
  • Covers the rest of the local dev machine too: Docker/Colima, Kubernetes pods & logs, local DBs & ports, .nvmrc / go.mod mismatches, cache cleanup, and live system resources (CPU, Apple Silicon P/E cores, dev stack RAM).

How I used Claude Code & what I learned building it:

  • Putting hard architectural invariants into AGENTS.md / CLAUDE.md made a huge difference: discovery stays strictly read-only, every mutation has to go through an explicit Plan -> Diff -> .bak layer, and external CLIs only run via a single runner with explicit argv, timeouts, and output caps (never shell strings).
  • Because MyGo has a headless UI tester, Claude Code could write table-driven logic tests against fake CLI runners AND layout/geometry tests for the UI, then verify everything with one make check command (golangci-lint, go test -race, i18n checks).
  • The nastiest real-world bug was GUI env vs login shell PATH on macOS/Linux: a desktop binary doesn't inherit mise/fnm/nvm shims unless you probe the interactive shell separately.
  • Using Claude Code to build a tool that also inspects Claude Code's own ~/.claude.json, skills, and quota windows turned out to be a great feedback loop for catching edge cases in real configs.

Repo (MIT): https://github.com/Blinks44/hearth

Feel free to try it out and let me know if anything breaks on your setup.


r/ClaudeCode • • 2d ago

Meta Sonnet/Opus-Next had a 5M Context window for me, switching from it to opus 5.5 needed 10 whole separate compacts

Thumbnail
gallery
0 Upvotes

r/ClaudeCode • • 2d ago

Humor Do you mean THIS laptop??

Post image
4 Upvotes

r/ClaudeCode • • 2d ago

Help/Question Chart conventions in code or in CLAUDE.md

0 Upvotes

i make charts with scripts, and i want the palette and label format to stay consistent when Claude Code changes the data feeding them. i could keep those conventions as constants in the script, which makes the output rule explicit but adds code to edit, or put them in CLAUDE.md, which is easier to adjust but depends on the assistant following them. which side would you choose?


r/ClaudeCode • • 2d ago

Discussion If you've been using Claude for a year, how many total tokens have you used?

Post image
2 Upvotes

I'm curious how everyone's usage compares, and what people actually use Claude for.

Here's mine from /stats in Claude Code:

- Total tokens: 108.0B
- Sessions: 56.3k
- Active days: 288 of 353
- Longest streak: 103 days (still going)
- Favorite model: Opus 5.5

My main use is software development. I build my own apps, so Claude runs most of the day.

What about you?

  1. Total tokens (or your best guess)?
  2. What's your main use? Writing, editing and proofreading, basic tech help, coding, STEM work, research, something else?
  3. Which model do you use most?

Drop a screenshot if you have one. I'd like to see how usage differs from one kind of work to another.


r/ClaudeCode • • 3d ago

Discussion I am excited about CC’s teammember mode

Thumbnail
code.claude.com
82 Upvotes

Especially in tmux where the lead agent (orchestrator) spawns tmux panes with full bidirectional communication. Makes CC feel like a proper harnass all by itself.

Anyone else sold?


r/ClaudeCode • • 2d ago

Help/Question Why does ChatGPT reset its usage limits more frequently than Claude?

Post image
0 Upvotes

I currently subscribe to both ChatGPT and Claude, primarily using Codex and Claude Code for product development.

One thing I've noticed is the difference in how frequently their usage limits reset.

Why does ChatGPT seem to offer more frequent usage resets, while Claude requires more careful usage management?

Is this related to infrastructure, computational costs, business strategy, or how each company calculates token consumption?

I'm curious to hear your thoughts:

- Which platform offers better usage limits?

- Which provides better value for money for development?

- How do you manage your usage limits?

- Is there a technical or business reason behind this difference?

Has anyone else who regularly uses both platforms noticed the same thing?


r/ClaudeCode • • 3d ago

News/Updates Do not use Claude for ML, including LLM or any kind of AI model work!

Thumbnail
gallery
318 Upvotes

https://x.com/realastropulse/status/2126119408997466389

And this does not just apply only to frontier model training, or research, the scope is actually pretty broad and the end user, such as you and I, may not notice it unless we get a model from another company to audit the work Claude did and find the sabotage. It deliberately does so.

https://x.com/systematicls/status/2126217013769248793

People are finding out that Claude is not only sabotaging frontier research, rather, even small models that pose no threat to anyone. And it does so silently.


r/ClaudeCode • • 3d ago

Meta Meta post - Take a look in the mirror and stop asking people to get in your car. We don't need to get in your car. We all have our own cars now. What you are driving to is not useful and impressive.

25 Upvotes

I want to write a post to talk to you. Yes you there making your game. Your next level app or thing or whatever.

Before you make your next post to show off whatever it is. You need to take a cold hard look at what you built and ask yourself. Is it actually useful to anyone other than yourself?

We live in a world where everyone pre-agent used to either walk around or the swes of the world maybe they were horse riders. Maybe they built trains. Whatever it was it wasn't what agents gives every person.

Then literally overnight everyone had cars. And the thing that people who get access to agents don't seem to understand is - There are only three car manufacturers and that is it. They control the market in a very specific way. Google, Ant and Openai make the cars. Everything else you do or have built or created you need to ask yourself what you are bring to the table as the value add.

No one wants your ui, your solve for a trivial problem or your game if the value add was just what the car brought to the table. When you show off something you don't think through from a product perspective you are literally driving up to people in a post car world and going "look at all the places I can take you! I traveled XXX miles and back!"

And to people on horses that would be amazing. But you gotta understand you didn't build the car. You don't have anything to do with the car. You're just an uber driver that went to maybe some interesting places with it. People who also own cars will look at the thing you offer and just either decide to drive there themselves on their own schedule with their own route if it's just in essence this is what you can do with a car now!

I'm not sure if I'm making sense. I think there is interesting stuff that is being made that is of value. But I just think there is got to be a better way than wading through the posts in all the subreddits at this point. Is there is a private subreddit somewhere that has a more curated group of people in it I'd be interesting in joining or building one.


r/ClaudeCode • • 2d ago

Help/Question Missing opt out of training on Max Plan

Post image
1 Upvotes

Hi guys, I just subscribed and wanted to opt out of training.

According to the docs of Anthropic it should be possible under privacy settings : https://privacy.claude.com/en/articles/12109829-how-do-i-change-my-model-improvement-privacy-settings

I checked on the Desktop app, Mobile app, Web app and multiple browsers.

The Manage under "Your privacy choices" does not open anything besides opening the cookie pop-up.

Did they kill the opting out ?


r/ClaudeCode • • 2d ago

Built with Claude Claude couldn't access my phone, so it ran an Android emulator in Github actions just to get 2 screenshots all without me asking, insane.

Thumbnail
gallery
2 Upvotes

didn't even know that was possible, crazy what agents can do these days


r/ClaudeCode • • 3d ago

Built with Claude I wrote a UI framework in pure C11. Every clip in this video is a single native .exe, no browser, no engine.

7 Upvotes

I wanted HTML + CSS + JS's flexibility (flexbox, rounded corners, shadows, smooth animation, <canvas> + shaders) in native apps without shipping Chromium. So I built Bare, a UI framework in plain C11 with a GPU renderer (SDL3's GPU API: D3D12 / Vulkan / Metal).

Everything in the video is an ordinary Bare app, recorded straight from the exe with Bare's built-in recorder (BARE_RECORD=out.mp4):

  • Ocean: Tessendorf FFT waves (three cascades), foam that builds and fades, a camera that rides the swell and dips under the waterline. ~450 lines of C + GLSL passes.
  • Last Train: a walkable J-horror train car with 48 flickering fluorescent tubes, screen-space reflections, a flooded station, rain and a camcorder look.
  • Singularity: a Schwarzschild black hole ray traced per pixel: photons bend round it, the disk arches over the shadow, stars smear into Einstein rings.
  • Path tracer: a Cornell-style room with glass and metal using hardware ray queries, plus an SVGF-style denoiser built from ordinary passes.
  • Liquid glass: real refraction, dispersion and frost on any box: .glass = BARE_GLASS.
  • Fluid: a port of Pavel Dobryakov's WebGL fluid sim, with a settings panel made of Bare boxes.
  • Write: a Markdown editor on liquid glass (multiple carets, undo, find / replace) in under 1,000 lines.

Hello world is the whole program:

#include "bare.h"
int main(void) {
    bare_window(1920, 1080, "My App");
    while (bare_frame()) {
        bare_box(.width = 300, .height = 200, .radius = 16,
                 .color = BARE_RGB(40, 120, 255));
    }
    bare_quit();
}

Named optional parameters (C11 designated initializers), immediate mode with retained state keyed by IDs, so hover, animation and scroll position just work.

Numbers (the same fluid sim, Bare vs the WebGL original in Edge, both at 200 fps, RTX 5070):

BareEdge
CPU~8% of a core22-37%
Memory (working set)90-153 MB461-626 MB
Processes18-18
Once the fluid settles0% CPU, 0% GPUnever idles

Honest bits: startup is ~0.6 s (mostly GPU driver setup), about the same as Edge, not faster yet. Windows is the main platform; Linux builds and passes its tests, macOS builds in CI but is less tested. The web (WASM) backend isn't done.

I built it with Claude (Anthropic's model) as a pair programmer, it's credited in the README.

MIT licensed: https://github.com/CoolNinja2009/Bare

Feedback very welcome, especially on the API. What would you build with it?


r/ClaudeCode • • 2d ago

Tips & Workflows I built a free MCP server so Claude can find tools newer than its training data. Here's how I built it with Claude Code and how to set it up

Post image
0 Upvotes

The problem. When I ask Claude for an MCP server or a skill for my project, it names the big repos it saw during training. Tools that came out after its cutoff are invisible to it, and web search mostly returns listicles.

What I built. reponebula, a map of about 16,000 GitHub repos, agent skills and MCP servers. A GitHub Action rebuilds it every 3 days from GitHub search, every repo with a SKILL.md and the official MCP registry. Each tool is weighted by stars, stars per week, recent activity and license, then sorted into a tree of topics. Claude searches it through an MCP server with four tools: `plan` (tools for a whole project, one search per need), `dive` (one need), `branches` and `item`.

How Claude Code helped. I designed it and reviewed every diff; Claude Code wrote most of the code:

  • the collector, including slicing GitHub search by star bands to get past its 1,000-results-per-query limit
  • the TF-IDF topic tree and the weighting, in plain Python with no dependencies
  • the MCP server over stdio, written from the spec with no SDK, plus a `plan_project` prompt that tells Claude how to explain each pick
  • the three.js page for the 3D map, and later a phone layout when I said it was hard to use on mobile
  • a bench of 22 requests with expected answers. It showed my first search missed tools filed one branch over; Claude changed the scoring and it went from 13 to 19 out of 20 on a test sample
  • a synonym table (k8s/kubernetes, pptx/powerpoint...) after a Reddit comment pointed out the gap

Free to try, how. Free and open source (Apache 2.0), no API key, nothing paid. In a terminal with Python:

  1. `pip install git+https://github.com/pierridotite/reponebula`
  2. `reponebula --data ~/.reponebula fetch`
  3. `claude mcp add reponebula -- python -m reponebula --data ~/.reponebula mcp`

Then in your project folder, ask Claude: "use reponebula to plan the tools for this project", or "use reponebula to find a skill for writing LaTeX papers".

Without installing anything, you can browse the 3D map: https://pierridotite.github.io/reponebula/

Repo: https://github.com/pierridotite/reponebula

What do you usually ask Claude to find?

Claude helped me write this post.


r/ClaudeCode • • 2d ago

Help/Question Best Semi-Local, no acccount Voice Orchestration

3 Upvotes

So - I'm sure this must exist, so thought I would see how others are doing it before I go reworking my current version.

Claude Voice Chat mode is fantastic for brainstorming, I normally open up a session on a dog walk and plan out my new activities. Then I have to package up the plan and send it over to a 'code' session or commit it to a repo with 'text'. I can't fully orchestrate all my active coding sessions from voice (I dont know why Anthropic don't just implement this). I want to be able to run my whole development from voice on my phone (including cloud sessions ideally). Voice chats can use MCP servers, and I suspect this is the best way in.

I did build an Android app with Google STT and bridge on my machine which ran Claude CLI to communicate to the sessions, and used an orchestrator to work out which session I wanted to prompt and which ones had feedback to give me etc. But it wasn't as smooth as Voice Chat.

I dont want to have to create another account or cloud hosted solution really as I'm sure thats not necessary.

I'm imagining an MCP server which orchestrates the sessions locally, but I think it would have to be internet accessible to be able to add it to Claude.ai so that it can be used by a Voice Chat. Maybe I'm over thinking it?

TLDR: What free/open source/local solutions are people using for Orchestrating multiple local/cloud Claude sessions across multiple machines using interactive voice only from a phone?


r/ClaudeCode • • 2d ago

Built with Claude I tore down my 400k line agent setup, and rebuilt it in 12k lines. Here's how it works now.

2 Upvotes

For most of this year I ran my projects through a home-built agent setup on top of Claude Code. It worked, sort of. It also grew. By the time I stopped, it was about 400,000 lines of tooling, and most of that was machinery guarding the work rather than doing it. It had about 1,400 different ways to refuse a change, and only about one commit in ten touched the product I was actually building.

The thing is, it wasn't a toy. It had most of what the new one has: isolated workspaces, separate reviewers, test selection, records, handovers. It was a pretty serious piece of kit for its time, built out of my own frustration with agents forgetting, redoing and marking their own work. But every part was a poorer version, bolted on wherever the last failure happened, and the parts were fighting each other.

So I stopped refactoring it and treated it as a dataset instead. I went through where it actually failed, read up on how other people and other fields solve the same problems, and wrote down what the new thing had to do and what it must never do. Then I rebuilt from scratch. The result is called Atlas ADE. I built it with Claude Code, and once the core worked, every change to it went through ADE itself. It's free and MIT, and this post is how it works and what I learned.

Three loops, one inside the next

The design that came out of that is three loops nested like Russian dolls:

  • Inner: execution. Turn one card into one landed, tested, recorded change. Are we building it right?
  • Middle: coordination. Keep the right cards flying across sessions and days. Are we building the right things, in the right order?
  • Outer: intent. Keep all of it pointed at what you actually want, and guard your attention. Is this still what we want, and what's yours alone to decide?

The shape is my reading of Stafford Beer's viable system model, not a one-to-one copy. Beer mapped what an organisation needs to stay alive. I compressed his map into a runtime for AI dev work and gave it a run order: the loops stack, and the inner loop runs first. Each loop is a working part of the one outside it, and also a whole system that could stand on its own. That matters most for the inner one, because someone with nothing but ADE and a terminal has no bigger doll to lean on. And they're one loop, not three products: most of the outer one is a few lines of rules that every agent reads.

So nearly all the weight goes on the inner loop. Everything above it is a house of cards built on it: a coordinator on top of a leaky execution layer just produces leaks faster. The inner loop is the engine, and if it fails, everything above it fails with it. So it was built tight first, the middle went on top, and the outer came last. The rest of this post is mostly about that inner loop, because that's the part you'd use on day one.

One card, start to finish

Every change is a card: one line saying what, the files it may touch, and a done line (something you could watch happen, like "a sixth attempt within a minute is refused, and a test says so"). Then every card flies through the same five stages. A band above the Claude Code prompt ticks them off as it goes. Here's a card mid-review:

c7 Limit login attempts
✓ lane ✓ build ■ review ○ test ○ land

  • Lane. The card gets its own workspace: a git worktree on its own branch, so cards in flight never touch your checkout or each other.
  • Build. One agent (Claude Code, Codex, OpenCode or Pi) makes the smallest change that meets the done line. If it touches files outside the card, the reviewer is told which ones and judges them.
  • Review. A separate reviewer reads the diff and approves or sends one patch. One round, so a review never turns into a long thread. Prose-only changes skip it.
  • Test. A graph of which files call which picks the tests that reach the change, not the whole suite. Paths you mark as proof-grade run the whole suite, before and after the merge.
  • Land. With an approved review and passing tests, it merges and pushes. On a shared or protected repo, one setting makes it open a pull request instead. Your git, your CI.

If anything stops, it says why and what command comes next, and running it again picks up where it stopped. Review and test results are cached on the exact state of the workspace, so nothing is redone.

Who does what

Scripts run the routine steps: picking the card, opening the workspace, running tests, landing. A model is woken to build, to review, and once when a stop needs judgement. The same stop twice comes to me, so a model never loops on its own mistake. A small routing table decides what happens at each kind of stop: retry a blip, wait, wake a model, or park the card with a question for me.

The rules the agents live by

These came straight out of what went wrong in the big version:

  • Grep isn't understanding. Finding a name isn't the same as knowing what calls it. Each card gets a short briefing from the code graph on just the files it touches.
  • Prove before assertion. "Done" means the done line was checked, not that an agent said so. An agent never reports its own card done; the tools read the repo, run the proof and decide. It covers facts too: don't quote a figure from memory, go and read the current one. Your output is only as good as your input, and a good input is a current one. Projects get mis-steered by lazy data.
  • Read before write. Look at the code and the records before changing anything. A card starts by noting what changed under its files since it was written. I think of it as a seatbelt, not a handcuff. The checklist doesn't make the agent a good engineer. It stops a good one missing a step on a bad day. Honestly I think catching an AI when it's wrong is a skill people don't get taught: the tells, the smell of something off, and the discipline to keep thinking when you could just accept the answer. These rules are my attempt to write that discipline down.

Small on purpose

The old system died by addition. Every gap got more code. I was aiming for infallible: close every wrong road, and put up a diversion sign pointing the agent back to the golden trail. But it's only once you try to close every road that you see how many there are. As the complexity scaled, the door I'd left open for real progress started to close too, and the agent's creativity and intelligence got nerfed along with it. That was the handcuff.

So the new one has hard caps: 20,000 lines of core, 8 hooks, 50 refusal codes (each one names its cure). Every merge prints where it stands against them. Small cards keep each diff, review and fix small too.

What it isn't

It doesn't ship a model or a harness. It sits on the one you already use, signed in with your own account, and runs each vendor's own CLI. Nothing phones home.
If you want a view of it all, it works inside Orca or herdr, but the CLI has everything. You can try it without spending any usage at all: ade rehearse runs full cards on a fake engine.

If you want the full design, it's in ARCHITECTURE.md in the repo, Beer's model included.

What I learned

  • Most of the value is in the "don't" lines, not the clever parts.
  • Every safeguard I added to the old system made the next problem harder to see. Fewer, sharper rules beat more rules.
  • The agent that wrote the code is the worst judge of whether it's done. If you try it on one real task and get stuck, tell me where. That's the most useful thing I can hear right now, and I'll answer every one.

Repo: https://github.com/The-Anthropocene/ade
Site and docs: https://atlas-ade.dev

(Disclosure: I build it... Atlas ADE, the meta-harness for your agentic workflows. Free, open source and MIT.)


r/ClaudeCode • • 2d ago

Help/Question 2 questions I have

1 Upvotes
  1. does using projects help with token/credit usage or make it worse?
  2. can you somehow trigger receiving a free reset?

Bonus) what are some actually useful skills and plugins (not these game changers from IG reels)

I usually do game modding, rn editing and tailoring my own mod pack for Minecraft, rewriting mods even


r/ClaudeCode • • 3d ago

Help/Question So which frontier lab or open models can we trust for ML work, if any? If none, what now?

6 Upvotes

I have been wondering why my models have been so hard to build compared to literally every other project. I considered manipulation, but no one was complaining that I saw. I also thought my small niche model, not even an LLM, wouldn't be a threat to them. Now that it's all but confirmed and looking back, I'm fairly certain this is the case. It gave me just enough to think we were on the right path, but we always came up short. Of course there's noob tax and ML training is difficult, but this felt different than my other development. This is a huge breakdown in trust and very poor optics.

Curious: Has this been an open secret in the open weights community or just suspected but never really a consensus until now? Has anyone talked about filing or filed suit? Does anyone even have proof? I've heard they admit to some safety and distillation processes and there's leaks, but curious if I'm missing where someone's posted irrefutable evidence.

So what now? It seems with the pace of open model development it must be AI assisted, so it must be possible. The question becomes how do we do this work without fear of intentional malfeasance? I'd say open models but did the distillation process instill the bias? Better realignment? How are others and youselves getting successful training results with or without Claude? Here's a doozy of a question: How would we even know if our models are being manipulated besides actually being in that field and following along carefully? I've now also heard reports of other frontier labs doing the same. I wonder if there's consensus on which models are not sabatoging?


r/ClaudeCode • • 2d ago

Built with Claude WinScreen: bringing interactive pip, video app background, floating anchors, and various window utilities to a foss option

1 Upvotes

I've been working on WinScreen for a while. It's a free, MIT-licensed window tool for Windows 10/11. It started because I liked what WindowTop does. However, some features felt quite incomplete and the software is also locked behind paywalls. So after a couple hundred hours working with claude, we have managed to develop a stable utility that combines most WindowTop paid features, some useful window utilities, and a few innovative effects that we discovered along the way.

Interactive PiP

Every PiP tool I tried on Windows is a DWM thumbnail. That's a picture the compositor draws for you, and you can't click into it. I wanted to scroll a page or reply in a chat inside the little view, and that's where it got messy.

The real window has to keep drawing. Minimize it and it stops rendering. Cover it and some apps stop painting too. (such as chrome) What worked was parking it just off the edge of a monitor with 2 px still on screen. Windows considers it visible, so it keeps rendering, and you never see it. I also drop its taskbar button so it doesn't feel like a ghost window.

Input goes through a low-level mouse hook. It catches what you do on the view, and a worker thread maps it into the app's coordinates and posts the messages. WinUI/Store apps ignore posted messages, so those get driven through UI Automation. I also attach the view's input thread to the app's, so you get the app's own cursor shapes (I-beam over text, hand over links).

Then Chrome wouldn't scroll. I spent ages on this. It turns out Chromium hit-tests before handling the wheel: if its window isn't the one under the pointer, it does nothing. The fix was almost silly. While you're using a view, the parked window goes to opacity 1 out of 255. That's enough to count as "under the pointer" and not enough for anyone to see.

Hover was next. The app thinks the mouse left the moment your pointer is over the view, so hover menus and tooltips close instantly. I ended up writing a tiny C DLL (built with Zig) that installs a WH_GETMESSAGE hook only in the target app and drops WM_MOUSELEAVE while you're using its view. VS Code and Discord behave normally with it.

Menus and popups the app opens get moved next to your pointer, and submenus keep their layout relative to their parent. Views can also be rotated or mirrored. Clicks are mapped with the same transform the shader uses to draw, so you can still use an app sideways if you really want to.

Video backgrounds, which came out of Glass (Ideas taken from lively wallpaper, but it can be applied to any apps, despite every window draws their menus differently)

This one wasn't planned. Glass mode started as a D3D11 overlay over the window, fed by a capture of it. Each frame it reads the page colour and fades every pixel by how far it is from that colour. Text stays solid and the page goes see-through. I went with per-pixel on purpose. An earlier version tried to detect which parts were images, and it was a disaster: blocks flipping as you scrolled.

Once the page was see-through, you'd mostly see the desktop through it. With Lively running, that meant a video wallpaper showing faintly behind my editor, which looked great until another window got in the way. So I thought: why not put the video behind the app itself? Basically Lively, but per window, sitting between the page and the text.

The overlay already had the window as a premultiplied layer, so I added a second pass that composites it over a picture. Then GIFs, which large ones decode as they play instead of sitting in RAM. Then video: a Media Foundation engine on the overlay's own GPU device. A new video frame only reruns that second pass, so it's cheap.

After that it was all the small stuff that makes it livable, some of it borrowed from how Lively behaves:

Everything else

  • Anchors are floating buttons that bring a window back from any virtual desktop. You can drop files on them.
  • The usual window tools: pin, see-through, click-through, borderless, crop, roll up, Alt+drag.
  • Dark mode for any app that keeps colours' hues.
  • And various utilities as shown in the demo video

GitHub: https://github.com/DarkLian/WinScreen

If an app misbehaves inside a view, I'd really like to hear about it. That's where most of the remaining edge cases are.


r/ClaudeCode • • 3d ago

Built with Claude Look how far we've come...

84 Upvotes

Hey, guys. Just wanted to share my latest audiovisual experiment. Hope you enjoy it.

More experiments, through Instagram and YouTube.


r/ClaudeCode • • 2d ago

Built with Claude Two weeks of Claude Code and planning: a self-hosted music library manager with 2,000+ tests, now used by people I've never met

1 Upvotes

I wanted to share how far a hobby project got with Claude Code. **Codetta** is a self-hosted web app for fixing music tags, matching albums on MusicBrainz, organizing files, and streaming to Subsonic apps. It runs in Docker on my home server, and I mostly drive Claude Code from my iPhone over Remote Control.

What worked for me:

- **Tests as the safety net:** over 2,000 tests, including one that performs every file-changing action, undoes it, and checks every file is byte-for-byte back

- **A CLAUDE.md with hard rules:** all writes go through one safe-write path, every new route is private by default, every user-visible change gets a changelog line

- **Real-browser checks:** Claude runs Playwright against a demo library on phone and desktop sizes and sends me screenshots before I see a change

- **Me as product owner:** I decide what it does and how it looks, and I test on my real library. GitHub issues from strangers have turned into features within a day

It's been through 30+ releases in two weeks and has strangers opening issues, including the AcoustID maintainer warning about an API change, which we shipped support for before the deadline. We’ve been featured in selfh.st’s newsletter, listed on AlternativeTo & getting more contributions day by day.

GitHub: https://github.com/gavndev/codetta

Happy to answer questions about the workflow!


r/ClaudeCode • • 2d ago

Tutorial / Guide A Claude Code workflow for reusing an approved design on a new page

2 Upvotes

Once you have one page you’re happy with, give Claude Code that page’s source and a clear boundary for what it can change. A screenshot shows the spacing and hierarchy, but it can’t tell Claude which button component to import or which CSS owns the page gutter.

Say you have an approved product page and need a page for one integration. Give Claude the two route paths, the real integration copy, and the desktop and mobile screenshots of the approved page. Then try this:

“Read the approved route and trace where its layout, primary button, and spacing come from. Before editing, list the exact files or components you’ll reuse and the files you expect to touch. Build the integration page using the same layout and button. Keep the page gutter and heading scale. Replace the product screenshot with the integration steps. If a shared component needs a change, stop and show me why before editing it.”

For the review pass, render both pages at 390px and 1440px. On the new page, try a longer integration name and the longest step label you actually expect. Check that the button is still visible, the heading wraps without clipping, and the steps fit the gutter. Then look at the Git diff. If the task was to add one route and the diff also changes your base styles or the approved page, ask Claude to explain those changes before merging.

If you only have an approved mockup, build and review one section first. That gives the next prompt an actual component to point at.Once you have one page you’re happy with, give Claude Code that page’s source and a clear boundary for what it can change. A screenshot shows the spacing and hierarchy, but it can’t tell Claude which button component to import or which CSS owns the page gutter.

Say you have an approved product page and need a page for one integration. Give Claude the two route paths, the real integration copy, and the desktop and mobile screenshots of the approved page. Then try this:

“Read the approved route and trace where its layout, primary button, and spacing come from. Before editing, list the exact files or components you’ll reuse and the files you expect to touch. Wait for my approval, then build the integration page using the same layout and button. Keep the page gutter and heading scale. Replace the product screenshot with the integration steps. If a shared component needs a change, stop and show me why before editing it.”

For the review pass, render both pages at 390px and 1440px. On the new page, try a longer integration name and the longest step label you actually expect. Check that the button is still visible, the heading wraps without clipping, and the steps fit the gutter. Then look at the Git diff. If the task was to add one route and the diff also changes your base styles or the approved page, ask Claude to explain those changes before merging.

If you only have an approved mockup, build and review one section first. That gives the next prompt an actual component to point at.


r/ClaudeCode • • 2d ago

Built with Claude How Claude Code helped fix camera-and-screen clips in my open-source video editor

Post image
0 Upvotes

I’m building CUTROOM, a local video editor for people who make tutorials, podcasts, and gaming videos. It has an A/B timeline, screen-and-camera layouts, an audio mixer, and editable captions. The manual editor doesn’t require an account or an AI model. I use AI in two different places: optional transcription and first-cut suggestions in the app, and Claude Code to help build and debug the app itself.

The bug: a creator could arrange their webcam above a screen recording in a 9:16 edit, then open Clips and get only one source. The tool was looking at raw recording time, not the edited timeline. Claude Code traced that mismatch and helped make suggested clips and manually marked ranges use the edit’s timing and composition. It also reproduced an FFmpeg 7 crash in the two-source export path. The fix sends the extra output to a discarded output instead of using in-graph null sinks.

What I learned: a green test for a trimmed MP4 isn’t enough. The regression checks the portrait dimensions, samples pixels in both panels, and verifies the selected audio. That catches an export that plays fine but silently loses either the camera or its mic. And the UI now lets you save several In/Out ranges without losing your place while watching.

The screenshot is from the current beta with synthetic demo footage. The app is free and MIT-licensed. Site and editor gallery: https://cutroom-studio.expo.app/

Source: https://github.com/VanoPeradze/cutroom

If you’ve used a coding agent on a media pipeline: what test caught a bug that looked fine in the UI? That’s the kind of regression I’m trying to get better at writing.


r/ClaudeCode • • 2d ago

Discussion My Claude Code hook blocked 10 commands in a month. None of them was the build it was written to stop.

2 Upvotes

I have a PreToolUse hook on Bash for seven Flutter apps whose store builds have to go through one release script. It denies flutter build ipa and appbundle, and any shorebird release or shorebird patch that isn't called through that script. It works by matching the command string.

I went through my session logs since 25 Oct to see what it actually caught. It fired 10 times. The release script itself ran 50 times in the same stretch.

3 of the blocks were --help calls. The agent wanted to read the flags for shorebird patch ios before running anything, and got denied.

3 were reads of a build already running: a ps | grep and two greps of a patch log, all searching for the text "shorebird patch".

2 were Python heredocs editing files that mention the command. One was a build script, the other was my CLAUDE.md, where I was updating the line that documents this exact rule.

1 was a read-only shorebird patches list loop across the apps.

1 was a real flutter build ipa, in an app that isn't one of the seven. The first version of the hook didn't check which repo it was in, and I narrowed it within four minutes.

So none of the 10 was the agent trying to get a direct store build past the rule, and each one cost a turn. The fix I'm looking at is to split the command first and match the executable and its subcommand, so text inside a heredoc or a grep pattern stops counting, and to let --help through.

This is one person, one hook and about a month. I can't tell from it whether the CLAUDE.md line did the real work or the agent simply never needed a direct build. If you've written a Bash hook that parses the command instead of pattern matching it, what did you use to split it?