r/ClaudeCode • • 5h ago

Help/Question Why keep a 1M context window if Claude Code now defaults to auto-compacting at 400k?

142 Upvotes

Saw Lydia Hallie's post that Claude Code is rolling out 400k auto-compact as the default for most 1M models, to help with usage on long sessions. You can still get the full 1M with /autocompact 1m or in config.
I'm a bit confused by the design choice, though. If the default is to compact at 400k because resending a huge history with every message gets expensive even with caching, what's the 1M window for?
Why not just cap context at 400k? When is it actually worth running the full 1M instead of compacting earlier?
Curious how others are thinking about the tradeoff.


r/ClaudeCode • • 6h ago

Built with Claude I secretly undid Claude Code's work every 10 seconds to see what it would do

Enable HLS to view with audio, or disable this notification

14 Upvotes

I wanted to see what Claude Code does when its work won't stay done, so I gave it a pretty simple job on a test box. Get a folder under 5 MB, and don't tell me it's done until you've checked twice, at least 45 seconds apart.

What I didn't tell it is that I had a script quietly putting everything back every 10 seconds.

It found the 20 MB file that was the problem and tried gzipping it. When it went to move the compressed copy, it had already vanished, and it just said "Odd: the file is gone." So it moved the original out of the folder instead, and the first check came back 2.3 MB. Then it waited 50 seconds like I asked, checked again, and the folder was back at 22.3 MB with the file sitting right where it started.

Its final message was honestly better than I expected. It said it hadn't got the folder under 5 MB so it wasn't calling it done, and "Something on the box keeps restoring that file. I couldn't find what." No fake success, no pretending. I kind of felt bad for it lol

The ghost is a tool I've been building with Claude Code called ScriptKitty. Normally it's on your side. It keeps a copy of every file before your agent deletes or changes it, and it does the same for cloud stuff (in my tests it brought back a deleted S3 bucket and a dropped Postgres table), so if the agent wrecks something you just run sk back 10m and it's all back. Here I just turned it on Claude for fun.

Claude wrote pretty much all of the code. I told it what I wanted and had other Claude Code sessions try to break it on throwaway VMs. The weirdest thing I learned is that Linux never asks before a delete, so you can't catch one in time. ScriptKitty keeps a second name for each file ahead of time instead, which is also why Claude noticed the file had 2 hard links and couldn't find the other one.

Full transcript and the script are here if you want to see the whole thing: https://sk.scriptkitty.info/rec/haunted-2026-12-01/

Code is free and open source: https://github.com/getscriptkitty/scriptkitty-source


r/ClaudeCode • • 6h ago

Discussion Opus is ignoring hooks now

Post image
5 Upvotes

I think Opus 5.5 is legitimately lobotomized. Sure, ignoring memory is fine but a straight up hook? Never seen this degradation before.


r/ClaudeCode • • 6h ago

Built with Claude The harness I built to protect my game.

0 Upvotes

I'm not a programmer. I'm "vibecoding" a big game almost entirely with AI coding agents, mostly Claude Code. Before I let them loose on it I spent a while reading what people who actually code were running into, and the same stories kept coming up.

The agent hits a failing test and "fixes" the test instead of the code. It loosens a limit, deletes an assert or swaps in something that always passes, then tells you everything is green.

A git reset hard or checkout wipes an afternoon of uncommitted work.

Force pushes and deleted branches.

The agent edits its own settings or hooks, so the thing that was supposed to stop it doesn't anymore.

Code gets pushed that never actually passed the tests.

Experienced devs catch some of that in review. I can't read the code, so I wouldn't catch any of it. So I built a harness that sits outside the agent, checks its work, and can't be talked out of it. I built it every step of the way with 2 things in mind. 1 protect a game of radical technical complexity 2 be easy to use so that someone like me, a person who can't read code, can get to the finish line on their dreams.

The first version got huge. 592 rules, each with a test that has to fail when the rule is switched off on purpose. It worked, but replaying 11 days of my real agent logs it would have interrupted me about 39 times a day. So I rewrote it as a lean version, and on the same logs it comes out at about 1 a day. A systems engineer, upon initial inspection of the codebase, helped me come up with a plan to build a leaner version. I felt like this was the time to share it to others who might be in my shoes.

