Claude code channels lets you proxy Claude Code in...
# two-minute-week
t
Claude code channels lets you proxy Claude Code into an app! Its fricken awesome. With Lopecode you can have a local file it can use its native tools with, but then I also let it attach watch variables to the notebook so it can make modification in-app and see the live results. Its phenomenal. Claude has an escape hatch to native web, Lopecode is a sandboxed safehouse for code. Claude can push to git, its works way better than I expected. Claude can refresh the page when it makes big changes.
đź‘€ 2
w
This may be exactly what I'm looking for today. I want a good way for CC to use dashboards for things, mostly internal things that I have hooks for, just to see that all the inside parts are operating properly
t
There is a version on the web, see if you can get your claude to connect to it, if that works, ask it to export it so you have a local file version, and then in theory it will be able to pair within that local copy, but when its working locally it can also use its normal filesystem tools. https://tomlarkworthy.github.io/lopebooks/notebooks/@tomlarkworthy_computational-blogs-with-claude-code-connectivity.html#view=R100%2[…]ion%29%29%29
https://github.com/tomlarkworthy/lopecode-dev has more substantial prompts but also more difficult setup because I use
safehouse
for sandboxing claude.
f
Really dumb questions incoming: I’ve been wanting to build my own UI to send text to the terminal just as if I was using Claude code in the CLI. Channels it is? https://code.claude.com/docs/en/channels
t
yes exactly. Event driven Claude FROM YOUR APP. The primary implementation notebook is here:- https://tomlarkworthy.github.io/lopecode/notebooks/@tomlarkworthy_claude-code-pairing.html#view=R100(S70(@tomlarkworth[…]rkworthy/module-selection)) can probably ask claude how it works, lol
❤️ 1
f
@Tom Larkworthy This is really cool thanks for sharing! Do you think this will be affected by the recent changes around third party harnesses that are now required to use API instead of subscription? https://news.ycombinator.com/item?id=47633396
t
I would not think so because claude code is running as-is, using vanilla extension points, and it is be being used to edit notebook files which is a normal development task. It is not an always-on assistant looking for work by combing through volumes of emails and messages on a schedule. I don't know how OpenClaw uses Claude Code, but the email looked like it was reusing the subscription API whtout even putting Claude Code as the client, which is far different to what the pairing module does, its jsut proxying messages to Claude code.
f
I made something work with Channels and I hope it keeps working. But I do have concerns also given that it’s an experimental feature. Just watched this (look at the content of the screenshot) → looks as if Claude may use AI to detect a “harness use case”?
👌 1
But as you say our use case is not necessarily building a harness but simply wanting a different entry point to the CLI session
t
yeah also Anthropic are clearly building an OpenClaw. First channels (with telegram out-of-the-box). Now leaked Kairos:- https://www.deeplearning.ai/the-batch/claude-codes-source-code-leaked-exposing-potential-future-features-kairos-and-autodream/ So the ToS changes are motivated by a business strategy of taking OpenClaw users.
🍰 1
f
Ah apparently it’s OpenClaw specifically they try to block (still watching)
Good takes, thank you!
One idea that I could solve with channels: Claude Responses → Speech I know there’s Claude Voice Mode, but I don’t want to talk. All I want is to “hear” the responses read out loud This probably exists already? But if not, a simple background app with channel + TTS would do
t
I have speech on mine for my daughter who is dyslexic. I jsut used the webspeech API which is free and local, might be better using the apple thing though,, still playing with this.
đź‘€ 1