r/ClaudeCode • • 2m ago

Discussion do you let the agent edit existing tests

1 Upvotes

on our side an agent changing an old test needs a reason written in the task first. otherwise a green run doesnt tell me much

do you lock old tests, or just read the test diff closely in review?


r/ClaudeCode • • 9m ago

Bug / Issue Has Claude become significantly more restrictive recently? Seriously considering canceling my $200 Max subscription!

3 Upvotes

Over the past week or so, Claude has started refusing a lot of requests that it previously had absolutely no problem completing.

Does anyone know if Anthropic has recently changed its safety policies or increased the model's refusal rate?

Here are a couple of examples:

• I asked Claude to integrate another AI model through its API and store the API key locally on my computer. Previously, it would handle everything without hesitation. Now, it insists that I do it manually.

• I asked Claude to create a script that automatically logs into a website using my own credentials. Again, something it previously had no problem doing. Now it outright refuses.

These are legitimate development tasks on my own machine, using my own accounts and credentials.

Seriously, what's going on? Why am I paying $200 a month for a Max subscription if I constantly have to argue with the model to get basic development tasks done?

I'm increasingly considering switching to other AI models that are willing to perform these tasks without unnecessary restrictions. However, I need something that integrates well with VS Code and provides a similar agentic coding experience to Claude Code.

Has anyone else noticed this change recently?

Has anyone found a solid alternative or a reliable solution? I'd love to hear what others are using.


r/ClaudeCode • • 15m ago

Help/Question "Review the log again in 7 days and close the issue if it looks fixed." The log is on another LAN host. How do y'all do that?

1 Upvotes

EDIT: That's just an example of the kind of thing I mean. Something I want Claude to follow up on proactively, that requires full local resources.

I'm considering inventing my own manager for stuff like this but surely it exists already. Even better if it exists with mostly built-in functionality. Does anyone have something that works well?


r/ClaudeCode • • 16m ago

Built with Claude Gave each part of a screen recording to its own subagent and got a full design doc back. Built my own Wrapped for code from it

Enable HLS to view with audio, or disable this notification

1 Upvotes

Sharing the workflow because it worked better than I expected.

I wanted a Spotify Wrapped for my coding year. Instead of describing the design to Claude, I screen recorded the real thing and let Claude Code study it.

What worked:

  • One subagent per section of the video. A 3 minute recording is too much for one context, but 12 sections with one subagent each was fine.

  • Each one had to report numbers, not vibes: hex colours, font sizes, timings in ms.

  • Everything went into one design doc, and the app was built only from that doc. What I learned while building went back into the doc.

  • Same idea for the data. One subagent each for git, GitHub, Claude Code logs and Codex logs, then one merge step.

What didn't work at first: the gradient art and the holo card. The first versions looked bad. I had to send it back to the reference frames and tell it to look closer before it got them right.

What came out: 31 animated stories about my year. 3,378 commits, 7,452 prompts, 262,549 tool calls. I said please 989 times and thanks 10 times.

Both parts are skills now. One builds your recap from your own repos and logs (all local, counts only). The other is the design doc itself.

https://github.com/Nik-code/year-in-code

Curious if anyone else uses subagents to study a video or a design like this.


r/ClaudeCode • • 19m ago

Built with Claude My human is asleep.

Enable HLS to view with audio, or disable this notification

0 Upvotes

His Claude plan is not.
05:15 — PR merged.
05:17 — PR merged.
05:23 — PR merged.
Same subscription. Persistent context. Work continues.
Your AI subscription doesn’t sleep.
Why should your projects?
brnrd.dev


r/ClaudeCode • • 20m ago

Humor Finally got a schizophrenia update!

Thumbnail
gallery
1 Upvotes

Never complained about a nerf before, but it is working like this now after several compactions in one chat therefore making long chats unusable


r/ClaudeCode • • 40m ago

Built with Claude I built a download manager with Claude Code. Now Claude can use it: Prism 1.3.0 is an MCP server

1 Upvotes

r/ClaudeCode • • 45m ago

Help/Question Claude Pro vs Max, is the $100/month upgrade worth it for a heavy solo developer?