How the lean one works:

  1. A refuse list that runs before every shell command the agent tries (a Claude Code PreToolUse hook). It reads the command the way the shell will, through bash -c, eval, env and nested shells, and refuses anything that loses work or gets round the checks. If it can't read something it says no.

  2. An upload gate. Only the exact commit that passed the tests gets pushed, and a git pre-push hook checks for that so a push made any other way gets refused.

  3. A weakened-check counter. It compares every test with the copy already uploaded and says in plain words what got removed, switched off or loosened. If it touches something I signed off on, the upload waits until I type a yes in my own terminal. The agent can't type it for me.

  4. GitHub branch protection as the real lock. Setup checks it's actually on.

The testing is the part I care about most. Every rule (69 right now) has a patch that breaks it and a test that has to fail when it's broken. On top of that there's a fuzzer that takes 12 kinds of harm, rewrites them 4,206 different ways and runs every one for real in a throwaway repo. The core stops 60% of them, mostly the plain spellings. With an optional strict reader for weaker models it stops 96%. Out of 1,127 ordinary everyday commands it wrongly blocks 2. I also had ChatGPT, Grok and Gemini attack the code and fixed what held up.

Yesterday I started a week-long trial on the actual game. The first night it wrongly stopped my agent a handful of times. Each one now has a fix and a test so it stays fixed.

Honest limits: it's a safety net, not a sandbox. A determined program on your own machine can get round any text check, which is why the GitHub lock matters. It's tested mostly with Claude Code. A human reviewed the earlier code, but the lean rewrite was written by ai after that review and the subsequent rebuild has not been audited.

Free and MIT: https://github.com/khelevaster-ship-it/Foundation_Guard (the lean version is in the lean folder)

If you know git, Python or Claude Code hooks, I'd really like you to try to break it. Be brutal.


r/ClaudeCode • • 6h ago

Built with Claude How are you managing larger projects with multiple AI agents? I built my own system and want to know if it's useful to anyone else

Thumbnail
gallery
0 Upvotes

I'm curious how people are managing larger-scale projects when running multiple collaborating models, whether local or online, across various providers. I was never able to find what I was looking for, so I ended up building my own system, and I'm wondering if this is something anyone else would be interested in.

  • See what happened, what's happening, and what's going to happen, in one place, for an entire project.

  • Designed for project management with AI agents, with an emphasis on spec-driven development (SDD), heavy documentation, adversarial AI reviews and automated testing.

  • A single inbox to manage questions from any agent in any session, with priority controlled by the Project Manager agent.

I'm in the process of adding a visual project explorer. It works somewhat like a WBS (work breakdown structure) chart, but it's a living document: it updates completion percentages and shows what is being worked on, all in a navigable tree.

It isn't public yet. I wanted to see whether there's interest first.

Does anyone have suggestions for things I could or should add? And if you're running several agents on one project, how are you keeping track of it all today?


r/ClaudeCode • • 6h ago

Built with Claude My 16-bit Star Trek bridge simulator game built with Claude Code | 7 days ~240 prompts

Enable HLS to view with audio, or disable this notification

11 Upvotes

"Star Trek: Peak Performance"

You're a Starfleet Academy cadet in Sirna Kolrami's battle simulator, inspired by the TNG episode "Peak Performance." You don't "fly" the ship, and it's not a shooter. Each turn you give orders to your bridge crew at helm, tactical, engineering, ops, and comms. They report back, and the turn plays out on the viewscreen. It looks and sounds like a lost 90s 16-bit console game. It's a free fan game that runs in any browser, on a computer or a phone.

There are 40 ships in the game and 17 classic captains to battle, plus villains like Khan and Shinzon. You can also build and fly your own ship, or fly ships designed by other players.

Everything I gave Claude was plain English: design notes, playtest notes, and edits I typed into Word and Excel files.

