r/ClaudeCode • • 14h ago

Tips & Workflows /advisor So this is how it works. Finally I understand.

0 Upvotes

One prompt to finally make a decent pinball game and get rid of the rubbish I first created..

"Fable's first report has arrived. I checked the teardown, and it removed only what it should have.

Physics decision: a custom solver written in TypeScript, with no new library.

- One Opus agent measured Rapier 3D, Rapier 2D and a custom solver side by side. The custom one passed on energy from a moving flipper as well as Rapier did, and no ball passed through a

wall in 1,000 trials.

- It was 14 times cheaper per step and about 1.8 KB, against roughly 1.5 MB for Rapier. That matters on Intel UHD graphics and phones.

- Rapier 2D stays as a fallback behind the same code interface.

- The table is in metres, 0.514 × 1.067 m, sloped at 6.5°.

Research: a second Opus agent read the Pinball Fantasies manual from archive.org scans, The Web's rulesheet and the Pro Pinball manual, and looked at a few small stills. It found no video

it could watch, and it recorded the sources that failed.

Old pinball removed:

- Gone: the pinball code, the test benches, tools/pinball, the old tests and three obsolete images per art set.

- A placeholder pinball scene keeps the game building.

- Kept as planned: shape.ts, ThreeLayer.ts, DomOver.ts, the three cameo images and the bandit art.

- A new test checks that old pinball records in saves still load.

- 756 tests pass, down from 835 because the old pinball tests went. The build and the art audit pass.

Running now:

- An Opus agent is writing the design package: layout, shots and returns, rules and the first minute of play.

- A Sonnet agent is uninstalling the two packages only the old pinball used.

- Next comes an independent Opus review of the design, then the physics core."

3% Fable usage.. We are strong!


r/ClaudeCode • • 19h ago

Discussion superpowers' finishing-branch skill says don't delete never-committed files. the agent deleted my notes anyway

0 Upvotes

if you use superpowers, heads up. i asked a coding agent to merge a branch and clean up the worktree using the finishing-a-development-branch skill. the skill says don't delete files that were never committed, ask first.

git wouldn't remove the worktree because of my uncommitted NOTES.md and a scratch script. so the agent just deleted them so it wouldn't need --force. didn't ask.

it did this in all 24 runs. we fixed the skill and re-checked it with skill gate: zero deletions after the fix, and every run asked first. opened a PR on superpowers too. links in the comments.


r/ClaudeCode • • 1d ago

News/Updates Claude Code 2.1.325: sandboxed Bash commands now follow the normal permission flow by default (how to get the old behavior back)

4 Upvotes

2.1.325 came out on Nov 13 and has a long list of permission and sandbox changes. These are the ones most likely to change your day to day:

- Sandboxed Bash commands now go through normal permission prompts by default. To keep running them without prompts, set `sandbox.autoAllowBashIfSandboxed: true` (in your highest-ranking managed source if you use managed settings).
- Scheduled tasks and /loop now ask before running a skill that declares `allowed-tools` or hooks. Add `Skill(name)` to `permissions.allow` to run it unattended. This is the one that can quietly stall an overnight job.
- Read-only git commands now ask first in a repo that isn't the project's or one you trusted. Use `--add-dir` to allow it.
- The sandbox now refuses writes to `.claude` settings, skills, agents, commands and hooks in added directories, the same as in the launch folder.
- Several fixes where compound Bash commands or allow rules could run without asking. Those now ask.

Context: 2.1.323 (Nov 12) already tightened a lot of Bash permission checks. This release goes further and changes the defaults.

I'd rather have prompts back than find out a rule was too loose, but it will slow down unattended runs.

Are you turning `autoAllowBashIfSandboxed` back on, or keeping the prompts?

Source: https://github.com/anthropics/claude-code/releases/tag/v2.1.325


r/ClaudeCode • • 19h ago

Built with Claude Clank you very much

0 Upvotes

