technickai/openclaw-config/tgcli-topics

Claude Code and agent skill by technickai/openclaw-config

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

List, discover, and search Telegram forum topics using the Telegram Client API (MTProto) via Telethon. Use when you need to find topic IDs (thread IDs) for a Telegram chat, especially when the standard tgcli cannot list forum topics.

Install

npx vskill@latest install technickai/openclaw-config/tgcli-topics

SKILL.md

tgcli-topics

A specialized skill to discover and list Telegram forum topics. Standard tgcli is great for flat-chat history, but it does not expose forum-topic listing. This skill bridges the gap by converting the tgcli session to a Telethon session and querying the MTProto Client API directly.

Ready-to-run entrypoint

Use the wrapper below as the default command. It bootstraps a local Telethon virtualenv in ~/.tgcli/venv, installs telethon if needed, converts the tgcli session to a Telethon .session file when missing or stale, and then runs topic discovery.

bash
# List topics for all dialogs (Markdown format)
python3 scripts/tgcli-topics.py --all --markdown
# List topics for specific peers
python3 scripts/tgcli-topics.py --peers 123456789,987654321
# Output as JSON
python3 scripts/tgcli-topics.py --all --json

Helper scripts

  • scripts/tgcli-topics.py is the only entrypoint agents should need.
  • scripts/convert-session.py remains available for forced/manual conversion.
  • scripts/discover-topics.py remains available as the lower-level discovery helper.

Notes

  • First run may take a moment because the wrapper may create a venv and install

telethon.

  • Topic discovery paginates, so chats with more than 100 topics are handled correctly.
  • --include-flat includes dialogs that do not have forum topics, which is useful for

audits.

  • For topic _message reads_ in bot DMs, use a Telethon client with

receive_updates=False. In practice, isolating each bot DM in its own client pass avoids update-decoding issues while reading replies.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
71
Repository forks
13
7-day trend score
21

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 May 2026, 5 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/technickai/openclaw-config/tgcli-topics/badge)](https://verified-skill.com/skills/technickai/openclaw-config/tgcli-topics)

Something wrong with this skill or its page? Tell us.