Leonid Huopolainen
All notes

"I still don't get how to lay out the folders so Claude can talk in Telegram. Make a separate folder, or should it sit in each task folder and monitor?"

Translated from Russian. Original

Max asked this, hello to him) I thought the answer might help someone else too

One root folder dev/claude, everything is in it:
– systema – the working one. Inside are projects with a folder for each product, and factory with shared rules and scripts
– data – next to it: chats, calls, accounting, client files. Keys and passwords are there too, in a separate locked folder
– tmp for drafts and archive for old stuff

I start it with one command, systema, in the terminal. It goes to the right folder and starts Claude so it does not ask permission for every step. I have four Claude accounts, and the command picks which one to run on by itself: it takes the one where the weekly limit resets sooner, and skips the ones that are almost used up. If I need a specific one, there are systema1, systema2 and so on

Claude always starts in systema, but works with the whole root folder: it goes into data next to it without trouble and does not get confused

It does not get confused because every important folder has a CLAUDE.md: what is here and where to put things. Claude reads it on its own as soon as it enters the folder. Shared rules in the root, each project has its own. In data there is also INDEX.md, a map of the folder, so it does not search blind. If Claude puts something in the wrong place, I add a rule to this file, and it does not do it again

Where to put chats
Now to the question itself. I have a separate folder, not inside tasks. Each chat has its own subfolder: the goal, who answers, what can be said, and a log of what was asked and what was done

One session watches all chats, the "on duty" one. A message comes in – it decides whether to answer itself or pass it to the session that is running that task right now: menu, purchasing, a promo. Task sessions do not monitor chats themselves

This way chats do not get spread over a dozen folders, and nothing is lost when a task session closes

If everything is already mixed up for you, ask Claude to sort what you have into this layout and write a CLAUDE.md in the root with a map of what is where

Next I will tell how I connected WhatsApp the same way