โ† All skills
Tencent SkillHub ยท Developer Tools

Telegram Auto Topic

Add `/topic` to the start of any message in a Telegram forum group to auto-create a new topic from it. A title is generated automatically from the message content. Github: https://github.com/itstauq/telegram-auto-topic

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Add `/topic` to the start of any message in a Telegram forum group to auto-create a new topic from it. A title is generated automatically from the message content. Github: https://github.com/itstauq/telegram-auto-topic

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, scripts/telegram-auto-topic.sh

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
0.1.8

Documentation

ClawHub primary doc Primary doc: SKILL.md 8 sections Open source page

Telegram Auto-Topic

Add /topic to the start of any message in a Telegram forum group โ†’ a new topic is created from it. The title is figured out from your message automatically โ€” no need to think of one yourself.

Example

1. You send a message starting with /topic: /topic @your_bot I need to look into renewing my passport before March 2. A new forum topic "Passport Renewal Before March" is created with your message quoted inside it. You get a reply linking directly to the new topic.

Prerequisites

The group must be configured in OpenClaw (channels.telegram.groups.<CHAT_ID>) โ€” this is how OpenClaw knows to process messages from it. The group must have forum/topics enabled. Your bot must be an admin in the group with Manage Topics permission.

Handling /topic

When a message starts with /topic: Generate a concise 3-7 word title summarising the message. Run the script โ€” replace placeholders with actual values from the message context: scripts/telegram-auto-topic.sh <chat_id> <message_id> "<sender name>" "<title>" "<text after /topic>" Pass an empty string for the text arg if there's no text (e.g. media-only). Use the path relative to this skill's directory. The script returns JSON with topic_id, title, and link. Reply to the original message with: Topic created โ†’ [<title>](<link>) Then send a response to the actual message content in the NEW topic (use message tool with threadId from the returned topic_id). Respond naturally as you would to any message. After both replies are sent, respond with NO_REPLY.

How It Works

You send a message starting with /topic A new forum topic is created โ€” titled from your message automatically Your message is quoted in the new topic with your name You get a reply with a clickable link to the new topic The bot responds to your message in the new topic Works with media too โ€” photos, videos, or documents with /topic in the caption get forwarded into the new topic.

Script Reference

scripts/telegram-auto-topic.sh <chat_id> <message_id> <sender> [title] [text] ParameterTypeRequiredDescriptionchat_idargyesSupergroup chat ID (negative number)message_idargyesOriginal message to quotesenderargyesDisplay name of original sendertitleargnoTopic title. Falls back to first ~50 chars of text if omittedtextargnoMessage body after /topic. If empty, forwards as media Returns JSON: {"topic_id": 123, "title": "Used title", "link": "https://t.me/c/..."}

Optional configuration

Skip the @bot mention โ€” by default, the bot only responds when mentioned. To use /topic without mentioning the bot: "channels.telegram.groups.<CHAT_ID>": { "requireMention": false } Telegram autocomplete โ€” to get /topic in Telegram's command menu, add under channels.telegram: { "customCommands": [ { "command": "topic", "description": "Create a new forum topic from a message" } ] }

Limitations

Attribution: Quoted messages appear as sent by the bot (Telegram API limitation). Sender name is included as attribution text below the quote. Media: Forwarded media shows a "Forwarded from" header โ€” best available but not native. Forum groups only: Won't work in regular groups or DMs. Permissions: Bot needs admin with Manage Topics. Title length: Telegram caps topic names at 128 characters.

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
1 Docs1 Scripts
  • SKILL.md Primary doc
  • scripts/telegram-auto-topic.sh Scripts