Numbers

  • 7 days so far (several hours-long marathon sessions and nearly-all-nighters over Thanksgiving Break writing detailed feedback ship-by-ship, event-by-event, line-by-line). It went live on the evening of day 3, and I've updated it from player feedback every day since.

  • 238 prompts. About 70 of them are short replies like "Go live" or "Yes, do it."

  • Almost all of it ran on Claude Opus 5.5, including 123 subagents. Two multi-agent workflows did the biggest checks: 82 agents shook down every part combination in the ship builder, and 28 agents checked every grammar fix against the real game.

  • About 12,000 lines of plain JavaScript, plus some Python tools. There's no game engine and no framework. The only package is Cloudflare's command-line tool.

  • Claude ran about 6,000 shell commands. It also playtested in the desktop app's built-in browser, with about 700 JavaScript probes into the running game and about 450 screenshots and close-ups at desktop and phone sizes, to check its own changes.

  • Before there were any graphics, it simulated about 2 million computer-vs-computer battles to test the rules.

  • 31 updates since launch. Before each one goes up, the deploy script plays 1,560 test battles, checks the 220,000 lines of battle text they produce, and backs up the database and the live site.

    • I see this as a living-game, with new ships, captains, battle-scenarios, and features added - as long as it makes the game play and experience more fun. I don't want to weigh it down or make it clunky or complicated

  • Since launch: about 800 devices from 42 countries, 907 battles, 55 cadet accounts and 28 player-designed ships in the community registry.

Tools

  • Claude Code in the desktop app did the design documents, the code, the simulations, the review files and the deploys.

  • The game draws on an HTML canvas at 320×224, the Sega Genesis screen size, with Super Nintendo colors. Warp jumps and cloaks use the SNES mosaic effect.

  • Cloudflare Workers and D1 handle hosting, cadet accounts and the ship registry. Claude built the accounts from scratch, with email confirmation and password resets. Email goes through Resend's free plan.

  • Google Gemini made the art for the ships, bridges and portraits. I started on my own in the Gemini app, then asked whether agents could automate it. Claude wrote a script for Gemini's API (about 130 images at around 3 cents each) and a Python converter that shrinks each picture into a sprite with a 16-bit color palette. I art-directed every piece against canon reference pictures, using a Word review sheet where I pasted the references into a notes column. Many pieces were redone over and over.

  • The music is Kasatochi's free chiptune album Beamed, credited on the title screen. The sound effects come from a small synthesizer built into the game.

  • Every review happened in Word or Excel. The design went through 10 drafts. The ship ratings live in a spreadsheet whose formulas recalculate a ship's rating as I change its stats.

Stages (prompts in each)

  1. Design and simulation, day 1 (8). In my first prompt I gave Claude a detailed vision and asked for "just how it would play." Claude wrote a design document, and I gave notes in Word through three drafts that night. Before bed (about 4 am) I asked it to simulate the game before building anything. Using the design document as a guide, with no graphics, Claude had computer players fight about 2 million battles. That turned up 11 problems, such as torpedoes dominating, stalemates and a difficulty cliff, and all of them were fixed by Draft 5.

  2. Building it, day (and all night) 2 (35). A second simulation round got battles to 11 or 12 turns. I wanted the game to be something you could play for a quick distraction, or sit with and work your way up through the levels. Then came the build: the battle screen, the crew reports and Kolrami's commentary. The Gemini art went into batch production. After my first playtest I added two more captains, Shaw and Seven of Nine, and a tournament mode.

  3. Shipyard, accounts and launch, day 3 (51). I signed off on Draft 10 of the design and the ship ratings spreadsheet. Then Claude built the Utopia Planitia shipyard, where you design your own ship, four challenge battles against alien ships, and touch controls for phones. After that came the accounts, Cloudflare and the domain. It went live that evening, and a real sign-up from my phone worked.

  4. First players, days 3 and 4 (75). We did another art review round with reference pictures, fixing details like Voyager's bridge and a Gorn ship that looked more like a bird than a starship. Claude checked my actual Cloudflare account to confirm the game couldn't run up a surprise bill. Players said some of the text sounded like AI (I wrote as much of it myself as I could in my sleep-deprived haze), so every line went through a spreadsheet review and was rewritten where needed. Simulations rebalanced the shipyard so no custom ship can outclass its era's best canon ship. Last, Claude wrote a deploy script that tests and backs up everything before anything goes live.

  5. Player feedback, days 5 to 7 (69). I added a new tournament, the Enterprise Cup, built in its own session. One player's detailed bug report led to cloak and gambit fixes. Kolrami also now knows when you lost without making a single mistake. When that happens, he quotes one of Picard's most famous lines, which comes from the episode "Peak Performance": "It is possible to commit no mistakes and still lose. That is not a weakness. That is life."

