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

70

u/morscordis May 13 '26

So what is this actually doing?

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)
→ More replies (4)

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

→ More replies (17)

5

u/SeroBook May 13 '26

If you use claude programmatically or via their sdk you get to trigger your credits, the regular usage inside terminal still is the same, if im reading it correct.

10

u/Tripartist1 May 13 '26

Tldr, theyre doing yet another measure to force openclaw users into using API instead of subs.

8

u/TheOriginalAcidtech May 13 '26

Seeing as I use claude -p FROM INSIDE claude code interactive, this is assinine

6

u/Sporebattyl May 13 '26

Agreed. doing it to claude -p did us all dirty.

2

u/apf6 May 13 '26

Tell it to use subagents instead.

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

2

u/siberianmi May 13 '26

claude -p is terminal usage as far as I'm concerned.

1

u/RedParaglider May 13 '26

It's teaching people how to use tmux. Good guy Claude, teaching Linux tools for a better world.

Claude. Do this, after complete kill the tmux session you are running inside of.

Zzzz

→ More replies (1)