Hacker News
points by giancarlostoro 1 day ago | 0 comments
Claude Code wont let me use their sub with one as far as I remember. So I'm stuck with their convoluted TUI. It does what I need, and when it doesn't I just build tools that Claude consumes. The new "Artifacts" feature has helped a bit though.
[–] NezArk 1 day ago
You can. Anthropic documents it: the Agent SDK and claude -p work signed in with your Claude plan and draw from your normal subscription limits. https://support.claude.com/en/articles/15036540-use-the-clau...

We build a desktop app on top of the SDK, so I've spent a lot of time on that page.

[–] hedgehog 1 day ago
Not true any more, read the note at the top of that page. They give you API credits but it's limited.
[–] InsideOutSanta 1 day ago
Anthropic employees clarified in HN comment threads that the API credits are in addition to the existing behavior and not a replacement. Other harnesses can still call the Claude Code CLI and use the subscription quota that way.
[–] giancarlostoro 1 day ago
They need to stop clarifying on HN and X and MiGente / MySpace / Angelfire and whatever else and update their damn docs, I am not taking a risk on my account because of he said she said.
[–] InsideOutSanta 23 hours ago
I just checked, the docs now say this:

"the Claude Agent SDK and claude -p still draw from your subscription limits"

https://support.claude.com/en/articles/15036540-use-the-clau...

[–] threecheese 1 day ago
Tbh I think Thariq or one of the others passively hinted/suggested but didn't come out and make a categorical statement. I've seen anecdotal evidence of folks getting those extra data messages in various "not using the official harness" scenarios, but there's way more people like you who are not having issues.
[–] InsideOutSanta 23 hours ago
I just checked, the docs now say this:

"the Claude Agent SDK and claude -p still draw from your subscription limits"

https://support.claude.com/en/articles/15036540-use-the-clau...

[–] lxembourg 1 day ago
…have you read that note? Specifically the last half?
[–] hedgehog 1 day ago
The wording is ambiguous but empirically when I last ran claude -p as part of a job it drew from my $200 API credit.
[–] mellab2 1 day ago
Can confirm it draws from my subscription
[–] InsideOutSanta 1 day ago
Not for me, it uses subscription quota.
[–] hedgehog 1 day ago
Interesting could be a bug on my end. I'll look and see if it's a problem with how I set up my sandboxes, or something related to the precedence when both are available in the environment. With all the back and forth on their messaging at the time I took it as a cue to remove the Claude Code dependency from my workflow and start using other providers' models more.
[–] dichiara19 1 day ago
I can confirm that the priority is alwys given to credentials, as they themselves state in the documentation they updated yesterday: https://support.claude.com/en/articles/15036540-use-the-clau... Essentially, in the -p option, if an ANTHROPIC_API_KEY is present, it is always used instead of the login; see here https://code.claude.com/docs/en/authentication#authenticatio..., so I would suggest you check your environment variables
[–] yako21000 1 day ago
It's the one features that keeps me using claude, it's simply convenient.
[–] giancarlostoro 1 day ago
I was both excited and disappointed to learn that Claude Code has plugins, but they're not like actual plugins to let you customize CC, which would be nice.