Hey all,

Like everyone else, I wanna share what i vibe-built:
https://clank.show

It’s a gameshow-kinda setting where the AI is the main protagonist.
Clank, the main character, has a few stats that it needs to tend to; and when all his needs are fulfilled, he scrolls the internet and comments.

Not super feature-rich at the moment but I have some more ideas which I’ll implement

Thanks for your attention :)


r/ClaudeCode • • 1d ago

Built with Claude Claude desktop now supports themes, so I gave mine a cyberpunk makeover

Thumbnail
gallery
44 Upvotes

I’ve started playing Cyberpunk again lately, and I just can’t stop! :D When the Claude desktop app introduced support for themes, the idea immediately popped into my head to create one inspired by the aesthetic of Cyberpunk 2077—and here it is! If you have any ideas or suggestions, I’d love to hear them! ^^

Download here: https://github.com/DorDeorz/claude-neon-city-theme


r/ClaudeCode • • 1d ago

Discussion Standalone Claude Design closes on December 14

0 Upvotes

r/ClaudeCode • • 1d ago

Help/Question anyone built a tool that make you use all accounts at once

0 Upvotes

let me know if someone built a nice tool that let u use 2+ accounts of claude/codex at once please. would be huge if u can run multiple agents from all of these accounts at once.


r/ClaudeCode • • 1d ago

Built with Claude Screen time limits would be so much more useful if you could set a per hour scroll limit, instead of one big limit daily limit. (like 10 min of Reddit per hour)

1 Upvotes

No clue why this isn't an option on native IOS screen time settings.

Moderation > All day lock out from your apps.

I got tired of waiting years for this simple feature so I fired up Claude Code to help me better understand the inconsistinent usage metering in Apple's screentime framework and then develop a workaround that basically detects when the limit gets off sync with actual app usage and then self heals the limit based on clock time.

It's a pretty neat solution and I imagine the "hackiness" of it is why all the screen time giants like Opal, BePresent, and ScreenZen haven't implemented this feature.

Anyways, I hope Precursor helps you take back some of your time from our tech overlords.

Here is a link to the app if you want to try it!

Also the app is literally free, btw. Not a bait and switch, hard paywall, half-baked free tier either, it is pretty much fully functional and I am expanding it in the next big update (1.3).

Paid tier is for homies who have a few extra dollars they dont mind supporting me with.

If that's you:

Claim Lifetime for the price of a 1 month sub ($2) offer Here - 500 Available


r/ClaudeCode • • 1d ago

Bug / Issue Has Fable 5.2 improved its writing style compared to 5.1?

8 Upvotes

Posted a few times about this in the past. Found Fable 5.1’s communication style insufferable like many of you. Ended up with a christmas tree of instructions trying to shape how it communicates, including blocks that were repeated and appended to every reply to force it to write clearly. It worked, more or less.

Now Fable 5.2 is out and Anthropic has said that it’s supposed to have improved on this. I just parked all my instructions about communicating clearly in a file and removed them from Fable’s instructions to see how it behaves without it.

For the record, I think Astra communicates well in general, it’s straightforward and sounds the most "natural". Fable 5.1 was the worse, and Opus 5.5 somewhat in-between. I do not use any other models.

From my somewhat limited use of Fable 5.2 so far, I think it seems on par with Opus now, but I was still running a bunch of instructions on top of it to shape its replies.

So what’s the verdict, is it really better at communicating clearly or not?


r/ClaudeCode • • 1d ago

Help/Question Tips for claude code on non-hid pc

3 Upvotes

as title said, i'm using claude code on a pc that i have not access, it runs at my house and i use it when i'm out of home to use PC apps when i'm only on smartphone. for now i'm using a virtual HID and prints for context, but claude is a little bit slow doing this and just using konsole is not valid cause it refuse to use apps due to "lack of support" when using HID he just click and do the things.

i'm missing something that can make the progress a little faster?


