telegram-auto-topicAdd `/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
Install via ClawdBot CLI:
clawdbot install itstauq/telegram-auto-topicAdd /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.
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.
channels.telegram.groups.) ā this is how OpenClaw knows to process messages from it.When a message starts with /topic:
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.
topic_id, title, and link.Topic created ā threadId from the returned topic_id). Respond naturally as you would to any message./topicWorks with media too ā photos, videos, or documents with /topic in the caption get forwarded into the new topic.
scripts/telegram-auto-topic.sh <chat_id> <message_id> <sender> [title] [text]
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| chat_id | arg | yes | Supergroup chat ID (negative number) |
| message_id | arg | yes | Original message to quote |
| sender | arg | yes | Display name of original sender |
| title | arg | no | Topic title. Falls back to first ~50 chars of text if omitted |
| text | arg | no | Message body after /topic. If empty, forwards as media |
Returns JSON: {"topic_id": 123, "title": "Used title", "link": "https://t.me/c/..."}
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"
}
]
}
Generated Mar 1, 2026
Teams use the skill to create dedicated forum topics for new tasks or bugs by prefixing messages with /topic. This automatically organizes discussions around specific issues, improving traceability and reducing clutter in main group chats. It streamlines agile workflows by linking messages directly to actionable items.
Support agents in forum-based Telegram groups create new topics for each customer inquiry starting with /topic. This isolates cases for tracking, assigns them unique titles from the message, and allows follow-up within the topic thread. It enhances response organization and reduces duplicate handling.
Instructors and students in online learning forums use /topic to spawn new discussion threads for questions or assignments from messages. This fosters focused conversations on specific topics, with automated titling saving time and keeping the forum structured for easy navigation.
Community managers in Telegram forum groups initiate topics for event details by sending messages with /topic. This centralizes planning discussions, automatically generates event names from descriptions, and links back to the original message for reference, streamlining coordination.
Companies gather user feedback in Telegram forums by having customers post messages with /topic to create separate threads for each suggestion or bug report. This categorizes input automatically, making it easier to prioritize and address issues without manual topic creation.
Offer the skill as part of a premium bot service with enhanced features like analytics, custom title generation, or integration with other tools. Charge a monthly fee per group or user, targeting businesses needing organized communication. Revenue comes from recurring subscriptions and tiered plans.
Provide the skill for free in a basic Telegram bot, then monetize through paid add-ons such as advanced automation, priority support, or API access for developers. Upsell to enterprises requiring scalable forum management. Revenue is generated from one-time purchases or annual licenses.
Sell consulting services to integrate and customize the skill for specific organizational needs, such as tailoring it for niche industries or combining it with existing CRM systems. Target large teams or communities willing to pay for bespoke solutions. Revenue comes from project-based fees.
š¬ Integration Tip
Ensure the bot has admin permissions with Manage Topics in the Telegram group and configure OpenClaw properly to avoid mention requirements for seamless use.
iMessage/SMS CLI for listing chats, history, watch, and sending.
Use when you need to control Discord from Clawdbot via the discord tool: send messages, react, post or upload stickers, upload emojis, run polls, manage threads/pins/search, fetch permissions or member/role/channel info, or handle moderation actions in Discord DMs or channels.
Use when you need to control Slack from Clawdbot via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).
Build or update the BlueBubbles external channel plugin for Clawdbot (extension package, REST send/probe, webhook inbound).
OpenClaw skill for designing Telegram Bot API workflows and command-driven conversations using direct HTTPS requests (no SDKs).