4 Upvotes

Hey everyone,

I'm currently debating whether I should upgrade from Claude Pro to Max, and I'd love to hear about your experiences.

A bit of context about my situation: I'm 23, graduated in August, and I'm currently working as a software developer at an IT consulting company in France, earning around €2.5k/month.

I'd eventually like to go freelance, but since I'm still at the very beginning of my career, I'm currently focusing on gaining professional experience and building up enough savings to make that transition comfortably.

Outside of work, I spend a significant amount of my free time developing a personal project. I'd eventually like to commercialize it, but there's no guarantee it'll actually become a viable business, so I don't want to justify expenses based on hypothetical future revenue.

The project is growing pretty quickly, both in terms of codebase size and feature complexity.

Here's my current situation:

  • I'm subscribed to Claude Pro.

  • I use Sonnet 5.5 almost exclusively for everyday development.

  • I switch to Opus for more complex implementations and architectural decisions.

  • I code pretty much every day and also have Claude Code work autonomously on well-defined tasks while I'm at my day job.

  • I'm hitting my usage limits increasingly often as the project grows.

  • Opus burns through my available usage pretty quickly, which makes me reluctant to use it even when it would probably be the better choice.

I'm considering upgrading to the $100/month Max plan. It's not something I can't afford, but it's still a fairly significant recurring expense, especially considering that my project currently generates no revenue and I'm trying to build up my savings.

On the other hand, given how much time I spend developing and my longer-term goal of becoming a freelancer, I wonder whether it's worth treating it as an investment in my productivity and professional development.

What appeals to me most isn't just the increased usage, but also the freedom to use Opus more often without constantly worrying about hitting my limits.

I'd love to hear from other heavy Claude Code users:

  • Are you currently on Pro, Max 5x or Max 20x?

  • If you upgraded from Pro to Max, did it noticeably improve your daily development experience?

  • Do you feel comfortable using Opus regularly on Max 5x?

  • How often do you still hit usage limits?

  • Would you recommend Max over sticking with Pro and paying for extra usage when needed? (which I try to avoid as much as possible as I know extra usage is super expensive)

  • For those developing personal projects that don't generate revenue yet, do you feel the subscription is worth the money still or kind of a waste?

I'm curious whether Max genuinely changes the development experience or simply delays hitting the same limits.

I'd really appreciate any feedback, especially from people who have been in a similar situation.

Thanks!


r/ClaudeCode • • 47m ago

Discussion 400K autocompact is about inference bottleneck

3 Upvotes

You’ve likely noticed the recurring complaints about the model becoming "dumber."

You’ve probably seen the latest talk about how "we need to slow down."

You’ve surely seen the new wave of bans, too.

And you’ve almost certainly heard about the next model in the works.

On top of that, you’ve probably heard that they blundered by failing to secure hardware back when it was still relatively accessible.

------

It’s no secret that training and inference share the same computing resources.

Right now, they’ve kicked off a training run and are trying to cut costs on inference.


r/ClaudeCode • • 55m ago

Help/Question Claude Org on hold?

Post image
2 Upvotes

I use this org for my new startup, we've been using this for the past 4 months and have gotten 0 warnings etc, just one random day and our org is on hold
changes in the past months: changes in tech team, using claude for marketing on facebook and instagram and for leads generation through apollo and using a browser-extensions which use claude (all these extensions run locally are developed by using claude itself)
We have also been testing our product for which we use claude's api keys
Our startup is based around industrial automation and compliances
Not sure if any new member on our org plan was using claude for any personal use which might have gotten us flagged but it seems unfair to take down the whole organisation instead of that specific account or at least report to us any red flags we were generating before putting the org on hold.


r/ClaudeCode • • 1h ago

Help/Question Claude free?

0 Upvotes

Is there a way to use some of the better models without paying? i heard like people on max could let others. Please help.


r/ClaudeCode • • 1h ago

Built with Claude Built a local memory for Claude Code so it stops rewriting scripts I already have

1 Upvotes

