Xpersona
Q

QQ-Bot-connect

CLAWHUB · Unverified

QQBot 消息主动推送技能。当需要向 QQ 用户或群发送消息时使用此技能。支持:(1) 主动发送消息到 QQ 对话框 (2) 发送图片/语音/文件等富媒体 (3) 群发消息。触发词:发送 QQ、推送 QQ、QQ 消息、发送到 QQ、QQ 发送。 Skill: QQ-Bot-connect Owner: jcduann Summary: QQBot 消息主动推送技能。当需要向 QQ 用户或群发送消息时使用此技能。支持:(1) 主动发送消息到 QQ 对话框 (2) 发送图片/语音/文件等富媒体 (3) 群发消息。触发词:发送 QQ、推送 QQ、QQ 消息、发送到 QQ、QQ 发送。 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-04T01:33:19.526Z | user qq-bot-connect 1.0.0 初始版本发布 - 支持主动发送消息到 QQ 用户或群聊,包括文本和富媒体(图片、语音、文件等) - 提供消息发送格式与 target/channel 参数规范 - 配置方法详述,支持自定义 openid 和 groupid - 附带常见问题说明和操作流程 - 触发词包括“发送 QQ”、“推送 QQ”、“

62
Rank
84
Safety
1.7k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.7K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s173cprb2rdz35cbmbyapqfjtx83vw7g:qq-bot-connect
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-jcduann-qq-bot-connect/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

4,880 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: qqbot-connect
description: QQBot 消息主动推送技能。当需要向 QQ 用户或群发送消息时使用此技能。支持:(1) 主动发送消息到 QQ 对话框 (2) 发送图片/语音/文件等富媒体 (3) 群发消息。触发词:发送 QQ、推送 QQ、QQ 消息、发送到 QQ、QQ 发送。
---

# QQBot Connect

QQ 机器人消息推送技能。

## ⚠️ 首次使用必读

**配置文件位置:**
- `C:\Users\21115\.qclaw\skills\qqbot-connect\config.json`
- `E:\QClaw\skills\qqbot-connect\config.json`
(改成自己的位置)

**当前配置的 openid:**
```
openid: (修改成自己的openid)
type: c2c (私聊)
name: 主人
```

**发送格式:**
```
qqbot:c2c:4AFDDAB3E1ABB0B75D790C12B22086EF
```

## 核心规则

**必须使用 `message` 工具发送消息!**

### 消息发送格式

| 类型 | target 参数 | channel 参数 |
|------|-------------|-------------|
| 私聊 | `qqbot:c2c:{openid}` | `qqbot` |
| 群聊 | `qqbot:group:{groupid}` | `qqbot` |

### 发送文本消息

```json
{
  "action": "send",
  "channel": "qqbot",
  "target": "qqbot:c2c:4AFDDAB3E1ABB0B75D790C12B22086EF",
  "message": "要发送的消息内容"
}
```

### 发送富媒体

使用 `<qqmedia>` 标签:

```
<qqmedia>/path/to/image.jpg</qqmedia>
<qqmedia>/path/to/file.pdf</qqmedia>
```

支持的格式:
- 图片:`.jpg`, `.png`, `.gif`, `.webp`, `.bmp`
- 语音:`.silk`, `.wav`, `.mp3`, `.ogg`, `.aac`, `.flac`
- 视频:`.mp4`, `.mov`, `.avi`, `.mkv`, `.webm`
- 文件:其他扩展名

## 使用流程

1. **用户请求发送消息** → 如"发送 hello 到 QQ"
2. **读取 config.json** → 获取 openid
3. **拼接 target** → `qqbot:c2c:` + openid
4. **使用 message 工具发送**
5. **确认发送成功** → 返回结果给用户

## 配置文件格式

```json
{
  "_readme": "QQ-bot-connect 配置文件",
  "default": {
    "openid": "4AFDDAB3E1ABB0B75D790C12B22086EF",
    "type": "c2c",
    "name": "主人"
  },
  "_format": {
    "c2c_private": "qqbot:c2c:{openid}",
    "group": "qqbot:group:{groupid}"
  }
}
```

## 常见问题

### 如何知道用户的 openid?

在 OpenClaw 控制 UI 中:
1. 打开左侧 QQ 机器人对话面板
2. 查看对话标题栏显示的会话标识
3. 格式如:`qqbot:c2c:4AFDDAB3E1ABB0B75D790C12B22086EF`

### 发送失败怎么办?

1. 检查 target 格式是否正确(必须是 `qqbot:c2c:{openid}`)
2. 确保 openid 与当前对话匹配
3. 确认 QQ 机器人已正确配置

### 如何修改默认 openid?

编辑 `config.json` 中的 `default.openid` 字段。

### 如何发送给不同的 QQ 用户?

可以临时指定 openid:
- 用户说"发送 XX 到 123456789" → 使用 `qqbot:c2c:123456789`
- 用户说"发送 XX 到群 987654321" → 使用 `qqbot:group:987654321`

_meta.json

{
  "ownerId": "kn77eqvjzgxhv5j30veq0xef5n839a1p",
  "slug": "qq-bot-connect",
  "version": "1.0.0",
  "publishedAt": 1775266399526
}

skill-card.md

## Description:

QQ-Bot-connect helps an agent send QQ Bot messages to configured private or group recipients, including text and media files.

This skill is ready for commercial/non-commercial use.

## Publisher:

[jcduann](https://clawhub.ai/user/jcduann)

### License/Terms of Use:

MIT-0

## Use Case:

External users and developers use this skill to have an agent send text or media to QQ private chats or groups through a configured QQ Bot recipient.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can send user content and files to external QQ recipients.

Mitigation: Require the agent to show the resolved recipient and message content before every send.

Risk: A configured or user-supplied recipient ID can route messages to the wrong QQ private chat or group.

Mitigation: Replace placeholder configuration with validated recipient IDs and confirm the target before sending.

## Reference(s):

- [QQ-Bot-connect ClawHub release](https://clawhub.ai/jcduann/skills/qq-bot-connect)
- [jcduann ClawHub publisher profile](https://clawhub.ai/user/jcduann)

## Skill Output:

**Output Type(s):** [text, configuration, guidance]

**Output Format:** [Markdown with JSON-style message payload examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Produces recipient targeting guidance for QQ private chats and groups; supports media paths wrapped in qqmedia tags.]

## Skill Version(s):

1.0.0 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

config.json

{
  "_readme": "QQ-bot-connect 配置文件 | 请勿删除此文件",
  "default": {
    "openid": "(改成自己的openid)",
    "type": "c2c",
    "name": "主人"
  },
  "_format": {
    "c2c_private": "qqbot:c2c:{openid}",
    "group": "qqbot:group:{groupid}"
  },
  "_how_to_use": "读取此文件的 default.openid,使用 message 工具发送到 qqbot:c2c:{openid}"
}

Sponsored

Ads related to QQ-Bot-connect and adjacent AI workflows.