sergei-mikhailov-tg-channel-reader
Read posts and comments from Telegram channels via MTProto (Pyrogram or Telethon). Fetch recent messages and discussion replies from public or private channels by time window.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bzsega/sergei-mikhailov-tg-channel-readertg-channel-reader
Read posts and comments from Telegram channels using MTProto (Pyrogram or Telethon). Works with any public channel and private channels the user is subscribed to. Supports fetching discussion replies (comments) for individual posts.
Security notice: This skill requires
TG_API_IDandTG_API_HASHfrom my.telegram.org. The session file grants full Telegram account access — store it securely and never share it.
Exec Approvals
Just installed via
clawhub install? Complete Setup & Installation (below) first — the skill needspip install, credentials, and a session file before exec approvals matter.
OpenClaw blocks unknown CLI commands by default. The user must approve tg-reader commands before they can run. If the command hangs or the user says nothing is happening — exec approval is likely pending.
Quick setup (recommended)
Run from the skill directory — checks prerequisites, installs pip packages if needed, and prints the approval commands to run:
cd ~/.openclaw/workspace/skills/sergei-mikhailov-tg-channel-reader
bash setup-tg-reader.sh
Manual CLI approval
openclaw approvals allowlist add --gateway "$(which tg-reader)"
openclaw approvals allowlist add --gateway "$(which tg-reader-check)"
openclaw approvals allowlist add --gateway "$(which tg-reader-telethon)"
Alternative: approve on first use
- Control UI — open
http://localhost:18789/, find the pending approval fortg-reader, click "Always allow". Docs - Messenger (Telegram, Slack, Discord) — the bot sends an approval request with an
<id>. Reply:/approve <id> allow-always. Other options:allow-once,deny.
The approval prompt appears in the Control UI or as a bot message — not in the agent's conversation. This is a common source of confusion.
When to Use
- User asks to "check", "read", or "monitor" a Telegram channel
- Wants a digest or summary of recent posts
- Asks "what's new in @channel" or "summarize last 24h from @channel"
- Wants to track or compare multiple channels
- Wants channel info (title, description, subscribers) — use
tg-reader info
Quick Start
# 1. Run pre-flight diagnostic (fast, no Telegram connection)
tg-reader-check
# 2. Get channel info
tg-reader info @channel_name
# 3. Fetch recent posts
tg-reader fetch @channel_name --since 24h
tg-reader: command not found? Runbash setup-tg-reader.shfrom the skill directory (it will install the package), or manually:cd ~/.openclaw/workspace/skills/sergei-mikhailov-tg-channel-reader && pip install .
Commands
tg-reader-check — Pre-flight Diagnostic
Always run before fetching. Fast offline check — no Telegram connection needed.
tg-reader-check
tg-reader-check --config-file /path/to/config.json
tg-reader-check --session-file /path/to/session
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bzsega-sergei-mikhailov-tg-channel-reader": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
smtools-image-generation
Generate images from text prompts using AI models via OpenRouter, Kie.ai, or YandexART. Use when the user asks to generate, create, draw, or illustrate an image.
sergei-mikhailov-stt
Speech recognition from voice messages using Yandex SpeechKit (with an extensible architecture for other providers). Use when you need to convert a voice message to text.