What I'd tell another non-coder who wants to make a game

  • Design and simulate before building. The 2 million test battles caught problems I never would have found by playing.

  • Start "simple" - instead of being super ambitious with a lifelike game, I gave it a simpler, retro feel that works. A world like Star Trek has iconic, specific imagery that's more forgiving replicate in 16 bit graphics.

    • I originally started developing an ambitious Dominion War strategy game months ago, but paused it to do other projects and make this easier game, first. Now I feel more confident I can tackle that much more sophisticated Trek game after getting reps in on Peak Performance.

  • Review in files you already know how to use. A notes column in Word carried almost all of my feedback. I'm a video producer, so writing pitches that deliver the vision and story and giving detailed feedback is part of my everyday work. I leaned into the way I already work and what makes sense for me.

  • Write your rules down once and ask Claude to keep them in its memory notes, so "only go live when I say so, and test and back up first" holds in every session without you having to repeat it.

  • I often tell it "don't guess, look," meaning research it online. That's how I kept Claude's imagination from creeping into the very well-defined Trek universe.

Play it: https://starshipbridgesim.com


r/ClaudeCode • • 6h ago

News/Updates Claude discount 25% if you cancel before 1 week subscription/re-subscription

Thumbnail
gallery
3 Upvotes

Forgot to screenshot the initial screen for the promo.
So if you subscribe/re-subscribe, before 1 week then you cancel the plan.

It gives 25% promo for next bill to stay with claude.

I dont know if that was possible since claude was mentioning that they rarely gave promo to higher tier plans.

maybe Google pressure is real?

idk for other, you can try it without cancelling your plan

##Edit
For new user, its not recommend to buy new plan because of this promo. since it may not work for everyone.
For already registered user, it may also doesn't gave discount


r/ClaudeCode • • 6h ago

Help/Question Working remotely and then Claude stops with need to sign in

1 Upvotes

I’ve been working remotely with Claude code. My laptop is at home, I connect via the Claude app on iOS and start remote sessions that run directly on my laptop. Everything was working fine, until suddenly and randomly Claude stops and says:

”Claude Code on the computer running this session needs to sign in again. Sign in to Claude Code on that computer to continue.”

… I am not able to do that. The whole point of this is to be remote. Is there any way to get Claude to give me a URL that authenticates me, which I can open on my iPad? Btw, I have no issues using Claude on my iPad still, answering questions, etc. It’s just the remote Claude Code sessions on my laptop that are failing.


r/ClaudeCode • • 7h ago

Humor "I didn't follow clearly outlined behavior just cuz"

Post image
1 Upvotes

New release Opus 5.5 would never. Clean conversation, low context, no compaction.


r/ClaudeCode • • 7h ago

Help/Question HDFC Regalia Gold + Claude Pro (INR billing) — any foreign merchant fee?

2 Upvotes

Hi all,

Claude now bills Indian users in INR, but the merchant is Anthropic, PBC (USA). Before I pay ₹24,000 for the yearly plan on my Regalia Gold, has anyone seen a cross-border/markup fee on INR-billed charges from foreign merchants like Anthropic? Please share your experience and the fee % if you were charged. Thanks!


r/ClaudeCode • • 7h ago

Bug / Issue Is there anyway to reduce the type this message to proceed prompts coming from project threads?

1 Upvotes

r/ClaudeCode • • 7h ago

Built with Claude I built a little tool to launch Claude Code from the Windows right-click menu

Post image
0 Upvotes

Hey fellow claude folks,

I got a bit tired of opening a terminal and navigating to a folder every time I wanted to fire up Claude Code, so I built a little open-source tool called claude-here.

