SkillAgentSearch skills...

telegram-reader

Read Telegram channels and groups for financial news and market research with the tdl CLI: list chats and channels, find a channel by name, and export recent messages or a date or ID range.

Install / Use

npx skills add himself65/finance-skills --skill telegram-reader

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

94/100

Supported Platforms

Universal

Tags

Our assessment of telegram-reader

telegram-reader scores 94/100 on our quality scale, 71st of 421 Education & Research skills we index (top 17%).

Its SKILL.md is 7.4 KB long, well organised into 25 sections with 9 code examples: a thorough specification that gives an agent plenty to work with.

With 3,348 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
29/30
Structure
20/20
Description
15/15
Adoption
15/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated about 3 months ago, so telegram-reader is actively maintained.
  • Our last check on 2026-11-16 found the source still online.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

Review

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (1 minor note below). An AI review judged it risky: Line 34 instructs the agent to install tdl via `curl -sSL https://docs.iyear.me/tdl/install.sh | sudo bash`, which is a remote script piped into a shell in a skill/rules file.

  • noteInstalls by piping a downloaded script into a shellline 34
    | macOS / Linux | `curl -sSL https://docs.iyear.me/tdl/install.sh \| sudo bash` |

AI review: risky

  • Line 34 instructs the agent to install tdl via `curl -sSL https://docs.iyear.me/tdl/install.sh | sudo bash`, which is a remote script piped into a shell in a skill/rules file.
  • The skill directs the agent to authenticate to Telegram and export private channel/message data to local JSON files, which could expose sensitive information if mishandled.
  • It is not malicious: it does not exfiltrate credentials, hide actions, or run destructive/backdoor commands; it is framed as read-only research.

AI review by kimi-k2.7-code on 2026-10-02. Automated pattern scan on 2026-10-02. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

telegram-reader compared with similar skills

All 4 of these similar skills score higher than telegram-reader; compare them before choosing.

SkillScoreStarsUpdatedFormat
telegram-reader (this skill)by himself65943.3k3mo agoSKILL.md
last30days-skillby mvanhorn10068.0ktodayCLAUDE.md
x402by browser-use100121.0k3d agoSKILL.md
algorithmic-artby anthropics100177.9k55d agoSKILL.md
pptxby anthropics100177.9k55d agoSKILL.md

Frequently asked questions

How do I install telegram-reader?
Run npx skills add himself65/finance-skills --skill telegram-reader. The install tabs above show the steps for each supported agent.
Which AI agents does telegram-reader work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is telegram-reader safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (1 minor note below). An AI review judged it risky: Line 34 instructs the agent to install tdl via curl -sSL https://docs.iyear.me/tdl/install.sh | sudo bash, which is a remote script piped into a shell in a skill/rules file. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is telegram-reader still maintained?
The repository was last updated about 3 months ago, so telegram-reader is actively maintained.

name: telegram-reader description: > Read Telegram channels and groups for financial news and market research with the tdl CLI: list chats and channels, find a channel by name, and export recent messages or a date or ID range. Use this skill whenever the user wants to check their Telegram, see what's new in their channels, read or export messages from a news, crypto, or trading channel or group, or gather market news and signals posted on Telegram. Read-only: it cannot send messages or join or leave channels.

Telegram News Skill (Read-Only)

Reads Telegram channels and groups for financial news and market research using tdl, a Telegram CLI tool.

This skill is read-only. It is designed for financial research: reading channel messages, monitoring financial news channels, and exporting message history. It does NOT support sending messages, joining/leaving channels, or any write operations.


Step 1: Ensure tdl Is Installed

Current environment status:

!`(command -v tdl && tdl version 2>&1 | head -3 || echo "TDL_NOT_INSTALLED") 2>/dev/null`

If the status above shows a version number, tdl is installed — skip to Step 2.

If TDL_NOT_INSTALLED, install tdl based on the user's platform:

| Platform | Install Command | |----------|----------------| | macOS / Linux | curl -sSL https://docs.iyear.me/tdl/install.sh \| sudo bash | | macOS (Homebrew) | brew install telegram-downloader | | Linux (Termux) | pkg install tdl | | Linux (AUR) | yay -S tdl | | Linux (Nix) | nix-env -iA nixos.tdl | | Go (any platform) | go install github.com/iyear/tdl@latest |

Default to Homebrew on macOS. On Linux the install script runs with sudo, so confirm with the user before using it, or offer their package manager instead.


Step 2: Ensure tdl Is Authenticated

Current auth status:

!`(tdl chat ls --limit 1 2>&1 >/dev/null && echo "AUTH_OK" || echo "AUTH_NEEDED") 2>/dev/null`

If AUTH_OK, skip to Step 3.

If AUTH_NEEDED, guide the user through login. Login requires interactive input — the user must enter their phone number and verification code manually.

Login methods

Method A: QR Code (recommended — fastest)

tdl login -T qr

A QR code will be displayed in the terminal. The user scans it with their Telegram mobile app (Settings > Devices > Link Desktop Device).

Method B: Phone + Code

tdl login -T code

The user enters their phone number, then the verification code sent to their Telegram app.

Method C: Import from Telegram Desktop

If the user has Telegram Desktop installed and logged in:

tdl login

This imports the session from the existing desktop client. The desktop client must be from the official website, NOT from the App Store or Microsoft Store.

Namespaces

By default, tdl uses a default namespace. To manage multiple accounts:

tdl login -n work -T qr      # Login to "work" namespace
tdl chat ls -n work           # Use "work" namespace for commands

Important login notes

  • Login is a one-time operation. The session persists on disk after successful login.
  • If login fails, ask the user to check their internet connection and try again.
  • Never ask for or handle Telegram passwords/2FA codes programmatically — always let the user enter them interactively.

Step 3: Identify What the User Needs

Match the user's request to one of the read operations below.

| User Request | Command | Key Flags | |---|---|---| | List all chats/channels | tdl chat ls | -o json, -f "FILTER" | | List only channels | tdl chat ls -f "Type contains 'channel'" | -o json | | Export recent messages | tdl chat export -c CHAT -T last -i N | --all, --with-content | | Export messages by time range | tdl chat export -c CHAT -T time -i START,END | --all, --with-content | | Export messages by ID range | tdl chat export -c CHAT -T id -i FROM,TO | --all, --with-content | | Export from a topic/thread | tdl chat export -c CHAT --topic TOPIC_ID | --all, --with-content | | Search for a channel by name | tdl chat ls -f "VisibleName contains 'NAME'" | -o json |

Chat identifiers

The -c flag accepts multiple formats:

| Format | Example | |--------|---------| | Username (with @) | -c @channel_name | | Username (without @) | -c channel_name | | Numeric chat ID | -c 123456789 | | Public link | -c https://t.me/channel_name | | Phone number | -c "+1 123456789" | | Saved Messages | -c "" (empty) |


Step 4: Execute the Command

Listing chats

# List all chats
tdl chat ls

# JSON output for processing
tdl chat ls -o json

# Filter for channels only
tdl chat ls -f "Type contains 'channel'"

# Search by name
tdl chat ls -f "VisibleName contains 'Bloomberg'"

Exporting messages

Always use --all --with-content to get text messages (not just media):

# Last 20 messages from a channel
tdl chat export -c @channel_name -T last -i 20 --all --with-content -o /tmp/tdl-export.json

# Messages from a time range (Unix timestamps)
tdl chat export -c @channel_name -T time -i 1710288000,1710374400 --all --with-content -o /tmp/tdl-export.json

# Messages by ID range
tdl chat export -c @channel_name -T id -i 100,200 --all --with-content -o /tmp/tdl-export.json

Key rules

  1. Check auth first — run tdl chat ls --limit 1 before other commands to verify the session is valid
  2. Always use --all --with-content when exporting messages for reading — without these flags, tdl only exports media messages
  3. Use -o FILE to save exports to a file, then read the JSON — this is more reliable than parsing stdout
  4. Start with small exports — use -T last -i 20 unless the user asks for more
  5. Use filters on chat ls to help users find the right channel before exporting
  6. Read-only — don't send messages, join or leave channels, or modify anything
  7. Convert timestamps — when the user gives dates, convert to Unix timestamps for the -T time filter

Working with exported JSON

After exporting, read the JSON file and extract the relevant information:

# Export messages
tdl chat export -c @channel_name -T last -i 20 --all --with-content -o /tmp/tdl-export.json

# Read and process the export
cat /tmp/tdl-export.json

The export JSON contains message objects with fields like id, date, message (text content), from_id, views, and media metadata.


Step 5: Present the Results

Lead with the most relevant news or market updates rather than a raw dump. Give each message its timestamp and source channel, group messages from several channels by theme (macro, earnings, crypto), and call out breaking news, price targets, and earnings surprises. For channel lists, show name, member count, and type.


Step 6: Diagnostics

If something isn't working:

| Error | Cause | Fix | |-------|-------|-----| | not authorized or session errors | Not logged in or session expired | Run tdl login -T qr to re-authenticate | | FLOOD_WAIT_X | Rate limited by Telegram | Wait X seconds, then retry | | CHANNEL_PRIVATE | No access to channel | User must join the channel in their Telegram app first | | tdl: command not found | tdl not installed | Install using Step 1 |


Reference Files

  • references/commands.md — Complete tdl command reference for reading channels and exporting messages

Read the reference file when you need exact command syntax or detailed flag documentation.

Related Skills

View on GitHub
GitHub Stars3.3k
CategoryEducation
Updated2mo ago
Forks381

Languages

JavaScript

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions