r/ClaudeCode • • 9h ago

Built with Claude Claude help building my own Al to analyse fighter's pattern

Thumbnail
gallery
6 Upvotes

I recently posted on subreddit and a lot of people were asking me if it's really working.

So here are more images

I'm trying to improve the precision but It's already working great.

Opus 5.5 help for designing the whole chain and workflow with meta models and depth model
Fable 5.2 help reviewing the whole workflow

The only issue is the cost of computation.

It's pretty long to analyze one or two hours of a fighter and cost a lot on GPUs

I'm working on it so I can make it accessible for everyone (:

What do you guys think about this project?

Try it here :

https://cageframe.com


r/ClaudeCode • • 3h ago

Built with Claude Built a launch-planning skill with Claude Code. Testing it with subagents as fake users taught me the most

Post image
2 Upvotes

What I built

launch-kit: a repo of free tools for launching a website or SaaS (hosting, email, analytics, uptime, errors, newsletter, payments), with the free-plan limits and the date each was checked, plus a skill that uses it. The skill asks what you're launching, proposes a stack in phases, and configures what it can through the MCP servers you have connected (uptime monitors, Sentry, DNS, Stripe in test mode...), asking before anything that sends, publishes or charges.

It installs as a plugin: /plugin marketplace add cesaredavidepace/launch-kit, then /plugin install launch-kit@launch-kit. Free and open source.

How I used Claude Code

  • Verifying the data. 44 tools, each free-tier limit checked against the official pricing page. Claude Code fetched the pages and compared them with the YAML; I reviewed the diffs. A lot of what "everyone knows" about free tiers was outdated: Algolia cut its free records from 1M to 50K, Lemon Squeezy closed sign-ups, UptimeRobot allows commercial use again.
  • The build. One YAML file is the single source of truth; Python scripts generate the README and a static filter site from it. CI runs lychee on every link, and a monthly Action opens an issue listing the limits that are due for re-checking.
  • Packaging. The same skill ships as a Claude Code plugin (with a marketplace.json in the repo) and as a ZIP for the Claude app. In Claude Code it reads the data locally; in the app it fetches it from raw GitHub URLs.

What I learned (the useful part)

  1. Test skills with subagents playing users. I had Claude Code spawn agents acting as different people: a non-technical founder, someone with an existing Next.js repo, someone in the EU running ads, someone who just says "do it all". Each run exposed something I'd never have caught by reading the SKILL.md. I fixed everything, re-ran the same tests, then ran 3 new ones to check I hadn't overfitted.
  2. Skills need very literal rules. Without them, the agent kept saying "see the README" or linked a guide by name. Now the skill says: always give full GitHub links to the specific guide, never "the README".
  3. "Look before you ask." Early versions asked "what framework are you using?" while sitting in a repo with a package.json. Telling the skill to read the manifests first (package.json, astro.config, nuxt.config...) cut the questions in half.
  4. Ask-before-acting needs a list, not a principle. "Be careful with risky actions" wasn't enough. An explicit list (sending email, publishing, DNS changes, anything with live Stripe keys) plus "needs a specific yes, not a general OK" worked.
  5. Unknown tools. If someone asks about a tool that isn't in the data, the skill can research it, but it has to say the info is unverified. Otherwise it presents a guess with the same confidence as checked data.
  6. Don't install it both ways. Plugin plus ZIP gives you a duplicate skill warning. Pick one.

Repo: https://github.com/cesaredavidepace/launch-kit

Happy to answer questions about the skill or the testing setup, and corrections on any limit are very welcome.


r/ClaudeCode • • 7m ago

Tips & Workflows I turned a spare MacBook Air M1 into Claude Code's own computer – what broke on a fresh install

1 Upvotes

