Agent skill

QQ Guild Channel Manager

by tencent-connect in tencent-connect/openclaw-qqbot

Manages QQ guilds and their sub-channels, members, posts, announcements and schedules through the qqbot_platform_api tool.

MITAuto-check passedProductivity & Automation

SKILL.md written in Chinese; this summary is our English description.

Install QQ Guild Channel Manager

skills CLI
$ npx skills add tencent-connect/openclaw-qqbot --skill qqbot-channel -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tencent-connect/openclaw-qqbot qqbot-channel --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tencent-connect/openclaw-qqbot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/qqbot-channel .claude/skills/qqbot-channel && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
qqbot-channel
GitHub stars
1.6k
Token cost
~1.8k tokens
SKILL.md length
409 words
Files
2 (incl. references)
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

Manages QQ guilds and their sub-channels, members, posts, announcements and schedules through the qqbot_platform_api tool.

  • Works in 11 steps: 适用范围:本 Skill 仅处理 QQ… → 路径中的占位符(如… → query 参数的值必须为字符串类型,如 { "limit": "100" }… → …
  • Listing the guilds a QQ bot has joined and their sub-channels
  • SKILL.md covers 🔀 适用范围(必读), 📚 详细参考文档, 🔧 工具参数 and ⭐ 接口速查, plus 4 more sections
  • Reaches api.sgroup.qq.com

What it does

The skill is for QQ Channels (guilds), the Discord-like community product, and not for QQ groups. Guild and channel IDs are plain numbers and API paths begin with /guilds or /channels. The qqbot_platform_api tool is a gateway to the QQ Open Platform HTTP API that fills in the auth token for you, so you only supply an HTTP method, an API path without the domain, an optional JSON body and optional query parameters.

A quick-reference table lists the common calls. For guilds, the bot's guild list and a guild's API permissions. For sub-channels, list, details, create, modify and delete, where delete is irreversible and the types are text, voice, group, live, application and forum. For members, the member list, member details, role members and online count. Further sections cover announcements, posts and schedules, and references/api_references.md has the full parameters, return structures and enum values. The excerpt is cut off in the announcements section.

When your agent uses it

  • Listing the guilds a QQ bot has joined and their sub-channels
  • Creating, editing or deleting a sub-channel
  • Listing guild members or role members, or counting who is online
  • Handling announcements, posts or schedules in a QQ guild

Example prompts

  • “List all the QQ guilds my bot has joined.”
  • “Create a text sub-channel named announcements in this guild.”
  • “Show how many members are online in this sub-channel.”

Requirements

  • The qqbot_platform_api tool, which fills in the bot's auth token
  • The numeric ID of the guild or channel

Workflow steps

11 steps, taken from the first numbered list in SKILL.md.

  1. 适用范围:本 Skill 仅处理 QQ 频道(Guild/Channel)操作,API 路径以 /guilds/ 或 /channels/ 开头,ID 为纯数字
  2. 路径中的占位符(如 {guild_id}、{channel_id})必须替换为实际的纯数字 ID
  3. query 参数的值必须为字符串类型,如 { "limit": "100" } 而非 { "limit": 100 }
  4. 成员列表翻页时可能返回重复成员,需按 user.id 去重
  5. 公告的两种类型(消息公告和推荐子频道公告)会互相顶替
  6. 日程的时间戳为毫秒级字符串
  7. 删除操作不可逆,请谨慎使用
  8. 论坛操作仅私域机器人可用
  9. 子频道分组(type=4)的 position 必须 >= 2
  10. 日程操作有频率限制:单个管理员每天 10 次,单个频道每天 100 次
  11. 头像/图标展示:成员 user.avatar 和频道 icon 等图片 URL 必须使用 Markdown 图片语法 描述 展示,禁止作为纯文本或超链接展示

What it can do on your machine

Read from SKILL.md and the folder at commit b9ba494. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.sgroup.qq.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

QQ Guild Channel Manager loads about 1.8k tokens when it runs, and up to ~4.9k if it reads all its reference files. Until then it costs about 46 tokens; SKILL.md has 409 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~46
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from tencent-connect/openclaw-qqbot at commit b9ba494, republished under its MIT licence (© tencent-connect). 409 words, ~1,845 tokens.

Download SKILL.mdSave it as .claude/skills/qqbot-channel/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
qqbot-channel
description
QQ 频道管理技能(非QQ群)。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_platform_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。仅用于 QQ 频道(Guild/Channel)。触发条件:用户提到「频道」「子频道」「guild」「channel」「帖子」「日程」「公告」。

QQ 频道 API 请求指导

本 Skill 仅处理 QQ 频道(Guild/Channel)操作。 频道 ID 为纯数字,API 路径为 /guilds/... 和 /channels/...。

qqbot_platform_api 是 QQ 开放平台统一 HTTP API 网关,自动填充鉴权 Token。你只需要指定 HTTP 方法、API 路径、请求体和查询参数即可调用频道相关接口。


🔀 适用范围(必读)

QQ 频道是类似 Discord 的社区产品,层级结构为 频道(Guild) → 子频道(Channel):

层级中文名英文API 路径ID 格式
顶层频道Guild/guilds/{guild_id}纯数字(如 123456)
次级子频道Channel/channels/{channel_id}纯数字(如 789012)

核心特征:

  • 频道内可以创建多个子频道(文字、语音、论坛、直播等)
  • 支持发帖、公告、日程等功能
  • 频道成员通过 /guilds/{guild_id}/members 管理
  • ID 为纯数字格式,API 路径以 /guilds/ 或 /channels/ 开头

触发关键词:频道、子频道、guild、channel、帖子、日程、公告、论坛、频道成员

📚 详细参考文档

每个接口的完整参数说明、返回值结构和枚举值定义:

  • references/api_references.md

🔧 工具参数

参数类型必填说明
methodstring是HTTP 方法:GET, POST, PUT, PATCH, DELETE
pathstring是API 路径(不含域名),如 /guilds/{guild_id}/channels,需替换占位符为实际值
bodyobject否请求体 JSON(POST/PUT/PATCH 使用)
queryobject否URL 查询参数键值对,值为字符串类型

基础 URL:https://api.sgroup.qq.com,鉴权头 Authorization: QQBot {token} 由工具自动填充。


⭐ 接口速查

频道(Guild)
操作方法路径参数说明
获取频道列表GET/users/@me/guildsquery: before, after, limit(最大100)
获取频道 API 权限GET/guilds/{guild_id}/api_permission—
子频道(Channel)
操作方法路径参数说明
获取子频道列表GET/guilds/{guild_id}/channels—
获取子频道详情GET/channels/{channel_id}—
创建子频道POST/guilds/{guild_id}/channelsbody: name*, type*, position*, sub_type, parent_id, private_type, private_user_ids, speak_permission, application_id
修改子频道PATCH/channels/{channel_id}body: name, position, parent_id, private_type, speak_permission(至少一个)
删除子频道DELETE/channels/{channel_id}⚠️ 不可逆

子频道类型(type):0=文字, 2=语音, 4=分组(position≥2), 10005=直播, 10006=应用, 10007=论坛

成员(Member)
操作方法路径参数说明
获取成员列表GET/guilds/{guild_id}/membersquery: after(首次填0), limit(1-400)
获取成员详情GET/guilds/{guild_id}/members/{user_id}—
获取身份组成员列表GET/guilds/{guild_id}/roles/{role_id}/membersquery: start_index(首次填0), limit(1-400)
获取在线成员数GET/channels/{channel_id}/online_nums—
公告(Announces)
操作方法路径参数说明
创建公告POST/guilds/{guild_id}/announcesbody: message_id, channel_id, announces_type(0=成员,1=欢迎), recommend_channels(最多3条)
删除公告DELETE/guilds/{guild_id}/announces/{message_id}message_id 设 all 删除所有
论坛(Forum)— 仅私域机器人
操作方法路径参数说明
获取帖子列表GET/channels/{channel_id}/threads—
获取帖子详情GET/channels/{channel_id}/threads/{thread_id}—
发表帖子PUT/channels/{channel_id}/threadsbody: title*, content*, format(1=文本,2=HTML,3=Markdown,4=JSON,默认3)
删除帖子DELETE/channels/{channel_id}/threads/{thread_id}⚠️ 不可逆
发表评论POST/channels/{channel_id}/threads/{thread_id}/commentbody: thread_author*, content*, thread_create_time, image
Show full SKILL.md (167 more words)Show less
日程(Schedule)
操作方法路径参数说明
创建日程POST/channels/{channel_id}/schedulesbody: { schedule: { name*, start_timestamp*, end_timestamp*, jump_channel_id, remind_type } }
修改日程PATCH/channels/{channel_id}/schedules/{schedule_id}body: { schedule: { name*, start_timestamp*, end_timestamp*, jump_channel_id, remind_type } }
删除日程DELETE/channels/{channel_id}/schedules/{schedule_id}⚠️ 不可逆

提醒类型(remind_type):"0"=不提醒, "1"=开始时, "2"=5分钟前, "3"=15分钟前, "4"=30分钟前, "5"=60分钟前

* 表示必填参数


💡 调用示例

获取频道列表
json
{
  "method": "GET",
  "path": "/users/@me/guilds",
  "query": { "limit": "100" }
}
获取子频道列表
json
{
  "method": "GET",
  "path": "/guilds/123456/channels"
}
创建子频道
json
{
  "method": "POST",
  "path": "/guilds/123456/channels",
  "body": {
    "name": "新频道",
    "type": 0,
    "position": 1,
    "sub_type": 0
  }
}
获取成员列表(分页)
json
{
  "method": "GET",
  "path": "/guilds/123456/members",
  "query": { "after": "0", "limit": "100" }
}
发表论坛帖子
json
{
  "method": "PUT",
  "path": "/channels/789012/threads",
  "body": {
    "title": "公告标题",
    "content": "# 标题\n\n公告内容",
    "format": 3
  }
}
创建日程
json
{
  "method": "POST",
  "path": "/channels/456789/schedules",
  "body": {
    "schedule": {
      "name": "周会",
      "start_timestamp": "1770733800000",
      "end_timestamp": "1770737400000",
      "remind_type": "2"
    }
  }
}
创建推荐子频道公告
json
{
  "method": "POST",
  "path": "/guilds/123456/announces",
  "body": {
    "announces_type": 0,
    "recommend_channels": [
      { "channel_id": "789012", "introduce": "欢迎来到攻略频道" }
    ]
  }
}
删除所有公告
json
{
  "method": "DELETE",
  "path": "/guilds/123456/announces/all"
}

🔄 常用操作流程

获取频道和子频道信息
1. GET /users/@me/guilds → 获取频道列表,拿到 guild_id
2. GET /guilds/{guild_id}/channels → 获取子频道列表,拿到 channel_id
3. GET /channels/{channel_id} → 获取子频道详情
论坛发帖 + 评论
1. GET /guilds/{guild_id}/channels → 找到论坛子频道(type=10007)
2. PUT /channels/{channel_id}/threads → 发表帖子
3. GET /channels/{channel_id}/threads → 获取帖子列表
4. GET /channels/{channel_id}/threads/{thread_id} → 获取帖子详情(含 author_id)
5. POST /channels/{channel_id}/threads/{thread_id}/comment → 发表评论
成员管理
1. GET /users/@me/guilds → 获取 guild_id
2. GET /guilds/{guild_id}/members?after=0&limit=100 → 获取成员列表
   翻页:用上次最后一个 user.id 作为 after,直到返回空数组
3. GET /guilds/{guild_id}/members/{user_id} → 获取指定成员详情
展示成员头像

成员详情返回的 user.avatar 是头像 URL,必须使用 Markdown 图片语法展示,让用户直接看到头像图片,而非纯文本链接:

成员信息:
· 昵称:{nick}
· 头像:
![头像]({user.avatar})

禁止将头像 URL 作为纯文本或超链接展示(如 查看头像),必须用 ![描述](URL) 语法内联显示。频道的 icon 字段同理。


🚨 错误码处理

错误码说明解决方案
401Token 鉴权失败检查 AppID 和 ClientSecret 配置
11241频道 API 无权限前往 QQ 开放平台申请权限,或调用 GET /guilds/{guild_id}/api_permission 查看可用权限
11242仅私域机器人可用需在 QQ 开放平台将机器人切换为私域模式
11243需要管理频道权限确保机器人拥有管理权限
11281日程频率限制单管理员/天限 10 次,单频道/天限 100 次
304023推荐子频道超限推荐子频道最多 3 条

⚠️ 注意事项

  1. 适用范围:本 Skill 仅处理 QQ 频道(Guild/Channel)操作,API 路径以 /guilds/ 或 /channels/ 开头,ID 为纯数字
  2. 路径中的占位符(如 {guild_id}、{channel_id})必须替换为实际的纯数字 ID
  3. query 参数的值必须为字符串类型,如 { "limit": "100" } 而非 { "limit": 100 }
  4. 成员列表翻页时可能返回重复成员,需按 user.id 去重
  5. 公告的两种类型(消息公告和推荐子频道公告)会互相顶替
  6. 日程的时间戳为毫秒级字符串
  7. 删除操作不可逆,请谨慎使用
  8. 论坛操作仅私域机器人可用
  9. 子频道分组(type=4)的 position 必须 >= 2
  10. 日程操作有频率限制:单个管理员每天 10 次,单个频道每天 100 次
  11. 头像/图标展示:成员 user.avatar 和频道 icon 等图片 URL 必须使用 Markdown 图片语法 ![描述](URL) 展示,禁止作为纯文本或超链接展示

© tencent-connect, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/qqbot-channel of tencent-connect/openclaw-qqbot.

  • SKILL.md
  • references/api_references.md

Open the folder on GitHubat commit b9ba494

Compare with similar skills

QQ Guild Channel Manager next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

QQ Guild Channel Manager compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
QQ Guild Channel Manager this skilltencent-connect/openclaw-qqbot1.6k—~1.8kAutomated safety check: PassMIT
PushMe Message Senderyafoo/pushme220—~1.9kAutomated safety check: PassNone
Brigade Voice Callsspinabot/brigade11k—~288Automated safety check: PassMIT
Wechat Miniprograminfometa/workbuddyskills348—~1.5kAutomated safety check: NotesNone
LangBot EBA Adapter Developmentlangbot-app/LangBot18k—~4kAutomated safety check: PassApache-2.0
DisCatSharp Discord DevelopmentAiko-IT-Systems/DisCatSharp140—~1.2kAutomated safety check: PassMIT

Similar skills

  • Sends push messages to the PushMe Android client from scripts, CI jobs and alerts, choosing between notification and silent data message types.

    220 GitHub stars~1.9k tokensUpdated 7 days ago
    Productivity & AutomationAuto-check passed
  • Brigade Voice Calls

    spinabot/brigade

    Starts and inspects phone calls through the Brigade voice-call plugin, using a CLI command or the voice_call tool, with Twilio, Telnyx, Plivo or a mock provider.

    11k GitHub stars~288 tokensUpdated yesterday
    Productivity & AutomationAuto-check passed
  • Wechat Miniprogram

    infometa/workbuddyskills

    WeChat Mini Program (微信小程序) development framework. An agent skill from infometa/workbuddyskills.

    348 GitHub stars~1.5k tokensUpdated yesterday
    Productivity & AutomationAuto-check: notes
  • Guides building, migrating and testing LangBot messaging-platform adapters for the Event-Based Agents layout, with unified event and message conversion.

    18k GitHub stars~4k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • DisCatSharp Discord Development

    Aiko-IT-Systems/DisCatSharp

    Helps build, explain and troubleshoot C# Discord apps on DisCatSharp, answering from the project's installed version and the library's documentation rather than guesses.

    140 GitHub stars~1.2k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Slack Browser Automation

    vercel-labs/agent-browser

    Official

    Drives the Slack web app with the agent-browser CLI to check unread channels, search, read channel details and extract information, with screenshots as evidence.

    44k GitHub starsUsed in 1 repo~2.1k tokens
    Productivity & AutomationAuto-check passed

More from tencent-connect/openclaw-qqbot

  • QQ Bot Reminders

    tencent-connect/openclaw-qqbot

    Creates, lists and cancels one-time and recurring reminders for a QQ bot by calling its reminder and cron tools instead of promising in text.

    1.6k GitHub stars~958 tokensUpdated yesterday
    Auto-check passed

Questions about QQ Guild Channel Manager

What does QQ Guild Channel Manager do?

Manages QQ guilds and their sub-channels, members, posts, announcements and schedules through the qqbot_platform_api tool. The skill is for QQ Channels (guilds), the Discord-like community product, and not for QQ groups. Guild and channel IDs are plain numbers and API paths begin with /guilds or /channels.

When should I use QQ Guild Channel Manager?

QQ Guild Channel Manager fits situations like: listing the guilds a QQ bot has joined and their sub-channels; creating, editing or deleting a sub-channel; listing guild members or role members, or counting who is online; handling announcements, posts or schedules in a QQ guild.

How do I install QQ Guild Channel Manager in Claude Code?

Run `npx skills add tencent-connect/openclaw-qqbot --skill qqbot-channel -a claude-code`. Or copy the skill folder (skills/qqbot-channel in tencent-connect/openclaw-qqbot) into .claude/skills/qqbot-channel in your project. Claude Code loads it when a task matches its description.

How do I install QQ Guild Channel Manager in Codex?

Run `npx skills add tencent-connect/openclaw-qqbot --skill qqbot-channel -a codex`. Or copy the skill folder (skills/qqbot-channel in tencent-connect/openclaw-qqbot) into .agents/skills/qqbot-channel in your project. Codex loads it when a task matches its description.

Can I use QQ Guild Channel Manager in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tencent-connect/openclaw-qqbot --skill qqbot-channel -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/qqbot-channel, .gemini/skills/qqbot-channel, .github/skills/qqbot-channel and .opencode/skills/qqbot-channel in your project.

What does QQ Guild Channel Manager need to run?

SKILL.md names no scripts, command-line tools or credentials: QQ Guild Channel Manager is instructions for the agent only. Our summary lists: The qqbot_platform_api tool, which fills in the bot's auth token; The numeric ID of the guild or channel.

Does QQ Guild Channel Manager access the network?

SKILL.md names 1 domain. In commands or code: api.sgroup.qq.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is QQ Guild Channel Manager safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does QQ Guild Channel Manager use?

QQ Guild Channel Manager is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does QQ Guild Channel Manager use?

About 1.8k tokens (SKILL.md is roughly 7.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3k tokens, read only when the agent opens those files.

What are the alternatives to QQ Guild Channel Manager?

Skills that share tags, products or a category with QQ Guild Channel Manager: PushMe Message Sender (yafoo/pushme, 220 stars), Brigade Voice Calls (spinabot/brigade, 11k stars), Wechat Miniprogram (infometa/workbuddyskills, 348 stars) and LangBot EBA Adapter Development (langbot-app/LangBot, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains QQ Guild Channel Manager?

tencent-connect (a GitHub organization) maintains it in tencent-connect/openclaw-qqbot, which has 1,555 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 9, 2026.

Source: tencent-connect/openclaw-qqbot on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.