PDF Generation
glebis/claude-skills
Professional PDF generation from markdown using Pandoc with Eisvogel template and EB Garamond fonts.
Download, export, convert, filter, and analyze Telegram chats via the telegram-download-chat CLI.
$ npx skills add popstas/telegram-download-chat --skill telegram-download-chat -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install popstas/telegram-download-chat telegram-download-chat --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/popstas/telegram-download-chat.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/telegram-download-chat .claude/skills/telegram-download-chat && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "telegram-download-chat" agent skill from https://github.com/popstas/telegram-download-chat/tree/master/skills/telegram-download-chat into .claude/skills/telegram-download-chat/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "telegram-download-chat", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/popstas/telegram-download-chat/tree/master/skills/telegram-download-chatType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add popstas/telegram-download-chat --skill telegram-download-chat -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install popstas/telegram-download-chat telegram-download-chat --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/popstas/telegram-download-chat.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/telegram-download-chat .agents/skills/telegram-download-chat && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "telegram-download-chat" agent skill from https://github.com/popstas/telegram-download-chat/tree/master/skills/telegram-download-chat into .agents/skills/telegram-download-chat/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "telegram-download-chat", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add popstas/telegram-download-chat --skill telegram-download-chat -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install popstas/telegram-download-chat telegram-download-chat --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/popstas/telegram-download-chat.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/telegram-download-chat .cursor/skills/telegram-download-chat && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "telegram-download-chat" agent skill from https://github.com/popstas/telegram-download-chat/tree/master/skills/telegram-download-chat into .cursor/skills/telegram-download-chat/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "telegram-download-chat", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/popstas/telegram-download-chat.git --path skills/telegram-download-chat--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add popstas/telegram-download-chat --skill telegram-download-chat -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install popstas/telegram-download-chat telegram-download-chat --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/popstas/telegram-download-chat.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/telegram-download-chat .gemini/skills/telegram-download-chat && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "telegram-download-chat" agent skill from https://github.com/popstas/telegram-download-chat/tree/master/skills/telegram-download-chat into .gemini/skills/telegram-download-chat/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "telegram-download-chat", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install popstas/telegram-download-chat telegram-download-chatInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add popstas/telegram-download-chat --skill telegram-download-chat -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/popstas/telegram-download-chat.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/telegram-download-chat .github/skills/telegram-download-chat && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "telegram-download-chat" agent skill from https://github.com/popstas/telegram-download-chat/tree/master/skills/telegram-download-chat into .github/skills/telegram-download-chat/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "telegram-download-chat", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add popstas/telegram-download-chat --skill telegram-download-chat -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install popstas/telegram-download-chat telegram-download-chat --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/popstas/telegram-download-chat.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/telegram-download-chat .opencode/skills/telegram-download-chat && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "telegram-download-chat" agent skill from https://github.com/popstas/telegram-download-chat/tree/master/skills/telegram-download-chat into .opencode/skills/telegram-download-chat/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "telegram-download-chat", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
telegram-download-chatDownload, export, convert, filter, and analyze Telegram chats via the telegram-download-chat CLI.
Telegram Download Chat is an agent skill from popstas/telegram-download-chat. Download, export, convert, filter, and analyze Telegram chats via the telegram-download-chat CLI. Download messages from a chat/group/channel, convert an existing JSON export to TXT/HTML/PDF, filter by date/user/keyword, download media, extract subchats (reply threads), and download whole folders. Triggers on "download telegram chat", "export telegram", "convert telegram export", "скачать чат телеграм", "telegram-download-chat".
Its SKILL.md is about 3.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Documents & Office. It works with Telegram. The repository describes itself as: Download any Telegram chat history: CLI, GUI, WebUI, MCP, Skill. The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 2825deb. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
BashReadAskUserQuestionGlobFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pythonpipuvxuvFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
t.meFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Telegram Download Chat loads about 3.7k tokens when it runs. Until then it costs about 114 tokens; SKILL.md has 1,902 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Bash, Read, AskUserQuestion, GlobAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from popstas/telegram-download-chat at commit 2825deb, republished under its MIT licence (© popstas). 1,902 words, ~3,698 tokens.
.claude/skills/telegram-download-chat/SKILL.md (or your agent's skills folder).SCOPE: This skill drives the telegram-download-chat CLI to download, convert, filter, and export Telegram chats on the user's behalf. It ONLY invokes the CLI and reports the resulting output paths. It does NOT modify project source code, and does NOT use the GUI, MCP server, or web interface.
Run which telegram-download-chat. If found, use that command directly. If not found, try python -m telegram_download_chat --version. If neither works, the tool is not installed — tell the user so and proactively offer to install it, using the methods documented in the project README.md ("Installation" section):
pip install telegram-download-chat (recommended persistent install)uvx telegram-download-chat <args> (run without installing)uv tool install telegram-download-chat (persistent install via uv)pip install -e ".[dev,gui]" from a checkout of this repo (development)Do not install anything without the user's confirmation.
Confirm api_id and api_hash are present without exposing their values. --show-config prints the full config file contents, including the api_hash secret, so prefer a redacted presence check that prints no values:
-c/--config value), then run a quiet check that requires a numeric api_id (it is cast with int() before connecting) and a real api_hash (exactly 32 hex chars from my.telegram.org). The api_hash check anchors on exactly 32 hex chars with balanced quoting (both ", both ', or none) so it rejects empty (""/''), null/~, the shipped YOUR_API_HASH placeholder, and short/garbage values like api_hash: a — all of which would fail the real auth check later. E.g. grep -qE '^\s*api_id:\s*("[0-9]+"|'"'"'[0-9]+'"'"'|[0-9]+)\s*$' <config> && grep -qiE '^\s*api_hash:\s*("[0-9a-f]{32}"|'"'"'[0-9a-f]{32}'"'"'|[0-9a-f]{32})\s*$' <config> && ! grep -qE 'YOUR_API_(ID|HASH)' <config> && echo present. A bare key-presence check is not enough — a fresh config has both keys but with placeholder/empty values, and the next connection will fail.--show-config (e.g. just to learn the path), do NOT echo, repeat, or paste the api_hash value back into your response.These come from https://my.telegram.org — NEVER invent them. If missing, tell the user to add them to the config file (its location is shown by --show-config).
Logging in is its own command: telegram-download-chat login (code from Telegram) or telegram-download-chat login --qr (scan a QR code from an app that is already logged in). Run it as a foreground ! <cmd> in a real, attachable terminal so the user can type the code, the phone or a 2FA password — never in the background.
A download with no saved session offers the same login only when it runs in a real terminal; with no terminal it never prompts, it logs No Telegram session. Run telegram-download-chat login … and exits 1. So a backgrounded or piped run fails fast with a message instead of hanging on a prompt nobody can answer. Only --show-config and --help run fully offline; convert mode (.json input) also opens a Telegram connection (it requires api_id/api_hash and a saved session, though it never offers to log in), so treat convert as needing credentials and an existing session.
The positional CHAT argument selects the mode (see cli/__init__.py):
.json → convert an existing export to TXT/HTML/PDF. The CLI still opens a Telegram connection for convert (it needs api_id/api_hash and a saved session), so it is not offline — only --show-config/--help run with no connection. Convert never offers to log in: with no session it fails with the login instruction.folder: (e.g. folder:Work) → download every chat in that Telegram folder (live).@name or name), phone number, numeric id, or channel id (-100…) → live download of that chat.gui → GUI mode. Out of scope for this skill; mention only and do not launch it.Map the user's request to flags (full reference below). Common building blocks: -o/--output, -l/--limit, date range (--max-date/--from, --min-date/--until, --last-days), --user, --keywords, --subchat, --split, --media, --comments, --stt, --html, --pdf. Add --results-json whenever you need to parse the outcome programmatically.
--show-config and --help: run in the foreground normally (no connection)..json input) and short capped downloads (e.g. small -l): run in the foreground normally only when credentials and a saved session already exist — both still open a Telegram connection.telegram-download-chat login (or login --qr) as a foreground ! <cmd> in a real, attachable terminal first, so the user can type the phone, the code and an optional 2FA password. A live download started in such a terminal offers the same login itself; anywhere else it exits 1 with the instruction rather than hanging. Never background a run that may need to log in.! <cmd> to watch progress, or in the background. Confirm scope first (see Constraints).Prefer --results-json: it prints {"results": [ ... ]}, where each entry has chat_id, chat_title, chat_type, messages (count), from/to, result_json, result_txt, matched keywords, and — when produced — result_topics, result_attachments, result_html, result_pdf (each a path, or a list of paths when --split is used). Parse it and report the concrete output paths to the user. Output is organized per-chat under the downloads dir: <chat_name>/messages.json, messages.txt, optionally messages.html/messages.pdf, and attachments/.
Source of truth: src/telegram_download_chat/cli/arguments.py. Run telegram-download-chat --help to confirm the live flag set.
CHAT (optional) — the target. Accepts:@name or name), phone number, numeric id, or channel id (-100…) → live download;.json → convert an existing export (still opens a Telegram connection — needs credentials, see Step 1/2);folder:Name (e.g. folder:Work) → every chat in that Telegram folder;, and trimmed).-o, --output — output file path (default: <chat_name>.json).--split {month,year,topics} — split output by month, by year, or by forum topic (one <chat>/<topic_slug>/ subdirectory per topic). Note: topics only works on a live download of a forum/supergroup; on a .json convert it silently falls back to year-bucketing.--overwrite — replace existing output files instead of resuming.--results-json — print a results summary as JSON to stdout (preferred machine-readable output).-l, --limit — maximum number of messages to download (default: 0 = no limit).--since-id — start downloading after the specified message ID.--max-date, --from — only messages on or before this date (YYYY-MM-DD). Also the base date for --last-days.--min-date, --until — only messages on or after this date (YYYY-MM-DD).--last-days — number of days back from --max-date (or today) to download.--user — sender identifier (12345 or user12345). Caveat: it only actually filters when converting a Telegram Desktop archive export (a JSON dict containing about/chats). For a normal message-list JSON it does NOT filter — it only tags the output filename (..._user_<id>.txt). Live downloads ignore it entirely. To restrict a normal export to one sender, filter the JSON yourself.--keywords — comma-separated keywords to search in messages.--subchat — filter to a subchat/reply thread by message id or URL. Works on JSON→TXT conversion, and on live downloads when combined with -o/--output (without -o, an existing .json input is required).--subchat-name — name for the subchat directory (default: subchat_<subchat_id>).--sort {asc,desc} — sort messages by date (default: asc).--media — download all media attachments (images, videos, audio, documents, etc.).--no-fast-download — disable parallel multi-connection media downloads (use single-stream Telethon downloader).--media-placeholders — insert media type indicators (e.g. [photo], [file=name.pdf]) in TXT output.--comments — download post comments from the channel's linked discussion group (a no-op on other entities and on channels without comments). Comments are merged into the same messages.json/.txt/.html and nested under their post.--comments-limit — max comments fetched per post (requires --comments; omit for unlimited).--comments-min-reactions — drop comments whose total reaction count is below N (requires --comments; 0 = keep all). Applied after --comments-limit, so the limit caps how many are fetched and this trims the low-reaction ones.--reactions — append each message's reactions as an inline suffix (e.g. [👍5 ❤️2]) in the TXT output.--stt — transcribe voice messages and round video notes via Telegram's speech-to-text. Requires a Telegram Premium account; without one the pass is skipped with a warning and makes no API calls. Transcripts appear as a transcript field in JSON, a [stt] … line in TXT, and an italic block in HTML/PDF. Results are cached locally (keyed by the audio's document id), so a re-download — or the same audio in another chat — is never transcribed twice.--html — export chat as a Telegram-style HTML file.--html-media-links — show clickable file path captions under each media element in HTML export.--pdf — export chat as a PDF document.-c, --config — path to config file (default: OS-specific location).--show-config — show the current configuration file location and contents, then exit.--debug — enable debug logging.--preset — name of a preset from config to use.--proxy-url — proxy URL for the Telegram connection (e.g. socks5://host:1080, http://host:8080).-v, --version — print version and exit.-h, --help — show help and exit.Each scenario lists a runnable command and the situation it fits. Replace @chat / paths with the user's actual target.
telegram-download-chat @chattelegram-download-chat @chat -l 100 -o report.jsontelegram-download-chat @chat --min-date 2025-01-01 --max-date 2025-03-31telegram-download-chat @chat --last-days 7telegram-download-chat @chat --split month --mediatelegram-download-chat @chat --keywords invoice,payment --results-jsontelegram-download-chat ./chat/messages.json --sort desc
(Adding --user user12345 only filters a Telegram Desktop archive export; for a normal message-list JSON it just tags the filename — see the --user caveat above.)telegram-download-chat ./chat/messages.json --subchat https://t.me/c/123456/789 --subchat-name design-threadtelegram-download-chat folder:Worktelegram-download-chat @chat --html --pdftelegram-download-chat @channel --comments --comments-min-reactions 3 --htmltelegram-download-chat @chat --stt --media --htmltelegram-download-chat @chat --proxy-url socks5://127.0.0.1:1080 --preset archive-l/--limit and no date range on a live chat, the download is unbounded. Confirm scope (or suggest a --last-days / -l cap) before starting.api_id / api_hash. They come only from https://my.telegram.org. If --show-config shows them missing, ask the user to add them — do not guess.login / login --qr ask for the phone, the code and an optional 2FA password, and a live download offers the same when it runs in a terminal. Run those as a foreground ! <cmd>; never assume a login can run unattended. Exit codes are reliable from both telegram-download-chat and python -m telegram_download_chat, so a failure is detectable without scraping the log.--proxy-url / proxy config. Don't strip or override the proxy the user configured.© popstas, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/telegram-download-chat of popstas/telegram-download-chat.
Open the folder on GitHubat commit 2825deb
Telegram Download Chat next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Telegram Download Chat this skillpopstas/telegram-download-chat | 224 | — | ~3.7k | Automated safety check: Notes | MIT | |
| PDF Generationglebis/claude-skills | 391 | — | ~1.3k | Automated safety check: Pass | MIT | |
| Delivery Routinggrandamenium/cortextos | 101 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Persian ConversationalTronIsHere/vibefarsiui | 212 | — | ~1.5k | Automated safety check: Warn | MIT | |
| Revenue TrackerLeoYeAI/openclaw-master-skills | 2.2k | — | ~3.7k | Automated safety check: Pass | MIT | |
| PostN1arko/redaktura-skills | 168 | — | ~1.3k | Automated safety check: Pass | Custom licence |
glebis/claude-skills
Professional PDF generation from markdown using Pandoc with Eisvogel template and EB Garamond fonts.
grandamenium/cortextos
Route research summaries to local markdown, Telegram, or Slack with approval gates and delivery-state updates.
TronIsHere/vibefarsiui
Write colloquial written Persian (محاورهنویسی): the Farsi people actually type in chat, Instagram captions, Telegram posts, consumer-app onboarding and friendly support replies.
LeoYeAI/openclaw-master-skills
Live revenue tracking system for autonomous agents. An agent skill from LeoYeAI/openclaw-master-skills.
N1arko/redaktura-skills
Короткие русскоязычные посты для Telegram, LinkedIn, Instagram и других соцсетей: пост с нуля, пост из статьи, анонс в канал, переписывание первой строки, усиление хука и финала.
AgriciDaniel/claude-repurpose
Content Repurposing Engine. An agent skill from AgriciDaniel/claude-repurpose.
Works with
Categories
Download, export, convert, filter, and analyze Telegram chats via the telegram-download-chat CLI. Telegram Download Chat is an agent skill from popstas/telegram-download-chat. Download, export, convert, filter, and analyze Telegram chats via the telegram-download-chat CLI.
Telegram Download Chat fits situations like: download telegram chat; export telegram; convert telegram export; Скачать чат телеграм.
Run `npx skills add popstas/telegram-download-chat --skill telegram-download-chat -a claude-code`. Or copy the skill folder (skills/telegram-download-chat in popstas/telegram-download-chat) into .claude/skills/telegram-download-chat in your project. Claude Code loads it when a task matches its description.
Run `npx skills add popstas/telegram-download-chat --skill telegram-download-chat -a codex`. Or copy the skill folder (skills/telegram-download-chat in popstas/telegram-download-chat) into .agents/skills/telegram-download-chat in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add popstas/telegram-download-chat --skill telegram-download-chat -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/telegram-download-chat, .gemini/skills/telegram-download-chat, .github/skills/telegram-download-chat and .opencode/skills/telegram-download-chat in your project.
Going by SKILL.md and its folder, Telegram Download Chat needs the command-line tools its instructions call (python, pip, uvx and uv). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash, Read, AskUserQuestion, Glob.
SKILL.md names 1 domain. In commands or code: t.me; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Telegram Download Chat is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.7k tokens (SKILL.md is roughly 15k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Telegram Download Chat: PDF Generation (glebis/claude-skills, 391 stars), Delivery Routing (grandamenium/cortextos, 101 stars), Persian Conversational (TronIsHere/vibefarsiui, 212 stars) and Revenue Tracker (LeoYeAI/openclaw-master-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
popstas (a GitHub user) maintains it in popstas/telegram-download-chat, which has 224 GitHub stars. The repository was last updated on October 8, 2026.
Source: popstas/telegram-download-chat on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.