extensions/openclaw-qqbot/skills/qqbot-channel/SKILL.md
QQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用此技能。
npx skillsauth add gaos6e/myopenclaw qqbot-channelInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
qqbot_channel_api 是一个 QQ 开放平台 HTTP 代理工具,自动填充鉴权 Token。你只需要指定 HTTP 方法、API 路径、请求体和查询参数。
每个接口的完整参数说明、返回值结构和枚举值定义:
references/api_references.md| 参数 | 类型 | 必填 | 说明 |
|------|------|------|------|
| method | string | 是 | HTTP 方法:GET, POST, PUT, PATCH, DELETE |
| path | string | 是 | API 路径(不含域名),如 /guilds/{guild_id}/channels,需替换占位符为实际值 |
| body | object | 否 | 请求体 JSON(POST/PUT/PATCH 使用) |
| query | object | 否 | URL 查询参数键值对,值为字符串类型 |
基础 URL:
https://api.sgroup.qq.com,鉴权头Authorization: QQBot {token}由工具自动填充。
| 操作 | 方法 | 路径 | 参数说明 |
|------|------|------|----------|
| 获取频道列表 | GET | /users/@me/guilds | query: before, after, limit(最大100) |
| 获取频道 API 权限 | GET | /guilds/{guild_id}/api_permission | — |
| 操作 | 方法 | 路径 | 参数说明 |
|------|------|------|----------|
| 获取子频道列表 | GET | /guilds/{guild_id}/channels | — |
| 获取子频道详情 | GET | /channels/{channel_id} | — |
| 创建子频道 | POST | /guilds/{guild_id}/channels | body: 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=论坛
| 操作 | 方法 | 路径 | 参数说明 |
|------|------|------|----------|
| 获取成员列表 | GET | /guilds/{guild_id}/members | query: after(首次填0), limit(1-400) |
| 获取成员详情 | GET | /guilds/{guild_id}/members/{user_id} | — |
| 获取身份组成员列表 | GET | /guilds/{guild_id}/roles/{role_id}/members | query: start_index(首次填0), limit(1-400) |
| 获取在线成员数 | GET | /channels/{channel_id}/online_nums | — |
| 操作 | 方法 | 路径 | 参数说明 |
|------|------|------|----------|
| 创建公告 | POST | /guilds/{guild_id}/announces | body: message_id, channel_id, announces_type(0=成员,1=欢迎), recommend_channels(最多3条) |
| 删除公告 | DELETE | /guilds/{guild_id}/announces/{message_id} | message_id 设 all 删除所有 |
| 操作 | 方法 | 路径 | 参数说明 |
|------|------|------|----------|
| 获取帖子列表 | GET | /channels/{channel_id}/threads | — |
| 获取帖子详情 | GET | /channels/{channel_id}/threads/{thread_id} | — |
| 发表帖子 | PUT | /channels/{channel_id}/threads | body: 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}/comment | body: thread_author*, content*, thread_create_time, image |
| 操作 | 方法 | 路径 | 参数说明 |
|------|------|------|----------|
| 创建日程 | POST | /channels/{channel_id}/schedules | body: { 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分钟前
*表示必填参数
{
"method": "GET",
"path": "/users/@me/guilds",
"query": { "limit": "100" }
}
{
"method": "GET",
"path": "/guilds/123456/channels"
}
{
"method": "POST",
"path": "/guilds/123456/channels",
"body": {
"name": "新频道",
"type": 0,
"position": 1,
"sub_type": 0
}
}
{
"method": "GET",
"path": "/guilds/123456/members",
"query": { "after": "0", "limit": "100" }
}
{
"method": "PUT",
"path": "/channels/789012/threads",
"body": {
"title": "公告标题",
"content": "# 标题\n\n公告内容",
"format": 3
}
}
{
"method": "POST",
"path": "/channels/456789/schedules",
"body": {
"schedule": {
"name": "周会",
"start_timestamp": "1770733800000",
"end_timestamp": "1770737400000",
"remind_type": "2"
}
}
}
{
"method": "POST",
"path": "/guilds/123456/announces",
"body": {
"announces_type": 0,
"recommend_channels": [
{ "channel_id": "789012", "introduce": "欢迎来到攻略频道" }
]
}
}
{
"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}
· 头像:

禁止将头像 URL 作为纯文本或超链接展示(如
查看头像),必须用语法内联显示。频道的icon字段同理。
| 错误码 | 说明 | 解决方案 |
|--------|------|----------|
| 401 | Token 鉴权失败 | 检查 AppID 和 ClientSecret 配置 |
| 11241 | 频道 API 无权限 | 前往 QQ 开放平台申请权限,或调用 GET /guilds/{guild_id}/api_permission 查看可用权限 |
| 11242 | 仅私域机器人可用 | 需在 QQ 开放平台将机器人切换为私域模式 |
| 11243 | 需要管理频道权限 | 确保机器人拥有管理权限 |
| 11281 | 日程频率限制 | 单管理员/天限 10 次,单频道/天限 100 次 |
| 304023 | 推荐子频道超限 | 推荐子频道最多 3 条 |
{guild_id}、{channel_id})必须替换为实际值{ "limit": "100" } 而非 { "limit": 100 }user.id 去重position 必须 >= 2user.avatar 和频道 icon 等图片 URL 必须使用 Markdown 图片语法  展示,禁止作为纯文本或超链接展示development
Connect to 100+ APIs (Google Workspace, Microsoft 365, GitHub, Notion, Slack, Airtable, HubSpot, etc.) with managed OAuth. Use this skill when users want to interact with external services. Security: The MATON_API_KEY authenticates with Maton.ai but grants NO access to third-party services by itself. Each service requires explicit OAuth authorization by the user through Maton's connect flow. Access is strictly scoped to connections the user has authorized. Provided by Maton (https://maton.ai).
tools
# SKILL.md # Web Automation Service 自动化 Web 任务执行服务。 ## 能力 - 表单填写 - 数据抓取 - 定时任务 - 自动化测试 - API 测试 - 网站监控 - 自动化提交 ## 使用方式 ```bash # 自动化表单填写 openclaw run web-automation --url "https://example.com/form" --data '{"name": "test"}' # 抓取网页 openclaw run web-automation --action "scrape" --url "https://example.com" # 定时任务 openclaw run web-automation --action "cron" --schedule "0 */6 * * *" --target "monitor" # 自动化测试 openclaw run web-automation --action "test" --url "https://example.com" ``` ## 收费模
testing
This skill should be used when the user asks to "生成 AI 大事日报", "整理 AI 日报", "汇总 AI 新闻", "总结 AI 行业动态", "做 AI daily brief", or wants a recurring AI news summary with official sources first.
tools
A fast Rust-based headless browser automation CLI with Node.js fallback that enables AI agents to navigate, click, type, and snapshot pages via structured commands.