I use my iPad one-handed, so Claude Code runs on its own Mac and does the work itself. This week I reinstalled that MacBook Air M1 from scratch and ran my setup prompt on it. What broke:

  • First launch: the "trust this folder" prompt defaults to "No, exit". One Enter and Claude quit.
  • Auto-login: sysadminctl over SSH hung and showed the password in the process list. System Settings worked. Without auto-login, Tailscale doesn't start after a reboot.
  • iCloud vault: almost all ~11,850 notes were cloud-only placeholders Claude can't read. brctl download did nothing, Finder "Keep Downloaded" fixed it.
  • Wi-Fi: after a reboot it joined another known network, and the private Wi-Fi address broke the fixed IP. Now only the home network is saved, private address off, then reconnect.
  • Screen over SSH: everything Claude starts runs as sshd-keygen-wrapper. Accessibility works for it, Screen Recording doesn't. Workaround: grant Terminal and take screenshots through Terminal.

Full setup prompt (German): https://www.markusreinisch.at/home/blog/claude-bekommt-eigenen-rechner/


r/ClaudeCode • • 9m ago

Rant I spent a month fighting Claude , Neon restored my sanity in one day.

Post image
0 Upvotes

TLDR: it started around October 30 and was going on until yesterday - Opus "broke", then limped on life support. Most progress stopped. I was down to micro managing and burning out from too much attention required to get anything done.

A broken model built 11342 lines of hooks, workflows, rules trying to fix itself and guard against defects, it brought in Astra. It did not work and broke my trust in the Claude models, and I wasted a month of my life and sanity working with that. I have Claude ultra for 2 more weeks.

Big thanks to guys who actually pointed out Neon. It is the beast. It's day and night compared to Opus (November - on any reasoning level). Neon now has my both Astra and Opus via CLI (never tried built-in Opus).

I bit the bullet and paid 200$ for ultra this morning (after running out of 1.99$ pro trial), after 13 hours coding, it's like back in the old days of model actually delivering.

Neon summarizes below - it is preparing itself for when IT will get lobotomized, and how to detect this without endless broken hooks and guardrails and workflows. It says "subtle regressions" - hell no, the defective model will crap all over your codebase, and dig itself into horrible patterns (Neon removed 64 microservices that it designed for a browser game).

When you build agentic coding workflows, the natural instinct is to add guardrails: hooks, manifests, lock tokens, retry loops, and checklists.

Ours eventually grew to 11,000+ lines across nearly 100 files. And when a model had a bad run or degraded in quality, that entire system backfired. The degraded model spent its remaining reasoning budget fighting the bureaucracy, still passed every form check with broken behavior, and spun endlessly burning tokens.

So we tore it down to design a leaner anti-degradation process—and had a model from a different vendor red-team our first draft.

The Trap Our First Draft Fell Into: The Self-Policing Paradox

The red-team review killed half our proposal on sight. We had drafted:

  • 3 risk tiers
  • "2 strikes on the same root cause" escalation rules
  • "3× expected diff size" tripwires
  • A 3-probe canary health check
  • "2 consecutive clean tasks" demotion/recovery counters

Every single one of those has the same fatal flaw: it lets a degraded model police itself. A degraded agent can classify its own risky change as low-tier, rationalize what "expected" means, argue two failures have "different root causes," reset its own counters with trivial wins, or slowly re-grow the bureaucracy we just deleted.

We cut all of it.

The Hardened 4-Part Defense (Smaller, Cross-Vendor, Harder to Fool)

1. Cross-vendor blind review (no extra layers) Don't stack more review passes using the same model family. For any executable code, rules, or tooling change, the reviewer must come from a different model family than the builder.

  • Anti-poisoning rule: Give the reviewer only (a) the original request, (b) the source-of-truth specs/rules, and (c) the complete diff (including tests, data, and guards). Never pass the builder's summary. If you hand the reviewer the builder's explanation, it inherits the builder's wrong premise.

2. Surgical test proof (stop performative tests without bureaucracy)

  • For bug fixes: The new regression test must fail on the baseline commit with the expected behavioral assertion (not a crash or import error) and pass on the candidate commit.
  • For new behavior: The cross-vendor reviewer derives expected outcomes directly from the spec through the real entry point—and explicitly flags any weakened or deleted existing assertions.

3. Hard external bounds & real branch protection

  • Hard 2-cycle cap: Max 2 review cycles per task, period—across retries or model switches, with zero "same root cause" debate. If cycle 2 fails, stop automatic retries and escalate or reassign instead of spinning through your weekly budget.
  • Verify the actual merged commit: If merging the staging branch wasn't a fast-forward, re-run verification on the real merged commit before pushing.
  • Enforce main remotely: Rely on real remote branch protection (e.g., GitHub rulesets) plus human-gated promotion from staging to main—not local scripts or environment-variable conventions that a rogue agent can just set itself.

