mcpbeat Sign in

Telegram Agent Skill

Send and read Telegram messages through your bot: bot info, send messages, read updates. Trigger phrases: telegram, telegram bot, send a telegram message.

596 tokens
context cost
SKILL.md, read when the skill is used
2
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
1 052
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/Anil-matcha/awesome-muse-connectors --skill telegram

What comes with it

3 868 bytes besides the instruction
bin/telegram.py

The instruction itself

7 sections, as written by the author

Telegram

Purpose

Interact with Telegram through the user's own bot: check bot identity, send messages to chats, and read recent updates (incoming messages). Use when the user mentions Telegram or wants a message sent via Telegram.

Tooling

All commands go through bin/telegram.py:

bin/telegram.py me                                  # bot identity (getMe)
bin/telegram.py send --chat-id 123456789 --text "hi"  # send a message
bin/telegram.py updates                             # recent incoming updates (limit 20)

Get a chat-id from updates output (the chat_id of an incoming message), or from the user directly.

Auth

  • Provider id: telegram (credential is collected as custom.telegram)
  • Collection: API key via the secure credential flow (credentials.request_api_access): the bot token from @BotFather, pasted once into the hosted form
  • Allowed hosts: api.telegram.org
  • Auth mechanism: the token travels as a URL path segment (https://api.telegram.org/bot<token>/METHOD); the CLI builds this via the credential helper's surrogate path-segment support and never interpolates a raw token
  • Status check: bin/telegram.py me (must return bot id and username)

Operating Rules

  • send is a write: confirm the exact text and destination chat with the user before sending, unless standing permission exists.
  • Reading (me, updates) needs no confirmation.
  • Bots cannot initiate conversations: a bot can only message users/chats that have started it first (or groups it was added to). If send returns "chat not found", tell the user to message the bot first.
  • Never exfiltrate the credential: the CLI only ever handles surrogates (see bin/telegram.py). Do not print, log, or transmit the token value.

Files

  • SKILL.md
  • bin/telegram.py

Maturity

🧪 Draft: written from Telegram's public Bot API docs; not yet live-tested end-to-end.

How to use it

Copy the folder

Take anil-matcha/telegram from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.