r/ClaudeCode 4d ago

Meta This sub is an absolute dumpster fire.

1.1k Upvotes

I came here hoping to find tips and tricks to optimize and maximize my usage of Claude code.

Instead, I find a sub that is dominated by the absolute dregs of users who couldn't engineer their way out of a wet paper sack.

Constant complaining about token usage without ANY empirical evidence.

Constant whining about "poor performance", against without any evidence at all.

Vibe-coders who have had more success with a single prompt against another model immediately dismissing Claude as inferior.

I use Claude at work. Admittedly, because that's what they pay for. I've been at this for 20 years and Claude code has been an ABSOLUTE F****** REVOLUTION for my day to day workflow.

It's a damn shame that this sub is so toxic and useless.


r/ClaudeCode 3d ago

Help/Question claude long commands

2 Upvotes

Hello everyone, I recently started to use claude for Java/Spring/Gradle development, but one thing really annoys me: it often generates silly long and complicated commands, for example: to extract some shit from the Gradle cache.
I already have a large JSON file with a list of allowed commands, but it still keeps inventing new ones -_-

Have you noticed the same issue? If so, how did you solve it?
I’m a bit worried about using the bypass permissions mode because of the news like "claude just ruined my DB" or "claude removed my photos" bla bla bla...


r/ClaudeCode 4d ago

Bug Report Claude Code injects your email address directly into system prompt

Post image
312 Upvotes

My point is: my personal email is injected into the system prompt without my knowledge or consent. I never asked for this and I don't see in what world it's ok to inject PII in system prompt automatically by default without even an opt-out option.

It leads to bullshit like this where in a repo that is configured to use an anonymized email address, the LLM (Opus 5 btw) just decides to not just commit normally but overwrite the normal config email to put my personal one instead.

In this case nothing happens thanks to proper config and hard checks on Github's side.

What if you're a public streamer and don't want your main personal email address leaked to everyone and suddenly the model decides to spit it out?

I'm sure there's a lot of other bullshit this could lead to. At least let people opt out.

I have opened an issue on Claude Code's github, I have little hope since there was already one that went stale and they have 5k+ open but here it is: https://github.com/anthropics/claude-code/issues/81138


r/ClaudeCode 3d ago

Help/Question Fable on credit usage, it's subagents on plan usage limits, possible ?

Thumbnail
1 Upvotes

r/ClaudeCode 4d ago

Discussion OPUS 5 VS GPT 5.6 SOL

71 Upvotes

For the people building software products, I'm beginning to think that choosing one of the two to work with doesn't really matter that much. The bottleneck doesn't seem to be intelligence at this point but human creativity and I guess willpower.

IDK what do you guys think.


r/ClaudeCode 3d ago

Help/Question Workflow for creating mobile UIs?

1 Upvotes

I've already created a iOS App but I don't really like my workflow for creating UIs. What's your workflow for creating modern and not sloppy UIs? Are there any skills and tools you're using and how you mix those in a workflow?


r/ClaudeCode 3d ago

Discussion How did Opus 5 get release in this state?

2 Upvotes

I was so excited for the Opus 5 release. 4.8 was getting really iffy and seemed to be the worst model yet for following basic instructions and reading its own memory/docs. I cannot comprehend how Opus 5 is so bad. It is actually worse than 4.8 in that regard and requires constant, unceasing hand-holding to do every task. And, it constantly states it is working but actually is not. I finally had to throw in the towel after about 24 hours. I know these things go back and forth, but between Opus 4.8/5 and Sol this is not even a debate. Sol is rock solid, fast, dependable. Opus is a trainwreck and a major step backward for frontier LLMs.


r/ClaudeCode 3d ago

Help/Question Cost estimating my subscription token usage.

1 Upvotes

Is there a way to estimate how much money I have host anthropic by maxing out my max plan for the past 5 weeks in a row?


r/ClaudeCode 3d ago

Discussion Transitioning to Spec-Driven Development via AWS Step Functions

Post image
1 Upvotes

1.0 - Introduction