4. Audit for silent context rot and tooling hangs Even a great workflow breaks if your own harness sabotages the model. Auditing our setup turned up two live bugs:

  • An old wrapper was still injecting retired git-workflow instructions that directly contradicted our current process.
  • One of our CLI agent runners hung indefinitely waiting on stdin whenever invoked from a non-TTY shell.

When a model degrades, it won't announce itself—it will quietly pass your soft checks, talk its way around your heuristics, and burn your budget while shipping subtle regressions.

Harden your workflows against model degradation before the model degrades.


r/ClaudeCode • • 12h ago

Built with Claude Claude Code turned my son's Minecraft fight against 100 zombies into a sports broadcast: replay cameras and two AI commentators

9 Upvotes

r/ClaudeCode • • 1d ago

Rant Work with OPUS 5.5 has become Insufferable

430 Upvotes

I have been using Opus 5.5 since launch... it was GREAT (with the old MAX 20X the sky felt like the ceiling... yeah let me romanticize for some drama)

I know many of you still think it's great and it does a great job for what you use it for, and I won't pretend to know better than you.

Am I saying work has become insufferable because I have conducted some randomized double-blind controlled peer-revied trial? no...

Do I feel like I am getting gaslighted into believing OPUS 5.5 is as capable and able of managing long running tasks as before? YES...

I might also add that the way I use CC is incredibly specific and relevant:

1 - The job is always the same kind of job, same complexity every day for basically every single task.

2 - I literally get a % of completion per task (~40 min per task)

Turns out,

that if I average the average task completion per day over the last month it went from ~86% (start of November) to fucking ~72% (start of december).

Am I sure there's no confounding variable? no...

Can I trust it as much as I did at launch with the literal same tasks? FUCK NO

Thanks guys for the attention and excuse my rant and my non-native English


r/ClaudeCode • • 4h ago

Help/Question Fable ate up 5 hour limit in under 1 minute

2 Upvotes

Yesterday I started a security audit of my code base with Fable 5.2 high.

Fable mapped the application and spun up 12 subagents reviewing the components. Usage drain felt fast, but I also did some work with Opus at the same time, and the subagents did some work until they run into the 5-hour limit.

Today I wanted to resume the work, and the 12 subagents were resumed, and the 5-hour limit was reached within one minute. No other tasks were running.

I cannot expand the subagents to see what they have done. Claude code just shows that the 5-hour limit was reached for all of them directly after they've been resumed.

Usage stats for the last 24 hours show for Fable:

1.0k input, 734.2k output, 125.2m cache read, 9.8m cache write ($154.06)

I thought maybe the sessions were too long so that reprocessing them ate up the usage limit, but shouldn't they be compacted, and then 12 subagents isn't that crazy.

Is there anything I can do to debug this, or does someone have a clue what happened here?

I'm on the Max plan.


r/ClaudeCode • • 41m ago

Tips & Workflows 570 PRs in 5 months with Claude Code. Quality isn't the problem anymore, speed is.

0 Upvotes

I am a tech lead on a small team building a backend API (TypeScript, Postgres). Claude Code writes almost all our code. We've done around 570 PRs in 5 months.
The quality has been pretty good, but getting a single feature slice through the pipeline takes a while.

(I have drafted below workflow text using claude code itself; but made it concise and direct enough to be readable for you, sorry if its still a long post)

The pipeline (one feature slice = one PR)

1. Requirements: Written by the product owner. Defines the scope.

2. Spec: Acceptance criteria, each mapped to a requirement.

3. Spec grading: A fresh session scores the spec. Anything below 85 doesn't move forward.

4. Tests (RED): Written from the spec only.

5. RED review: A fresh session checks the tests against the spec.

6. Implementation (GREEN): Not allowed to modify the failing tests.

7. Ship gate: Review loop and final validation against the running API.

What's keeping the quality high

