tg-history
由 ls18166407597-design 提供
Browser & Automation简介
Efficiently extract and read Telegram group chat history as text, bypassing screenshots/OCR for zero-token-waste.
描述
该技能的功能
Extracts Telegram group chat history as plain text directly from the webpage DOM. Formats messages as [time] sender: content. Requires no screenshots or OCR.
Direct DOM extraction uses roughly 99% fewer tokens than screenshot-based approaches, making it practical to process long chat histories in a single pass.
何时使用
- Reading recent messages in a Telegram group
- Summarizing what a group discussed over the past day
- Monitoring a Telegram channel for latest updates
- Pulling chat logs from a group for offline review
- Checking who said what and when in a busy group
示例工作流
User asks: Summarize what's been discussed in the 'Dev Updates' group recently
- 1
Navigate to and open the target Telegram group in the browser
- 2
Wait 2 seconds for DOM to fully load
- 3
Verify the group title matches via .ChatInfo .title element
- 4
Click the down-arrow button repeatedly until the message list reaches the bottom
- 5
Extract message text from DOM and format each entry as [time] sender: content
A structured summary of recent group messages with senders and timestamps
前置要求
- Telegram account with access to the target group
安装
clawhub install ls18166407597-design/tg-history运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。