I’ve been experimenting with Claude automation and ended up building something pretty useful: a way to run Claude programmatically without using the Anthropic API or paying per‑token API fees.

Instead of the API, I’m using the Claude Code CLI , which authenticates using your existing Claude.ai subscription token. I wrapped it in a .NET 10 Web API so I can call Claude from any app or script just like a normal HTTP service.

What this gives you:

No API credits needed — everything runs under your Claude subscription

Programmatic access — send prompts, get responses, build agents

Persistent conversation context stored in memory

Automatic context window management (evicts oldest messages when near 200k tokens)

Token usage reporting from the CLI

Drop‑in HTTP interface you can call from anything

I’ve been using it to automate things like:

lead generation

email writing

data extraction

document rewriting

coding helpers

multi‑step workflows

…and it costs basically nothing to run on Azure or Docker because there’s no per‑token billing involved.

I haven’t published the repo yet — still deciding — but if anyone’s interested in the architecture or wants to see how it works, I can share more details.

[留言]

为什么值得关注

能改变理解方式,而不只是重复常识;符合当前抓取需求;它提供了新的理解或解释,而不只是表面观点

来源:reddit,领域:tech,保留分:0.64