From tlg
user wants to list all Telegram chats, groups, and channels, see their contacts, find a chat ID, browse conversations, or check account info via.
How this skill is triggered — by the user, by Claude, or both
Slash command
/tlg:list-dialogsThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
List all chats, groups, and channels visible to your personal Telegram account.
List all chats, groups, and channels visible to your personal Telegram account.
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
~/.local/share/gramjs/<profile>.session
/tlg:setup first/usr/bin/env bash << 'DIALOGS_EOF'
SCRIPT="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/marketplaces/cc-skills/plugins/tlg}/scripts/tg-cli.ts"
# Default profile
bun "$SCRIPT" dialogs
# Specific profile
bun "$SCRIPT" -p missterryli dialogs
# Filter results
bun "$SCRIPT" dialogs | grep -i "search term"
DIALOGS_EOF
read returns the full text of every message by default. Multi-line
bodies are indented under the header so the message stays visually
grouped. No truncation.
# Full text (default — recommended)
bun "$SCRIPT" read <chat_id> -n 10
# Short scan listing — truncate each body to N chars (\n flattened to "⏎")
bun "$SCRIPT" read <chat_id> -n 50 --preview 200
Use --preview N only when you're scanning many messages and want a
single-line summary per row. For routine reading, omit it — long messages
deserve to be read in full, not silently cut at 200 chars (the prior default,
which forced repeated manual workarounds when content mattered).
bun "$SCRIPT" whoami
Chat Name (id: 1234567890)
Use the id value with send-message skill to send to that chat.
After this skill completes, check before closing:
Only update if the issue is real and reproducible — not speculative.
npx claudepluginhub terrylica/cc-skills --plugin tlgControls a personal Telegram account via MTProto (Telethon): list/search chats, read/summarize history, send/reply/forward/edit/delete/react to messages, download media, mark read, join/leave groups, and post in forum topics.
user wants to clean up Telegram by purging deleted or ghost accounts from their dialog list and contacts, or removing spam ghosts that clutter.
Telegram CLI for reading, searching, and sending messages. Use when the user asks about Telegram messages, wants to check inbox, search chats, send messages, or look up contacts and groups.