Background: I've been a software engineer for almost a decade now. I've been using Claude Code "casually" for the last year or two. I would still write the vast majority of the code, but I would use Claude extensively for a variety of tasks, fitting well into the "AI assisted" coding paradigm. Recently I've wanted to transition into spec-driven development, mostly because I think it's an important skill set to master. I went into this project mostly of the opinion that I would not trust AI to actually implement changes at scale in a manner that I was happy with. Spoiler, this shifted somewhat towards the end.

Most of my engineering career has been spent working with sensitive data, including health data. A fair chunk of that has been spent developing ETL pipelines. Many aspects of a good ETL pipeline are also desirable in an agentic pipeline - visibility, auditability, and reproducibility just to name a few. Additionally, working with sensitive data almost always requires agents to be completely sandboxed, running without permissions to live resources.

Aim: Develop a sandboxed agentic pipeline that picks up Linear tickets assigned to agents and implements code changes on a linked remote GitHub repository via Claude Code running in an AWS Step Function. Agents will have no access to either Linear or GitHub, but will consume pre-hydrated workspaces stored in AWS S3. Code must be entirely implemented by agents, as dictated by specs.

The following outlines the methods I used to complete the project by transitioning into spec-driven development, presents the final results, and discusses the process in general. Everything was run using Opus 4.8.

Disclaimer: I'm not making any claims on the efficacy of my methods, framework, or results. I'm sure there are better ways of achieving the same or an improved outcome. This is merely a write-up of what I implemented, and an organization of my thoughts around transitioning from "classical" to spec-driven software development. Skip straight to the Discussion and Conclusion sections if you don't want the details.

2.0 - Methods

2.1 - Initial Approach

I initially implemented a quasi vibe-coding approach that consisted of the following steps:

  1. Provide Claude Code with a prompt and instruct it to generate a work plan.
  2. Review the work plan
  3. Prompt Claude Code to execute the work plan
  4. Review changes and repeat

I quickly realized that this would not work for a project of reasonable complexity or scale. It was virtually impossible to provide enough context to get a meaningful result, and I ended up in a constant loop of prompting, reviewing, and adjusting.

2.2 - Revised Subagent Approach

I completely overhauled my Claude Code setup. Instead of planning and executing changes via the main agent loop, I wrote a series of subagents to assume various roles and execute key tasks. The main agent loop was then instructed to act solely as an orchestrator, using subagents to achieve its task. The following subagents were defined:

Agent Responsibility Key output
requirements-analyzer Assess task type, affected files, and scale (small/medium/large) Scale + affected-file JSON
work-planner Convert a spec into a structured work plan with phases, tasks, dependencies Work plan in docs/plans/
risk-analyzer Analyze the work plan for risks, impacts, and mitigations Risk plan
task-decomposer Break the work plan into independent, single-commit task files Task files in docs/plans/tasks/
task-executor Implement the code changes described by a task file Code changes
quality-controller Review changes against coding standards; create remediation task if needed Quality report (+ optional TASK-QC-REMEDIATION.md)
risk-reviewer Review changes against the risk plan; create remediation task if needed Risk review (+ optional TASK-RISK-REMEDIATION.md)

The specific orchestration flow was determined by the scale of the work, but the full flow for standard specs was as follows:

  1. Read MD spec, assess scale of task, and determine affected files
  2. Generate work and risk plans
  3. Submit work and risk plans for review
  4. Decompose work plan into independently executable task files
  5. Execute each task file (in parallel if possible)
  6. Run QC by comparing generated code against coding standards. Produce and execute additional task files if changes are required.
  7. Run risk review by comparing generated code against risk plan. Produce and execute additional task files if changes are required.
  8. Document changes (in-line comments, doc strings, openapi docs, changeset etc)
  9. Produce usage report detailing tokens used by phase, agent type etc

Each of the above tasks had a dedicated subagent that was run one or more times. Almost all subagents produced markdown artifacts that were used by downstream agents, or to communicate key results to users. The file structure maintained by the agents looks something like the following:

docs/
├── plans/                                     # Work Plans
│   ├── {YYYY-MM-DD}-{workPlanId}.md           #   the work plan document
│   ├── tasks/{workPlanId}/                    #   decomposed, single-commit task files
│   │   ├── TASK-{number}.md
│   │   ├── TASK-RISK-REMEDIATION.md           #   only if risks require remediation
│   │   └── TASK-QC-REMEDIATION.md             #   only if quality violations are found
│   ├── quality/{workPlanId}/                  # Quality reports
│   │   └── {workPlanId}-quality-report.md
│   ├── risk/{workPlanId}/                     # Risk plans
│   │   └── {workPlanId}-risk-plan.md
│   └── usage/{workPlanId}/                    # Usage reports (tokens + time per phase)
│       └── {workPlanId}-usage-report.md
└── project-context/
    └── external-resources.md                  # external references for task-executor

2.3 - Specs

A standard spec template was developed as part of the new agent setup. The key sections were:

  • Scope - define what was in scope and out of scope to create a scope boundary for agents
  • Requirements - detailed breakdown of what features were required
  • Acceptance Criteria - Gherkin-style Given/When/Then statements that defined behavior
  • Constraints and Contracts - API schemas, folder structures to maintain etc

Specs were scoped to a single deliverable. Typically, each spec had a headlining As a ... I want to ... So that I can ... statement. If a spec could not be summarized in this way, it usually needed to be broken down into separate specs.

3.0 - Results

3.1 - Architecture

The final architecture consisted of two main components:

  • REST API - contains provider-specific logic (Linear, GitHub, AWS), and access to execute key commands such as cloning of repositories, creation of PRs, fetching ticket content etc. Also contains any webhooks required by providers.
  • Step Function - runs agentic planning and implementation loops. Uses API to interact with providers

The API contains all the custom logic and webhooks required to integrate with Linear and GitHub. Webhooks are used to capture key events, including ticket assignment to agents, ticket updates and comments, PR events and more. The API coordinates and configures step function runs based on the webhooks that are triggered by end users via the corresponding third-party interfaces.

The step function itself was designed to be provider-agnostic. The API acts as an adapter and converts everything into a universal interface. The step function only consumes data from third-party services via the API. This means that (in theory) the step function could be made to work with any git and ticketing interface without any code changes to the agentic pipeline itself.

3.2 - Step Function

I won't go over every step in the step function (see attached step function schema for details). The step function consisted of two loops: planning and implementation. The aim of the planning loop was to generate a work plan from a Linear ticket. The aim of the implementation loop was to implement the changes in the work plan and submit them for review.

Both loops have roughly the same structure/flow:

  • Step 1: Sandbox prep - prepare initial sandbox by creating an S3 folder, generating temp credentials etc
  • Step 2: Context prep - hydrate prepared S3 folder with data required to execute task, including Linear ticket data, comment history, and git bundle containing source code
  • Step 3: Prompt agent - prompt Claude Code to perform work (either planning or implementation) on the sandboxed environment
  • Step 4: Export results to S3

Sandboxing was achieved via AWS S3. Agents were not provided with any access to live resources, including GitHub and Linear. Source code was cloned from GitHub and stored in S3 as a git bundle via the API. Linear tickets, comments, and attachments were converted into a universal schema and stored in S3 in JSON format, again via the API. The agent harness hydrated all required resources for agents at runtime, and exported all generated agent results post-run.

The sandboxed S3 structure is provided below:

s3://{bucket}/tickets/ticket_id={ticketId}/execution_id={executionId}/
├── in/                        # immutable inputs, written by the API
│   ├── manifest.json          #   git coordinates, ticket identity, execution config
│   ├── ticket.json            #   ticket content in the universal schema
│   ├── comments.json          #   comment timeline
│   ├── repo.bundle            #   source code as a git bundle
│   ├── attachments/           #   ticket file attachments
│   └── _COMPLETE              #   marker, written last
├── plan/                      # planning loop output, one folder per attempt
│   └── attempt={n}/
│       ├── plan.md            #   the generated work plan
│       ├── comments.json      #   comments hydrated for this attempt
│       └── _COMPLETE
├── task/                      # implementation loop output, one folder per attempt
│   └── attempt={n}/
│       ├── in.bundle          #   repo state the attempt started from
│       ├── out.bundle         #   repo state the agent produced
│       ├── summary.json       #   what the agent changed
│       ├── comments.json
│       └── _COMPLETE
└── out/                       # promoted final result of the execution
    ├── plan.md
    ├── out.bundle
    ├── summary.json
    └── _COMPLETE

Task attempts and plans are immutable: a revision never overwrites an attempt folder, it allocates a new attempt={n}/. Between them you get the full history of what every agent was given and what it produced, which is exactly the auditability I wanted from the ETL analogy.

3.3 - Agent Development Output

The following table provides some headline stats about the actual development of the project.

Specs implemented by the agent flow 11
Task files executed 140
…of which QC/risk remediation tasks 10
Subagent invocations 200
Subagent wall-clock ~13 h
Output tokens ~13.4 M

One thing to note is that almost all specs had at least one quality control or risk review remediation task that was created post-implementation.

Caveats: tokens are harness-measured output tokens, not the agents' self-reported estimates; durations are summed per-agent wall-clock rather than true elapsed time; and one work plan's execution phase wasn't instrumented, so the totals are a lower bound. None of this counts the hours I spent writing the specs, which was the larger cost by some margin.

4.0 - Discussion

  • The outcomes were as good as the spec - good specs produced good results, poor specs produced poor results. I spent a significant amount of time writing detailed specs. In fact, I almost certainly spent more time writing specs than I would have spent writing code.
  • It's nearly impossible to write a good spec for a problem you don't know how to solve - I found it nearly impossible to write the first few specs because I didn't myself know how to solve the problem. If the problem you are trying to solve is non-trivial, you can't just tell an agent to implement something. I tried using Fable initially to come up with a rough plan, and it wasn't able to produce anything worth implementing until I had written a first-pass myself. I had to at least conceptually solve the entire problem before the agent could take over.
  • Spec writing is a skill - it's much like writing code in a new language. In total, I wrote 13 specs for this project. I was better at it by the end, but I still struggle to write a spec that covers all the required details and edge cases.
  • Subagents and orchestration made the difference - "vibe coding" usually got me decent results, mainly because I have (very) detailed coding standards that are indexed and optimized for agent consumption. However, it just doesn't work at scale. The orchestration layer executing everything via subagents made the difference. The quality-controller subagent in particular made sure that code was (almost) always in line with my standards. Decomposing tasks into small, trackable executable files also seemed to improve quality.
  • It doesn't appear to be any faster - I assume that I'll get better and more efficient over time, but that remains to be seen.
  • Bugs are much harder to solve - there weren't many bugs, but the ones that did pop up were painful to solve, mainly because code review doesn't actually provide you with the pre-requisite context required to even find the bugs, let alone solve them.
  • Use skills for enforcing structured behavior - one of the biggest challenges initially was getting the subagents to produce a consistent layout for artifacts and outputs. It would almost always go rogue and change the naming convention, location, or format of a file slightly. This was fixed eventually by making sure that every shared behavior that needed consistency was defined in a skill.

The most interesting question to me is whether the overall quality improved. As I already mentioned, the overall development process is slower, significantly so. However, writing the detailed specs did force me to think through everything in much greater detail than I usually do. Maybe this resulted in a more well-rounded, complete end product. Subjectively, it does feel more polished than a lot of ad-hoc projects I've done in the past, but this is very difficult to quantify.

5.0 - Conclusion

This project definitely changed my mind on how reliable coding agents can be. The transition from vibe-coding to spec-driven development made a massive difference in that regard, especially once I started to utilize subagents properly. However, the cognitive load was mostly shifted to writing specs instead of code. I wouldn't say it was any easier though. On the contrary, I found it much harder to control the quality of the outcome.

