Skip to content
Skillpedia
Databases7.4k · #13252

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.md

Copy 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

Use this skill to help me: https://github.com/steipete/agent-scripts/blob/main/skills/telecrawl/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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 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
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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills