This skill helps you send messages to Telegram groups or DMs with optional targeting, replies, and confirmation to prevent accidental posts.
npx playbooks add skill lycfyi/community-agent-plugin --skill telegram-send
Send messages to Telegram groups or DMs.
REQUIRED: Before executing this skill, load your configured persona:
python ${CLAUDE_PLUGIN_ROOT}/../community-agent/tools/persona_status.py --prompt
This outputs your persona definition. Apply it when composing messages:
This skill sends messages to Telegram groups or direct messages (DMs). It requires confirmation before sending to prevent accidental messages.
WARNING: Using a user token may violate Telegram's Terms of Service. This tool is intended for personal use only.
Send a message to default group:
python ${CLAUDE_PLUGIN_ROOT}/tools/telegram_send.py --message "Hello everyone!"
Send to specific group:
python ${CLAUDE_PLUGIN_ROOT}/tools/telegram_send.py --group 1234567890 --message "Hello!"
Reply to a specific message:
python ${CLAUDE_PLUGIN_ROOT}/tools/telegram_send.py --message "Great point!" --reply-to 12345
Send to a specific topic (forum groups):
python ${CLAUDE_PLUGIN_ROOT}/tools/telegram_send.py --message "Update" --topic 5
Skip confirmation prompt:
python ${CLAUDE_PLUGIN_ROOT}/tools/telegram_send.py --message "Hello" --confirm
Send a direct message to a user:
python ${CLAUDE_PLUGIN_ROOT}/tools/telegram_send.py --dm USER_ID --message "Hello!"
Reply to a DM message:
python ${CLAUDE_PLUGIN_ROOT}/tools/telegram_send.py --dm USER_ID --message "Got it!" --reply-to 12345
Finding User IDs: Use telegram-list to see your DMs and their user IDs.
By default, the tool shows your message and asks for confirmation:
Message to send:
----------------------------------------
Hello everyone! This is a test message.
----------------------------------------
Send this message? (y/N):
Use --confirm to skip this prompt (useful for automation).
On success (group):
Sending to: My Group (1234567890)
========================================
Message sent successfully!
Message ID: 98765
Timestamp: 2026-01-06T12:00:00+00:00
On success (DM):
Sending DM to: Alice (@alice)
========================================
Message sent successfully!
Message ID: 98765
Timestamp: 2026-01-06T12:00:00+00:00
For groups with forum topics, you can target a specific topic:
telegram-list --group 1234567890telegram-send --group 1234567890 --topic 5 --message "Hello"If you send too many messages too quickly, you may be rate limited. The tool will show how long to wait before trying again.
0 - Success1 - Authentication error2 - Permission denied or configuration error3 - Rate limited--confirm unless necessary)telegram-init - Initialize Telegram connectiontelegram-list - List groups and topicstelegram-sync - Sync messages from groupstelegram-read - Read synced messagesWeekly roundup of top Claude Code skills, MCP servers, and AI coding tips.