Claude Code Channels Replaced My OpenClaw Setup

Artem Zhutov · Intermediate ·🤖 AI Agents & Automation ·4mo ago

Key Takeaways

The video demonstrates how to use Antropic's channels feature to enable communication between Discord and cloud code, and how to build a personal AI agent infrastructure using Obsidian vault and Claude Code Channels, replacing an OpenClaw setup.

Full Transcript

Antropic just shipped channels a long waited feature for me and as I run cloud code from absinian world I have 100 plus skills I have extensive cloud.md and memory and the one thing I couldn't do is to reach it from my phone and now with the channels I can I'm going to show you a demo of what's possible with the channels I'll walk you through what is the difference between open claw and clot code plus channels what is the role of obsidian within all of this personal AI agents infrastructure structure, how to enable proactive agents with a loop pattern and how to set up it yourself through Telegram and Discord. And we'll take a look at why Discord is interesting as a platform for agents. How does the future looks like? Let's get started. On the left, I have my cloud code session which is listening for messages from my Discord channel. And here I can talk to to it and it's going to receive my messages. So, let's just demonstrate that. Hey, how are you doing now? So we can send those messages and you can see that it it's appearing right here. The key feature is that we are running it from our obsidian vault where we have all of our skills stored. Now we can do some cool stuff here. I want you to generate a diagram to understand how the channels work and attach it to the message in my Discord. Okay. So the agent received our message. So you can see it's working simultaneously. So it reads my slides and Okay. So it understands what I'm working on and it generates a diagram. Now let's also try to create this uh PDF file with my slides and attach it to my discord. So this way this way we can see that actually the agent has ability to use our skills and it also like for example here excro visuals for the diagram and now we added a new task to generate PDF. Okay. So the diagram is finished. Uh now let's wait for the response. All right. And here's our diagram which was generated just now. So you can see uh here's our telegram. We send a message and it's being processed by the channels plugin. And then cloudcut receives this message and has access to our skills memory and cloudmd. Okay. So we got our PDF generated. Now clot would replies back to with PDFs and we can actually see it right here. So here is our PDF with the slides now and you can see how powerful this is. What we just did is we were communicating through Discord and we're running a clo code inside of our Obsidian vault which has all of this context about oursel about our skills memory and now we can access all this power uh on the go from our phone which is just incredible unlock. And the way it worked is we first need to start our cloud code within my folder here. I use maps world which has all of the context and then I use this command channels and I load this plugin which which is basically MCP server that enables clot to talk to my discord and I use this uh dangerous escape permissions flag. So ideally we should not use it but many people like to do so to avoid um notifications. And now it's going to listen for the messages in our discord. Right. So let's talk about why obsidian matters and why is it enabling. Obsidian is essentially a markdown viewer which is right now I'm opened right now and I can see my notes and my files on my computer in this format and I have and we have this concept of vault which is basically a folder on your computer and we can use we can run cloud code there where we're going to have all of the skills in docloud folder right here now and when you run this cloud code within our obsidian involved. We are getting the full access uh to all the skills which you have as a memory file. Here's example of how memory file looks for me that okay it's a personal assistant for my obsidian vault. Uh it explains who I am. Uh here's also some like outline about like different like guard rails before execution. Um how to transfer contacts within agents. Uh file organization for my Obsidian vault. how to search across my notes, my writing voice on how I write. It has all this context about my myself which makes this which makes this incredibly powerful and you have all the skills as well. Um so I have like 150 skills within this vault and you can do so much. So let's demonstrate that. So let's say I want you to use Reddit red skill to um look at the sentiment in cloud code subreddit. So what's going on there? Extract the posts um and create a report from me with links so I can visit them and go through them on my own. Also give me the number of upwards and exact citations from from the Reddit. So we can give those kind of tasks with the skills which we already have within our vault. Okay, it's right now extracting all of the Reddit posts at them. Okay, it's been crunching the data and ready for the last 4 minutes and finally we got a report. So let's see what we got. That will be quite interesting to see. So it's replying right now. I see that's not what I want. I wonder if you cannot touch it with the link. Uh so I can easily scroll and get access to the links from Discord. Okay, let's send that. Okay, so the results are back and it's actually that's a markdown file just in chat inline chat message please. Now we need to be very patient with those agents to teach them the way we want results to to be produced. Okay, so that's what I want. That's what I want. exact Reddit threads with analysis and quotes from it. This is what I want. That's exciting. Now that's very exciting. And this is real threads. You can go to it and there you go. Now you can adjust the skill uh to make cloud respond in this way with the inline links. That's kind of example of uh what's possible. Okay. So now let's compare that to open claw. What you have so far is for open claw is much more mature in terms of platform support. It has like 23 plus platforms has WhatsApp signal all of the different channels and for now what we have in cloud code is telegram and discord. There are some features which are built in in openclaw such as heartbeats. Uh for cloud code we can do the same way uh by using loop and I'm going to show you that next. for open claw there is a skills marketplace and there's a bunch of pre-installed skills which is I don't really like that approach um what I typically do is I do some some work and then I package something as a skill which I understand which I can open in my obsidian I can look through it I can tune it which brings to me much more observability now for open cloud we also have a memory which is soul.md um whereas for cloud code and obsidian we have this cloud md which I showed And we have like all this context from our obsidian world. And this is what I really like about clot code plus obsidian is that I can open any file any note. I can see exactly what's happening in the skill what's written there. And it gives me like this sense of control that okay I can read those files. I can see what agent would be doing. Now in terms of pricing for open claw you have to use API keys. uh or you can use OpenAI subscription and you want to have access to OpenAI models. Uh the problem with OpenAI models that their their vibes are just not great. They're not really great for personal assistant. They're not as easygoing as uh anthropic models. And that's kind of the problem. So you have to in some way use uh anthropic models to get a real good experience. And now with the channels and cloth code. So what we are paying is a subscription. We can pick subscription level from $20, $200 to $200. And we get access to the state-of-the-art models. I use OPUS. And what I see right now is that the usage which you got from this $200 is is just incredible. The amount of usage is approximately like I estimated to a couple thousand of dollars. essentially you pay $200 per month but you burn in tokens like a couple grants easily and that's right now heavily subsidized. So we need to remember that. So in the future I believe this issue needs to be solved somehow and the usage I believe wouldn't be as generous as we are right now unless there's going to be some breakthrough in terms of models which is going to have great performance and be very very cheap. Now one of the feature is which is great for open claw is having those hard bits and we can we can get something similar very very similar as we have with open claw loop skill. So the way it works is that we have this built-in loop skill where we can tell the interval let's say hours or minutes and then we can tell the prompt or we can tell to run some specific skill. So let's say okay we can set up a therapy style chicken. Uh let's try to do this. Um okay so that's going to be the example of the skill. And another one is we can do yeah I want to also stop um source analysis from my automation skill which is getting the information from Reddit, Twitter and YouTube. Now that's the first automation. Um, right now we set up a job for every 2 hours just to check in how's it going and it's going to ask us every 2 hours about our state or condition. That's kind of the therapist style interaction and for this automation I just want to run it and set up it in the current workspace and let's run it for the Reddit analysis and let's say you want to run it every 8 hours and with that you can be very very creative. Uh you can do okay some morning brief uh every 24 hours at like 7:00 a.m. scan of my latest notes extract ideas from previous day and send me morning brief using to telegram or discord using this loop skill. Okay, we are setting up uh this chron job for analysis of of different uh sources. Right now the agent is running the first scan and let's say we're going to we want this report delivered to our discord in a similar way as we had for radi analysis of the threats. Okay. So while the agent is working we can try to set it up. Let's go through the installation procedure. I'll just open a new terminal. And so what we need to make sure is is that our cloud code version is updated to the latest one. So it should be at least 80 to run this. Okay. Now let's install a plugin for the telegram. Okay. So we installed the plugin and now we can run cloud code. So we have this plugin where we can configure our telegram and man manage the telegram channel access. Now the next steps include going to the bot father and create a new bot. Okay. So here I am in the bot father and I'm creating a new bot. Okay. So we are good. we receive this uh access token and now we need to run this command configure and here is our token. The token has been saved and now we can restart cloud code uh with this channels flag and I'm going to use this telegram plugin. Okay, so now we're listening from for the incoming messages. Now I'm going to my bot. I'm starting it and now we can see that uh right now they're paired and I can just ask something. Uh hey, how's it going? Um, what is the context do you have? What do you know about me? Oh, okay. So, you see here, that's kind of the reason why we need to run with dangerous escape permissions to avoid this um commands. Okay. Can you tell me about the skills we should have now? And and you see, so that's been just a 2 minutes for setup and we already can start talking to our obsidian world. It has access to our skills and just ready to go. So, it's it's been very very smooth. uh so we can add maybe avatar for our bot. Now another thing what we need to do is to enable this access policy from the allow list. So we can only us who are talking to this bot. Now let's set this up for our bot and I want you to add me as the one who can only talk. Okay. So now we've changed the setting so we are good. Now, that's been Telegram and I think Telegram is kind of cool. Um, but what I really love is Discord and I think Discord is the future. Now, I've seen a person from Twitter who was doing something like that with his his open claw set up which was quite quite impressive to be honest. And I want to set up something similar for myself in Discord where I'm going to have agents with isolated context. Let's say okay so here we have a general chat here we have our pulse where we get those reports maybe from Reddit here are some logs and so on so you can have a channel based scope for agents with their own context right now they're not there yet um it's still emerging but I think that's going to get there like very very quickly so as we figure out how to properly set up Discord. So for now, let's do something simple. So we're going to just have our own server where we're going to have a a single cloud code called session running and attached with our scene involved context. Okay. So let's install the discord plugin. Okay. So we are installing the plugin. It's downloaded. That's great. Now we need to create a new application. We go to this developers link and then okay let's try new application. Let's name it cloud test. That's good. Okay. We are not a robot. So we are human. Absolutely. Okay. And here at this point, what we need to do is to go to b then reset token. Okay. Then copy this token. We're going to need that. Okay. So now in our cloud code, what we're going to do is um we're going to set up this token access. Let's say okay discord configure. And then here's our token. That's our access token. Okay. So unstab command yes that should be for discord not for telegram while it's working let's set up another piece which is here the authentification and we go to the URL generator we look at the bot we look at the board and then here are the b permissions which we can set so we wanted to set send messages attach files read message history and all the actions. Now here we got a URL and then let's go to Discord and create a new server. So I'll just skip that. Okay, very good. Here's our new Discord server. And then let's just create a new tab and let's run this link. Now in this app which we just created, we want to install it to let's say our server which we just created. Now we have this permissions which we authorized and we are good. We're actually good. And we added this bot. That's our cloud. Now let's do something exciting. Now let's add this relay. And now let's run this new cloud session. Okay. So now we we are getting back to our phone. So okay, here's a new server which we have. And let's say okay, we first message the bot just let's say hey. Okay, so the board is not answering yet. Okay, so one of the settings which I forget to turn on is this one. I've been trying to set it up and now I think that was the issue. So let's get back and restart the code session and now we can try to message our bot. So hey oh okay okay so I think we're good. I think we are finally good. So we're getting this replies in our discord. Okay that's great. So in this piece was not really needed. And now in the discord so we can chat in the same way as in telegram. So let's say what are the skills which you have right now? What are the skills that you have right now? Okay. So and we are getting uh same responses. So the agent right now is context aware but our obsidian vault has access to it. And that's been the whole setup. And what I'm really looking for is extensions of this approach where we just have a single agent to bring it to to have multiple agents within our discord in a similar way as you would have in open claw. That would be huge in lock right now and this can be done with different type of of plug-in. So we just need to modify I think community would come up as something that would enable this type of the workflows and as alternative what we can use is this orchestrator pattern which I showed in my previous video where we had one orchestrator which is working and we can talk to it through discord. Let's say that that's going to be our orchestrator agent. Let's say and just rename it. Let's put it here. Okay, now we are good and we can use this terminal. What I'm using right now is a Cmax terminal where I can spawn different workspaces and I have this Cmax skill which enables cloud code to create uh different workspaces. So let's try to demo this. Okay, so I want you to use uh Cmax skill to spawn a new workspace. let's say for my u planning but actually before doing that let's just list all of our workspaces which we have and send me them to discord and then proceed with the task that's going to be our orchestrator agent it uses this uh CLI tool called cmax to programmatically access this terminal it replies to me that we have this orchestrator workspace now it's going to create a new workspace called weekly plan and it adds a pro prompt as It's essentially a skill which we have for weekly planning. Now it runs runs it and it's going to execute this weekly planning skill. Now the beauty here is that okay we have this orchestrator agent I can talk to and I can ask about what is this current state of the weekly plan what what the other agent is doing. This main orchestrator agent is going to talk to another guy which is weekly plan and it reads the current screen of what's happening in that workspace and this way orchestrator can manage and see what's happening in different workspaces and you can spawn those workspaces uh as much as you want and you can see right now so it's finding the recent week plan checking the calendar for the week is done check active sessions is done and This is a pattern which you can use while we we are waiting for the complete support of different isolated workspaces in discord. Okay. And meanwhile data source monitor report in from another agent. Uh here is a Reddit. Uh here is a analysis of sentiment. Uh here is a different submar about Obsidian. What's going on? Here is a Reddit for the immigration. Here's a Twitter analysis. Here's a YouTube different YouTube videos. And those one you can tune you can actually tune those for example I don't really like that it just gives me a link I want also present me the summary and also it reports to me a change log for the recent uh cloud quarter upgrade here all of the videos and that's been the report which we run uh initially now what I want to see is to have more platforms having easily to connected to WhatsApp or Slack be able to run multi- aent setup natively within Discord as would be a huge unlock and another piece which is concerning to me is this observability that when agent is working I don't really see what's happening in here it's very very challenging for me to observe what I see only is the end result in my terminal but I don't really see how agent is crashing the data and I I don't really see if agent just went off track completely and I can't control it I can't stop it I just have to guess and maybe one of the solution is to tell agent to like uses reply command uh from this MCP to notify us before doing something. I think that's can be state stated in in the rules. Uh this would be one of the solutions now and the most important thing is having your context. I believe the obsidian is unlock here in the setup like your preferences, your skills, your playbooks. Without that, the agent is generic, right? It can be personal by definition. So the skills are playbooks that can handles the work that you've done. You run a session and then at the end of the session, you've done some work. Now you want to package it as a skill. That's going to be your playbook which you can run whenever you want. And because everything runs locally here, you can have access to your whole conversation history, every session, every decision, every correction. And this makes the agent better and better over time. You can ask cloud to analyze your previous conversations from the last week and ask it to improve your claw.md or the skills. And I think that's the final piece like last week we had a loop a new skill cuz two days ago we had a dispatch and now we have a channels. And I think that's kind of the full piece to build your own open cloud with cloud code. It's really exciting times uh to be alive uh honestly. And I'll see you in the next one. Yeah. Thank you for being here.