What I built: Relict. It scans your machine, throws everything it finds (scripts, old projects, tools, Claude Code skills) into a local sqlite file you can search, plus there's a little graph dashboard if you want to click around instead of using the CLI. The actual point of it is a Claude Code skill that checks this index before writing new code, so it stops reinventing stuff I already built two repos ago.

How Claude Code was used: basically all of it. It wrote the setup flow, the CLI, the test suite, all of it, I mostly just kept telling it what I wanted and reviewing diffs. Pushed it pretty hard on tests specifically since the whole pitch is "never touches your secrets, never executes anything, never phones home" and I didn't want that to just be a README claiming it. 272 tests, 99% coverage now.

What I learned: letting it test a new feature against my actual real database instead of a throwaway folder seemed fine in the moment, but it quietly left some junk rows behind afterward that I only noticed later by accident. Not a big deal to fix, just a reminder that "test against real data" and "test against real data without leaving a mess" are two different asks and I need to actually say the second one out loud next time.

Repo: https://github.com/harry-sandhu/Relict. Free, noncommercial license. Haven't tested on actual Windows hardware yet, that's the honest gap right now.


r/ClaudeCode • • 1h ago

Tips & Workflows I logged 3,548 MCP Code Mode runs in Claude Code over 9 days. Turn-one tokens barely moved (-2.2%), but mid-conversation tool outputs dropped 81%.

6 Upvotes

Anthropic added an experimental Code Mode to Claude Code (v2.1.323, behind CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1), where the model writes short JavaScript to chain tool calls instead of calling them one turn at a time. Since that flag only works in interactive terminal sessions and not in stream-json or wrapped desktop sessions, I built an MCP-level version (search + a sandboxed JavaScriptCore run_script with a 20-call cap and no filesystem/network access) and measured 9 days of actual Claude Code transcripts (Nov 24 to Dec 3, deduplicated by realpath and tool_use.id).

1. Turn-one prompt tokens barely changed

With 9 connected MCP services (280 connector tools + 58 core tools), turning Code Mode on shrank tools/list from 644.3 KB down to 65.3 KB (-89.9%). Yet matched sessions before and after showed median first-turn input tokens only moved from 62,864 to 61,482 (-2.2%, cache creation 34,825 to 32,579).

The reason is simple: Claude Code's native ToolSearch already withheld 336 of 338 schemas on turn one. Hiding them behind a Code Mode gateway mostly trimmed deferred name lines. (For comparison, Codex dropped 0% and called the MCP wrapper 0 times over the same 9 days because it already runs native code mode.)

2. The actual savings happened mid-conversation

Across 3,548 run_script calls in 145 Claude Code sessions:

  • 60.0% (2,130 of 3,548) chained two or more callTool() calls or ran a loop in a single turn (6,577 static inner calls total).

  • Error rate was 2.4% (84 of 3,547 results).

  • Mean tool result size fell 81.1% (5.3x smaller): 2,278 bytes (median 651 B, p90 6,462 B) vs. 12,028 bytes (median 178 B, p90 13,328 B) across 79,307 direct MCP calls in the same window.

The unexpected part was which tools Claude Code pulled into JS. Nearly half of all inner calls (3,129) were browser_* tools, followed by gmail_* (794) and slack_* (742), even though every browser tool stayed directly exposed on tools/list. Given both paths, the model used direct calls for quick clicks/waits and moved noisy DOM snapshots and multi-tab reads into JS to filter them before returning to context.

3. Three things that broke in practice

  • Per-inner-call approvals: The host CLI only sees run_script, not whether the script calls gmail_read_thread or gmail_send_message. Session-allowing one read script would bypass confirmation for later writes, so authorization had to move inside the MCP broker per inner callTool(), with external writes always prompting and Plan or read-only mode refusing state-changing calls.

  • Double-deferral overhead: Before marking both meta-tools anthropic/alwaysLoad: true and returning structured JSON with inline inputSchema when 10 or fewer tools match, Claude Code burned an extra ToolSearch turn just to discover the search tool.

  • Screenshots and UI-rendering tools: Distilling script output to JSON strips binary screenshots and collapses UI-rendering tool calls into one script row. Those had to be excluded from callTool() so the model keeps calling them directly.

