telecrawl
它能做什么
这个技能让智能体通过命令行工具,查找 Telegram 聊天、联系人和文件夹的归档副本。适合想快速找回旧 Telegram 消息的人。
适用场景
- ✓你想找回旧的 Telegram 消息或聊天的时候。
- ✓你想从归档中列出聊天、联系人或话题的时候。
- ✓你需要从 Telegram 应用数据中刷新归档的时候。
技能链接
https://github.com/steipete/agent-scripts/blob/main/skills/telecrawl/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请找出上个月某人分享餐厅地址的那条 Telegram 消息。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会先检查归档状态,因为空的归档意味着还没有运行过导入。然后搜索或列出所需内容。它只在需要了解当前状态时才使用正在运行的 Telegram 应用。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Telecrawl
Use this for Telegram history questions. Local archive first; the Telegram apps only for live/current state.
Sources
- DB:
~/.telecrawl/telecrawl.db - Import source: Telegram Desktop
tdataor native macOS Telegram Postbox (auto-detected) - CLI:
telecrawl - Archive host: the populated archive currently lives on
clawmac(~200 chats). Local DBs on other Macs may be empty — checkstatusfirst and prefer SSH to the archive host over answering from an empty DB:
ssh -o RequestTTY=no -o RemoteCommand=none steipete@clawmac 'zsh -lc "telecrawl --json status"'
Freshness
telecrawl --json status
Empty counts mean no import has run on this machine, not "no Telegram data".
Queries
All read commands take --json.
telecrawl --json chats --limit 20
telecrawl --json chats --unread
telecrawl --json messages --chat <ID> --limit 50 --after 2026-01-01
telecrawl --json search "query" [--chat ID]
telecrawl --json contacts --limit 50
telecrawl --json folders
telecrawl --json topics --chat <ID>
Import / Refresh
telecrawl doctor # verify a Telegram data source is readable
telecrawl import # merge-import from detected local Telegram app
telecrawl import --fetch-media # also pull Telegram cloud media
Imports merge by default; --restore replaces the archive — treat as destructive and confirm first.
Backup
Encrypted age shards to a git repo:
telecrawl backup status
telecrawl backup push
常见问题
结果为空是什么意思?
技能说明,计数为空表示该设备上还没有运行过导入,而不是没有数据。
刷新会替换我的归档吗?
默认情况下,导入会合并。恢复选项会替换归档,因此技能对它格外谨慎。
它也能获取媒体文件吗?
可以。使用相应选项时,导入也可以拉取云端媒体。
详情
作者的原始描述
Telegram archive: chats, messages, contacts, folders, search; import from Telegram Desktop/macOS.
repo: steipete/agent-scripts
热度
- GitHub 星标
- 7.4k
- 排名
- #13252
- 许可证
- MIT
- 更新时间
- 2026/10/30
评论
- …
同一仓库的更多技能
beeper
7.4k帮你的智能体搜索本地 Beeper 聊天记录,找到消息,并判断模糊线索指的是哪个聊天或联系人。
cloudflare-registrar
7.4k帮你的智能体查询 Cloudflare Registrar 的域名价格和可用性,并在确认后注册或列出域名。
codexbar
7.4k帮你的智能体查看你在 Codex、Claude、Kimi 等 AI 服务中还剩多少用量,包括限额、额度和重置时间。
create-cli
7.4k帮你的智能体设计命令行工具的命令、参数、帮助文本、输出和错误提示,让人和脚本都能顺利使用。