Original Description

📚 Obsidian x Claude Code Lab: https://lab.artemzhutov.com → Build your own AI memory system with vault architecture and agent skills. Live, with me. 💬 Discord: https://discord.gg/g5Z4Wk2fDk I have 100 plus skills, I have extensive Claude.md and memory. The one thing I couldn't do is reach it from my phone. Now with the channels, I can. I can talk to it and it's gonna receive my messages with access to my skills, memory, and vault. 🎁 cmux + orchestrator + dashboard. Ready to use: → Manage all your Claude Code agents from one terminal → No API keys, no setup. Just drop in your vault and go 👇 https://cmux-artemzhutov.netlify.app Follow me: Substack: https://artemxtech.substack.com/ X: https://x.com/ArtemXTech GitHub: https://github.com/ArtemXTech Timestamps: 0:00 Anthropic just shipped channels 0:45 Live demo. Sending messages, generating diagrams 2:25 Why Obsidian matters for this 4:00 Claude.md, 150 skills, the full vault context 5:05 Reddit sentiment analysis from Discord 6:25 OpenClaw vs Claude Code 7:55 Pricing. $200 is just incredible 9:30 Heartbeats with /loop. 11:15 Telegram setup from scratch 13:40 Discord setup. "I think Discord is the future" 17:30 cmux. Multi-agent orchestration from Discord 23:05 What's still missing. Observability problem 24:00 Your skills are playbooks.
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

