skills/envoy-connect/SKILL.md
Connect a Telegram bot to any Claude Code agent for collaborative group chats. Use when the user wants to set up a Telegram chat where external people (co-founders, partners, clients) can interact with an AI agent. Triggers include "connect bot to agent", "set up group chat with agent", "add person to agent chat", "envoy connect", or when creating collaborative Telegram groups with AI agents.
npx skillsauth add razbakov/skills envoy-connectInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Connect a Telegram bot to any Claude Code agent, enabling collaborative group chats where multiple people interact with an AI agent that has full access to the project.
A single Telegram bot serves as a universal gateway to your agent system:
Both modes coexist on the same bot.
Before running this skill, ensure the user has:
.claude/agents/claude) installed and available in PATHbrew install tmux or equivalent)python-telegram-bot, anthropic, python-dotenvLook for the bot script and send script. The bot needs two components:
Check for these in the project's .bin/ or scripts directory. If they don't exist, create them using the architecture below.
The bot needs these environment variables (typically in ~/.config/telegram/.env or project-level .env):
BOT_TOKEN=<telegram bot token from BotFather>
OWNER_TELEGRAM_ID=<admin user's Telegram ID>
To find a Telegram user ID:
@userinfobot — it replies with their ID/start to the bot in private — check logs for their user ID@userinfobotThe bot needs a mapping of org names to filesystem paths where claude --agent <name> will run. This can be:
~/Orgs/)Each org/project must have .claude/agents/<agent-name>.md files.
Tell the user:
/connect <org> <agent>/allow <person_telegram_id>/statusTelegram Group (User A + User B + Bot)
|
v
Bot script (long-running Python process)
|
+-- reads chat config (JSON file)
+-- checks allow list (is sender permitted?)
+-- routes message to AgentSession
|
v
tmux window running: claude --agent <agent>
working directory: <org/project path>
|
v
Agent reads project files, runs tools, etc.
Agent replies via send script --chat <chat_id> "message"
Chat config (envoy-chats.json):
{
"chats": {
"<chat_id>": {
"org": "<org-name>",
"org_path": "<absolute path>",
"agent": "<agent-name>",
"allowed_users": [<user_id_1>, <user_id_2>]
}
}
}
AgentSession (tmux-based, same pattern as agent bot runners):
claude --agent <agent> running in the org directorytmux load-buffer / paste-buffer (handles special chars)[chat_id:NUMBER,msg_id:NUMBER,from:NAME] so agents can reply to the right chatTelegram reply instructions (appended to agent's system prompt via --append-system-prompt):
--chat <chat_id> in every send command| Command | Who | What |
|---------|-----|------|
| /connect <org> <agent> | Admin only | Link this chat to an org agent |
| /allow <user_id> | Admin only | Add a user to the allow list |
| /disconnect | Admin only | Remove agent link, stop session |
| /reset | Admin only | Restart agent session (fresh context) |
| /status | Anyone | Show current chat configuration |
| Problem | Solution |
|---------|----------|
| Bot not responding | Check if bot process is running. Restart if needed. |
| Agent not responding | /reset to restart tmux session. Check tmux ls for the session. |
| "Unknown org" | Add the org to the path registry in the bot script. |
| "Agent not found" | Verify .claude/agents/<name>.md exists in the org directory. |
| Messages ignored | User not in allow list. Admin must /allow <user_id>. |
| Agent replies to wrong chat | Ensure --chat <chat_id> is in the send script instructions. |
/connect, /allow, and /disconnect--dangerously-skip-permissions for autonomous operation — ensure agents have proper boundary policies in their definitionsdevelopment
Seed a new or empty Instagram account with a 9-post grid (3×3) so the profile looks established the moment a new visitor lands. Designed for festivals, new businesses, product launches, conferences, communities — any time an empty IG profile would hurt conversion from external traffic (QR scans, flyer drops, cross-promo). Generates assets via /image-from-gemini (per content-publishing rules — never HTML), writes captions with hashtag sets, and outputs a posting order + cadence plan. Trigger generously: phrases like '9 posts for instagram', 'fill my IG', 'starter grid', 'launch grid', 'instagram seed', '9-post grid', 'IG account not to look empty', 'first instagram posts', 'feed bootstrap', '3x3 grid', 'instagram launch content'. Even if the user mentions only one piece (just the images, just the captions, just the order), use this skill — the grid only works as an integrated bundle.
testing
Translate one English blog post into multiple target languages via parallel sub-agents, preserving frontmatter conventions, hero image, and brand voice. Use when the user shares a published English post URL or markdown path and says 'translate it', 'add other languages', 'publish in DE/ES/RU/UK', 'translate to 5 languages', or asks for localized versions of a specific post.
development
Build a complete press kit for an event, product launch, or campaign — in multiple languages — and publish it as a shareable Google Drive folder ready to send to journalists, partners, or a delegate. Produces press releases (typically DE/EN/ES, or configurable), uploads press photos and flyers, creates an Overview document for at-a-glance briefing, and creates a Handover document with pending tasks, contacts, risks, and decisions so press distribution can be delegated. Use when the user says 'I need a press release', 'create a press kit', 'press release in X languages', 'set up a Drive folder for press', 'handover doc for someone else to run press', or has an upcoming announcement that needs to be sent to media. Trigger generously: even partial requests (just a press release, just a flyer folder) typically evolve into the full kit.
development
Track ticket sales for a live event (concert, festival, conference, workshop) with daily snapshots, generate a burndown chart comparing actual sales to ideal-linear targets and tier-cumulative milestones, and report whether the event is on pace. Use when the user asks how sales are going, wants to know if their event will sell out, asks for a daily sales report, wants to set up sales tracking for an upcoming event, or asks about ticket pace / velocity / projection. Trigger generously: phrases like 'how is concert sales going', 'burndown for my event', 'are we going to sell out', 'sales velocity', 'daily ticket chart', 'how many tickets do we need to sell', or any case where the user has a ticketed event with a fixed sales window and wants visibility on pacing.