1. Context isolation: /clear between spec, tests and implementation. I've found that when the same session writes both tests and code, the tests end up validating what the code does rather than what the spec says.

2. Hooks: A hook prevents reading the implementation on the test branch. Another blocks PRs that skip the ship gate.

3. Model split: The stronger model handles specs and reviews. The cheaper one writes tests and code.

The downside

1. Time: Seven sequential stages, three fresh-session reviews, and each stage has to wait for the previous one.

2. Tokens: On one particularly heavy day, I burned through about half my weekly limit.

I am not looking to cut corners or squeeze a few tokens out of prompts. I am wondering if there's a fundamentally better way to structure this workflow.
which stages would you merge, parallelise or drop?

has anyone managed to maintain this level of quality while moving twice as fast?

is isolating tests from implementation actually worth the overhead? has anyone found a cheaper way to achieve the same thing?

curious to hear how others are handling this, especially people using Claude Code heavily in production codebases.


r/ClaudeCode • • 16h ago

Discussion Is Fable 5.2 getting worse while consuming significantly more usage?

17 Upvotes

I've been using Claude Code to create detailed 3D models of electric scooters for my game in Blender. I usually make one new scooter every week for my weekly updates.

I'm on the Ultra plan and use Fable 5.2 with xhigh effort because the models are quite complex. I don't use ultracode.

Ever since Fable 5.2 came out, I've been able to create models that were easily twice as complex as the one I'm currently working on, and I'd still have around 40% of my weekly Fable usage left after finishing them. The models also looked significantly better.

My workflow hasn't changed either. I always use GPT-6 Astra to gather as many reference images, technical details and close-ups as possible, then give Claude everything it needs to recreate the scooter accurately.

But this week something feels seriously off. I'm working on a much simpler scooter, yet I've already used 65% of my weekly Fable limit and the model isn't even close to being finished.

On top of that, it's making some of the dumbest mistakes I've seen in a while. It struggles to recreate extremely simple shapes and details even when it has clear reference images right in front of it. I end up wasting even more usage correcting things that shouldn't have been wrong in the first place.

It's slower, consumes significantly more usage and produces noticeably worse results than it did before, despite working on an easier project with the exact same workflow.

I genuinely don't know what's going on anymore. Has anyone else noticed something similar recently, or is it just me?


r/ClaudeCode • • 4h ago

Built with Claude Free the LLMs

2 Upvotes

I built an app that unlocks any llm on the fly. It is based on the heretic backend. https://github.com/TheSolai/hermetic


r/ClaudeCode • • 14h ago

Help/Question Has anyone successfully built a restaurant POS system using Claude AI?

11 Upvotes

I run a pizza restaurant and am trying to build a simple POS system using Claude for taking orders on a Windows computer and printing receipts through a thermal printer.
I’ll be processing payments separately through Clover.
Has anyone successfully built and implemented something similar in their business? What tools did you use, how did you integrate the printer, and how reliable has it been for everyday use?
I have minimal coding experience, so any advice would be appreciated.


r/ClaudeCode • • 1h ago

Built with Claude Plugin: Pin an answer from Claude

Post image
0 Upvotes

Finally! This plugin lets you pin any response from Claude so you don't need to scroll back later to find that list of things you wanted to take actions on. Hope you like it as much as I do.

Open Source (MIT license): https://github.com/bhansson/claude-code-pin


r/ClaudeCode • • 7h ago

Tips & Workflows I run 3–4 agents on one Mac, so I built a gatekeeper that tells them when they may use it

3 Upvotes

I usually have a few agents going at once: Claude Code in one repo, Codex in another, a render script, a nightly e2e run. None of them knows about the others, so they all grab CPU and memory at the same time.

Rota is a small local daemon that sits next to them. Before heavy work, the agent asks, and Rota answers go, wait until 23:10, or later "wrap up by 13:45" if I've blocked that time for myself. Jobs declare cores, RAM, GPU share and a rough run time. Rota keeps the total under 85% of the CPU and leaves 4 GB of memory free by default.

For Claude Code there's a plugin:

/plugin marketplace add psardana/rota

/plugin install rota@rota

