跳到正文
Skillpedia
数据库7.4k · #13252

telecrawl

它能做什么

这个技能让智能体通过命令行工具,查找 Telegram 聊天、联系人和文件夹的归档副本。适合想快速找回旧 Telegram 消息的人。

适用场景

  • ✓你想找回旧的 Telegram 消息或聊天的时候。
  • ✓你想从归档中列出聊天、联系人或话题的时候。
  • ✓你需要从 Telegram 应用数据中刷新归档的时候。

技能链接

https://github.com/steipete/agent-scripts/blob/main/skills/telecrawl/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/steipete/agent-scripts/blob/main/skills/telecrawl/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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 tdata or 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 — check status first 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能