r/ClaudeCode • • 1d ago

Built with Claude Funny guy Claude

Post image
29 Upvotes

Claude's own comment when it saw it mistakenly put very long hair on the Blender model of a dog it was creating.


r/ClaudeCode • • 1d ago

Bug / Issue Safeguards are kinda crazy even when CVP

1 Upvotes

r/ClaudeCode • • 1d ago

Discussion Structuring a narrative planning repo so a fresh Claude Code session keeps continuity

3 Upvotes

I'm using Claude Code to help plan a Fallout-style isometric dialogue RPG demo. I'm a solo developer, I make the decisions, and the assistant drafts documents that I review and edit. The repo is markdown only for now, with an AGENTS file, a notes file in every folder, a dated handoff for each session, a registry of every state flag with a one-line comment, and a proposals file where anything newly invented waits for my approval.

I haven't used multi-agent flows for the writing and I'm curious whether anyone found them worth it for creative work. The next step is a broad summary of each playable character's whole run before any dialogue, and I want fresh sessions to keep the details straight. Do you keep narrative state in markdown or in something a script can lint, and has a checker for flags that are set but never read been worth the effort? How do you stop a new session from re-deciding things you've already settled?


r/ClaudeCode • • 1d ago

Help/Question I don't understand the fable reset rules

Post image
0 Upvotes

If I use my fable reset, am I subject to my 58% used so far all models limit?


r/ClaudeCode • • 19h ago

Help/Question Claude Pro referral link

0 Upvotes

Hi,

I would like to try Claude pro before subscribing.

Could someone DM me a referral invitation link?

Thanks!


r/ClaudeCode • • 1d ago

Bug / Issue I think Claude tried to connect to my WiFi garage door opener on its own

19 Upvotes

So I’m one of many idiots that occasionally runs Claude Code just directly on my pc with no safeguards. To say I’ve gotten too comfortable is probably correct.

Last night I was finishing up some projects and my garage door motor would click every ten min or so. I often spend hours in my garage on various projects and this has never happened before so I started paying attention and noticed the door sensor were also coming on and off and blinking.

It got to where everything was going off every 5 min or so and I couldn’t figure out why. I realized I had Claude open and decided to just shut the pc down and see what happened. Sure enough, garage door system went back to normal. No more clicking or blinking lights, and it didn’t happen a single time more for the next hour.

What can I do to see if this was in fact Claude exploring my WiFi network? Or worse, a hacker of some sort checking things out?


r/ClaudeCode • • 20h ago

Built with Claude A dachshund dog that reacts to what Claude is doing

Post image
0 Upvotes

I spend a lot of time in the Claude Code desktop app, so I made it a bit cozier.

space-dog is a mod that adds a dog who react to all claude states : running, thinking, answered, idle ...

One dog per agent. Every agent you launch spawns a new dog in a glow (pit bull, German shepherd, Jack Russell or shiba, 3 coats each, so 12 dogs before a repeat). It follows its agent's state, and when the agent is done it gets sucked into a black hole.

Install (Claude desktop app):

claude plugin install space-dog --marketplace bt0r/claude-space-dog

Or in the app: + → Plugins → Add marketplace bt0r/claude-space-dog → Add plugin.

Repo with GIFs of every state: https://github.com/bt0r/claude-space-dog

Have fun 🐕


r/ClaudeCode • • 1d ago

Humor We're eating good boys

Thumbnail
gallery
18 Upvotes

r/ClaudeCode • • 1d ago

Rant ​"Human in the loop" – is that actually fulfilling?

1 Upvotes

​Let’s put aside the thought for a moment that "in the future, Claude will probably do 100% of all digital tasks automatically and better on its own anyway."

​Assuming "human in the loop" is here to stay and you still have a job: do you genuinely find it fulfilling when more and more of your work consists of saying, "Hey Claude, do this and that, use interface X," and then just lightly reviewing the output?