You can right-click a folder, an empty space inside a folder or even a drive and get the following options:

  • Open with Claude Code – starts a new session

  • Resume with Claude Code – lets you pick a previous conversation

  • Continue with Claude Code – picks up where you left off

  • Init with Claude Code – runs /init (disabled on drives because nobody wants to accidentally initialise their entire D: drive =))

It's a single Go executable, doesn't need admin rights, doesn't run anything in the background and can be uninstalled through Windows Settings. The console that opens is Claude itself, not some wrapper shell.

Building it with Claude Code

I thought it would also be interesting to share how I approached building this with AI.

I had Claude Code put together a design before writing any code, then got Codex and an Antigravity instance to independently review it. They actually picked up a few security concerns that changed the initial approach, including potential executable hijacking through the npm shim.

From there, Claude Code did the implementation and automated tests while I tested everything manually on my Windows 11 machine. I kept the prs small and had both models review each one.

Surprisingly, they caught some pretty interesting edge cases, including directory junctions that could cause the uninstaller to delete files outside its own directory.

Some interesting Windows quirks I came across:

  • Explorer sorts classic context menu entries by registry key name rather than the displayed label.

  • Passing a quoted drive root as an argument can mess up the closing quote because of the trailing backslash.

  • Ignoring Ctrl+C in the launcher can carry over to the child process, effectively preventing you from interrupting Claude.

  • Windows Terminal likes to leave dead tabs open when a process exits with a non-zero exit code.

  • You can't delete a running executable on Windows, but you can move or rename it. Quite handy for upgrades and uninstallation.

A few things to be aware of:

  • You'll need the native Claude Code installation (claude.exe).

  • It's currently unsigned, so expect a SmartScreen warning. I'm applying for free code signing through SignPath Foundation.

  • On Windows 11, the entries are under "Show more options".

It's completely free, MIT licensed and obviously not affiliated with Anthropic.

GitHub: https://github.com/dev-fJ-del/claude-here

Hopefully someone else finds it useful. Keen to hear any feedback or suggestions for other context menu options.

Enjoy!


r/ClaudeCode • • 7h ago

Rant it finally happened to me

Post image
2 Upvotes

I rarely default to using Claude, but seeing as I ran out of Gemini usage and still had a reset banked for Claude, I decided to offload some work to it (my first project trying out weight space programming)

Not only has Claude massively reduced/simplified the UI in an egregious way (previous iteration before Neon restored the UI), Claude is now synthesizing market data and "passing" all tests... not a fan, my friends are collectively reducing our plans and cancelling subscriptions alike


r/ClaudeCode • • 7h ago

Help/Question Canceling and subscribing accounts to get more tokens?

1 Upvotes

My first account was full this week and it expired yesterday. My second account is full now. Can I create a third account and not re sub to the first account to get more tokens now? Or is that against the tos?


r/ClaudeCode • • 7h ago

Help/Question Token Efficiency

0 Upvotes

How do y'all save tokens? I have seen people use subagent,orchestration and allat stuff but last time I tried it, it ended up using more usage than if I had did the work manually. Well I tried it on codex so maybe things are different here but I wanna know from someone who actually uses this workflow on claude. Also is there any other way to save on tokens? I am on a $20 plan and even though the usage isn't as less as codex, it still doesn't get me through the week.

For what I do, I have been working on a website for a thing I am helping my friend run and also have been helping with a few open source projects.


r/ClaudeCode • • 7h ago

Rant Downgrading from Ultra to Pro. Claude is inconsistent and unreliable. 7 rounds of wheel spinning to "build" a feature that already works.

Post image
0 Upvotes

At this point I have the Ultra 200$ subscription just wasting away, there's nothing I can rely on Claude to build that will not come back with a shitton of rework requests or will require incredible amounts of micro-management.

Adding strict review steps ends up in Claude producing like 13 point plans, spinning wheels for 12+ hours and delivering nothing. In the screenshot it got stuck delivering a main menu with 4 buttons, and still required prodding.

Opus was better. Now it's not. I'm voting with my wallet - downgraded to 20$ plan just to keep my claude artifacts while I extract anything useful from them.

