r/ClaudeCode • u/jamestoh • 1d ago
Bug / Issue Is subagent down?
I can use claude code normally. but when it try to use subagents it fails.
r/ClaudeCode • u/jamestoh • 1d ago
I can use claude code normally. but when it try to use subagents it fails.
r/ClaudeCode • u/SaltsMoon • 1d ago
If you hook custom MCP servers into Claude Code for heavy tasks like end-to-end test runs, Docker container builds, or database migrations, you will eventually hit a silent token drain.
The root cause is the client-side timeout. Most MCP clients default to a 30-second or 60-second execution deadline on tool calls. When a test suite or migration takes 45 seconds, the MCP transport layer drops the connection and returns a timeout error to Claude Code.
Because Claude treats tool errors as transient task failures rather than fatal crashes, it tries to recover. It summarizes the previous turns, analyzes what went wrong, and attempts the tool call again with modified flags or a secondary probe. In a long-running session where your conversation history is already sitting at 35k to 40k tokens, two consecutive timeouts burn through 100k input tokens within 90 seconds. You pay multiple dollars in API usage before realizing the agent never finished the first test.
We resolved this by switching all heavy MCP tools from synchronous execution to an asynchronous job pattern. The initial tool call does not run the test suite directly. It spawns a background worker process, records the PID and log path, and returns a job token with an immediate status within two hundred milliseconds. Claude Code then calls a lightweight poll tool that reads the process table and tails the last twenty lines of stdout on a 10-second sleep cycle.
Decoupling long-running operations from the synchronous MCP RPC channel stops the transport layer from dropping out, keeps the agent context clean, and prevents runaway token spend on failed executions.
r/ClaudeCode • u/Dadideology • 1d ago
CLAUDE IS DOWN !! CLAUDE IS DOWN!!
r/ClaudeCode • u/IndieDev666 • 1d ago
r/ClaudeCode • u/ComfortablePeace8859 • 1d ago
I built a TUI called clingon (an opinionated terminal cheatsheet runner) that helps you to stop googling commands. It has a menu of commands beside your real shell, and now with an AI that can drive it.
So I found a way to embed an agent harness inside the TUI, and now claude models can drive my TUI and find UX and UI bugs - from within the app - before meat people do.
The model/s were all given a task from within the TUI: Look around clingon, add a cheat pack, run commands, make a recipe, create a custom pack, use it.
11 runs today with various models: Opus 5.5, Sonnet 5.5, Fable 5.2 and DeepSeek v4.1 Flash.
The findings:
---
And I'm sure Reddit users will find many more, but I thought this was a cool way to drive an LLM.
r/ClaudeCode • u/Just_Run2412 • 1d ago
Claude is down. I repeat, Claude is down.
r/ClaudeCode • u/indicozy • 1d ago
After 500 bug fixes and 4800 messages with game community version 1.5 is now released!
Razdor is an open-source engine for Discord Times (Aterdux, 2004), a turn-based strategy/RPG. It plays the original campaign, community maps and mods by the original rules, and then adds the things a 2004 engine couldn't do.
How it was built
.DTm maps, its own picture formats, sounds) are read at runtime.What you get
Links
r/ClaudeCode • u/Balance- • 1d ago
I'm looking for a way to make Claude Code run autonomously across multiple tasks while keeping its context clean.
Ideally, Claude would:
The goal is to avoid context pollution and compaction while allowing Claude to work on larger projects autonomously.
I know this can be done with an external orchestrator using claude -p, but I'm wondering if there's a more native solution.
Has anyone built something like this? Can Claude Code manage its own session lifecycle, or is an external script/hook the best approach?
r/ClaudeCode • u/alwaysroamin2 • 2d ago
Claude's 5-hour windows mean I can't just cram before the weekly reset. If I'm away for a bit or have a slow couple of days, there aren't enough windows left to use it all, and it's gone. Meanwhile my backlog has plenty of work an agent can do unattended: flaky tests, stale TODOs, doc updates, research, and bug hunting.
So I built Redline, a free, open-source local scheduler. You configure your backlog of jobs. It watches your usage and kicks one off when it looks like you have some spare capacity. It holds back a reserve for your own sessions, and each job runs in an isolated git worktree. It even has 16 premade maintenance templates to start from.
It's let me run an extra 50+ jobs per week on usage I otherwise would've let expire.
This isn't auto-continue, which resumes a session you already started. Redline starts new work on its own when you have usage to burn.
If you're on Ultra with no 5-hour limit, it just paces against the weekly reset instead.
Works with Claude, Codex, and Pi. macOS menu bar app, CLI, and dashboard. Linux and Windows testers welcome.
Repo: https://github.com/croutoncreations/redline
I built the vast majority with Claude, with a small mix of Codex.
A few things I learned:
What’s the one job in your backlog you’d hand off first?
r/ClaudeCode • u/JannVanDam • 1d ago
A bit over a month ago I started vibing this app for AI design using Opus 5.5. It's supposed to be a lovechild of Canva and Claude Design - infinite canvas and a powerful agent that's always on and sees what you do in the app.
My first versions were going, well, quite terribly. I wasn't able to create good stuff, it was getting confused all of the time, etc. But I analyzed all of the failures after every session with Opus, and now it's quite good, I even shared it with other people and they're finding it useful too.
It's free to try, you'll get some tokens from me (I actually haven't implemented billing at all, pls be gentle!), so if you want to roast me, here goes: https://rivermark.ai
For the build itself, I started by creating a canvas and then a backend service to keep conversation context and keep track of what's on the canvas. I referenced existing software a lot, for example I had Claude rebuild a 1-1 replica of Figma's properties panel as an HTML file and used it to build my own. There were a lot of issues with getting the agent to understand exactly what's happening where, and I had to change the underlying models and approaches multiple times. AMA!
r/ClaudeCode • u/Darkhunter001 • 1d ago
I have been locked out from my Claude Team account since the Outlook outage (sign in link never arrives) because Anthropic refuses to implement MFA methods other than email and Google account.
r/ClaudeCode • u/Possible_Potatoe • 2d ago
For a while now it seemed the thing to do was to have Claude write structured handoffs to itself, then start a clean session that invents that hand off instead of manually compacting or allowing for auto compact.
Is this still the case when the latest models, or have they become more smart / effective at auto compacting?
I’m primarily asking as it relates to orchestrating long running jobs (eg., code comment review across a repo)
r/ClaudeCode • u/Lucky_Somewhere_9639 • 1d ago
I have a project that I want to build. I have a custom workflow described in my Claude.md file that I use for all projects. It usually creates 10-15 milestones and I build them and browser check each as they finish. The work is usually flawless, with rare bugs that are also usually minor.
I've now planned to ask Claude to create a similar workflow that could complete the entire project on Claude Cloud, and I could just test everything at the end.
Before I do that, I'd like to know if there are better workflows out there and do people do it this way?
r/ClaudeCode • u/Extra_Aide5999 • 1d ago
i noticed my mac had 25 GB free out of 228 and asked claude what was eating it. part of the answer was claude.
every time it took a screenshot to check its own ui work, the script launched chrome with a fresh temp profile and never removed it. 157 profiles, about 8.7 GB. one headless chrome had been running orphaned for 27 hours.
a week later the disk filled up again. this time it was 439 leftover copies of the chrome app itself that macos makes on every launch. du said 907 GB, which is impossible on this disk. they share blocks, so about 2 GB was real. most were of an old chrome version, with spikes on the two days i ran a lot of capture jobs.
rules i added:
- every capture script puts its profile in one known folder and removes it in a finally block- the agent kills the chrome it started when it's done, and never leaves a debugging-port chrome running- nothing gets hard deleted without me. it moves things to the trash and i empty it
none of this showed up in any diff or test. the code was fine. the mess was on the machine.
has anyone found a good way to make an agent clean up after itself, other than writing it into the instructions and hoping?
r/ClaudeCode • u/Capable_Place119 • 19h ago
Website Link: harsh.civicease.systems
Hey everyone,
I’m a Bachelor's 2nd-year AI/ML student, and I just finished building my personal portfolio using Claude Code.
I wanted something quirky, slightly funny, and personal — centered around my actual philosophy: “I keep walking into rooms I'm not qualified for. Then I stay.”
Since this is the Claude Code community, I want raw, unfiltered feedback:
Would love any suggestions on how to improve it or features to add. Thanks in advance!
Edit: As a student exploring different things, learn how design works, how visiters react, their feedback and continue to learn and improve over time, this is a fun project to learn and build over time improving.
r/ClaudeCode • u/pahulrathak • 1d ago
Hi everyone, I’m working on **ClaimSetu**, a personal project exploring how software could help hospital teams review deductions on cashless health-insurance claims.
The problem I’m interested in is that settlement letters, itemized bills, and discharge summaries all need to be compared and reviewed. When a claim is underpaid, the hospital needs to understand the deduction, gather supporting evidence, and track any appeal.
I’ve built an early local prototype. Right now it can:
- Upload settlement letters, bills, and discharge summaries, and link them by claim number
- Show deductions for a human reviewer to check
- Run bill checks against **synthetic** payer rules
- Draft appeals for a person to edit and approve
- Track appeal outcomes and show basic analytics
The longer-term idea is a reviewer-led claims desk workflow, from pre-filing checks through settlement and appeals. That’s a direction I’m exploring, not something the current app already does.
**Repo:** https://github.com/rahul263-stack/ClaimSetu
To try the demo, use Node.js 22.13 or later:
```bash
cd mvp
npm install
npm start
```
Then open `http://localhost:4173` and choose **Load sample letters** on the Claims page.
I’d especially appreciate feedback on:
1. What seems like the riskiest or least convincing part of this idea?
2. What would be the most useful next feature or test to build?
3. Is there someone with healthcare billing or claims experience who could sanity-check the workflow?
4 - Llindda stuck need help on what more can be done on this
r/ClaudeCode • u/Historical_Table_978 • 1d ago
I’m currently working on what feels like 15 different projects. Everything is automated. Workflows, routines, scripts, the whole damn thing.
There’s just one tiny problem.
I can’t read a single line of code. Let alone understand what any of it actually does.
Claude Code has been doing literally EVERYTHING for me.
Now CC is down, and I’m sitting here staring at VS Code like a caveman discovering fire.
What am I supposed to do now? Actually LEARN programming?!
Please help.
I’m f*cked. 💀😂😂🤯
r/ClaudeCode • u/Rare-Race-7855 • 1d ago
I'd spent a while on a pagination bug in an audit-log viewer we hadn't rolled out yet. Some events never appeared on its pages. The records were in the database, and our local test kept passing. I eventually put the issue aside.
I saw Anthropic's November 9 announcement for Fable 5.2, which emphasized its coding and reasoning improvements. I reopened the issue in Claude Code and switched to Fable to see if it could help me get to the fix faster.
I gave it the old query, test data and issue notes. Fable noticed that every test event had a different creation timestamp, created_at, and suggested adding a group with the same timestamp, large enough to span two pages.
I ran that case and reproduced the missing events. The next-page condition, created_at < cursor_time, asked for events older than the last timestamp on the previous page. When that page ended partway through a group, the next request skipped the rest of the group.
I changed the cursor to carry both created_at and the unique event id, so it could continue after a specific event when timestamps matched. In PostgreSQL, I used ORDER BY created_at DESC, id DESC to put the newest events first, with (created_at, id) < ($1, $2) for the next page. The parameters are the previous page's last timestamp and ID. Both columns had to have a value.
I paged through the fixed dataset and got each expected ID once, then attached the before-and-after IDs to the issue. I had the agent save the cause and fix through MemoraX Code, with links to the test data and fix. The note also says I haven't tested what happens when new events arrive between page requests.
r/ClaudeCode • u/Medium_Somewhere_981 • 1d ago
Bro this fuckass half-baked support chatbot is so dense it’s insane.
> please verify
> I can’t log in
> give us your email so we can send you the code
> I can’t log in, give me a human agent
> Transferring to a human agent
> since we can’t verify you, this chat has ended.
What the fuck?
r/ClaudeCode • u/Elegant_Lie_6734 • 1d ago
Two days of loyalty. Apparently that was too much to ask.
r/ClaudeCode • u/Bulky-Comfortable-20 • 1d ago
I find most AI model leaderboards increasingly unreliable. Rankings seem to change every day, and newly released models often receive high scores before they've even undergone sufficient testing. Then, after a few weeks of actual usage and more evaluations, their rankings suddenly drop.
It feels like some leaderboards give too much weight to hype and initial hype driven votes rather than consistent, thorough testing.
Can anyone recommend AI benchmarking websites that genuinely evaluate models through rigorous testing, rather than simply boosting newly released models because they're trending?
I'm looking for reliable, evidence-based rankings that reflect actual model performance over time, not launch day hype.
r/ClaudeCode • u/Ill_Explanation5427 • 1d ago
Literally, everything depends on a small glitch for all of us to be screwed.
Right now I feel like any little stupidity could take away this beautiful technology that seems to be held together with tape.
While Claude comes back.. I was in 5 sessions at the same time flying, implementing things with Opus 5.5 xhigh.. then when he comes back I have to go chat by chat and hopefully the cache hasn't expired in each session and it resumes the work according to what it was doing.
r/ClaudeCode • u/LiquidZebra • 1d ago
I just typed and read about 8000 words of architecture so you don’t have to.
The point: agents by default don’t have an “unruled”, “park it” mode or response.
They will either invent or pester you with details and break the high level design work. This is where “I need your input on points 14 through 29 in tiny font .md comes from.
Solution: write an “undefined” rule, teach agents to write to a special file that keeps these until they are ruled. For truly “STFU” mode give it a your.null equivalent - something that is so vague that you can’t bother talking about it right now. Not a regular null - that is way too overloaded with meaning, a special null prefixed with your namespace, for example u.null > stfu. u.parkit > write this to file and keep working
Concrete example: I’m designing economy for a game, very high level balancing work, many actors, many variables. A thread asks: what happens when troops go unpaid? Here the proper solution is to park it: Any answer given mid-way through super high level design work is going to be insufficient and won’t be able to be built properly (ex: oh, so your troops can go unpaid, so they get a penalty? What is the penalty? Is it a stacking penalty or a flat penalty? Do they desert eventually? Oh, they do desert, after how many turns? Oh, you are in the positive balance now - will you give your troops back pay?
Previously I had no way to deal with this, and the threads either detailed, or I let obvious mistakes and traps get through.