Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

telegram

Skill by bubbuild

Sends, replies to and edits Telegram messages for Bub through the Telegram Bot API. It suits agents that need to post status updates, reply in chats, or push proactive notifications.

  • Score 84
  • 1.7k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install telegram

Built from the published package, never by AI.

git clone --depth 1 https://github.com/bubbuild/bub /tmp/bub && mkdir -p ~/.claude/skills && cp -r /tmp/bub/src/skills/telegram ~/.claude/skills/telegram

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install telegram in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The telegram skill lets Bub send messages to Telegram users, groups and channels through the Telegram Bot API. It can reply to a specific message, edit an existing message, and push proactive notifications. Scripts read message content from stdin, which avoids shell escaping problems.

For structured content, the skill prefers rich messages sent with telegram_rich.py, using HTML or Markdown with headings, lists, tables, blockquotes and captioned media. It also covers bot-to-bot messaging in groups, progress edits for long tasks, and voice input handling. Its instructions say to send a short acknowledgment first, then edit it with the final result. It suits Bub users who want timely status updates in Telegram.

Written from the project's SKILL.md and checked against it.

What it can do

  • Send messagesSends text to a Telegram chat with telegram_send.py, supporting comma-separated chat IDs.
  • Reply to messagesThreads a reply to a specific message using the reply_to_message_id option.
  • Edit messagesUpdates an existing Telegram message by chat ID and message ID with telegram_edit.py.
  • Rich messagesSends HTML or Markdown rich messages with headings, lists, tables and captioned media.
  • Bot mentionsMentions a bot sender by @username or a tg://user?id= link when reply mode is not used.
  • Progress updatesSends one progress message for long tasks, then edits it with the final status.
  • ReactionsUses a Telegram reaction instead of a full reply when an acknowledgment is enough.
  • Voice handlingTranscribes inbound voice messages and replies with voice or a text fallback.

What you need

  • Telegram bot token, provided as BUB_TELEGRAM_TOKEN
  • uv to run the skill scripts
  • Telegram Bot API 10.1 or later for rich messages

Try asking

  • Send a progress update to this Telegram chat and edit it when done.
  • Reply to this Telegram message with a formatted summary table.
  • Post a rich message with headings and a collapsible details block.

Good to know

  • Replies or source-is-bot mentions are needed for a bot to receive a message.
  • Free-form group text may not reach another bot.
  • Voice output depends on a TTS skill, with a text fallback if unavailable.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: src/skills/telegram/SKILL.md, src/skills/telegram/scripts/telegram_edit.py, src/skills/telegram/scripts/telegram_rich.py, src/skills/telegram/scripts/telegram_send.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md9 KB
  • scripts/telegram_edit.py3 KB
  • scripts/telegram_rich.py7 KB
  • scripts/telegram_send.py6 KB

Alternatives to telegram

All alternatives →

Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number

telegram: common questions

Does it support rich formatting?

Yes. telegram_rich.py sends HTML or Markdown rich messages with headings, lists, tables, blockquotes, math and captioned media. The skill prefers it for content longer than one short paragraph.

How do I message another bot in a group?

Reply directly to its message or use an explicit command mention such as /command@OtherBot. The source says free-form group text may not reach another bot.

Can it edit messages it already sent?

Yes. telegram_edit.py edits an existing message by chat ID and message ID, and the skill uses edits for progress updates.

How do I install telegram?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is telegram free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is telegram safe to use?

It scores 84 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to telegram?

Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.

telegram Install

Add to stack

Loading.