Live data from Hacker News

Anthropic says OpenClaw-style Claude CLI usage is allowed again

docs.openclaw.ai

261–270 of 318 posts

Re: Anthropic says OpenClaw-style Claude CLI usage is allowed again

#262
Basically, as long as you are using an Anthropic library or tool, you can use your OAuth credentials. For example, you can use the Claude Agent SDK with your OAuth credentials. This is sweet because I can prototype all sorts of agents with Claude Code embedded inside, at a predictable monthly cost. One nice use case is turning skills into standalone tools or apps.

You can also do convoluted things like run Claude Code within tmux and send input to it and read the output.

MCP Channels are interesting too for bidirectional communication between your app and a running Claude Code instance, with an MCP server sitting in between. It's slow, but allows for some interesting use cases when you want to step out of an existing CLI session to do work that is easier in a graphical interface, have Claude Code respond and do work, then when you're done, go back to the CLI session and continue, never losing context.

Re: Anthropic says OpenClaw-style Claude CLI usage is allowed again

#263

Basically, as long as you are using an Anthropic library or tool, you can use your OAuth credentials. For example, you can use the Claude Agent SDK with your OAuth credentials. This is sweet because I can prototype all sorts of agents with Claude Code embedded inside, at a predictable monthly cost. One nice use case is turning skills into standalone tools or apps. You can also do convoluted things like run Claude Cod…

[dead]

Re: Anthropic says OpenClaw-style Claude CLI usage is allowed again

#264
post #254

Earlier quoted context omitted.

They really need to figure out the rules, look I'd love to use a custom harness with Claude Code that I can extend, or build my own (which I'm doing) and use it with my Claude Code license, I don't want to overspend on tokens if I can help it. They really need to set their bar for the next model releases to use less tokens, or to trim their own cost for how these models are run. I'd be okay with a slightly slower exp…

Out of curiosity, what kind of custom harness are you thinking?

i do the tmux pane interoperability thing. i released to github yesterday tmux-browse.

its abstracted so it doesnt look like a claude code harness per se but it works like one.

docs/recipies.md shows the ralph loop

https://github.com/itsmygithubacct/tmux-browse

Re: Anthropic says OpenClaw-style Claude CLI usage is allowed again

#265

Basically, as long as you are using an Anthropic library or tool, you can use your OAuth credentials. For example, you can use the Claude Agent SDK with your OAuth credentials. This is sweet because I can prototype all sorts of agents with Claude Code embedded inside, at a predictable monthly cost. One nice use case is turning skills into standalone tools or apps. You can also do convoluted things like run Claude Cod…

You don't really need to tmux at all for Claude Code CLI. Claude Code CLI supports streaming json input, and streaming json output; you can use stdin/out as a pipe to control Claude Code CLI.

I'm doing this today in https://github.com/Cidan/ask -- works great.

Re: Anthropic says OpenClaw-style Claude CLI usage is allowed again

#266

Well that's clear as mud. I've complained, extensively, about this before but Anthropic really needs to make it clear what is and is not supported with or without a subscription. Until then, it's hard to know where you stand with using their products. I say all of this as someone who doesn't use OpenClaw or any Claw-like product currently. I just want to know what I can and can't do and currently it's impossible to k…

> Until then, it's hard to know where you stand with using their products.

Working As Designed, clearly.

Re: Anthropic says OpenClaw-style Claude CLI usage is allowed again

#267

Well that's clear as mud. I've complained, extensively, about this before but Anthropic really needs to make it clear what is and is not supported with or without a subscription. Until then, it's hard to know where you stand with using their products. I say all of this as someone who doesn't use OpenClaw or any Claw-like product currently. I just want to know what I can and can't do and currently it's impossible to k…

They really need to figure out the rules, look I'd love to use a custom harness with Claude Code that I can extend, or build my own (which I'm doing) and use it with my Claude Code license, I don't want to overspend on tokens if I can help it. They really need to set their bar for the next model releases to use less tokens, or to trim their own cost for how these models are run. I'd be okay with a slightly slower exp…

> They really need to figure out the rules

A company built groundup on rule-breaking? Ain't gonna happen.

Re: Anthropic says OpenClaw-style Claude CLI usage is allowed again

#268

Well that's clear as mud. I've complained, extensively, about this before but Anthropic really needs to make it clear what is and is not supported with or without a subscription. Until then, it's hard to know where you stand with using their products. I say all of this as someone who doesn't use OpenClaw or any Claw-like product currently. I just want to know what I can and can't do and currently it's impossible to k…

I don’t get why people are so surprised. Didn’t they learn anything from Twitter APIs and the like. The APIs are open as long as they serve the short term problem then Anthropic builds the features people actually use (more or less) and ban the usage of APIs for competing clients

This is the exact opposite of what you are describing, where Anthropic locked down the API until they released their competitor, then re-allowed API

Re: Anthropic says OpenClaw-style Claude CLI usage is allowed again

#269
Peter here from OpenClaw. For context, here’s why our post reads the way it does:

Boris from Claude Code said publicly on Twitter that CLI-style usage is allowed. We took that seriously and invested time building around that guidance. I even changed the defaults, so when using the cli we're automatially disabling features that use excessive tokens like the heartbeat feature. But in practice, Anthropic still blocks parts of our system prompt, so the actual behavior today does not match what was communicated publicly.

https://x.com/bcherny/status/2041035127430754686

They since seemed to changed their classifier as people hack around it, as it is trivial to do so with a few renames. I'm not playing that game so it's in a weird limbo where it should work in theory but doesn't in practice.

Re: Anthropic says OpenClaw-style Claude CLI usage is allowed again

#270

Peter here from OpenClaw. For context, here’s why our post reads the way it does: Boris from Claude Code said publicly on Twitter that CLI-style usage is allowed. We took that seriously and invested time building around that guidance. I even changed the defaults, so when using the cli we're automatially disabling features that use excessive tokens like the heartbeat feature. But in practice, Anthropic still blocks pa…

Looks like they are trying to correct course now, but they’ve already lost the trust, and with the new lower limits, it’s probably not worth using it in OpenClaw
Post reply on HN