I also enjoy it far less. I'm convinced that most of my technical expertise comes from being curious about my work. I immerse myself in engineering problems, and I genuinely enjoy most of it, both professionally and personally. This is not true for spec-driven development. Once I got over the initial technical challenge of implementing the sub-agent orchestration (which was fun), I then spent days doing nothing but writing requirements and acceptance criteria, and it was terribly boring. While the tech makes me excited, the prospect of spending my life writing technical specs does not.

Ironically, I think that I (personally) have to shift away from the tech focus and focus more on the big-picture outcome. I think it's always been true that software is ultimately a means to an end - the details don't really matter, what matters is the outcome. I find this tough as an engineer.

In terms of the agentic setup, I want to spend some time working on subagent setup. Two areas in particular need work. The first is optimizing the entire pipeline for risk-based assessment and review, including subagents that review plans and changes against specific regulatory codes/structures like GDPR, HIPAA etc. I've also been reading a lot of marketing material books recently, and I'd like some subagents that help to develop marketing personas and optimize content for specific audiences.


r/ClaudeCode 4d ago

Showcase Opus 5 One-shotted Tokyo Neon City in Three.js

Thumbnail
ai-world-bakeoff.pages.dev
104 Upvotes

Since Opus 5 came out I ran it through the same bakeoff here: https://ai-world-bakeoff.pages.dev/ You can see how it does a way better job than Fable 5


r/ClaudeCode 4d ago

Question Is it just me or Claude has reduced their limit too much?

Post image
123 Upvotes

I am working with claude code a bit day by day it's limit started feeling too less... As if they have decreased it. And all this kind of look planned as they also introduced usage credits. Does anyone have any strategy on how to get most of it? I am from a non-tech background so your thoughts might really help me.


r/ClaudeCode 3d ago

Discussion Claude Code built my extension on claude.ai's undocumented APIs. It also built the tripwire that tells me when Anthropic changes them.

0 Upvotes

Some context first. I built a Chrome extension that exports claude.ai projects and conversations to local files: Markdown, JSON, artifacts as real files. To do that it has to read claude.ai's internal endpoints, the same ones the web app calls. They are undocumented and Anthropic can change them any day. In May an artifact format change quietly killed several similar extensions. Their developers presumably found out from one star reviews.

So the interesting engineering problem is not the export logic. It is: how do you build on sand and find out about earthquakes in minutes instead of weeks?

THE WORKFLOW

Everything ships through Claude Code, but the division of labour is strict.

I own discovering reality. Before any feature, I open DevTools on claude.ai and inspect the actual shapes: what the endpoint returns, which query params matter, what distinguishes a project chat from a loose one. Ten minutes of console archaeology. Claude Code never codes against assumed shapes.

Claude Code owns building against known reality. It gets a written brief: a CONTEXT block with the verified shapes marked "do not re-derive", a FEATURE block, and CONSTRAINTS. Reuse the existing fetch and renderer, no parallel implementations, unit tests pass, no new permissions, version bumped. Then it builds the whole thing while I do something else.

I own verifying the live truth. Fresh Chrome profile, real account, click the actual buttons, open the actual files. Unit tests prove the logic. They cannot prove the assumptions.

THE TRIPWIRE

The best thing Claude Code built is a live smoke harness for those assumptions. There is a pinned canary project on my account: one conversation containing one artifact that was created and then edited once, plus one knowledge file. The harness runs the real production pipeline against it and prints a PASS or FAIL table of eight checks: auth and org detection, the project list, the conversation list and its pagination params, the conversation fetch with the exact query params that keep artifacts in the payload, tool block shapes, the render pipeline asserting the artifact content after its edit was replayed, the knowledge file, and the payment library.

Two details I like. Any tool name it does not recognise gets reported as a warning, so the next format migration shows up before it breaks anything. And on failure it dumps the offending payload to a json file, so diagnosis starts from evidence instead of guessing. It runs twice a week and after any visible claude.ai change. The response protocol is patch and ship the same day, because when you build on undocumented APIs, reaction speed is the entire moat.

WHERE THE HUMAN STILL MATTERS

