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 glebis

Lets an AI assistant list, fetch, search, send, edit and download Telegram messages through a Python script. Suited to users who want Telegram handled from their assistant, including draft publishing to a klodkot channel.

  • Score 74
  • 419 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install telegram

Built from the published package, never by AI.

git clone --depth 1 https://github.com/glebis/claude-skills /tmp/claude-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-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 an AI assistant list chats, fetch recent and unread messages, search message content, and send text or files. It runs the script scripts/telegram_fetch.py, which relies on authentication configured in ~/.telegram_dl/. Output is markdown by default, with a JSON option.

The skill can also edit your own messages, download attachments, read forum thread messages, and publish drafts from a klodkot channel folder. Publishing supports a dry-run preview. Results can be appended to an Obsidian daily note or saved to a file. It suits users who want Telegram tasks handled from their AI assistant, including the klodkot channel workflow.

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

What it can do

  • listLists available Telegram chats with IDs, names, types and unread counts.
  • recentFetches recent messages from all chats or a specific chat.
  • searchSearches message content globally or within a specific chat.
  • unreadFetches only unread messages, optionally for one chat.
  • sendSends text or files to a chat, with reply, forum topic and markdown options.
  • editEdits an existing message by ID, for messages you sent yourself.
  • downloadDownloads media attachments from a chat to a folder.
  • threadFetches messages from a specific forum thread, newest first.
  • publishPublishes a klodkot channel draft to Telegram, with a dry-run option.
  • setupChecks whether Telegram authentication is configured and gives setup steps.

What you need

  • Telegram API credentials from my.telegram.org
  • The telegram_dl repository by glebis, cloned locally
  • Python 3
  • Authentication configured in ~/.telegram_dl/

Try asking

  • Show my recent Telegram messages from today
  • Search Telegram for messages about the project deadline
  • Send a Telegram message to @username saying hello

Good to know

  • You can only edit your own messages.
  • The send command does not convert markdown unless --markdown is given.
  • Publishing only works for drafts with the channel field set to klodkot.
  • Built-in rate limiting adds 0.1 seconds between messages.

Security check

A

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

Checked automatically: telegram/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to telegram

All alternatives →

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

telegram: common questions

Can it edit messages sent by other people?

No. The source says you can only edit your own messages. Telegram formatting such as bold is preserved on edit.

Can I preview a draft before it is published?

Yes. The publish command has a --dry-run option that shows a preview without sending. Validation also runs before sending.

Where are downloaded attachments saved?

By default they go to ~/Downloads/telegram_attachments/. A custom folder can be set with the --output option.

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 MIT licence. The service it connects to may have its own pricing.

Is telegram safe to use?

It scores 74 of 100. Grades: maintenance A, licence A, quality B. 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.