This video teaches how to build a personal AI agent infrastructure using Obsidian vault and Claude Code Channels, and how to replace an OpenClaw setup with a more efficient and scalable solution. The video covers the use of Antropic's channels feature, cloud code, and Discord to create a multi-agent setup and manage multiple workspaces.

Key Takeaways
  1. Start cloud code within Obsidian vault folder
  2. Use channels plugin to enable communication between Discord and cloud code
  3. Load MCP server plugin to enable cloud to talk to Discord
  4. Use dangerous escape permissions flag to avoid notifications
  5. Run cloud code to access skills memory and cloud.md
  6. Update Cloud Code version to the latest one
  7. Install plugin for Telegram
  8. Run Cloud Code with the channels flag
  9. Create a new bot in Bot Father and obtain access token
  10. Configure Telegram plugin and manage channel access
💡 The use of Antropic's channels feature and Claude Code Channels can replace an OpenClaw setup and provide a more efficient and scalable solution for building a personal AI agent infrastructure.

Related Reads

📰
Can AI Transform Healthcare Through Personalized Medicine?
Learn how AI can revolutionize healthcare through personalized medicine, tailored to individual patients' needs
Medium · AI
📰
MongoDB MCP: Let AI Query and Manage Your NoSQL Data
Learn how to use MongoDB MCP to let AI query and manage your NoSQL data, streamlining your workflow and increasing productivity
Dev.to AI
📰
The Enforcement illusion: Why AI Agent Security Starts with Testing, Not Walls
AI agent security relies on testing rather than building walls, learn why and how to apply testing to secure your AI agents
Dev.to · Sofia Aliferi
📰
Prysmian signs €5.5bn fibre deal with Molex to wire AI data centres
Prysmian signs a €5.5bn deal with Molex to supply optical cable for AI data centres, learn how this impacts AI infrastructure and data centre development
The Next Web AI

Chapters (13)

Anthropic just shipped channels
0:45 Live demo. Sending messages, generating diagrams
2:25 Why Obsidian matters for this
4:00 Claude.md, 150 skills, the full vault context
5:05 Reddit sentiment analysis from Discord
6:25 OpenClaw vs Claude Code
7:55 Pricing. $200 is just incredible
9:30 Heartbeats with /loop.
11:15 Telegram setup from scratch
13:40 Discord setup. "I think Discord is the future"
17:30 cmux. Multi-agent orchestration from Discord
23:05 What's still missing. Observability problem
24:00 Your skills are playbooks.
Up next
Agno Tutorial | Anyone can now build AI Agents with Python!
Thomas Janssen
Watch →