Skip to main content
在 Manus 中运行任何 Skill
一键导入

tg-cli

星标0
分支0
更新时间2026年7月15日 11:58

Read and send your own Telegram chats from the terminal via the bundled `bin/tg` command. Logs in as your Telegram **user account** over MTProto (Telethon) — not a bot — so it sees every chat your account sees. `tg login` authenticates once (phone + code + 2FA), `tg chats` lists conversations, `tg folders` / `tg folder <name>` list and batch-read chat folders, `tg folder-add <folder> <chat>` folds a chat into a folder (dry-run unless `--yes`) and `tg chats --not-in-folder <folder>` finds chats sitting outside one, `tg read <name>` shows a thread, `tg search <text>` searches, `tg send <name> <text>` sends a message or a `--file` document (dry-run unless `--yes`), and `tg download <name>` saves attachments. Session and API credentials are stored chmod 600 in ~/.config/tg-cli. Use when the user wants to read, search, send, or download their personal Telegram messages and attachments.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly