skills/tgcli-topics/SKILL.md
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.
npx skillsauth add technickai/openclaw-config tgcli-topicsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
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.
# 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
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.telethon.--include-flat includes dialogs that do not have forum topics, which is useful for
audits.receive_updates=False. In practice, isolating each bot DM in its own client pass
avoids update-decoding issues while reading replies.development
A pause before an artifact goes into the world. Reviews external comms, money, calendar, public posts, or send-as-operator actions through a small panel of independent lenses (empathy first) and returns a verdict of pass / edit / hold / block.
development
Route real repo work to Claude Code instead of editing by hand. Triggers on "claude code" or "cc", and on any request to edit, fix, refactor, or open a PR in a repo outside ~/.openclaw/workspace. Claude Code picks up the repo's CLAUDE.md / AGENTS.md, applies its standards, and knows the /ai-coding-config:multi-review and /ai-coding-config:address-pr-comments workflows we want bug bots checking against.
testing
Drive a task all the way to a verified done state — write DoD first, verify each item with evidence, stop only at named stop conditions.
tools
Design, build, and maintain autonomous OpenClaw workflows (stewards). Use when creating new workflow agents, improving existing ones, evaluating automation opportunities, or debugging workflow reliability. Triggers on "build a workflow", "create a steward", "automate this process", "workflow audit", "what should I automate", "create a cron job", "schedule a recurring task", "build a scheduled job".