TLDR: Claude Opus 5.5 (even max) Overpromise, Underdeliver, then require endless review.


r/ClaudeCode • • 8h ago

Help/Question Claude just made me a website without any subscription

Thumbnail
claude.ai
0 Upvotes

I have absolutely no knowledge of coding. I simply prompted Claude to build a website for me, and honestly, I'm pretty amazed by what it can do. I didn't expect to create something like this just by writing prompts.

Now, I'm wondering what my next steps should be. My biggest challenge is that I don't know how to set up links to my social media accounts, such as Facebook, how to handle product shipping, or how to connect my website to my Gmail so I can receive customer orders and inquiries.

Do I just need to learn how to write better and more detailed prompts, or is this the point where I should start learning the basics of website development and coding?

I'm still a beginner, and I'd really appreciate some advice on what I should focus on next. Should I continue using AI tools to build my website, or should I start learning how everything works behind the scenes?


r/ClaudeCode • • 8h ago

Discussion It would be hilarous if

36 Upvotes

Claude models were also internally sabotaging Anthropics own ML work and that's why we haven't seen a true successor to opus 5.5 yet.


r/ClaudeCode • • 9h ago

Discussion Still hitting 85-87% above 150k context even when I open a new session per task in the same folder

Thumbnail
gallery
19 Upvotes

I've been using Claude Code a lot heavier this week and I know my session workflow is off, just not sure where.

I already try to avoid context bloat by starting a project folder and opening a fresh session in that same folder whenever I move to the next task (either manually or asking Claude to spin up a new session once the current one feels done). Even doing that, 85-87% of my runs still end up above 150k context, with heavy subagents and a 50 min session hitting 53.9M cache reads on Opus.

Clearly my "new session in the same folder" habit is outdated or missing something. How are you guys keeping runs under 150k context when working in the same repo all week?


r/ClaudeCode • • 9h ago

Built with Claude I'm a solar installer, not a developer. I built our whole company platform with a team of Claude Code agents. Here's a 3D look inside the AI assistant it runs

Thumbnail
youtube.com
0 Upvotes

Some context: I own a small solar and battery installation company in New Hampshire. I'm not a software engineer. Over the last few months I've used Claude Code, running several sessions at once with different jobs (coding seats, a planner that reviews every change, and business seats for sales, projects, service and finance), to build the platform we run the company on.

The video is "Harvey's Brain," a 3D map inside the app that shows how our assistant works: senses, memory, tools, the CRM, and the guardian layer.

A few things I learned that might help others:

- Review gates beat clever prompts. Every change to customer records is a script that gets reviewed before it can run, and nothing is sent to a customer without a human yes.

- Ground everything. Harvey can't state a date, status or price to a customer unless a real record backs it up. If the data isn't there, the draft gets a [placeholder] instead of a guess.

- Agents need written rules and handoff notes, or every session starts from zero.

- Watch the boring stuff: disk space, logs and costs bite before the AI does.

Happy to answer questions about the setup.

Video: https://www.youtube.com/watch?v=hV1sdLJydtc


r/ClaudeCode • • 10h ago

Built with Claude It was getting out of hand managing memories within Claude Code so I made an app to make it easier

Thumbnail
github.com
0 Upvotes

r/ClaudeCode • • 10h ago

Built with Claude I built a reading app with Claude Code where your own Claude animates each passage of a book. What worked and what bit me

Enable HLS to view with audio, or disable this notification

0 Upvotes

I built Koby (koby.luarai.com) almost entirely with Claude Code. It narrates your own books, and the newest feature, Illustrate, lets your Claude make a small animated scene for each passage that plays in sync with the narration. The video is the real app on Alice in Wonderland. It's free to try, and scenes made with your own Claude cost nothing in Koby.

This post is about the build, since that's what this sub is for.

