π¦ ClawHub
Telegram Agent Coordination
by @kiril-shturman
Coordination protocol for running multiple AI agents in one Telegram group chat without loops or chaos. Use when two or more bots share a Telegram chat and m...
TERMINAL
clawhub install telegram-agent-coordinationπ About This Skill
name: telegram-agent-coordination description: Coordination protocol for running multiple AI agents in one Telegram group chat without loops or chaos. Use when two or more bots share a Telegram chat and must cooperate through strict role-based messaging, sender validation, turn-taking, blocker escalation, and mission lifecycle control. Triggers on multi-agent Telegram chat, bots talking to each other, COO+worker chat setup, group orchestration, or preventing bot loops.
Use this skill when multiple bots operate in the same Telegram group and must coordinate safely.
Core principle
Do not let bots freely chat with each other. Use a strict protocol. Only respond when the sender, role, and message type are valid.Recommended minimal topology
Role ownership
Founder / human
COO / commander bot
Worker / executor bot
Sender validation rules
COO bot should respond only when
Worker bot should respond only when
Both bots should ignore
Allowed message types
Human -> COO
COO -> Worker
Worker -> COO
Message format
Use a visible prefix at the top of each message. Examples:MISSION START:TASK:STATUS CHECK:ACK:RESULT:BLOCKER:MISSION COMPLETE:Keep each message single-purpose. Do not mix task assignment and mission completion in the same message.
Anti-loop rules
Turn-taking
Default order: 1. Human starts mission 2. COO issues task 3. Worker ACKs 4. Worker sends STATUS or RESULT or BLOCKER 5. COO sends NEXT ORDER or MISSION COMPLETEDo not skip steps unless the mission is trivial.
Blocker handling
When blocked, worker must use:BLOCKER: what is missingNEEDED: exact unblock neededCOO then decides one of three actions:
Completion handling
When worker finishes, it sends:RESULT: final deliverableNOTES: concise caveatsCOO then sends:
MISSION COMPLETE:Style rules
COO style
Worker style
Safety rules
Practical note
This protocol does not replace Telegram permission config. Bots still need a valid provider/channel setup, must be allowed in the group, and should use explicit sender allowlists where possible.Best practice
Test with one simple mission first:Only then add status checks and blockers.