據 AlphaMoat 統計,截至 2026-09,Telegram Auto Topic 累計下載 4,489 次、獲 3 個星標,在全部 5,078 個 AI 技能中排名第 2,150 位,在「AI 智慧體」分類(969 個)中排名第 410 位。
| 平台 | 累計安裝 | 累計下載 | 星標 | 評論 |
|---|---|---|---|---|
| ClawHub ↗ | 138 | 3954 | 3 | - |
| SkillHub ↗ | 573 | 4489 | 3 | — |
各平台的計數口徑不同,統計時間不一致。
在群裡發一條以 /topic 開頭的訊息,就會為它新建一個話題,標題由訊息內容自動取,不必自己想。前提是群已在 OpenClaw 的頻道配置裡登記、群已啟用話題模式,且機器人是群管理員並擁有管理話題許可權。三個前提缺一不可。使用僅具備所需群組權限的專用 bot token,並保護 OpenClaw 設定;廣泛部署前檢查命令如何處理 token。確認目標群組已啟用論壇主題,且機器人是管理員並擁有 Manage Topics 權限。
資料釋出於 2026-10-27
以下是根據技能文件生成的示例,不代表實際執行結果。
2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。
| 月份 | 累計下載 | 環比 | 星標 |
|---|---|---|---|
| 2026-09 | 4489 | — | 3 |
| 2026-08 | 4049 | +2.9% | 3 |
| 2026-07 | 3934 | +9.6% | 3 |
| 2026-06 | 3590 | -3.5% | 3 |
| 2026-05 | 3721 | — | 3 |
| 2026-03 | 3482 | — | 3 |
以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。
---
name: telegram-auto-topic
description: >
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
metadata:
openclaw:
requires: config:
- ~/.openclaw/openclaw.json
env:
- OPENCLAW_CONFIG
bins:
- curl
- jq
---
# 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`:
1. Generate a concise 3-7 word title summarising the message.
2. 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.
3. The script returns JSON with `topic_id`, `title`, and `link`.
4. Reply to the original message with: `Topic created → [<title>](<link>)`
5. 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.
6. After both replies are sent, respond with NO_REPLY.
## How It Works
1. You send a message starting with `/topic`
2. A new forum topic is created — titled from your message automatically
3. Your message is quoted in the new topic with your name
4. You get a reply with a clickable link to the new topic
5. 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
```bash
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/..."}`
## Optional configuration
**Skip the @bot mention** — by default, the bot only responds when mentioned. To use `/topic` without mentioning the bot:
```json
"channels.telegram.groups.<CHAT_ID>": {
"requireMention": false
}
```
**Telegram autocomplete** — to get `/topic` in Telegram's command menu, add under `channels.telegram`:
```json
{
"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.
將開發過程中的經驗、錯誤與修正記錄為 Markdown 檔案,供日後重用並提升為工作區記憶。
用自然語言描述需求,在本機與遠端技能市場尋找技能並取得推薦。
給 AI agent 用的瀏覽器自動化命令列技能。
將使用者明確糾正與自我檢視整理成分層記憶,並依使用情況升級或封存。
在安裝第三方技能之前,按清單審查來源、許可權與危險模式的技能。
將代理記憶與跨技能狀態整理成具型別與約束的知識圖譜。
規劃 AI 代理主動跟進、工作記憶與回顧流程的工作區設定指南。
指導如何建立與更新有效 Claude 技能的寫作指南。
資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。