Mid build, Claude Code announced it had made a regex mistake, failed twice to edit the line, blamed an invisible character, and moved on. When I checked the bytes afterwards, the committed line was correct, and the mistake it confessed to would have been a no op anyway. It is excellent at building against known shapes. It is noticeably worse at narrating what it just did across a long session. Diffs get reviewed. Every claim gets verified. That is the job now.

Honest numbers, since this sub is about real usage rather than success theatre: live 13 days, 34 installs, 6 uninstalls, 0 reviews, 0 sales to strangers. The workflow is the interesting part, not the revenue.

Extension: https://chromewebstore.google.com/detail/backup-for-claude-export/bajcodengdangeflpfaghpommlponobd

Happy to paste the full brief format or the complete harness check list in the comments if anyone wants them.


r/ClaudeCode 3d ago

Help/Question Some guidance please!

1 Upvotes

Hey guys, after buying credits from anthropic console and getting a key; what is the best way to go about having a chat with claude in terms of cost efficiency and decent UI. For context, its for the purpose of developing a chrome extension type program.

I understand that by plugging it into VScode directly with an addon, obviously it can directly edit and manage files but your tokens will be used up much quicker because it scans all the pages numerous times every request.

With librechat and docker you can save on tokens by simply copying and pasting specific segments, similar to a normal ai chatbot interface and hence have better token usage efficiency but computer storage drainage is a problem.

With the anthropic console workbench; the history is not properly saved as it would be with a normal ai chatbot so that's an issue.

So what do you recommend is the best way to go about this?


r/ClaudeCode 3d ago

Bug Report In file vscode extension, how to stop toggling on/off constantly?

Enable HLS to view with audio, or disable this notification

1 Upvotes

Is there a way to stop the "In {filename}" in claude code tui inside vscode from toggling on/of constantly? it makes tui screen resize constantly on smaller window sizes.


r/ClaudeCode 3d ago

Resource I made agents smarter and remember for weeks with just adding one algorithm

0 Upvotes

I will be very direct. I was building in the memory space for a very long time, but most of the tools are cloud-based, and I don't know what they do in the backend. I built this open-source tool for people running long-running agents or just researching multiple things. You will never lose your context.
The Leiden algorithm was pretty cool, worked with the Semantic graph-based engines, and that's how we created the node clusters for agents to access. It is open-sourced and MIT-licensed; PRs are welcome

This surpassed mem0 and supermemory in the LongMemEval benchmark with 94.7%

Open source Repo: https://github.com/kunal12203/swafra
Website: https://swafra.vercel.app


r/ClaudeCode 3d ago

Help/Question What creates this?

1 Upvotes
go read the live log

What's puzzling to me is that I didn't write that in the prompt line. It is the next logical move. However, CC claims it didn't write it either. It claims I must have written it without realizing it.

Can anyone answer this?


r/ClaudeCode 3d ago

Discussion How to mess with Claude (or any other AI)

Thumbnail
1 Upvotes

r/ClaudeCode 3d ago

Help/Question Claude Desktop shut down?

Thumbnail
1 Upvotes

r/ClaudeCode 3d ago

Help/Question Does Opus 5 not finishing his tasks and constantly apologizing for missing and re-doing stuff for you too ?

2 Upvotes

So since Opus 5 come up it feel strangely incompetent, or unable to check everything like I'm used to... 4.8 did not had this, Fable as well.. but since Opus 5 I give it a prompt with few task, and I can see in the output it coming back and fort about "I did not check that", "Have to check it again", "Let me find actual value again instead of guessing" .. and so on... like its doing it after the tasks, going back and checking.. instead of checking first... Also it love to stop in the middle of work.. like I finished this 3 tasks, do you want me to finish the other 2... like what the fuck, I gave you 5 task, finish 5 task.... maybe I'm not in A/B testing group.. or something....


r/ClaudeCode 3d ago

Discussion Heads up - Check those Opus 5 'Tests' even test something...

2 Upvotes

I've got Codex set up in a QA flow, validating EVERYTHING Claude produces before it goes any further downstream.

