Skip to content
Back to skills

Napcat Qq

ASecurity

为 openclaw 发送 QQ 消息时,强制使用 napcat 插件 API,并按照私聊/群聊规则生成与校验 sessionKey。适用于“发送QQ消息”“发群消息”“发QQ私聊”等请求。

  • 21 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 7, 2026
developmentapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned June 7, 2026

npx -y skills add modbender/skill-library-mcp --skill napcat-qq --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Napcat Qq?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Napcat Qq
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-napcat-qq/badge)](https://www.skillsdirectory.com/skills/modbender-napcat-qq)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: napcat-qq
description: "为 openclaw 发送 QQ 消息时,强制使用 napcat 插件 API,并按照私聊/群聊规则生成与校验 sessionKey。适用于“发送QQ消息”“发群消息”“发QQ私聊”等请求。"
---

# 目标

确保 openclaw 发送 QQ 消息时只使用本插件的 API,并让 sessionKey 满足 napcat 插件要求。

# 工作流

1. 识别消息类型:私聊或群聊。
2. 校验并构造 sessionKey:
   - 私聊:`session:napcat:private:<QQ号>`
   - 群聊:`session:napcat:group:<群号>`
3. 目标写法说明(重要):
   - 群聊优先使用 `target: group:<群号>` 或 `target: session:napcat:group:<群号>`。
   - 纯数字 `target` 会被当作私聊用户 ID,容易导致“无法获取用户信息”。
4. 调用 message 工具时必须显式指定 `channel: "napcat"`,避免多通道场景下无法路由。
5. 仅使用本插件的 API 完成发送,不要调用其他 QQ 发送途径。

# 交互规则

- 若用户未提供 QQ 号或群号,先询问并明确补全后再发送。
- 若用户提供了 sessionKey 但格式不符合规则,改写为正确格式并说明已规范化。
- 若用户含糊描述(如“发消息给他”),优先确认私聊/群聊与目标 ID。

Files in this skill

  • README.md179 B
  • SKILL.md1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.