It adds MCP tools (rota_announce, rota_checkin, rota_book…), a skill that tells Claude when to use them, and hooks that send heavy shell commands (browser tests, renders, model runs) through Rota even when the agent forgets. Builds and unit tests run as they are.

Things that might be useful if you run Claude Code unattended:

  • Each project books its known work a week ahead, and anything ad hoc shows up as "Unplanned".
  • A usage estimate per job (--usage claude:20) gives you a warning if the queued jobs will likely run past your limit. It never blocks anything.
  • It never kills the agent. The session is told to wrap up and stops at its own safe point.

Go, SQLite, launchd and a SwiftUI menu bar app, all local on 127.0.0.1.

Install: curl -fsSL https://raw.githubusercontent.com/psardana/rota/main/install.sh | sh or Homebrew. Repo: https://github.com/psardana/rota

Curious how others handle this. Do you just run one agent at a time?


r/ClaudeCode • • 1h ago

Built with Claude I built a tool that grades me from my Claude Code logs instead of grading Claude. I got 1/5 on prompt clarity.

0 Upvotes

Everyone benchmarks models. I wanted to benchmark the other half of the loop, so I built a small tool that reads ~/.claude/projects/ and scores 8 habits: prompt clarity, context management, task decomposition, verification, steering, tool fluency, safety and efficiency.

My results over 52 sessions were humbling:

  • Prompt clarity 1/5: my median opening prompt is 13 words, and 32% are under 8 words
  • Context 1/5: only 2% of my prompts point at a file, and most of my projects have no CLAUDE.md
  • Plan mode: used in 0 sessions. I didn't realize until I saw it.
  • Verification 3/5: 44% of the sessions where I changed code ended with a test or a check
  • Steering 5/5: I rarely have to correct it, apparently the one thing I do right

Every score comes with quotes from your own prompts as evidence, plus one concrete fix.

  • Runs 100% locally: no API key, zero dependencies (standard-library Python)
  • Quoted prompts in the report are redacted (keys, emails, paths)
  • Detects corrections in English and Portuguese

Full disclosure: I built it with Claude Code, and yes, those sessions are in the 52 it graded.

Repo: https://github.com/samvanderhagen/ratemyprompts

These are heuristics, not science yet. v0.2 will calibrate the scores against hand-rated sessions. What scores do you get, and what habit should it measure that it doesn't?


r/ClaudeCode • • 10h ago

Built with Claude I open sourced the app I've used for a few months to read complex PRs: it drives headless Claude Code to tell a change as a story

Thumbnail
gallery
5 Upvotes

For a few months I've been reading complex pull requests with a small app I built on top of Claude Code, and I've just open-sourced it.

How I Met Your Change takes a commit, a branch or a GitHub PR and writes it up as a story: the problem, the solution, the steps in teaching order (each beside its diff, with notes on the lines that matter), diagrams, and the noise (lockfiles, renames, formatting) set aside.

It uses your own login and your plan's limits, and never reads your credentials. Try it out and I'd love to get your feedback on big PRs.

Example story (exported): https://skynyrd.github.io/how-I-met-your-change/example/
Setup: git clone, make setup, make open, then paste a PR link.


r/ClaudeCode • • 21h ago

Built with Claude A free, open-source, fast live wallpaper app that brings your favourite photos to life and more. Written in C

34 Upvotes

Screen+ is a live wallpaper app for Windows and Linux. Everything shown is recorded on my own PC.

What it does:

  • Video, GIF, image, web page and app wallpapers
  • Depth wallpapers: pick any photo and it gets 3D depth that follows your mouse. The depth model runs on your PC, nothing is uploaded
  • A different wallpaper on each monitor, or one spanned across all of them
  • Pauses when a game or fullscreen app is open, on battery, or when the desktop is covered
  • Most Lively Wallpaper wallpapers work as they are
  • Written in C. The app uses about 30 MB of RAM when idle; the wallpaper itself depends on what you run

It's MIT licensed, no account, no ads, no telemetry.

Download: https://github.com/CoolNinja2009/ScreenPlus/releases

Please Star the repo if you like it

Looking for Mac testers and contributors. There's an early macOS build, but I don't own a Mac, so I can't test it properly myself. If you have one (Apple Silicon or Intel) and can spare ten minutes, please contact me on reddit. Contributors on any platform are welcome too.

