r/ClaudeCoding • • 17h ago

r/ClaudeAI [TLDR] Half a year of AI coding got me nowhere [via r/ClaudeAI]

1 Upvotes

OP : u/strongmstone

I've started several projects with Claude, Codex and Gemini, and it all ended the same way.

Planning goes great. Architecture, reviews with multiple agents, tests, all that. I'm excited, AI is cheering me on, first build looks promising, I am pumped and going all in

Then we start fixing bugs. Fix one, find more, break something else, repeat. Both Claude and Codex weekly limits gone within a few days.

AI says everything is done. I open the app and immediately find obvious bugs in basic functionality. And yes, I have automated UI and backend tests.

A few months later it's spaghetti code, every small fix becomes another endless loop, and I give up.

I do have a software development background. So I honestly don't understand how people with no coding experience are building working apps while I'm stuck here.

Basically, lots of time and money spent, and the excitement is wearing off.

Is this common, or am I just doing it wrong?


r/ClaudeCoding • • 17h ago

r/ClaudeAI [TLDR] How to stop Claude from self crediting itself EVERYWHERE? [via r/ClaudeAI]

0 Upvotes

OP : u/standbyandroid

Recently, like a month ago, Claude started to push hard on crediting itself:

  • Adding "Generated by Claude Code 🤖" at the end of PR descriptions
  • Setting claude as committer or co-author of commits

It's impossible to stop it from doing so. It can't help it.

I have tried adding to my global/project rules, sometimes it will rewrite a commit after it notices it violated them but I couldn't find a way to reliably have Claude to respect the commit author/pr description rules.

Most of the projects I use Claude I'm the only dev so this is not a big issue, more like an annoyance, has anyone found a way to prevent this?


r/ClaudeCoding • • 18h ago

Idle Claude Code sessions silently re-pay their whole cache when you come back. A keep-warm hook cut that ~87% across my 53 sessions.

16 Upvotes

**TL;DR:** (but read if you like saving $ and maximizing your limits...) When a long Claude Code session sits idle past its cache lifetime (1 hour in my sessions) and you come back, your next message pays to rebuild the whole conversation's cache. A tiny automatic reply every ~50 minutes avoids that. Measured from my own session logs since I've been using this...I have a membership, and it still factors in for tokens not wasted, but for API-equivalent costs: across 53 sessions, 474 pings cost ~$67 vs. ~$520 of cold-cache rebuilds.

Eg. of long session alone: 35 pings, ~$3.50, avoided ~$25.
"One ping costs ~1/40th of a full cache rebuild."

**The problem many seem to miss...**

Claude Code caches your conversation so each message doesn't re-pay for everything before it. Reading that cache is cheap, but it expires. If you walk away longer than its lifetime (dinner, sleep, a long build or training run) and then reply, the entire conversation is written to the cache again at the expensive rate. On a big session that's a real hit every time you come back.

**What I set up (the gist)**

One Claude Code **Stop hook**, with no cron or external timer. Claude Code can run a Stop hook in the background and wake the session when the hook exits with code 2 (`asyncRewake`). Mine starts a small watcher at the end of every turn. It checks the session transcript once a minute, and after 50 idle minutes it exits with a short instruction: reply with exactly "warm · 9:16 AM" (the script stamps the time, since the model has no clock), no tools, no file changes. That ~15-token reply re-reads the cache, which resets its 1-hour timer, and the end of that turn starts the next watcher.

Safety rails:

- Stops after 20 consecutive pings (~17 hours) until I send a real message, so a forgotten session can't ping forever. (In practice it never triggered: I always came back or closed the session first.), just there in case you totally space out, go touch grass for a few days and forget about it...it's not pinging/costing you perpetually...

- One watcher per session, and it dies with the session, so closing a session ends the pings.

- Global and per-project off switches.

- Logs each ping's `cache_read` / `cache_creation`, which is how I know every ping was a cache hit.

**The numbers** (Based on Opus 5.5 pricing: cache read = 0.05x input, 1-hour cache write = 2x input)

- One ping costs ~1/40th of a full cache rebuild.

- One long session: 35 pings over 8 idle stretches (1 to 12 hours) = **$3.50**; rebuilds avoided = **$25.23**. Every ping was a cache hit (big read, ~335 new tokens written).

- All 53 sessions I have historically: pings **$67**, rebuilds avoided **$520**. Only ~$11 of the $67 went unused: $9 in sessions I never returned to, $2 where I came back within the hour anyway.

- Break-even is ~40 pings on Opus 5.5, so with the 20-ping cap, any return within ~17 hours is a win. On models where cache reads cost 0.1x, the cap sits right at break-even.

**When it does NOT help**

- **You leave a session open and never come back.** Those pings are wasted. Close sessions you're done with: a closed session never pings, and the cap limits any one you forget, but it's always better to start fresh in general, the problem is starting over it not always optimal for a given instance, hence this solution...

- **You come back within the hour.** The cache was still warm, so that ping wasn't needed. Unavoidable (the hook can't know when you'll return), but tiny: $2 across ALL my sessions.

- **You come back between 50 and 60 minutes.** A ping fired at the 50-minute mark, but the cache would still have been warm when you returned, so that one ping wasn't needed. Come back sooner and no ping fires at all ($0). The hook can't know when you'll return, so this can't be avoided, but it's tiny: 14 such pings, ~$2, across ALL my sessions.