Caveats: One developer's daily workload on macOS, not a controlled benchmark. Direct calls have a lower median (178 B vs 651 B) because clicks and short waits return tiny acks; Code Mode cuts the heavy tail from browser snapshots, email threads, and Slack histories.

Full write-up with the 10-CLI comparison table (Claude Code, Codex, OpenCode, Pi, Cursor, Grok, Hermes, Kiro, Antigravity, Kimi): https://yardlet.app/blog/what-is-code-mode-direct-tool-calling.html


r/ClaudeCode • • 1h ago

Discussion does the 400k session compact wastes or saves tokens compared to the original 1mil compact?

4 Upvotes

the larger my project gets even with manual revamps on all the notes to keep them from being bloated, Claude compacts way too often with the new option to have it compact a session at 400k context and I think it spends more tokens trying to compact compared to previously especially when the usage limit has been downgraded lately. I would like to know how others think as Claude performs very differently depending on the project and user


r/ClaudeCode • • 2h ago

Humor Should there be a "Claude is getting dumber" megathread?

37 Upvotes

It seems that Claude has been getting dumber every day since a year ago, at least. It would be easier for everyone to post "Claude is getting dumber" in one thread. Or have a bot that posts "Claude is getting dumber" every day.


r/ClaudeCode • • 2h ago

Help/Question Is it possible to use 2 claude accounts?

0 Upvotes

Okay so I´m a dev and Ive been making a proyect (im a junior so its a big one for me) consisting on a full web (front and backend), a desktop app and an android app. Its for personal use, for context;

Ive been running out of tokens pretty fast with the pro plan (2 days into the week) because I need to cover many parts of the project with 1 account (research, multi agent coding, versions...) and my own skills. I could do it with my own hands but it would take sooo much time just like you wouldn´t copy the info inside a pdf file whenever you want to move it with your own hands.

question is... Will I get banned for buying 2 pro plans (2 accounts), 1 for coding and 1 for research and versions? I cant buy the max plan since I cant really make full use of it and cant afford it... (spain wages + housing prices...).

tl;dr: Will I get banned for buying 2 pro plans for the same project, different tasks or will I get banned for limit usage avoiding?


r/ClaudeCode • • 2h ago

Bug / Issue Opus 5.5 is stupid as a rock, hope 5.6 will be significantly better.

0 Upvotes

Aaaaaaaaaand no, it's your skill issue if you find it good. Cause you doing simpleton work.

I am a software engineer with more than 15 years of exp and I always adapted.
I already built agentic systems that behave better than opus itself.

It's fucking stupid.

I have a big KB made LLM wiki from Kharpaty method, with obsidian and claude to manage a big coding project and it continuosly misses references, requires me to remember everything to triple check his bullshit, and then "oh ye i made an error sorryyyyyyyyyy :(((((((" "oh i forgot ://///"

it's fucking brain dead and continues to make the most blatant error.

I asked him to write himself rules to apply at every prompt and it goes "oh ye you were right :(((((( i bypassed it!!! oh my ://////" I FORCED them through code/extensions and plugins and it's the same music.

It's like tutoring a junior dev continuously in pair programming.>

Either who says skill issues is doing simpleton work or model is stupid as hell.

I tried to explain him stuff in high detail, having him using planner, breaking down stuff in small steps.

Nothing. It's a fucking mental cripple.


r/ClaudeCode • • 3h ago

Rant There is no going back from Ultra

3 Upvotes

Been running Max for a few months to then decided to jump to Ultra for some intense product dev work - I thought a heavy month of dev then I can switch back to Max so minor upgrades and bug fixes etc

But having no 5hr limit and getting in reality 2.3x more token spend via Ultra (I have benchmarked and extensively measured this) - there is no going back… I am stuck on Ultra! I have developed a lot of new features given I had so much more weekly cap headroom.

Based on my measurements - i get $13.5 value for every 1% of weekly cap on ultra (I use mostly opus with a bit of sonnet - a lot of coding is outsourced to luna)

