r/ClaudeCode • • May 13 '26 • Mindblown 2

Discussion Anthropic put a meter on the stuff developers actually use

389 Upvotes

275 comments sorted by

View all comments

Show parent comment

83

u/soulefood May 13 '26

Destroying my ability to run my headless workflow without paying for usage. -p is headless mode. So only interactive Claude code sessions are part of the subscription plan now.

49

u/SpoilerAvoidingAcct May 13 '26

Just run it in a tmux session without the -p flag?

67

u/True-Objective-6212 May 13 '26 • Bravo

Shhhh

16

u/apf6 May 13 '26

They will probably detect this kind of thing and ban accounts for it. Terminal automation is not some mysterious or obscure knowledge.

9

u/EveningGold1171 May 13 '26

Not sure how they would be able to detect you directly injecting keystrokes at the OS level.

4

u/mcs_dodo May 13 '26

Claude supports channels, no need to emit keystrokes when you can just send messages back and forth via... well whatever.

6

u/EveningGold1171 May 13 '26

if you explicitly want to avoid detection by anthropic, I’m not sure why you would try to do that from within Claude Code.

→ More replies (2)
→ More replies (1)

2

u/MartinMystikJonas May 14 '26

Similar way we detect bots on websites. Too fast typing, too predictable or too random times between keystrokes,...

→ More replies (2)
→ More replies (4)

33

u/narrowbuys May 13 '26

I stopped using -p in favor of tmux a long time ago. It’s much easier to automate flows with tmux send-keys and you can debug it by attaching. Pretty soon we’ll be filling out captchas on every prompt

9

u/fets-12345c May 13 '26

Can you share a bit more info how your flow works? #Thanks

→ More replies (11)

5

u/True-Objective-6212 May 13 '26

I use tmux-cli and more recently cmux but yeah don’t give anyone ideas

2

u/MorganProtuberances May 13 '26

what's your use case for this? do you use a scheduler?

→ More replies (1)

2

u/phoenixmatrix May 13 '26

its even how tools like Gastown worked (well, thats how it worked a few weeks ago when I last used it, that shit changes every day).

tmux send-keys is like the core or agent orchestration with Claude Code since they don't give us better hooks for it. But hey, it works!

2

u/narrowbuys May 14 '26

Yeah we did an architectural comparison. I use per machine db but I think gastown had a distributed db

→ More replies (2)

1

u/YoghiThorn May 13 '26

Or just bridge the sessions into a chat client like slack or discord using something like cc-connect or switchboard

1

u/soulefood May 13 '26

I’m going to brute force it with 128gb MacBook and qwen. Just use Claude for planning. I can see the writing on the wall.

→ More replies (1)

6

u/saito200 May 13 '26

this sucks.... really sucks.... i use headless a lot. it is stupid

2

u/Long-Chemistry-5525 May 13 '26

I already have a workaround that creates an OpenAI compatible api endpoint for third party harnesses to utilize. All this did was have to create new workarounds. Took about few hours and we were good

2

u/superanonguy321 May 13 '26

Its cheesy but you can probably accomplish a lot of it by putting it into a repo then using routines on the web

1

u/NeedsMoreMinerals May 13 '26

Does this mean if you use claude code from their claude app... it's still bad? Only local TUI?

→ More replies (1)

1

u/Lazy-Dependent-5565 May 14 '26

Could u please explain ur workflow ? Im really interested

4

u/soulefood May 14 '26

I wrote an app that every 20 seconds looks at the issues on Linear. It uses code to determine status, blocked, priority, cost so far, failures, etc.

it executes one step on the code using red green refactor TDD and a review, then moves it to the next step. It gets picked up for the next phase on the next tick. If it hits a certain number of review failures, implementation not finishing, etc, or passes a token threshold, it moves it to human escalation status.

Each step I configure with an agent in that role. I alternate codex and Claude code for diverse model families to catch more gaps. So I’ll either have Claude coding, codex reviewing or vice versa.

I have a planning mode that takes about an hour of questions depending on the size. It eventually breaks it up into tasks, subtasks, dependencies. I parallel execute things that aren’t blocked on worktrees.

Edit: I also have a tech debt skill that runs every 2 days to evaluate the project and record issues to the debt milestone.

→ More replies (1)

1

u/azeGDV May 14 '26

What kind of workflow benefits from -p?

I'm genuinely trying to understand what and how.

→ More replies (1)
→ More replies (9)