autothread
Add `/topic` to the start of any message and the agent creates a topic/thread from it with an auto-generated title. Telegram and Nicegram: a forum topic is created via the Bot API …
abyssbugg
@abyssbugg
Install
$ openclaw skills install @abyssbugg/autothreadAutoThread
Add /topic to the start of any message in a supported group → a new topic or thread is created from it. The title is figured out from your message automatically — no need to think of one yourself.
Supported platforms
| Platform | Mechanism | Script |
|---|---|---|
| Telegram | Forum topic (Bot API createForumTopic) | scripts/autothread-telegram.sh |
| Nicegram | Same as Telegram (Nicegram chats are Telegram chats) | scripts/autothread-nicegram.sh |
| Discord | Thread from message (POST /channels/{id}/messages/{mid}/threads) | scripts/autothread-discord.sh |
| Signal | Pseudo-topic digest (no native topics — see limitations) | scripts/autothread-signal.sh |
Handling /topic
When a message starts with /topic, detect the platform from the message context, generate a concise 3-7 word title summarising the message, then run the matching adapter script with arguments filled from the message context:
Telegram / Nicegram:
bash scripts/autothread-telegram.sh <chat_id> <message_id> "<sender name>" "<title>" "<text after /topic>"
(Nicegram: use bash scripts/autothread-nicegram.sh identically. Pass an empty string for the text arg if there's no text, e.g. media-only.)
Discord:
bash scripts/autothread-discord.sh <channel_id> <message_id> "<sender name>" "<title>" "<text after /topic>"
Signal:
bash scripts/autothread-signal.sh <group_id> <message_timestamp> "<sender name>" "<title>" "<text after /topic>"
Each script returns JSON: {"topic_id": ..., "title": "...", "link": "..."}.
After the script succeeds:
- Reply to the original message with:
Topic created → [<title>](<link>)(omit the link part on Signal, wherelinkis null). - Then send a response to the actual message content in the NEW topic (use the message tool with
threadIdfrom the returnedtopic_id). Respond naturally as you would to any message. - After both replies are sent, respond with NO_REPLY.
Prerequisites
Telegram / Nicegram:
- The group must be configured in OpenClaw (
channels.telegram.groups.<CHAT_ID>). - The group must have forum/topics enabled.
- The bot must be an admin with the Manage Topics permission.
- Bot token in the config (
.channels.telegram.botToken; Nicegram optionally.channels.nicegram.botToken).
Discord:
- The channel must be configured in OpenClaw (
channels.discord...). - The bot needs Create Public Threads and Send Messages in Threads permissions.
- Bot token in the config (
.channels.discord.token).
Signal:
signal-cliinstalled with a registered account (.channels.signal.accountin the config).
Limitations
- Telegram attribution: quoted messages appear as sent by the bot (Telegram API limitation); sender name is included as attribution text below the quote.
- Telegram media: forwarded media shows a "Forwarded from" header.
- Telegram title length: topic names capped at 128 characters.
- Discord: threads can only be created from messages in guild text channels; thread names capped at 100 characters.
- Signal: no native topics/threads — the adapter posts a titled digest message instead and returns the sent timestamp as
topic_idwithlink: null.
Optional configuration (Telegram)
Skip the @bot mention — by default, the bot only responds when mentioned; keep that default in busy or public groups. Only set requireMention: false in a group you control where accidental activation is harmless, because any /topic message will then trigger a repost of content and sender name — never disable it where sensitive content is discussed:
"channels.telegram.groups.<CHAT_ID>": { "requireMention": false }
Telegram autocomplete — add under channels.telegram:
{
"customCommands": [
{ "command": "topic", "description": "Create a new topic from a message" }
]
}
Top skills in this category
Humanizer
@biostartechnologyRemove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
Slack
@steipeteUse 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.
PollyReach
@pollyreachPollyReach gives every AI agent a phone number and the ability to get things done over the phone — finding contacts, making calls, and completing tasks. Just...
imap-smtp-email
@gzlicanyiRead and send email via IMAP/SMTP. Check for new/unread messages, fetch content, search mailboxes, mark as read/unread, and send emails with attachments. Supports multiple accounts. Works with any IMAP/SMTP server including Gmail, Outlook, 163.com, vip.163.com, 126.com, vip.126.com, 188.com, and vip
Answer Overflow
@rhyssullivanSearch indexed Discord community discussions via Answer Overflow. Find solutions to coding problems, library issues, and community Q&A that only exist in Discord conversations.