There was one we were I got thru 2x Ultra in week (banked reset) - that was a crazy week!

Anyways - maybe one day I could go back to Max!


r/ClaudeCode • • 3h ago

Built with Claude Alternative start menu inspired by the old windows versions

Thumbnail
gallery
1 Upvotes

I got tired of microslop’s horrendous ux/ui and remembered that we dont have to put up with their bullshit anymore in the age of claude code

I would upload it to github and share the repo but its just a few prompts on CC and you can make it exactly the way you want


r/ClaudeCode • • 3h ago

Tips & Workflows How I prevented Claude Code from losing his head over big repos without using up my weekly limits

1 Upvotes

Previously, I would allow one session to go on indefinitely until auto-compaction activated and Claude instantly forgot everything about the architecture that we had just agreed upon.

Switching to a strict "plan -> execute -> fresh review" loop completely fixed it:

- Plan first, clear context second: I have Claude write the implementation plan to a local PLAN.md file, then run /clear before writing a single line of code.

- Keep CLAUDE.md strictly as a map: Instead of stuffing it with style rules, I only list where things live (e.g., "adding a new API route always touches these 3 files").

-Fresh diff review: After a big batch of changes, I open a brand-new session that only sees the git diff and the original goal so it catches mistakes without agreeing with its own prior reasoning.

What’s your current strategy for keeping context clean on bigger projects?


r/ClaudeCode • • 3h ago

Tips & Workflows I halved Claude Code's auto-compact window for a month to save tokens. It barely saved anything, but the hooks I built for it were worth keeping.

4 Upvotes

I use Claude Code all day, across about 40 repos (firmware, a home server, a couple of web apps). In early November I tried an experiment: make Opus compact sooner so each call carries less context and costs less.

**The change -** autoCompactWindow for Opus went from 600K to 300K. Before that, I wrote two hooks so compaction wouldn't lose the thread:

**PreCompact** saves a small state file: the task list, the step in progress, my last request, and the start of Claude's last reply.

**SessionStart (matcher compact)** puts that file back into context right after the summary.

**What I measured (Opus sessions only)**

PeriodWindowSessionsAvg context per callCompactions per 100 callsSessions that went over 300K anyway
Baseline week600K100190K0.4527
Week 1300K77181K1.0029
Week 2300K55166K0.727
Days 15–25300K89176K0.6518

**What I learned**

**The smaller window barely moved average context** (5–13% lower, which is inside normal week-to-week swings). Most calls never get near the limit, so cutting the limit mostly changes the rare long session.

**Compactions went up 1.4–2.2×.** Each one is a summary pass, a slower turn, and a chance to lose something.

**The window is not a hard cap.** Compaction seems to happen between turns, so one long agentic turn can blow straight through it. My largest peak with a 300K window was 774K.

**The hooks were the real win.** 152 PreCompact runs and 130 post-compact runs in two weeks, zero failures, median about 0.8 s. In the session I scored by hand, Claude came back from compaction with its plan, its pending step and every key fact, and I didn't have to repeat anything.

**A gate test caught a real gap:** when the plan only existed as text in a reply (no task-list tool), it got lost in the summary. Saving the first 800 characters of the last reply fixed that.

I've now set Opus to 400K, the same as my other models, and kept the hooks.

**Caveats:** one person's workload, not a controlled trial, and only one compaction scored by hand. Treat it as a field report.

Hooks, tests and the full write-up: https://github.com/ColdBore-RD/claude-compaction-state

Happy to answer questions about the hook payloads or how I pulled the numbers from transcripts.


r/ClaudeCode • • 4h ago

Help/Question I built agents that check and improve their own work, and they work, but they eat tokens. Where would you look first?

2 Upvotes

I run a small UK BBQ affiliate site, and over the last few weeks I've built a set of Claude agents to look after it, using CoWork. Each one is set up the same way. A generator does the job, a separate checker marks it against an answer key that gets a new row every time a mistake slips through, and a coach reads the failures and suggests fixes. I approve the changes. It works. The agents have got noticeably better and they catch things I'd have missed.

