src/amcp/builtin_skills/telegram-sender/SKILL.md
Send and edit Telegram messages via Bot API. Use when AMCP needs to send a message, reply to a specific message, edit an existing message, or push proactive notifications (cron results, heartbeat alerts, task status). Requires AMCP_TELEGRAM_BOT_TOKEN env var.
npx skillsauth add tao12345666333/amcp telegram-senderInstall 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.
Agent-facing guide for outbound Telegram communication.
Assumption: AMCP_TELEGRAM_BOT_TOKEN is already set in the environment.
chat_id (required) — from inbound message metadata or configreply_to_message_id (optional, for threaded reply)message_id (required for edit)message_id is known, prefer reply mode (--reply-to).sender_is_bot=true), do not use reply mode; use --source-is-bot --source-username <USERNAME> instead.When this skill is in scope, prefer proactive and timely Telegram updates:
Recommended pattern:
Paths are relative to this skill directory.
# Send message
python ./scripts/telegram_send.py send \
--chat-id <CHAT_ID> \
--message "<TEXT>"
# Reply to a specific message
python ./scripts/telegram_send.py send \
--chat-id <CHAT_ID> \
--message "<TEXT>" \
--reply-to <MESSAGE_ID>
# Bot-source: no direct reply, use @username style
python ./scripts/telegram_send.py send \
--chat-id <CHAT_ID> \
--message "<TEXT>" \
--source-is-bot \
--source-username <USERNAME>
# Edit existing message
python ./scripts/telegram_send.py edit \
--chat-id <CHAT_ID> \
--message-id <MESSAGE_ID> \
--text "<TEXT>"
For actions not covered by this script, use curl to call Telegram Bot API directly:
https://api.telegram.org/bot$AMCP_TELEGRAM_BOT_TOKEN/<method>
telegram_send.py send--chat-id, -c: required--message, -m: required--reply-to, -r: optional message ID--token, -t: optional (normally not needed)--source-is-bot: optional flag--source-username: required when --source-is-bot is settelegram_send.py edit--chat-id, -c: required--message-id, -i: required--text, -x: required--token, -t: optional (normally not needed)--reply-to.tools
Create or update AMCP skills. Use when designing, structuring, or packaging skills with scripts, references, and assets. This skill should be used when users want to create a new skill (or update an existing skill) that extends AMCP's capabilities with specialized knowledge, workflows, or tool integrations.
tools
Backup old AMCP sessions by renaming with execution date, then clean and compact sessions and memory.
testing
Periodic heartbeat check that reads HEARTBEAT.md from the workspace and executes any tasks listed there. Use for autonomous background monitoring, periodic maintenance, and proactive task execution. Triggered by a cron schedule.
tools
Learn how to manage conversation context in AMCP to avoid LLM API errors from exceeding context windows. This skill covers SmartCompactor strategies, token estimation, configuration, and best practices.