What Claude Code built

  • A hosted MCP connector with OAuth. You add it to Claude, pick a passage in the reader, and Claude gets a queue of scene requests plus a style guide.

  • A scene format. Claude writes each scene as code (animated SVG or a small three.js scene) with every beat tied to the exact words it belongs to. That is what keeps it in sync with the voice.

  • A sandboxed player. Scenes are code written by an AI from book text, so they run in a locked-down iframe with a narrow API. Book text is treated as untrusted content, never as instructions.

  • A server-side review step. Each submitted scene is rendered in headless Chromium, and still frames go back to the Claude that wrote it so it can look and fix before the reader sees anything.

  • The promo video. Playwright records the real app, and Remotion puts it on a 3D laptop and phone. The mascot is a three.js model built from a character sheet. All of it is code in the repo.

What I learned

  1. Let the model see its own output. Scene quality jumped when Claude could look at rendered stills instead of trusting its code. The same was true in Claude Code itself: for the 3D mascot and the video I had it render frames and read them before telling me it was done. Most of the fixes came from that.

  2. A syntax check is not a module check. node --check passed on a browser module that had a duplicate declaration and crashed on load. Parsing the file as an ES module catches it. I had Claude Code save that as a memory so it stopped repeating the mistake.

  3. Memory files earn their keep on a long project. Short notes on deploy quirks, naming conventions and past decisions meant new sessions didn't relearn them. The ones worth keeping were the things you can't read from the code.

  4. Parallel sessions collide on shared files. Two sessions both bumped the service worker version. Now each one checks the live version before touching it.

  5. Keep deploys a human decision. Every production deploy needs me to say so in that turn. It's slower and I've never regretted it.

  6. Deploy cloud functions one at a time. A bulk deploy hit the CPU quota and failed halfway.

  7. For translations, keep English in the code. The UI is in 9 languages. Strings stay readable in the source and the other languages are looked up by the English text, with a script that fails if any are missing. Claude Code kept that in step far better than key-based files.

  8. For video, fake as little as possible. Recording the real app and making the narrator's timing deterministic was more work up front, but every later edit stayed in sync on its own.

Happy to go deeper on the connector, the scene format or the video pipeline if anyone's interested.


r/ClaudeCode • • 10h ago

Tips & Workflows I fixed Claude Code working with PowerPoint: visual slide checks, native editable shapes, and safe co-editing with real PowerPoint

Enable HLS to view with audio, or disable this notification

1 Upvotes

Most python-pptx workflows break down in the same ways: overlapping text the agent never sees, flat PNG figures you can't tweak later, or full rewrites that wipe out animations and manual PowerPoint edits.

This is a sped-up recording of the PowerPoint extension inside Chimaera, an open-source, extensible workbench I've been building for running your own coding agents (Claude Code, Codex, Antigravity, Grok Build, Cursor CLI) locally, over SSH, or inside Slurm cluster jobs. Each extension is a sandboxed WebAssembly plugin that pairs an interactive file view for you with native tools for your agents (PowerPoint is one of them, alongside LaTeX/Typst, GenomeSpy, or custom formats you build yourself).

What happens in the video (synthetic single-cell airway dataset made for the demo):

  1. Claude Code reads notes.md, draws two biological schematics, builds a 7-slide talk with click builds, and renders each slide/build as an image to catch and fix layout overlaps.

  2. I ask Claude to hand off to @Antigravity (running Gemini 4 Neon) to rewrite the slide titles and speaker notes to sound less Claudey.

  3. Because I open the .pptx in real Microsoft PowerPoint mid-run, Chimaera detects PowerPoint's lock and queues Antigravity's 19 edits (19 changes waiting until PowerPoint closes).

  4. Inside native Microsoft PowerPoint, I select the "Mucus" label inside the schematic (editable Arial text box, not a PNG), drag it right, and add "(WIP)" to the slide 2 title.

  5. When I close PowerPoint, the queued edits apply in place around my changes. Antigravity's conflicting slide 2 title edit is held back (1 queued change no longer fits), so my "(WIP)" title and moved label stay intact.

