← Back to context

Comment by apwell23

7 days ago

sucks that i can't use any of these because claude code has me in golden handcuffs. I don't care about the cli but for a hobbyist i can't afford to call llm apis directly.

I've been meaning to try out Opencode on the basis of this comment from a few weeks back where one of the devs indicated that Claude Pro subscriptions worked with Opencode:

> opencode kinda cheats by using Antropic client ID and pretending to be Claude Code, so it can use your existing subscription. [1]

I'd definitely like to see Anthropic provide a better way for the user's choice of clients to take advantage of the subscription. The way things stand today, I feel like I'm left with no choice but to stick to Claude Code for sonnet models and try out cool tools like this one with local models.

Now, with all that said, I did recently have Claude code me up a POC where I used Playwright to automate the Claude desktop app, with the idea being that you could put an API in front of it and take advantage of subscription pricing. I didn't continue messing with it once the concept was proved, but I guess if you really wanted to you could probably hack something together (though I imagine you'd be giving up a lot by ramming interactions through Claude Desktop in this manner). [2]

[1]: https://github.com/epiccoleman/claude-automator

  • I thought Claude Code (sub) could work with alternate UIs, no? Eg doesn't Neovim have a Claude Code plugin? I want to say there are one or two more as well.

    Though i think in Neovims case they had to reverse engineer the API calls for Claude Code. Perhaps that's against the TOS.

    Regardless i have the intention to make something similar, so hopefully it's not against the TOS lol.

    • i use neovim plugin for cc but it just launches cc in a terminal inside neovim. its not an alternate UI.