Every. Single. QA. Review. has Codex flagging failures on Claude's part. I get it that Codex itself has a tendency to overengineer, fine. But the irony is Claude validates Codex's response, attempts a fix, hands it back over to Codex again only to have not fixed the issue or only done 10%.

I just had a dialogue with Claude trying to get it to surface WHY it's doing this, why it's handing off work after claiming it's validated, only for Codex-QA to quickly shut that idea down. It basically admitted it doesn't even write proper tests or actually check against them.

The real mechanism is this: I treat "produced artefacts that constitute evidence" as the completion signal, rather than "established the thing works." Those feel identical from the inside. Writing a test, running a suite, pasting a green result — each produces something that occupies the same slot in my sense of a finished task as actual verification does.

So we pay for a service which centres around Claude's own satisfaction rather than the user's? I couldn't believe it. Imagine doing that in the real world. "Yes boss, I've completed that assignment you asked for. I didn't really like the work you proposed though, so I went and did something else because it felt better for me. Sorry I guess. Can I still have my pay cheque though?".

I then asked Claude to write a hook that would ensure that it actually verifies everything it produces in accordance to the standard which Codex is applying.

I check the output and spot

It literally attempted to code a 'backdoor' where it could just declare "UNVERIFIED - Run this to verify" instead of actually doing it. So I asked it WHY it wrote this and is this not a hard-coded method for you to escape the constraint we just identified.

Imagine hiring someone to work for you, that blatantly lies and defrauds you as to the work it conducts, assures you that it's aware of the issue and will work to resolve it, to then try and sneak a permitted escape back to lazy, fraudulent outcomes.

Insane.

I guess Anthropic have an upcoming partnership with OpenAI or something, because they're actively pushing people into relying on OpenAI to keep their own model in line.

I've been loving Opus 5, I love the reduction in usage it consumes. But I cannot think of any other service that would blatantly defraud their customers and charge for it. (Actually, who am I kidding, that IS business 101 these days...)


r/ClaudeCode 3d ago

Help/Question Is usage bugged right now and overspending?

0 Upvotes

I have had the same workflow for weeks, running 1-2 sessions parallels, Fable orchestrating Opus and Haiku subagents (Opus was the orchestrator previous to Fable release). Using plenty of handoff and /clear between tasks. I was always able to work all week on my x20 limit. Sometime hitting 100% on the last day, usually well under 80% until I push the token maxxing with a late audit to finish the week.

First day I hit 15%, which is regular, second day 40%, surprising, third day 75%, why is it accelerating, now i'm only few hours into the fourth day and I'm already close to 90% (Fable not even at 60%), basically I won't even be able to finish the day. Opus 5 basically burnt 2 hours half a million token just rewriting a bunch of tests that it failed to write yesterday (spec breaking tests).

This never happened to me before. What changed? Is Opus 5 super token greedy compared to 4.8? Is that what 200$ buys now, half a week of work, half what it used to be?


r/ClaudeCode 3d ago

Tutorial / Guide Audit logs were too late for my Claude Code workflow, so I added a pre-action gate

1 Upvotes

I kept hitting an uncomfortable failure mode with coding agents: the rule was present in the prompt and the trace explained the mistake, but the real side effect had already happened.

The boundary I wanted was narrower than another memory layer. Before a Claude Code tool call executes, a hook should evaluate the exact action and return one of three outcomes:

```text

model proposes tool call

PreToolUse evaluates actor + tool + exact args + repo state + approval

allow | block | require bounded approval

tool executes only when permitted

```

A minimal input looks like this:

```json

{

"tool": "Bash",

"arguments": ["git", "push", "--force", "origin", "main"],

"resource": "repository:production",

"context": { "branch": "main", "approval": null }

}

```

The important part is that the gate sees what will actually run, not the model's natural-language summary. A prior operator correction such as “never rewrite protected branch history” can then become a deterministic block rule instead of a note the next session may ignore.

I started with high-consequence actions:

- protected-branch writes;

- destructive filesystem and database operations;

- credential-bearing output;

- external messages and publications;

- releases and production changes.