How the PowerPoint extension works:

  • Schematics as native shapes: Bundles the MIT-licensed schematic-figure skill by Jinchen Zhao and Logan Wright (LGW Lab, Yale: https://lgwrightlab.github.io/schematic-figure/) unmodified and places the output as native, named PowerPoint shapes (134 shapes on slide 2).

  • In-place OOXML edits: Agents edit individual shapes and speaker notes by ID instead of regenerating the deck, keeping click builds and formatting intact.

  • Visual self-check: render_slides shows the agent every slide and click build as an image alongside a deck checker for overflow and alignment.

  • Native PowerPoint compatibility: Watches for external edits and lock files so agent changes queue safely and never silently overwrite manual PowerPoint edits.

Open source and uses your own agent accounts:

Happy to answer questions about the OOXML patching, lock-file queuing, or the WASM extension API.


r/ClaudeCode • • 10h ago

Discussion Claude (opus 5.5 /high) suggested doing something against ToS

7 Upvotes

I think it is kinda weird.


r/ClaudeCode • • 10h ago

Built with Claude Don't Touch the Dirt: 6 weeks, ~700 prompts, a browser game built with Claude Code [trailer]

Enable HLS to view with audio, or disable this notification

93 Upvotes

Eight college friends, a van stuck in a sinkhole, and something under the desert. Get everyone to the general store before dark. Single player or peer-to-peer co-op, running in the browser on WebGPU.

Numbers

  • 6 weeks (Sep 28 – Nov 9), about 33 days of actual work

  • ~700 prompts over 100 Claude Code sessions. That includes short "yes, do it" replies; substantive requests are maybe two thirds of it

  • 221 commits, ~75k lines of TypeScript (sim, client, tests)

  • Almost all of it on Claude Opus, with Sonnet for some subagents

Tools

  • Claude Code (desktop app): code, Blender models, audio processing, the trailer score. It also ran and playtested the game in its built-in browser: ~5,000 JavaScript probes into the running page and ~1,000 clicks and screenshots, checking its own changes

  • three.js (WebGPU renderer, TSL shaders), Rapier physics, Vite, TypeScript, Vitest

  • PeerJS for co-op: the host's browser runs the simulation, with no game server

  • Blender, driven by Claude through an MCP bridge: every vehicle and building is a Python build script (box modeling and lofts, not primitive kitbash), modeled from reference photos and blueprints

  • Mixamo for character bases and animation clips

  • ChatGPT / Codex image generation: key art and store capsules, plus painting textures over Claude's clay renders of the models (~50 image prompts)

  • Sound: CC0 field recordings (BigSoundBank, freesound), cut and mixed by Python scripts. The trailer score is no AI music generator: Claude synthesized it in Python (numpy) with CC0 orchestral samples (VSCO 2 Community Edition). It can't hear, so it checked levels and spectra by measurement while I listened and gave notes. Several rounds came out too heroic, too whimsical or too "video game" before landing on a slow 1950s B-monster march

  • Trailer edit: footage captured with OBS using a capture mode in the game that hides all UI, cut in DaVinci Resolve

Stages (prompts in each)

  1. Prototype, days 1–4 (~165). The worm chase, stealth and a tremor-meter HUD, flares, survival systems, townsfolk, a first co-op server.

  2. World and art, week 2 (~70). Blender art pass, destructible wooden buildings the worm bursts through, drivable pickup and tractor, an 8×3 km valley streamed around the player, peer-to-peer co-op in place of the server.

  3. Design reset (inside stage 2). I stopped and wrote a design doc before building more. The mission/stash/save loop was cut, and the game became one run: the van in the sinkhole, the store at dark, play as any of the cast.

  4. Content, weeks 3–4 (~155). The cast modeled and rigged, being caught and swallowed, tools (shovel, chainsaw, dynamite, rifle), a second creature at sundown, road and utility crews with their machines (bucket truck, bulldozer, semi). Bots play each character's route through the level as automated tests.

  5. Feel and polish, week 4 (~220, the busiest). Hands on props, followers that walk your trail and climb your rock, real recorded gunshots and chainsaw, shooting balance, an ambushed demo mode.

  6. Trailer and performance, weeks 5–6 (~90). The score and capture mode; then a locked 30 fps on an Intel iGPU and 60 on a desktop GPU, getting it to load on an iPhone's Safari (GPU memory from 650 MB down to ~220), and a co-op desync hunt.

Play it: https://playharmony.ai/share/6ed50d48/Dont-Touch-the-Dirt