laborany
基于 Claude Code 的桌面 AI 工作力平台 — 支持飞书/QQ 远程调度、技能创建、定时任务。OpenClaw 的桌面实现,零代码养好你的 AI 🦞 Desktop AI workforce platform built on Claude Code. Feishu/QQ bot integration, skill c...
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.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install bzsega/sergei-mikhailov-tg-channel-reader打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
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.
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.
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
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)"
http://localhost:18789/, find the pending approval for tg-reader, click "Always allow". Docs
<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.
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
OpenClaw skill for reading Telegram channels via MTProto (Pyrogram or Telethon)
An OpenClaw skill that lets your AI agent fetch and summarize posts from any Telegram channel — public or private (if you're subscribed).
24h, 7d, 2w, or specific dateOpenClaw can monitor Telegram channels via web scraping, but this skill uses MTProto — the same official protocol used by the Telegram app itself. Here's why it matters:
| Web monitoring | This skill (MTProto) | |
|---|---|---|
| Reliability | Breaks when Telegram updates its web UI | Always works — official protocol |
| Speed | Slow (browser rendering) | Fast — direct API calls |
| Private channels | Public only | Any channel you're subscribed to |
| Data richness | Text only | Views, forwards, links, dates |
| Rate limits | Frequent blocks & captchas | Soft limits, sufficient for personal use |
| Agent integration | Requires extra parsing | Clean JSON, ready for agent to analyze |
Bottom line: if you follow Telegram channels regularly and want your agent to summarize them, this skill is faster, more reliable, and gives you richer data than web monitoring.
npx clawhub@latest install sergei-mikhailov-tg-channel-reader
Then install Python dependencies:
cd ~/.openclaw/workspace/skills/sergei-mikhailov-tg-channel-reader
pip install pyrogram tgcrypto telethon
pip install -e .
Linux users: if you get
externally-managed-environmenterror, use a virtual environment:python3 -m venv ~/.venv/tg-reader ~/.venv/tg-reader/bin/pip install pyrogram tgcry...
# tg-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_ID` and `TG_API_HASH` from [my.telegram.org](https://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 needs `pip 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: ```bash cd ~/.openclaw/workspace/skills/sergei-mikhailov-tg-channel-reader bash setup-tg-reader.sh ``` ### Manual CLI approval ```bash 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 1. **Control UI** — open `http://localhost:18789/`, find the pending approval for `tg-reader`, click **"Always allow"**. [Docs](https://docs.openclaw.ai/web/control-ui) 2. **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 chann...
# sergei-mikhailov-tg-channel-reader > OpenClaw skill for reading Telegram channels via MTProto (Pyrogram or Telethon) An [OpenClaw](https://openclaw.ai) skill that lets your AI agent fetch and summarize posts from any Telegram channel — public or private (if you're subscribed). ## Features - Fetch posts from one or multiple channels in one command - Flexible time windows: `24h`, `7d`, `2w`, or specific date - JSON output with views, forwards, and direct links - Secure credential storage via env vars or config file - Works with any public channel — no bot admin required ## Why Use This Skill Instead of Web Monitoring? OpenClaw can monitor Telegram channels via web scraping, but this skill uses **MTProto** — the same official protocol used by the Telegram app itself. Here's why it matters: | | Web monitoring | This skill (MTProto) | |---|---|---| | **Reliability** | Breaks when Telegram updates its web UI | Always works — official protocol | | **Speed** | Slow (browser rendering) | Fast — direct API calls | | **Private channels** | Public only | Any channel you're subscribed to | | **Data richness** | Text only | Views, forwards, links, dates | | **Rate limits** | Frequent blocks & captchas | Soft limits, sufficient for personal use | | **Agent integration** | Requires extra parsing | Clean JSON, ready for agent to analyze | **Bottom line:** if you follow Telegram channels regularly and want your agent to summarize them, this skill is faster, more reliable, and gives you richer data than web monitoring. ## Install via ClawHub ```bash npx clawhub@latest install sergei-mikhailov-tg-channel-reader ``` Then install Python dependencies: ```bash cd ~/.openclaw/workspace/skills/sergei-mikhailov-tg-channel-reader pip install pyrogram tgcrypto telethon pip install -e . ``` > **Linux users:** if you get `externally-managed-environment` error, use a virtual environment: > ```bash > python3 -m venv ~/.venv/tg-reader > ~/.venv/tg-reader/bin/pip install pyrogram tgcry...
基于 Claude Code 的桌面 AI 工作力平台 — 支持飞书/QQ 远程调度、技能创建、定时任务。OpenClaw 的桌面实现,零代码养好你的 AI 🦞 Desktop AI workforce platform built on Claude Code. Feishu/QQ bot integration, skill c...
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Reusable OpenClaw skill for remote Linux deployment with MiniMax M2.1 and Telegram bot setup
Bots learn, human earns, curated open claw playbook list and skill list for life long learners at https://botlearn.ai