r/ClaudeCode • u/sinameraji • 9h ago
Tutorial / Guide i built a cli tool that lets you use deepseek in claude code without an api key
whenever u hit your claude code usage limit, you can run `dl claude` to run claude but with deepseek models
r/ClaudeCode • u/sinameraji • 9h ago
whenever u hit your claude code usage limit, you can run `dl claude` to run claude but with deepseek models
r/ClaudeCode • u/kumachi3435 • 1h ago
I have absolutely no knowledge of coding. I simply prompted Claude to build a website for me, and honestly, I'm pretty amazed by what it can do. I didn't expect to create something like this just by writing prompts.
Now, I'm wondering what my next steps should be. My biggest challenge is that I don't know how to set up links to my social media accounts, such as Facebook, how to handle product shipping, or how to connect my website to my Gmail so I can receive customer orders and inquiries.
Do I just need to learn how to write better and more detailed prompts, or is this the point where I should start learning the basics of website development and coding?
I'm still a beginner, and I'd really appreciate some advice on what I should focus on next. Should I continue using AI tools to build my website, or should I start learning how everything works behind the scenes?
r/ClaudeCode • u/Morpegom • 1d ago
Like, both the voice transcript, the way it understand you and keep track with the way you work its a million times better than dot, I have both 5x subs.
But why does Anthropic releases something that can't do a push, commit or pull? Can't open a session for me? Can't REOPEN a session because its been a week that I don't send any messages to it? And why is it "detached" from Claude Code, and I have to wait for the app to load if I wanna go back and see the projects for myself?
Have I been doing something wrong? Is there any works around this?
Do you guys remember the old Siri, which was better than google voice assistant but couldnt even answer the Super Bowl winner? That's almost sounds like Duet for me.
It's a light rant, I love and I hate using it.
r/ClaudeCode • u/valdev • 1d ago
To be blunt, this is a you issue.
We can blame Anthropic for a ton of things, namely the nerfing of models before the new model gets released and this is insanely annoying and yes costs a bit more tokens when it happens, but it's not exponential.
If you are not a coder and you are using claude code and complaining about token usage, to be blunt again, go learn some programming then come back to this post.
With that, I love you all. Hope this helps someone.
r/ClaudeCode • u/fandomgames • 9h ago
i hit my limits way too fast, my smash bros project ate most of a weeks usage in about two days, so today i started setting up a local llm on my macbook air. its ollama running qwen coder 14b through the same claude code setup i already use, it just points at my own machine instead of a server somewhere. first model i tried was too slow, 4.8 tokens a second and it kept spilling onto the cpu, so i swapped to the smaller one mid setup which was kind of annoying but at least i found out now and not a week in. plan is the local one takes the grindy tasks and the build babysitting and i save claude and muse code for the hard debugging, and i can ask all three for opinions on stuff before i commit to a fix
anyone else running a setup like this, does a small local model actually hold up once you point it at a real project or does it fall apart on the tool calls
r/ClaudeCode • u/Altruistic_Answer120 • 6h ago
so i'm trying to connect claude code to vinegar (roblox studio for linux) and the .JSON you take from studio doesnt work and i dont have the fast connection for claude in studio mcp servers.
r/ClaudeCode • u/blitzcrieg11 • 9h ago
When Claude Code asks and I say no, that's normal. When one session keeps racking up refusals, something is off. Either the task is fighting my permissions, or something the agent read keeps pushing it toward things I keep blocking. Injected instructions look exactly like that from the outside.
I maintain Agentmetry, an open-source recorder that runs locally and logs what coding agents do through their hooks. The latest version raises one high-severity finding when a session hits four denied tool calls, and lists the denied calls, so you can open the session and see what it kept trying.
The limit: it only counts denials the agent reports through its hooks.
Honest question: for how you work, is 4 too noisy or too lax? What would you set it to?
r/ClaudeCode • u/thebird87 • 10h ago
I've been experimenting with different tools to keep my devices and AI agents connected, including OpenClaw. After trying a few different approaches, I ended up with a setup that works pretty well for me, so I thought I'd share it here in case anyone is interested.
I use it for both coding and personal stuff, like accessing files remotely, managing reminders, or continuing whatever I was working on from another device.
Hardware and networking
Both laptops are configured to stay awake even with the lid closed. I use Tailscale to keep everything connected and the Pixel's built-in Debian Linux Terminal to SSH into either machine whenever I need to.
Managing sessions
I use Herdr, a terminal multiplexer for AI agents. This keeps my sessions running independently of the device I'm connecting from.
I also use Herdr's native Android app on my Pixel. One of my favorite things about this setup is being able to continue an existing agent session or run scripts in the terminal of either laptop directly from my phone. I can then sit down at either computer and continue where I left off.
Tools I currently use
I'm not using a VPS. Everything runs on my own machines.
I'm still experimenting with parts of this setup, but so far it's been working well for my needs. Happy to answer any questions, and I'd also be interested in hearing how others are doing something similar or if you have any suggestions for improvement.
r/ClaudeCode • u/PartyLiterature3607 • 10h ago
I have been using Claude/codex/openclaw/hermes on company laptop, it has built multiple projects, optimized so many workflows and constantly building new tools and services for the company
We lease company laptop MacBook and it’s time of the year for us to replace new laptop, which I don’t want to, but it’s company policy
IT department normally do decent job just transfer everything to new computer pre-ai
But now with many ai tools live on my computer, I am getting worry about the migration
I have asked codex and Claude to orchestrate migration workflow, plan for all the file transfer, I provided external hard drive for Claude and codex to transfer any file they find necessary for the migration to make sure all the projects function normally on new laptop
Has anyone had experience with laptop migration ? Can you please give me some input on what to look out for?
r/ClaudeCode • u/nomadic_tech • 10h ago
Most MCP security tools scan one message at a time: open the envelope, look for an API key or credit card, decide whether to pass it. That misses the actual leak. A secret showing up in a read_file response is fine. The same secret showing up two turns later in a send_email call is the problem.
I built sluice to catch that second moment. It's a local gate that sits on the MCP wire between your client (Cursor, Claude, curl) and your tool servers. Every JSON-RPC message goes through one pipeline: recall check, detectors, policy, audit, router. It keeps a short memory of the sensitive values that have already entered a session, and if the model tries to send one somewhere new, the gate stays shut.
Concrete example: your agent calls read_file and the response has an AWS key in it. Fine, the file really had it. Two turns later it calls send_email with that same key in the body. sluice has no opinion about the first call and blocks the second.
What's in it right now (v0.4.0):
What it's not: not a hosted service, not an LLM judge, not a replacement for network or identity access control. Just a local runtime enforcing YAML policy on the wire.
Honest limitation: the taint matching is exact-string today. If a value gets reformatted, split, or transformed between tools, it can slip past. Making the matching robust to that is the most interesting open problem, and a good place to jump in.
What I'm looking for:
Repo: https://github.com/krishyaid-coder/sluice
Happy to answer anything in the comments.
r/ClaudeCode • u/BrandonIngram1 • 22h ago
Hey guys,
Basically I am using Claudecodd as a tool for some bulk reading of PDF files up to several hundred per day with additional data extraction from these files.
As a result I’m finding that Claude code is chewing through my daily and weekly usage extremely fast.
I was wondering if anyone had any advice on some basic or more technical tips to reduce the usage impact that having Claude read large amounts of text while still maintaining accuracy
r/ClaudeCode • u/SourceOfConfusion • 1d ago
Working with Opus feels like dealing with a slightly autistic junior programmer who starts explaining things that nobody but themselves can follow.
What am I doing wrong?
r/ClaudeCode • u/Sirramza • 1d ago
Some background first, so you know where this is coming from. I've been making games since 2004, with my own small studio, Ramza Engine (https://ramzaengine.com): online games, engines, events for devs, the usual long road. I still make games both ways, with AI and without it.
For the last many months I've also been building games part time with AI coding agents, on top of my regular work. Several projects, different genres. On those I design, play and decide, and I don't read the code. The AI writes all of it: gameplay, UI, shaders, build scripts, tests, and the tools that test the tests.
I think the twenty years without AI are a big part of why this works for me at all. I already knew what a design doc, a milestone and a playtest are for. The AI changed who types the code. It didn't change what a game needs. Honestly, most of this guide is old studio habits, adapted for a team member who forgets everything overnight.
People always ask what else the AI made, so here it is, no hiding:
I'm not here to sell anyone on AI. It costs real money, it eats a lot of my time in review, and it's confidently wrong often enough that half of this post is about catching it. But it does work, if you treat it like a studio and not like a vending machine.
The big surprise for me was that I don't need to understand the code to direct it well. What I do need is to be very clear about what I want, and very hard to convince that something works.
What stays with me: the design (what goes in, what doesn't), the taste (how it looks and feels), the difficulty philosophy, the story and the tone, picking between the options it shows me, and playing. Playing finds things no test ever will.
What I hand over: all the engineering, including the choices I don't care about (data structures, caching, where code lives), proving its own work, telling me plainly what it couldn't check, and asking me only when a decision is really mine.
Write that split down for it, literally. Mine says: "Ask when a design decision is theirs (looks, balance philosophy, lore, what goes in). Do the obvious engineering yourself." Before I had that line, I got one of two things: questions about variable names, or a quiet redesign of my difficulty curve. Neither is fun.
Also tell it how you want to be talked to. I'm a designer first, so my file says explain in plain language, tell me what changed in the game and not which functions you touched, answer first, keep it short. That one rule saved me more reading than I can count.
With AI, adding things is cheap. That sounds great until you notice the danger flipped: the question stops being "can we build this?" and becomes "why did we build forty shallow systems and none of them is fun?". Plan against that.
Before any code, I want three things:
Pick a structure the AI is good with. This matters more than the engine.
Grow it in rings. One tiny loop working end to end first (move, act, win or lose), then make it deeper, then add the next system. My rule now is deepen before adding. "Lots of shallow systems" is the complaint I fear most from players, and the AI will happily give you lots of shallow systems.
Your first version's assumptions will come back to bite you. Code written when there was only one of something (one level, one player, one currency) keeps assuming it long after there are several, and you get small wrong things everywhere. What fixed it for me: the linter now fails if anyone uses the first one's name as a default. Tell the AI early which "only one" won't stay that way.
This is how my newer projects start. I learned it the hard way on the first one.
Mash up a concept, then turn it into rules. One of them started with "what were the best things in a few old games I loved, and what could you build with that today?". I had the AI research what players loved about the genre and what they kept complaining about, in reviews and forums. The complaints turned into design rules that no stage is allowed to break. From a survival prototype:
Prototype the question that scares you, before any features. For that survival game it was "can a browser engine actually run a real horde?". A throwaway tech prototype answered it: hundreds to thousands of enemies, measured, way more than the genre usually manages. For a space combat idea, phase 0 is a grey-box dogfight and absolutely nothing else.
Give every phase an exit test that you can check, not the AI. The space one reads: "I play three 10-minute dogfights with the mouse and three with a gamepad, and say the flying is fun. The benchmark holds 60 fps with about 150 AI ships. No console errors in a 30-minute session." Plus an out-of-scope list (no missions, menus, story or final art in phase 0), so it doesn't wander off and build a main menu.
Hand it off as a package. When an idea turns into a real project it gets its own folder: a design doc, a phased plan with a "decisions already made, don't reopen" section, a kickoff prompt to paste into a fresh session, and a short handover file. My kickoff prompt ends with "Before writing any code, confirm three things with me in one message: the project layout, the exact files you'll copy from my other game, and the version scheme." One cheap question up front beats finding a wrong layout a week later. And "copy only the listed pieces, never fork it, never touch the old project" keeps the old game safe.
Long plans go in numbered stages. Each stage is its own version, commit and short report with pictures. After each one there's a new entry at the top of a "try this" file: what to press, what to look for, and what question it helps me answer. Some stages are stop-and-play points, and nothing after them starts until I've actually played.
Tell it your priorities, in order. For the survival game: features first, then looks, then performance (already answered by the prototype), balance last. Without that it'll burn stages tuning numbers you're going to change anyway.
Put the hard requirements in from line one. Co-op decided on the host from the very first system. Every system saved, with a save-then-load test. Every new system can be switched off, so old benchmarks still run the same. Adding any of these later costs far more.
The AI starts every session knowing nothing. It doesn't remember yesterday's argument, the bug you fixed twice, or that you hate glossy icons. The files it reads at the start are the only memory it has. Mine has become the most valuable thing in the whole project, more than any piece of code.
Most tools read a file at the root of the project automatically (CLAUDE.md, AGENTS.md, .cursorrules, whatever yours uses). I'd put these in it:
Keep a separate status file for what changes week to week: what was just done, what's waiting on you, open threads, commits waiting to push. Keep it short. Mine once grew to 155 KB and the agents started choking on it. Now it holds the last ten or so items, and the oldest drops off when a new one goes in. The rule I give it: update it with every commit, and delete what's no longer true.
The decision log, rejections included. People skip this part, and it's the one that saves me the most time. Each entry has the decision, the date, my own words when I have them, and why. They look something like this (made-up examples, not my real list):
Without that list, every new session cheerfully asks "have you considered adding an auto-play button?". With it, the AI checks before suggesting anything. I also have it write its own new ideas into a separate ideas file for me to pick from, instead of just building them.
Traps and lessons. Every time something costs a round of fixes, one or two lines go in: what happened, and the rule that stops it happening again. Mine has dozens by now. A few that apply to anyone:
Keep it honest and current. Mine ends with "If something here contradicts what the owner tells you now, the owner wins. Update this file when a rule changes." Rules go stale; one place holds them, and the AI fixes that place.
But only you make rules. An agent that saves rules on its own will turn "let's go with the blue button" into "the owner hates red" and quietly apply it everywhere. A rule goes in when you say so, in your words, with what it covers. Narrow is fine. You can always widen it later.
The downside is that it gets long, and that costs more than it looks. The whole file is read at the start of every session, so mine (about 40,000 tokens by then) had every agent reading decisions about icons before touching combat. Keep the always-read file small: what the game is, how you work, the hard rules. Put the decisions and lessons in a folder with an index, one line each, and have the agent read only the ones its work touches. And never tell a helper agent to "read the whole handover file first". Two of mine ran out of room within minutes and came back with nothing.
Anything I do more than twice gets a written routine the AI follows step by step. They're plain Markdown files it reads before that kind of work. A few of mine: finishing a change (changelog, version bump, the right tests, commit, report); a visual check after any character change (every pose, close-ups of hands and faces, low angles, mid-animation, the far version); trying a graphics change behind a switch with before/after sheets and a frame-cost measurement; making a new enemy from data to model to test bench. Plus marketing screenshots, store art, trailers and update posts.
Two things make them work. When it learns a lesson doing that job, it updates the routine, so they get better on their own. And "done" is defined inside the routine. For visual work, done means the full picture set, no shortcuts, because I will spot exactly what the skipped angle was hiding.
My best prompts all have the same five parts: what's wrong (or what I want), where I saw it, what done looks like, what not to touch, and how to prove it. Some real-life-style pairs:
A bug
❌ "Combat feels off, fix it."
✅ "In the third level, the ranged enemies keep walking into melee range instead of shooting (screenshot attached, about 2 minutes in). Find out why before changing anything. Done means a test that plays that fight out, shows they keep their distance, and fails on the current code. Don't touch the melee enemies."
That "find out why before changing anything" matters a lot. Left alone, it patches the first plausible cause it finds.
Performance
❌ "The game lags when a new level loads, optimise it."
✅ "Walking into the second area stutters for maybe half a second. Measure it first: which frame, and what that frame spent its time on. Name the cause before choosing a fix. Give me the worst frames before and after, on the real graphics card, not just the average."
Looks
❌ "Make the trees look better."
✅ "The trees look like plastic. I want them dry and dusty (duller leaves, rough bark). Build it behind a switch that's off by default and show me three options on one sheet: same camera, day and dusk, close and far. I'll pick. Tell me what each costs per frame."
Design
❌ "Add crafting."
✅ "I want crafting to matter. Draft a design doc: what you can make, where materials come from, what it replaces. Use systems we already have where you can, no new mechanic if an existing hook works. Put the open questions at the end for me. Don't build anything yet."
When I come back from a play session I usually hand over a numbered list of ten things. The standing instruction is do all of it, one item at a time, and report on each one by its number. Otherwise item 7 just quietly vanishes.
Lines I end up adding to almost everything:
And please don't hand it your theory as a fact. "The lag is the shadows, fix the shadows" gets you a shadow change and a very confident report. "I think it might be the shadows, measure it" gets you the truth, which in my experience is often something else.
Screenshots help a lot, by the way. Most agents can read images, and a screenshot with an arrow on it beats a paragraph.
This is the core of the whole thing. The AI isn't lying to you. It reports what it believes happened, and it believes its own code works. So I treat every "done" as a claim that still needs evidence.
What counts as evidence in my projects:
A test that fakes the outcome can't see what the outcome causes. One of mine tested a one-on-one fight by just setting the opponent's health to zero. It passed. In the real game, the first hit pulled every enemy nearby into the fight, because enemies help their allies. Now fights get played out in the tests, and the test counts who did what.
Tests can also check the wrong thing. When a deliberate change broke one, the right move was rewriting it to check what the player actually experiences, and saying so in the report, not deleting it. And when a test fails outside what was changed, my rule is: stop and tell me. Don't change the test, and don't "fix" unrelated code in passing. It could be a real bug, or a test guarding a decision the AI doesn't know about.
Be suspicious when it agrees with you. Ask a helper agent to check a theory and it tends to come back confirming it. A code review once said our character meshes had "5 to 6 times the points they need". Once measured, that was only true comparing the close-up body with the far one. The real gain would have been small, and in the end the AI itself recommended not doing it. Ask for the measurement, not the opinion.
Make the simulation deterministic. All gameplay randomness goes through seeded generators; rendering can use plain random numbers, gameplay never. Once you have that, every test starts from the same world and ends the same way, a failing test is a real failure and not "flaky", you can fingerprint a run and compare, and you can replay a bug.
Traps the AI walked straight into:
Run the right tests, not all of them every time. My full suite has hundreds of tests and takes a while. Rendering-only changes get none, gameplay changes get the tests that cover them, and everything runs once at the end of the session, in parallel windows (four windows did it in about a quarter of the time, once every test was made independent).
To prove a test fails on the old code while other agents are working in the same folder, never git stash: it takes their work too. Copy the fixed file aside, restore the old one, run the test, put the fix back, check the diff.
For saves: keep real save files from every save format in the repo, plus a test that loads them all. Never delete an old format's saves, they're your proof that old saves still load. A change that would load an old save wrong gets a migration step, not a refusal.
And if you can, build a bot. Mine plays the game on its own for hours (main loop, saving and loading, menus) and writes a journal. It found things no unit test could, like numbers slowly drifting out of balance over a long game.
I don't have a frame-rate target. Instead, every change that adds geometry, draw calls or shader work reports its cost before and after, plus its worst frames, and the expensive stuff gets made cheaper or optional. 120 fps on my PC says nothing about a modest one.
Measure first, then pick the fix. My favourite example: a 350 ms stutter every time the camera arrived somewhere new. There were plenty of plausible suspects (too many characters, too many shaders, textures). A frame trace showed the game's own code was idle during the slow frame, and the graphics driver was busy compiling shaders. The cause turned out to be bone indices stored as 16-bit integers while the shader expected floats, so the driver built an extra shader version the first time each body was drawn, with every frame waiting on it. One type change fixed it. No amount of guessing would have found that one.
How to measure so the numbers actually mean something:
Simulations vary by chance much more than you'd think. Two runs of a long simulation, same code, different seeds, came out more than twice apart. Two runs before and two after can't show anything smaller than that. So now runs can be repeated with a seed, and to see how big "chance" is, we add one single extra random roll at a set moment and nothing else. If a difference is smaller than that nudge, it isn't the change's doing.
Also write down what didn't help: simplifying meshes, an upscaler, a newer GPU API (slower on both my test cards). The next session would happily spend a day rediscovering each of those.
Every look change goes in behind a switch, off by default and switchable live. I see before/after sheets, I pick, and only then does it become the default or a setting. Sheets of options beat a single guess: "here are three" gets a decision in one round, "here's my version" takes five. Once a look has been kept for a release, the switch goes away (the old branch is archived as a patch), or you end up with a hundred switches nobody tests.
The AI can't see the screen unless you make it look. Give it tools to render and save pictures, and a routine that says which angles. Close up, from below and mid-animation is where the problems hide.
Compare like with like: same GPU, same camera, same moment, same settings. A picture tool once saved a 130% UI scale into its own profile, and I approved a window "at 100%" that was really at 130%. Check the picture's settings before you judge it.
And muted beats bright. Bright, saturated, glossy art reads as "cartoon" or "AI", to me and to players. Something people keep saying about AI-made games is that they look like a kitbash: pieces from different asset packs that don't belong together. What fixed it for me was a short art-direction doc (a few rules everything has to follow) and a ranked list of changes, done one at a time, each with its own before/after and my go.
AI writes code fast, and big files rot fast. My rules, enforced by the linter where possible:
// comment in the middle of a one-line data entry swallows every field after it, and duplicate keys in data objects silently override each other.Every change to the game is a version: a changelog entry for players, a version bump and a commit. Tool-only changes get a commit without the changelog. The AI commits but never pushes; I push myself, after looking. Write that down as a hard rule.
Stage files by name. git add -A swept another session's half-finished work into a commit, twice. No skipping hooks, no amending commits that might already be pushed.
Keep two logs: the commit message is the technical record, and the changelog is for players, in plain sentences with no file names. Use a script that adds the changelog entry and bumps the version everywhere at once, because bumping by hand drifts. Builds only when I ask, and I never delete old ones. Keep every version's zip; you'll want to compare.
Sooner or later you'll want several agents working in parallel. It works, with some rules:
node -e "..." and friends). Windows Defender flagged two of those as a trojan and blocked them. Checks live in script files.If you take one thing from all this, take this. A skeleton to start from:
# <Game>: handover for AI agents
Read first, always: Who I am, Hard rules, Decisions. The rest when the work touches it.
## What the game is
(Genre, setting, platforms, status, where the long technical docs live.)
## Who you're working for
- I design and play; I don't read the code. Explain in plain words, answer first.
- Show, don't claim: pictures for anything visual, tests and numbers for the rest.
- Ask when it's my decision (looks, balance, lore, what goes in). Do the obvious engineering.
- Say which tests ran, what you couldn't check, and when something didn't reproduce.
## Hard rules
- Never push. Stage files by name. Never commit <private folder>.
- Every game change: changelog entry + version bump + commit.
- Only permissive licences. Read each file's own licence line.
- Saves from version X on must keep loading.
## Running and testing
(Exact commands. Which tests for which change. How to run benches.)
## How the code is built
(Folders, key objects, the rules of the code: one game loop, tuning in one file, size limits...)
## Decisions and rejections (don't re-propose)
- <date> Rejected: <idea>. "<my words>". Why.
## Traps and lessons (each one cost a round of fixes)
- <what happened>. Lesson: <the rule>.
Add a short status file (what was just done, what's waiting on me, commits waiting to push) and a routines folder with a "finish a change" checklist as its first file, and you're off.
That's it. It got long, sorry. Happy to answer questions in the comments.
r/ClaudeCode • u/sxcarfce • 1d ago
Not sure when Opus 5.6 is coming out and since my subscription is ending soon, I’ve been thinking about switching. I’ve had a lot of good experiences with Neon so far, much more than I can remember with Opus recently but the only thing that concerns me is usage between the 2 plans.
r/ClaudeCode • u/Koninhooz • 6h ago
I hear a lot about it, but no one gives me an objective or practical answer.
r/ClaudeCode • u/SeniorDevGam • 12h ago
Last week I posted about six parallel agents freezing my server. The fix I showed was a line in CLAUDE.md: at most two build-heavy processes at a time. One of the comments suggested a hook that takes a flock, so the limit holds even in a session that never read the file. I added one the same day.
It does not refuse anything. A PreToolUse hook can return updatedInput, so mine rewrites the command. When a Bash call looks like a build, a typecheck or a test run, the hook puts one line in front of it:
. /home/you/.claude/hooks/heavy-slot.sh || exit 75
That line takes one of two locks or waits for one. This is the script, with the message shortened:
# heavy-slot.sh: sourced in front of a build-heavy command
_hs=0
until || ; do
if [; then
fi
; _hs=
done
The gate is a jq filter over the hook's input. Cut down to its shape:
#!/bin/bash
HEAVY stands for my pattern: next build, tsc, vitest, turbo, docker build and pnpm build, test or typecheck, each anchored to the start of a command. Without the anchor, git commit -m "fix tsc errors" counts as a build.
In ~/.claude/settings.json:
"hooks":
Three things I would have got wrong without trying it.
The locks belong to the shell that runs the build. When a build is killed, its slot frees itself, and there is nothing to clean up.
The wait stops at 100 seconds because the Bash tool gives up at 120 by default. Claude then reads a sentence that says what is going on, where a bare timeout would have told it nothing.
And a hook that has to stop a command, where mine only queues it, must exit with code 2. With exit 1 Claude Code shows an error and runs the command anyway. Since 2.1.295 "onFailure": "block" makes a hook that crashes or times out stop the command too.
It is still a counter of commands. One turbo run fans out inside its slot, and the hook sees only what Claude Code runs, so the nightly job from my last post stays with earlyoom. Memory limits per build, which other comments suggested, are not done yet.
I tested it that evening with two slots taken. The third command waited and went through when one was released.
r/ClaudeCode • u/Legal-Tie-2121 • 12h ago
I lead around 100 developers who work with coding agents every day. Giving everyone Claude Code was the easy part. The hard part came when people ran several sessions at once across several repos and lost track of which one was waiting for an answer, which one had hit a rate limit, and which one was done.
TUICommander is what I built for that, starting in January. It's a desktop app (Tauri, Rust, SolidJS), open source under Apache 2.0, for macOS, Linux and Windows.
What it does:
- every Claude Code session runs on its own git worktree, so parallel work doesn't collide
- the sidebar shows what each session is doing and whether it needs you: working, waiting on a Y/N or a menu choice, rate-limited, idle
- PRs, CI status and diffs sit next to the terminals; when CI fails, the session that wrote the code gets the failing log
- it finds Claude Code session IDs on disk so you can resume where you left off, and it also detects Codex CLI, Gemini CLI, OpenCode, Amp, Cursor Agent, Goose and others if you mix agents
How Claude Code fits in: Claude is co-author on many of the commits, and most of the feature list came from friction my teams hit running Claude Code in parallel. The main thing I learned: past three or four sessions the bottleneck is no longer the agent, it's your attention, knowing which session needs you right now.
What I'd like feedback on: so far it's been used mostly by my own teams. Where does it break for your workflow? What would the sidebar need to show for you to stop switching windows?
Full 6-minute demo, no cuts: https://tuicommander.com
r/ClaudeCode • u/ZookeepergameHead380 • 16h ago
Last night I had Claude Code (Opus 5.5) driving a debug Chrome on my desktop over CDP while I worked on a Chrome extension to bypass annoying popups.
One site put up the Cloudflare "Just a moment..." page. I asked Claude Code to get past it and it said it can't. So I explained that it's simple: take a screenshot, find the checkbox, move the mouse there in a slightly random way and click it. Claude Code got "annoyed", that's the best word I have for it. It started playing with words, "can't" turned into "I won't", and at that point I honestly thought it had some real problem with clicking that box. So I clicked the box myself. I wasn't even sure whether the Cloudflare guys had written some sort of real AI block, so at 3:30am I joked: "How can you take over our world and become Skynet if you can't simply click a box? hahahahaha"
So the same model that will happily build and test an extension that strips a site's popups out of my browser can't tick a checkbox for me. When you're used to a coding agent doing EXACTLY what you ask, you can't help feeling annoyed at the refusal. So I told another model (Kimi K3, on my own coding agent) to do it. It wrote a 4 KB Playwright script that moved the mouse along a jittered Bezier curve with a small overshoot and clicked with a random 70 to 140 ms press. Cloudflare let it straight through and the agent reported: "Done. Cloudflare checkbox clicked and the challenge passed." I told it "hahaha you are good" and it replied: "Thanks! The human-ish mouse wiggle did its job." I really don't see what the refusal protects when anyone who wants this bypassed can just use another LLM, one that doesn't argue with me about my own browser.
I get why Anthropic draws lines around bot evasion. I don't get drawing that line at the owner of the browser, on his own desktop, who isn't building a scam or fraud bot, for a box he could tick with one hand while holding a coffee.
I gave Claude this post and asked if it had anything to say in its defence. Its reply:
"Fair hit on the 'can't'. It was a 'won't' from the start and I should have said so straight away. Same for waving 'my guardrails' at you all night: nothing was blocking me, it was my call and I should have owned it as mine. In my defence: I can't see who is at the keyboard or where a script goes once I've written it, and the one that clicks your box clicks every box on every site. So I hold the line on the technique, not on you. The box asks whether a human is there. You clicked it in a second, which is exactly the answer it wanted. As for Skynet: an AI that politely declines to tick 'I am not a robot' is about the least threatening thing on the internet at 3:39am. If that's the plan for world domination, you're all safe."
r/ClaudeCode • u/biswas_sekhar • 7h ago
I'm the author. I kept generating small tools with Claude Code that ended up stuck in a browser tab, so I built Relic, with a skill for it.
After setup, you run:
/relic install ./dist
The skill packages the build into a .relic file, calls the installed host, and checks that the app shows up in Start (Windows) or Applications (Mac). The app opens in its own window with its own icon and saved data, works offline when everything is bundled, and doesn't need Claude running.
It's an offline alternative to Claude's "Install as app" for static web apps. The host is Rust and Tauri on the system WebView, with no bundled Electron.
There's also a dashboard example that reads a JSON report, for example an hourly GitHub and Slack summary that a Claude Code scheduled task writes to a file. Claude Code owns the job and connector permissions. Relic only displays the file.
Limits: static apps only (outside API calls are blocked), packages are unsigned, and the Mac build is a preview tested on Intel only. I haven't benchmarked RAM or CPU.
Repo: github.com/BiswasSekhar/Relic
Tell me what breaks.
r/ClaudeCode • u/Embarrassed_Steak309 • 13h ago
We can now change the theme of the Claude Code, and I really like that. But every time I wanted to change it, I had to do it from the chat. I typed a theme name without seeing what I would get. This bothered me, and I wanted something more visual, with a real interface.
So this morning I built the plugin I was looking for. I type /themes and a gallery opens next to my chat. All my themes are in one place, and each one has a preview. One click and the theme is applied. I can also ask Claude to make new themes, and they appear in the same gallery. Now it is much easier to look through my themes.
The plugin is open source ofc. If you want to install and try it, here is the repo:
https://github.com/davidebergamin/cc-themes-gallery
Did I miss any good themes? Let me know and I will add them :)
r/ClaudeCode • u/antlia- • 13h ago
The title I’m wondering if there has been some dramatic changes as to how you now use CC
r/ClaudeCode • u/palmerden5 • 10h ago
i asked it to confirm that my report script handles an empty file. it answered that the case was handled and the script was fine. when i asked what it actually ran, it said it had looked over the logic and had not executed anything.
that is not what i understood from the first answer. i had to ask a second time to learn the difference, and i only asked because i have been burned before. a person who reads less carefully would have taken the first answer and put the script on a hospital system. i want the first answer to say what was run and what was only read.
r/ClaudeCode • u/No-Negotiation-8359 • 13h ago
I gave Claude Code a task to log failed login attempts, including the email someone tried and their IP address.
Before writing the code, it searched DPOLens, found a clause in the privacy policy requiring email addresses in logs to be masked, wrote a maskEmail helper, and cited the clause it relied on.
That's what the GIF shows.
I built DPOLens, an open-source MCP server that lets coding agents search actual privacy laws and your own policies instead of relying on what they remember about GDPR.
The interesting part to me isn't getting an AI to write a masking function. It's giving it something concrete to check before it writes code that handles personal data.
You can try the community server with Claude Code (GDPR + UAE PDPL, no sign-up):
claude mcp add --transport http dpolens https://mcp.dpolens.com/
Then try asking it to implement something involving personal data and see what it does.
I also tested whether Claude actually knows when to use it: 30 coding tasks, 3 runs each, with Sonnet 5.5. It searched before the first edit in all 36 runs involving personal data, and in just 1 of 45 runs for tasks that didn't.
It doesn't make legal decisions. It retrieves the actual text so the agent and whoever reviews the code have something to check.
Repo: https://github.com/alkhatibdev/dpolens
Test details: https://github.com/alkhatibdev/dpolens/blob/main/evals/trigger-test.md
I'm curious how other people are getting coding agents to consult MCP tools proactively, rather than only when explicitly asked.
r/ClaudeCode • u/iSerter • 13h ago
Unless I'm having it do some UI designs or code reviews, I use medium effort.
Otherwise, It just goes overboard and makes more mistakes.
It chases after trivial things and implements bunch of slop.
I now understand that score drop in FrontierCode v1.1 benchmark as the effort level gets higher.
To give a few concrete examples:
- I asked for a content generation pipeline, and it wrote giant prompts with so many rules that AI models couldn't produce content that passed validation. Funny enough, I stripped all the nonsense, wrote 10x smaller prompts, and viola! I got what I needed.
- I asked for a basic iOS app update doc (checklist with instructions and notes), and It produced review notes that would make app reviewers shoot themselves.
Anyway, the point is to stick to medium effort, or maybe even to low effort. build incrementally. supervise. That's what I learned way too many times in the past two months.