- **Your session uses the 5-minute cache.** This relies on the 1-hour cache; a 50-minute ping does nothing for a 5-minute one. Check yours (below).

- **On a subscription,** the dollar figures are API-equivalent, not actual charges. The benefit there is stretching your usage limits. Anthropic doesn't publish exactly how cache reads and rebuilds count against plan limits, so read the numbers as ratios. The savings assume your plan weighs a cheap cache read far less than a full rebuild, as API pricing does, so your limits stretch further.

**The bigger lesson: session size**

My long session for eg. had grown to ~740K tokens. Every ordinary call re-reads the whole thing (on average ~386K tokens per call over 267 calls), and that re-reading cost ~$20, about as much as the keep-warm saved in that session. Keep-warm is great for an important session you can't restart yet. But when you can, start a fresh session (with good notes or a handoff summary) so each call re-reads far less.

**How to check your own sessions**

Claude Code keeps transcripts as JSONL under `~/.claude/projects/<project>/`. Each assistant entry has `message.usage`:

- `cache_read_input_tokens` / `cache_creation_input_tokens`: a healthy resume shows a big read and a tiny write. A large `cache_creation_input_tokens` on the first message after a break is the expensive rebuild this avoids.

- `cache_creation.ephemeral_1h_input_tokens` vs `ephemeral_5m_input_tokens`: tells you whether your session uses the 1-hour or the 5-minute cache.

As with most stuff, have Claude Code set this up for you and ask me anything you want. Happy Coding!


r/ClaudeCoding • • 5h ago

r/ClaudeCode [TLDR] Thoughts? Gemini Neon vs Opus 5.5 [via r/ClaudeCode]

0 Upvotes

OP : u/actualhabibi

What do you think about Gemini Neon vs Opus 5.5?

This is for those who used both.

Benchmarks don't tell the whole story. Tell us how you felt using it, the capabilities, speed, understanding, personality, if you had to hand-hold more or less, etc.

Share anything you want to benefit others to better understand the differences.

Gemini Neon vs Opus 5.5


r/ClaudeCoding • • 10h ago

Anyone have a spare Claude Pro pass?

0 Upvotes

Hi everyone! 👋

I'm thinking about upgrading to Claude Pro, but I'd like to try it first to see if it's worth it for me. If anyone has a spare guest pass, I'd really appreciate it if you could share one.

I plan to use it for video editing work, mainly things like writing scripts, planning edits, and generating captions and descriptions.

Thanks so much! 🙏


r/ClaudeCoding • • 11h ago

r/Claude [TLDR] Claude Code gave me my afternoons back. I keep thinking about the developer I might never hire. [via r/claude]

5 Upvotes

OP : u/Automatic-Duck-2827

Some afternoons my wife and I go mushroom picking while Claude does my client work. We can stay out as long as we like. I love that. I also get home sometimes, open my laptop, and realize I could’ve stayed in the woods.

I’m a freelance dev running several projects. On one of them alone, I had six Claude Code agents working on separate tickets. Claude reads the issue in Jira, writes the fix, runs the tests, opens a merge request, and puts screenshots in it. One client replies to Claude in Jira thinking they’re talking to me. If something’s off, their feedback is usually enough for Claude to fix it.

The part that scares me a little is how boringly well it works. Give it the repo and a clear description of what the client needs, and most tickets go through on the first try. I can still read the code and explain what it does. I still check changes to the data model myself, especially the Prisma schema. But on an ordinary ticket? There’s rarely much I would’ve changed.

I thought having more clients would eventually mean hiring another dev. Now I can start another Claude session and still go for that walk. I happen to be the person who has the clients, so I get a free afternoon. If I were a developer looking for work, that same afternoon might look like a job opening that never got posted.

I don’t know what we do with that. Maybe someday we’ll talk seriously about taxing the income those agents generate, or limiting how many one company can run. Even on my little setup, I wouldn’t know what to count. Is one Claude session that spins up six agents one worker or six?

I’m curious about something more immediate, though. Has anyone here reached the point where you would’ve hired someone, but opened another Claude session instead? I’d love to hear about that decision. It feels like one of those small things that could add up to a very different economy.


r/ClaudeCoding • • 18h ago

I’m building an open-source intelligent LLM router that runs inside AI coding agents

2 Upvotes

I’m developing AutoRouter, an open-source routing and optimization layer for AI coding agents.
The goal is to make coding agents more efficient by automatically selecting the appropriate model and reasoning effort for different types of work, instead of relying on one fixed model for everything.
The architecture is designed to integrate with existing agent harnesses rather than replace them.
The current native Codex integration supports Luna-first stage classification and model switching, subject to the available model catalog and host controls. The portable integrations currently provide routing recommendations and shared tools.
I’m working toward more advanced routing, including adaptive escalation, subagent delegation, performance-aware model selection and local progress estimation.
I want AutoRouter to become a configurable optimization layer for Codex, Claude Code and other coding agents.
GitHub: https://github.com/Z440-prod/autorouter
I’d especially appreciate feedback from people who understand coding-agent internals, model routing and harness architecture.
What capabilities would make something like this genuinely useful in your daily workflow?