Техническая сторона вопроса
126 subscribers
2.7K photos
223 videos
43 files
235 links
Download Telegram
Now I would like to tell you a little about the technical implementation of the solution I described above. Long story short: there are three main technical points. The first one: a separate user in the OS. As I already said, the agent can’t enter my home directory, view my keys, passwords, or messages, exchange my files or binaries, manage my applications, or get sudo access. At this step, I faced a little problem: macOS does not have a built-in user separation system. When you create a new user, they automatically become a member of the “staff” group, but my home directory had access rules set to 750 after a migration a long time ago. So, I just did a
chmod 700 ~

to solve it. The second challenge: I can’t just make a symlink to the directories I want to provide OpenClaw access to, because it didn’t work like that. When the agent got an instruction to check some folder, the system checked the access rules by the original path, and symlinks were actually useless. To solve it, I used a special macOS feature: ACL. ACL is a feature that can do what the default POSIX permissions can’t do — open a folder that is encapsulated in another folder without giving access to the parent folder. In this way, you give access to just enter the parent folder, but not to list its contents or perform some other actions. For example, I have a folder structure like this: I have a general folder called Projects. It contains subfolders with WorkProjects (with my work code, actually), MyProjects with my personal projects, ExternalProjects with open-source code I download from the Internet, etc. Using ACL, I give the agent permission to enter the Projects folder and perform actions in MyProjects. But it doesn’t even know that there is other content in the Projects folder. In addition, I needed to solve a problem with the reversed direction of the ACL. It turned out that ACL has a one-directional effect. And I can’t read, write, and execute files belonging to the user that was created for OpenClaw. Actually, it’s quite easy to solve: just make one more ACL rule from my user to the OpenClaw user. The last but not least point: making a VPN connection available to the OpenClaw user. Fortunately, I didn’t need to solve this problem because I found that macOS has general routing for the whole system. When I bring up a tunnel for my user, it also works for the OpenClaw user. So I didn’t need to install an additional client specifically for OpenClaw. Moreover, if I did, it would break the system.
In spite of the fact that the above description of OpenClaw hosting became the only working solution for me, there are some disadvantages I’ve faced after a few days of using it. Firstly, it’s of course the creation of a new user in the operating system. Some people may not want to spawn additional users on their computers. Moreover, if you want to have 24/7 access to your personal assistant, you need to keep your computer and VPN on all the time. If I had a dedicated server, there would be no problem at all, but as it’s my personal computer, sometimes I need to restart the OpenClaw gateway or, for example, restart notifications or cron jobs because my laptop was out of the network for some time.
Another problem for the same reason: obviously, if you are on the road without access to the Internet, you don’t have access to your assistant.
The last problem for me: as I use my Claude Code subscription to provide OpenClaw with access to the base LLM, I sometimes face token limit errors. If you have a lot of tasks for your assistant and you reach the token limit, your OpenClaw will not answer your commands because it uses the same subscription. Your notifications or cron jobs will also fail.
Actually, when your daily limits are updated, the OpenClaw gateway also recovers and can even resume failed cron jobs, but anyway, it can be a little annoying.
In spite of all the troubles I have faced during the time I have been using OpenClaw, I’m sure it’s not useless. Now I would like to speak more carefully about OpenClaw application scenarios. I have understood for myself that there is a strict separation between using OpenClaw and Claude Code. Claude Code is a tool for coding and working with technical tasks. The context of Claude Code is limited to the current session. This session is opened for a specific task and is fully controlled by the user. The engineer doesn’t give full control to the agent when solving a task, manages Claude Code’s solutions, and reviews its decisions. In contrast, OpenClaw is more like a personal assistant and an automation tool. The knowledge of OpenClaw, by default, lives in a long-term storage (like MD files: MEMORIES.md, SOUL.md, etc.). There is also a native tool to save knowledge and search through it across different OpenClaw sessions. OpenClaw’s tasks don’t need external human control. OpenClaw starts a background gateway that doesn’t need to be restarted. It also has native support for various messengers, for example Telegram, providing the ability to manage the agent through it.
In conclusion, I have defined a rule for myself: Claude Code is for coding, prototyping, and other technical actions that require my full control; OpenClaw is my personal assistant, web search, working with information, and automating routine tasks.

In conclusion to this sequence of posts, I’d like to give some examples of how I have used OpenClaw.

1. I have already told you about my automation for importing arXiv articles and open Kaggle competitions. In the beginning, it was an n8n pipeline, then a Python console application, and then a Claude plugin. Now it’s a cron job in OpenClaw. I think this is the most successful implementation because I fully delegate this task to the agent.
2. I have my personal form in Obsidian where I record my daily progress. I made it to control myself and spend my time more rationally. Before, I needed to fill it in by hand every day. Obviously, sometimes I forgot about it. But now I have made a reminder for OpenClaw to send me notifications every evening about the time to write down the tasks for the day. After that, I can record or even dictate the text to the agent in any form, and the agent will format it beautifully.
3. A couple of months ago, I made a plan of what I would like to study, read, or learn in the field of professional skills. But the problem is that sometimes it’s hard for me to organize myself, and after a working week, it’s very hard to want to do something on the weekend. I just fed my ready-made OpenClaw plan to it, and now it finds one small article for me to read for about 25 minutes every day.
This media is not supported in your browser
VIEW IN TELEGRAM
🤔3
This media is not supported in your browser
VIEW IN TELEGRAM
Ну давайте, угадайте город
🗿2
Forwarded from Alexander Pichugin
нашел красивый способ повысить креативность модели — заставлять приписывать вероятности, затем просить брать идеи из «хвоста» распределения — то есть менее очевидные и менее вероятные ответы. Может быть полезно в qa, креативщине, синтетике итд. Мне помогает генерить вопросы, на которые должна уметь отвечать онтология
😱2
This media is not supported in your browser
VIEW IN TELEGRAM
❤5
Уютненько
Позабыты хлопоты, остановлен бег. Вкалывают роботы, а не человек.
🔥4