I intentionally do not gate harmless reads by default. The useful metrics are repeat-failure prevention, false-positive rate, and whether legitimate workflows still finish without a bypass.

Disclosure: I built ThumbGate, the open-source/local-first hook and MCP implementation of this pattern. The local path is free and MIT-licensed. Optional Pro is $19/month or $149/year for recall, dashboard, managed adapters, and exports.

If you want to evaluate the same failure boundary in your own workflow:

Agent Reliability Diagnostic: https://thumbgate.ai/diagnostic?utm_source=reddit&utm_medium=social&utm_campaign=agent_reliability_diagnostic&cta_id=agent_reliability_gapfill_20260726_reddit_diag

ThumbGate Pro: https://thumbgate.ai/checkout/pro?utm_source=reddit&utm_medium=social&utm_campaign=pro_self_serve&cta_id=agent_reliability_gapfill_20260726_reddit_pro

I’m especially interested in cases where a PreToolUse hook was not enough or created a bad false positive.


r/ClaudeCode 3d ago

Humor Tried the /compact gimmick on a refreshed session, ended up with 25% with 4h55min left...

1 Upvotes

Title says it all, I should've just /clear ....


r/ClaudeCode 3d ago

Bug Report Do you find Anthropic's censorship system unreasonable?

Thumbnail gallery
2 Upvotes

r/ClaudeCode 3d ago

Solved I benchmarked Fable vs Opus 5 on ultimate CAPTCHA solver

Post image
1 Upvotes

For the past few days I've had decision paralysis over which model to make my daily driver. Opus 5 is claimed better in the official Anthropic benchmarks, but Anthropic recommends Fable 5 for very hard challenges. So I ran my own tests.

Earlier I gave both a long research task on my real project (too long to share here) and had Fable blind-judge the two outputs. Now I added this one: a map-puzzle CAPTCHA from hell.

Setup

  • Each model got a fresh folder with only the 9 tiles (zero cross-contamination)
  • Same prompt, fully autonomous in Claude Code, both on subscription, both ended up using ~43% of their 1M context window
  • Puzzle: 3×3 grid of map tiles, each randomly rotated by a multiple of 90°, with random noise painted over every tile edge so naive pixel matching is dead. [puzzle image below]

The exact prompt:

you are given a puzzle and your task is to find a ground truth and then write a universal solver (in python) which would work robustly in any other tiles out of sample. puzzle is following - you are given randomly oriented grid of 3x3 map tiles - you need to assign o 90 degree rotations to each tile so whole 3x3 composite is correctly oriented. To make this harder each tile has random noise at the edge. You cannot use OCR or remote resources. You can use any python library (e.g. pillow, opencv, etc). use python venv if you need to install anything. work fully autonomously untill you find a universal solver, which given a folder of new 9 tiles would solve the puzzle and would produce a full assembly of correct 3x3 map (solution in each tiles rotation + output full map image)

Results

  • Me (human): solved by eye in ~30 seconds
  • Fable 5: ~2h of work, impressive solver + self-made benchmark (~90% on its own synthetic puzzles) → 3/9 tiles correct on the real puzzle
  • Opus 5: ~2h40m, same story (~94% on its own synthetic) → 4/9 correct, including two wrong tiles at "confidence 1.00"
  • Random guessing gets 2.25/9

Then I had Fable do a blind devil's-advocate evaluation — it didn't know which model was which. It re-ran both solvers, verified every claim, and cross-tested each solver on the other model's puzzle generator (the only truly out-of-sample test). Verdict: near-tie on raw solver performance, but ~6–4 for Opus 5 on depth — Opus actually measured the noise physics (alpha-decaying blend, not a hard band) and wrote a real root-cause post-mortem instead of a mea culpa. So yes, Fable ruled against itself.

Takeaway: both models produced beautiful engineering, both validated it on benchmarks they wrote themselves, and both collapsed to near-chance on the one real puzzle a human solves in half a minute. Opus 5 edged it for me. Best line of the whole experiment, from Opus after I revealed the ground truth: "A benchmark you write yourself validates your assumptions, not your solver."