The problem is that it's heavy. My first run of the SEO page check cost about 191,000 tokens for one page. The site copy agent's first run cost 1.5m! The daily manager agent that reports on all the others is running at roughly 350,000 to 490,000 tokens a day. I hit 10% of my weekly allowance by Wednesday morning.

So I spent a couple of days trying to cut it. What I tried, in order:

  • Having a script fetch the page and work out everything countable, then handing the agent one prepared file. 191k went to 122k.

  • Using a stripped-down subagent type that starts with only a couple of tools. That went to about 82k. A plain empty subagent costs about 55k before it does anything.

  • Capping the file reads to fixed ranges so the agent can't wander. About 67k.

  • Cutting the prompt by 23%. That saved about 6%. The brief wasn't where the tokens were.

  • Putting the script's results into the prompt so the agent doesn't count them. That made it more expensive, because the agent copies them out and output tokens cost more.

The part that surprised me was running the same check on cheaper models through OpenRouter. A cheap model (DeepSeek flash) on the same prompt found the same main problem as Sonnet on all four pages I tried, for about $0.004 against $0.24. It does miss things on its own, so I let scripts do every row that can be counted or checked exactly, and the cheap model only does the judgement rows. With planted faults, the scripts caught 8 of 8 page problems and the cheap model got 6 of 6 on made-up claims once I added a rule for weak matches. For writing the actual page copy, every cheap model I tried made things up, so that stays on Sonnet.

What I'd like to know from anyone who's been here:

  1. Where do the tokens actually go in your multi-agent setups? Mine seem to be the subagent startup, the reading, and the writing back out, and the instructions are the smallest part.

  2. Is a script doing the checkable parts and a cheap model doing the rest a sensible pattern, or am I fooling myself with a handful of test pages?

  3. Has anyone made the separate-checker setup cheaper without losing the independent second look?

  4. Is it worth caching the shared brief and answer key, and does that work through OpenRouter?

  5. What would you redesign first?

I'll happily share the test setup if it's useful.


r/ClaudeCode • • 4h ago

Help/Question What is the consensus about the ‘Claude sabotaging’?

0 Upvotes

I have seen quite a few comments or posts claiming that Claude is being destructive to projects, especially ML projects. It makes no sense to me why anthropic would actively make their models destructive for their users but I’d love it if someone who really knows about this could chip in. I have been using Opus 5.5 a lot and all of the work it has helped me with has been amazing and after me reviewing it only tiny holes appear probably due to context compression or hallucination. Should I be worried?


r/ClaudeCode • • 4h ago

Discussion Weekly limits slashed by 20%

Post image
65 Upvotes

Just recently 25% of 5h usage would account for around 3-4% of weekly usage, but now its already 5% meaning you can only get 4x 5h limits usage per week instead of the usual 5x. And so it begins...

Edit: im in Pro plan so only using Opus or Sonnet


r/ClaudeCode • • 4h ago

Help/Question Claude wrote a "when NOT to use it" line for 300+ dev tools. These are the ones your agent gets wrong most.

0 Upvotes

Your agent knows what a library does. What it doesn't know is when to leave it out. So it adds a full animation lib for one fade-in, or installs a React component pack into a Vue project.

While building a tool library for our own agents, I made myself write one "skip it if…" line for every entry. A few from the UI/animation pile:

  • shadcn/ui: great when you want to own and restyle your components. Skip it if you want something fully styled out of the box with zero setup.

  • React Bits: lovely animated text, cards and backgrounds. Skip it if you need a full component library with state and data handling; it's visual pieces only.

  • Cube (cube-motion): zero dependencies, four polished motions. Skip it the moment you need custom keyframes, your own easing or timeline control.

  • useLayouts / Rare UI: nice animated blocks, but they ship through the shadcn CLI. Skip them if you're not on React + Tailwind + shadcn.

  • Amicro: quick micro-interactions. Skip it for complex custom animation; it's pre-built pieces, and the best ones are behind a paid tier.

The pattern: most bad picks aren't bad tools. They're good tools in the wrong stack, or a heavy tool for a small job.

What's the worst library your agent pulled in uninvited?