据 AlphaMoat 统计,截至 2026-09,Telegram Auto Topic 累计下载 4,489 次、获 3 个星标,在全部 5,078 个 AI 技能中排名第 2,150 位,在「AI 智能体」分类(969 个)中排名第 410 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 138 | 3,954 | 3 | - |
| SkillHub ↗ | 573 | 4,489 | 3 | — |
各平台的计数口径不同,统计时间不一致。
在群里发一条以 /topic 开头的消息,就会为它新建一个话题,标题由消息内容自动取,不必自己想。前提是群已在 OpenClaw 的频道配置里登记、群已启用话题模式,且机器人是群管理员并拥有管理话题权限。三个前提缺一不可。使用仅具备所需群权限的专用 bot token,并保护 OpenClaw 配置;广泛部署前检查命令如何处理 token。确认目标群已启用论坛话题,且机器人是管理员并拥有 Manage Topics 权限。
资料发布于 2026-10-27
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 4,489 | — | 3 |
| 2026-08 | 4,049 | +2.9% | 3 |
| 2026-07 | 3,934 | +9.6% | 3 |
| 2026-06 | 3,590 | -3.5% | 3 |
| 2026-05 | 3,721 | — | 3 |
| 2026-03 | 3,482 | — | 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 用的浏览器自动化命令行技能。
把用户纠正与自我复盘沉淀成分层记忆、并按使用情况升降级的技能。
在安装第三方技能之前,按清单审查来源、权限与危险模式的技能。
把 agent 的记忆与跨技能状态存成带类型和约束的知识图谱的技能。
一份为 AI 代理规划主动跟进、工作记忆与复盘流程的工作区配置指南。
指导如何创建与更新有效 Claude 技能的写作指南。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。