telecrawl
What it does
This skill lets an agent look through an archived copy of Telegram chats, contacts, and folders using a command line tool. It is for people who want to find old Telegram messages quickly.
When to use it
- ✓When you want to find an old Telegram message or chat.
- ✓When you want to list chats, contacts, or topics from your archive.
- ✓When you need to refresh the archive from the Telegram app data.
Skill link
https://github.com/steipete/agent-scripts/blob/main/skills/telecrawl/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Find the Telegram message where someone shared a restaurant address last month.”
5 new skills a week. 1 minute to read.
How it works
The agent checks the archive status first, since an empty archive means no import has run yet, then searches or lists the requested items. It uses the live Telegram apps only for current state.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
What does an empty result mean?
The skill says empty counts mean no import has run on that machine, not that there is no data.
Does a refresh replace my archive?
Imports merge by default. The restore option replaces the archive, so the skill treats it with care.
Can it fetch media too?
Yes. An import can also pull cloud media when that option is used.
Details
Original description by the author
Telegram archive: chats, messages, contacts, folders, search; import from Telegram Desktop/macOS.
repo: steipete/agent-scripts
Popularity
- GitHub stars
- 7.4k
- Ranking position
- #13252
- License
- MIT
- Updated
- 10/30/2026
Comments
- …
More skills from this repository
beeper
7.4kHelps your agent search your local Beeper chat history to find messages and work out which chat or contact a vague hint refers to.
cloudflare-registrar
7.4kHelps your agent check Cloudflare Registrar domain prices and availability, and register or list domains with a confirmation step.
codexbar
7.4kHelps your agent check how much usage you have left on AI services such as Codex, Claude, and Kimi, including limits, credits, and reset times.
create-cli
7.4kHelps your agent design a command line tool's commands, flags, help text, output, and errors so it works for both people and scripts.
Similar skills
discrawl
394kLets your agent search and summarize a saved local archive of Discord messages, check how fresh it is, and read direct messages.
clickhouse-io
280kHelps your agent optimize queries and schemas in ClickHouse databases. It applies best practices for high-performance analytical workloads. Use when analytical queries are too slow.
scientific-db-pubmed-database
280kHelps your agent search for scientific articles in the biomedical field. It's useful for research needing specific medical information.