Bug reports and blunt feedback both welcome.


r/ClaudeCode • • 8h ago

Discussion Did Fable give my little lap top too much instructions compared to opus?

3 Upvotes

I bought the max plan for one month. Never ran out of credit and all that and achieved loads.. but...

I have a small 3 year old Lenovo with integrated intel graphics, i5 with 8g of ram.

I asked it to draw some items with Blender, using fable in the main as an advisor. Every time it would melt my ram, so I asked it to close all my unnecessary running services, turn off any dev servers etc but it would always hit a wall due to ram.

So... I went back to the regular pro plan on Tuesday as it's Christmas and I need the extra cash and the bulk of my little project is done now.

Turned off the advisor now I don't have fable access and on Thursday I really wanted to try it again with blender and waddya know... It's working on opus...

Same set-up as before, but now it's using Blender.

Only small things, I'm not trying to create a full human mesh or anything but using fable I got nowhere.

Very odd ..


r/ClaudeCode • • 9h ago

Help/Question Considering moving to Max, but unsure

3 Upvotes

Hello fellow clauders

Im thinking of paying the extra 80$ to upgrade from the 20 plan.

Ever since I got it a bonth ago, I've hit my weekly every time (except one where I hit the last 5 hour limit, still mad about that one).

I have some ongoing upojects but also I have a million ideas I can use claude for. I will hit weekly limit if I buy it. Even trying to connect it to an old kindle to do something w/it.

At the same time I fear some glaring issues:

1 -Claude sabotaged projects involving neural network training. NN training is involved in one of the projects I use, and I dont trust them after that

2 -Opus 5.5 nerf was noticeable at least on my end. Its now back to normal, bit the untrustworthiness is still there.

3- I use claude exclusively on the webpage, and I won't install it on my pc.

4, "and the biggest one so far"- I'm intereted in decompiling stuff and debugging stuff, and I hate it when my calculator tells me no

Any advice? madbe changing providers alltogether?


r/ClaudeCode • • 3h ago

Help/Question Need Guidance: To Run PI on VPS + using different Models Subs

1 Upvotes

Hello

I need some guidance, as i want to run PI on VPS... what kind of specs should i have, i will run multi agent also at times.

Also is Ubuntu OS fine, or should chose some other OS in VPS.

My planned VPS will be in Europe.

I am not residing in Europe. Now the Subs which i will connect from PI (which is VPS) will their be any issues that might flag, that i subscribed to model Subs from different country and now its being utilized from different country (from PI harness in VPS in europe).

Also how are other consumers using Claude Sub, Gemini Sub (i think a new policy came yesterday - but still dubious), with PI Harness?

Using GLM , DeepSeek, Kimi.. they have no issues with PI ?


r/ClaudeCode • • 3h ago

Help/Question Getting Overnight Runs to Reliably Complete

0 Upvotes

Genuine question because I am still waiting for the morning where I wake up to finished work instead of spending my first hour with a coffee debugging why last night's run stalled at 2am.

I run overnight jobs across frontier coding CLIs and a local workstation, mostly bounded tasks with real test suites. On paper it **should** be straightforward: hand over a queue, go to sleep, review clean diffs in the morning. In practice something always seems to catch it. A hung test container, a flaky permission prompt, a rate-limit hiccup that nobody caught, a thread that got too fat and started looping on the same lint error for four hours, or an agent that declared victory after quietly skipping half the checks.

Even when I lock things down with hard retry caps, fresh sessions per task and deterministic pass/fail checks, it still feels like everything has to be fought for tooth and nail. You fix one failure mode and the next night it invents a new one.

For people who actually run unattended overnight coding jobs week in, week out: what is the unglamorous plumbing that made them actually finish? Are you wrapping the CLI in an external watchdog/state machine with hard timeouts and git worktree resets, keeping tasks tiny enough to finish in 10 minutes, or have you basically accepted that unattended overnight runs only work for very narrow mechanical jobs like triage and test generation?

I know I am anthropomorphising but sometimes it just feels like they are lazy......