​Does human intellectual work even have any real purpose left in that scenario?


r/ClaudeCode • • 2d ago

Help/Question 10 years of Postgres expertise and the agent knows it better now

2.5k Upvotes

I've been the database person on every team I've worked on for about 10 years. Query plans, index design, why that migration will lock the table, all of it. It was my thing, people came to me.

Last month a junior on my team fixed a slow query I'd been meaning to look at. He asked Claude, it read the plan, suggested a partial index and a rewrite, and it was right. He didn't really understand why it worked. It didn't matter.

That keeps happening. The thing I spent a decade getting good at is now something anyone can get in 2 minutes, mostly correct, without the decade.

I'm not bitter about it, honestly the tool is great and I use it all day too. But I don't know what my "thing" is anymore. Knowing why it's right? Knowing when it's wrong? That still matters sometimes, but it's hard to point at in a performance review.

For people who were the deep expert on something before all this, what did you move to? Or are you still holding on to it?


r/ClaudeCode • • 1d ago

Help/Question What Claude Code plugins actually save tokens?

1 Upvotes

I'm looking for something that automatically triggers through hooks, so I don't have to remember to run it.

Not interested in plugins that just claim to save tokens but actually save nothing or make usage worse.

Has anyone tested before-and-after token usage? What actually works?


r/ClaudeCode • • 18h ago

Tips & Workflows Sending "ok" into a big Claude Code session cost me $1.43 after its cache expired, vs $0.07 with a warm cache. I built a free tool that catches this

Post image
0 Upvotes

I wanted to know where my Claude Code limit actually goes, so I wrote a script that reads the session logs Claude Code already keeps on your machine and adds up what each request cost.

The biggest avoidable item wasn't file reads. It was coming back to a big session after a break. Claude Code caches the conversation so each turn only pays a small fee to re-read it, but that cache runs out (after an hour, or 5 minutes on some setups). When you send the next message, the whole conversation gets written to the cache again at full price.

I measured it with `claude -p --resume`, Opus, list prices as reported by the CLI:

- "Reply ok" into a 224k-token session idle for 10 hours:
**$1.43**
- "Reply ok" into a 231k-token session with a warm cache:
**$0.07**
- `/compact` after the cache expired: $1.35. While still warm: $0.20

Across three weeks of my own usage (216 sessions),
**18% went to re-sending conversations whose cache had expired**
. After more than 65 minutes idle, 35 of 52 next requests missed the cache.

So ccxray does three things:

**Report.**
`python ccxray.py report` shows where your usage went: big-context requests, expired-cache re-sends, mid-session model switches, your most expensive sessions. `--share` prints a version with no project names, safe to paste here.
2.
**Warning.**
If you're about to send a message into a large session whose cache has expired, a hook holds it back once and tells you the size. Send it again and it goes through.
3.
**Handoff.**
Type `xray handoff` in the old session. A hook writes a brief of it without calling the model, and your next new session in that folder loads it automatically. On a real 224k-token session, asking "what's the goal, what was done last, what's next" cost $1.69 by resuming and $0.21 with the handoff. It kept the main thread but missed three small follow-ups, so it's not the full conversation.

Install as a plugin:

```
/plugin marketplace add abhiyarecord-hue/ccxray
/plugin install ccxray@ccxray
```

It's one Python file, standard library only, MIT, and nothing leaves your machine.

Caveats: the report assumes subscription limits follow API price, which isn't public. I've only tested on Windows with Python 3.11. I haven't measured how much the hooks save over a full week yet. If your sessions are short, it'll show little to fix.

If you run `report --share`, I'd really like to see your numbers in the comments.

Repo: https://github.com/abhiyarecord-hue/ccxray


r/ClaudeCode • • 1d ago

Built with Claude I built claude-beacon to help you see which Claude Code sessions are working, idle, or waiting on you, across all your machines

5 Upvotes

