sergei-mikhailov-tg-channel-reader
by bzsega
Browser & AutomationBrief
Read and summarize posts from Telegram channels via MTProto (Pyrogram or Telethon)
Description
What This Skill Does
Fetches posts and discussion comments from Telegram channels using the MTProto protocol. Works with public channels and any private channel the user is subscribed to. Supports time-windowed fetches, unread-state tracking, and comment retrieval.
Reads private channels and fetches discussion comments via MTProto, which the Telegram Bot API does not support.
When to Use It
- Getting a daily digest from a news or crypto channel
- Monitoring competitor announcements across several channels
- Pulling reader comments on recent posts in a linked discussion group
- Summarizing a week of posts from a private research channel
- Checking for new posts since your last visit without re-reading old ones
Example Workflow
User asks: What's new in @cryptonews in the last 24 hours?
- 1
Runs tg-reader-check to confirm credentials and session file are valid
- 2
Fetches posts from @cryptonews with --since 24h
- 3
Parses the returned JSON and filters posts with text content
- 4
Summarizes key topics and highlights top posts by view count
A summary of recent posts covering major topics, with the most-viewed post identified and key links noted
Requirements
- Telegram account
- API credentials (TG_API_ID and TG_API_HASH) from my.telegram.org
Installation
clawhub install bzsega/sergei-mikhailov-tg-channel-readerRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.