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
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install telegram-auto-topic或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install telegram-auto-topic⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/telegram-auto-topic/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- 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 ---
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.
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
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"
}
]
}
安装 Telegram Auto Topic 后,可以对 AI 说这些话来触发它
Send a Slack message to the #engineering channel about the deployment
Formats and sends the message with relevant context, tagging the right people
Summarize all unread messages in my inbox from today
Reads messages across connected channels and returns a prioritized summary
Draft a reply to this customer complaint and send it for review
Writes an empathetic, professional response and routes it to the approval queue
将技能文件夹放到 ~/.claude/skills/telegram-auto-topic/ 目录(个人级,所有项目可用),或 .claude/skills/telegram-auto-topic/(项目级)。重启 AI 客户端后,用 /telegram-auto-topic 主动调用,或让 AI 根据上下文自动发现并使用。
Telegram Auto Topic 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
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
Telegram Auto Topic 属于「Communication」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。