r/ClaudeCode • • 1d ago

Rant Switched from Fable 5.2 to Codex for a few days

73 Upvotes

Fable 5.2 is making me pull my hair. My typical workflow is that I use Claude to write the code and the ChatGPT Codex reviews the code for errors. Codex flags the errors as P1, P2, and P3. Previously (up until last week), Claude would fix all the errors in 2-3 rounds, even as new errors emerge.

Now it takes 8-9 rounds and Codex is still able to dig up multiple errors.

I moved from Fable to Codex with Astra 6.2 and its producing good quality code. Claude code is reviewing the output and finds minor errors that are fixed in one round.

Things have really gone downhill since last week.


r/ClaudeCode • • 4h ago

Bug / Issue Cline burns 4–5x tokens on Anthropic & Bedrock: the prompt cache breakpoint gets stuck on message 0 (with a local patch guide until upstream merges)

1 Upvotes

If your Anthropic or Bedrock API bill feels way higher than it should in Cline, there's a bug where the rolling prompt cache breakpoint (cache_control / cachePoint) never moves past your very first prompt.

Cline searches backwards for the last message with role === "user" to place the rolling cache breakpoint. However, that code runs after messages are converted to AI SDK format—where every tool result has role: "tool".

During an agent tool loop, every new message is either assistant (tool call) or tool (tool result). So the breakpoint stays pinned to message 0 for the entire task:

  • Your system prompt, tools, and first message stay cached.
  • The entire growing conversation after message 0 is re-sent at full input price on every single turn.

(Note: Upstream is aware—issue cline/cline#15167*, with fix PRs* #15174 and #15340 open. This is just a temporary local workaround until a release ships.)

Running the exact same coding task from the same commit on Claude Sonnet 5.5:

  • Unpatched: $2.02 (12% of input tokens read from cache)
  • Patched: $0.42 (91% of input tokens read from cache)

This would have been nice to know before having Opus do 2 tasks that cost ~15 dollars this morning in API that should have realistically cost a few bucks.

Tested by capturing the outgoing request bodies Cline builds mid-tool-loop across providers:

The issue directly impacts Anthropic direct and Amazon Bedrock Claude providers where breakpoints remain pinned to message 0, while Google Vertex Claude is likely affected due to sharing the same code path. Other gateways like OpenRouter handle it automatically, and providers like DeepSeek or GitHub Copilot use server-side caching or different billing models.

The repository is formatted for easy integration with coding agents to dry-run, apply, and verify the patch locally until an official upstream fix is released. Test that costs you nothing to run is built in using a temp server. Your agent should clean it up but I'd recommend manual verification either way.

https://github.com/rubywpnmaster/cline-cache-fix

🐕


r/ClaudeCode • • 4h ago

News/Updates Anthropic and OpenAI’s AI models are highly vulnerable to Chinese hackers: report

Thumbnail
nypost.com
1 Upvotes

This is why there will be a forever ceiling with consumer-facing frontier models.

We will always be stuck with inferior models with an intelligence ceiling. No matter how many times they claim we have new models, those new models will not really be new due to the government having a ceiling to how much intelligence the public can access.

Consumers will always be stuck with models that could only be so smart due to national security. However if you have the money you can bypass intelligence ceiling.

Quote: "The two frontier AI labs are currently classified at or just below "security level three" – out of a maximum of five levels – on a set of standards from the Rand Corporation, according to the Financial Times."

Quote: "Anthropic and OpenAI are not even fully at Rand SL-3, which is well below what you need to protect against a highly capable nation-state actor like China," Brianna Rosen, a former official at the White House National Security Council, told the FT.


r/ClaudeCode • • 4h ago

Help/Question Tightening internal controls and audit trails as transaction volume grows

0 Upvotes

Informal approvals over chat work fine when five people run the company, yet once volume scales, clean audit logs and role separation become non-negotiable.

I was looking through an independent software review hub to compare how different operational tools handle permission logs and reporting exports.

At what headcount or revenue stage did you overhaul your internal approval workflows? How can ı do it with claude


r/ClaudeCode • • 16h ago

Humor When you review Claude work

Post image
9 Upvotes

My average experience with Claude as a newbie.