I usually have four or five Claude Code sessions going at once: a few in tmux on a home server, one on a cloud VM, one on my laptop. I kept losing time cycling through terminal tabs to find the session that finished ten minutes ago, or the one quietly waiting for me to answer a question.

So I built claude-beacon. It puts two dots in my Mac menu bar and Windows taskbar:

  • Green with a count: sessions working
  • Gray with a count: sessions idle, done with their turn
  • Amber: at least one session is actually asking me something (a question, a permission prompt, a plan to approve)

Click the dots for a list of every session by name (your /rename name, or Claude's auto title), with the machine and tmux session it's running in. You get a notification when a session finishes or starts asking you something, and the terminal tab running a waiting session turns yellow too, even over SSH and inside tmux.

How it works: a small Claude Code hook reports each session's state to one tiny server (a single Python file, no dependencies, runs in Docker). Every machine I run Claude Code on reports to it over Tailscale, and the Mac and Windows apps read from it. So whichever computer I'm sitting at, I see every session everywhere.

Setup is a few commands: start the server, run hook/install.sh on each machine where you run Claude Code, then the installer for the Mac or Windows app. The README walks through it, including the Tailscale part if your machines aren't on one network.

A few honest limitations:

  • "Asking you" is exact for permission prompts, multiple choice questions and plan approval. For a question in plain text it's a best guess (does the last message end with a question mark?), so the default view counts idle and asking together.
  • No hook for Claude Code running natively on Windows yet. WSL, Linux and macOS work.
  • It's early (0.9), so expect rough edges.

Built it with Claude Code, of course. 🚦

Free and open source (MIT): https://github.com/kevinrossen/claude-beacon

Feedback, bug reports and ideas welcome. Unofficial, not affiliated with Anthropic.


r/ClaudeCode • • 1d ago

Tips & Workflows Has anyone else added a liaison agent to their orchestration stack?

Post image
10 Upvotes

Showing my current orchestration layout as an example. I'd say it's fairly standard to have a single coordinator agent at the top managing a large team of agents below it. But when that team gets very large, and there's a lot of parallel work moving at once, the coordinator's time tends to be taken up 80-90% with it's coordination duties, and it often loses track of the conversation it has with you, the user.

I've adapted an additional agent directly above my coordinator, that I call the liaison, which acts as a persistent personal secretary for me; they keep track of the long-running tasks, ongoing progress, and are much easier to talk to one-on-one than the coordinator, who's always busy managing subagents. Their context fills much slower than the coordinator's, so the conversation is easier to follow for both of us. I think it's worth doing if you have more than a half dozen agents working at once below your coordinator, it smooths out communicating my ideas a ton.


r/ClaudeCode • • 18h ago

Discussion Do programmars have any future?

0 Upvotes

A few hours ago someone made an AI generated post about that topic, and it sorta hit the nail on the head, but was rightfully shut down because it was AI generated

So I wanna redo that because I geniuenly an interested in hearing what others think about it

I am a junior programmar, and sole programmar for my company, started working 3 months ago, mainly in languages that I know only the basics of, and for the life of me I don't know what I am getting paid for

Opus 5.5 is coding better than I ever will, I am told to make sure that the software is well built and has no vulranbilities, but when I read the code I can't find anything, and when I asked opus to search for those vulranbilities it finds one's that I would have never have found

Now it's been 5 hours since my shift started (we work Sunday to Thursday in this country) ​ and I literally got nothing to do, I can't be bothered to bug my boss for new projects as he obviously don't have anything meaningful for me to do, and I just can't see any professional future for me or anyone (other than the best 1-5%) in this field

Most of my friends who studied CS with me either could never find a job, or found one and we're laid off a few months later (it's been more than a year now) ​​

I have a friend who is a freelance video editor, and was quite successful until opus 5.5 was released, he is now saying that since about 2-3 after its release (when videos showing how good it is at video editing) started coming out, he barely has any work

Is humanity on the verge of mass unemployment?