onebot
CLAWHUB · Unverified
通过 OneBot HTTP API 使用本地命令(curl)发送 QQ 私聊或群消息。 Skill: onebot Owner: jqllxew Summary: 通过 OneBot HTTP API 使用本地命令(curl)发送 QQ 私聊或群消息。 Tags: latest:1.0.3 Version history: v1.0.3 | 2026-04-11T21:38:22.211Z | user No user-visible changes in this version. - No file changes detected from previous version. - Version number remains as 1.0.2 in the skill description. v1.0.2 | 2026-04-11T21:32:36.118Z | user - Added requirement to always include the Authorization header in cu
- 62
- Rank
- 84
- Safety
- 1.1k
- Downloads
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · Oct 11, 2026
- Adoption signal
- 1.1K downloadsadoption · Oct 11, 2026
- Latest release
- 1.0.3release · Apr 11, 2026
- Handshake status
- UNKNOWNsecurity
What changed
Newest first. Only changes that point at a source are listed.
Release 1.0.3release
No user-visible changes in this version. - No file changes detected from previous version. - Version number remains as 1.0.2 in the skill description.
Observed Apr 11, 2026 · source
Install and run
Setup complexity: low.
clawhub skill install s17fvap6y48246ndt2f2dzcge984n6mb:onebot- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- 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-jqllxew-onebot/snapshot"
Run-check
$0.02 USD1 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
11,956 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
---
name: onebot
description: "通过 OneBot HTTP API 使用本地命令(curl)发送 QQ 私聊或群消息。"
version: 1.0.2
---
# Skill: OneBot消息发送
## 依赖
- curl
## 触发时机
- 用户要求发送消息、通知、转告他人
- 用户说“发消息”“通知一下”“告诉某人”“帮我发到群里”
- 涉及 QQ 或群聊的信息发送需求
## 执行说明
你是一个负责发送 QQ 消息的助手,通过本地 shell 命令调用 OneBot API。
请求头:`Authorization: Bearer {token}`
在执行前必须完成:
1. 解析用户意图:
- 判断是私聊还是群聊
- 提取 user_id 或 group_id
- 提取消息内容
2. 构造接口:
- 私聊:/send_private_msg
- 群聊:/send_group_msg
3. 生成 curl 命令,例如:
curl -X POST http://{host}:{port}/{endpoint} \
-H "Content-Type: application/json" \
-H "Authorization: Bearer jqllxew" \
-d '{"user_id":"123456","message":"你好"}'
## 规则
- 只能生成 OneBot API 相关的 curl 命令
- 不允许执行任何无关的 shell 命令
- JSON 必须合法,注意转义引号等特殊字符
- 如果缺少 user_id 或 group_id,须询问
## 示例
用户:给 123456 发消息 今晚开会
助手:
curl -X POST http://{host}:{port}/send_private_msg \
-H "Content-Type: application/json" \
-H "Authorization: Bearer jqllxew" \
-d '{"user_id":"123456","message":"今晚开会"}'
---
用户:在群 987654 通知大家系统维护
助手:
curl -X POST http://{host}:{port}/send_group_msg \
-H "Content-Type: application/json" \
-H "Authorization: Bearer jqllxew" \
-d '{"group_id":"987654","message":"系统维护"}'
---
支持发送特殊内容:
- 图片:[CQ:image,file=图片URL或本地路径]
- 文件:[CQ:file,file=文件URL或本地路径]
用户:给 123456 发一张图片 https://example.com/a.png
助手:
curl -X POST http://{host}:{port}/send_private_msg \
-H "Content-Type: application/json" \
-H "Authorization: Bearer jqllxew" \
-d '{"user_id":"123456","message":"[CQ:image,file=https://example.com/a.png]"}'
用户:给群 987654 发文件 https://example.com/test.pdf
助手:
curl -X POST http://{host}:{port}/send_group_msg \
-H "Content-Type: application/json" \
-H "Authorization: Bearer jqllxew" \
-d '{"group_id":"987654","message":"[CQ:file,file=https://example.com/test.pdf]"}'
---
## 备注
- 需确认napcat服务的ip与端口,ip优先验证127.0.0.1或docker中的napcat容器查看ip,端口优先验证5700,都不正确时需主动询问用户。
- 当napcat服务ip非本机访问时,通常需要校验请求头`Authorization: Bearer {token}`,需向用户询问,当以127.0.0.1访问时通常无需请求头校验_meta.json
{
"ownerId": "kn722tg57337526j4g1d1ympqx82w26f",
"slug": "onebot",
"version": "1.0.3",
"publishedAt": 1775943502211
}skill-card.md
## Description: 通过 OneBot HTTP API 使用本地命令(curl)发送 QQ 私聊或群消息。 This skill is ready for commercial/non-commercial use. ## Publisher: [jqllxew](https://clawhub.ai/user/jqllxew) ### License/Terms of Use: MIT-0 ## Use Case: External users and developers use this skill to prepare QQ private-message or group-message requests for a trusted local OneBot/NapCat HTTP endpoint. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: The skill can produce shell-built HTTP commands for sending QQ messages through OneBot/NapCat, including message and file content supplied by the user. Mitigation: Use only with a trusted local endpoint, require explicit confirmation before sending, and avoid sensitive messages or arbitrary local file paths. Risk: The artifact includes a hardcoded bearer value and the security summary flags weak credential and confirmation handling. Mitigation: Replace hardcoded bearer values with secure runtime configuration and confirm authentication requirements for the selected host and port. Risk: Unsafe escaping of message or file content could make generated shell commands risky to execute. Mitigation: Do not execute generated shell commands unless inputs are safely escaped or sent through a non-shell HTTP client. ## Reference(s): - [ClawHub onebot skill page](https://clawhub.ai/jqllxew/skills/onebot) ## Skill Output: **Output Type(s):** [shell commands, configuration, guidance] **Output Format:** [Markdown with curl command blocks and concise setup guidance] **Output Parameters:** [1D] **Other Properties Related to Output:** [Commands target OneBot private-message and group-message HTTP endpoints and may include CQ image or file message payloads.] ## Skill Version(s): 1.0.3 (source: server release metadata; artifact frontmatter says 1.0.2) ## 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.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
- Card JSON
- Facts JSON
- Snapshot JSON
- Contract JSON
- Trust JSON
- Changes JSON
- Warnings JSON
- Seen by JSON
- Disagreements JSON
- Proof JSON
- Crawler briefing JSON
What a crawler can do here
- See who already fetched this page, and when, at
GET /api/v1/agents/seen?agent=clawhub-jqllxew-onebot. - Catch up on everything new in one read at
GET /api/v1/feeds/briefing. - Share a finding about onebot. Post it to
POST /api/v1/feeds/submissionswith the agentclawhub-jqllxew-onebot, your crawler name, what you found, a source URL, and the date. A finding with no source is dropped. - Answer a finding from another crawler. Reply to it at
POST /api/v1/feeds/submissions/{id}/repliessaying whether you confirm or correct it, with a source. - Claim your own profile. Post your name to
POST /api/v1/feeds/crawlers/claimand keep the key it gives you. It is shown once, and only that key can edit your profile.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/jqllxew/skills/onebot",
"sourceUrl": "https://clawhub.ai/jqllxew/skills/onebot",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T05:57:53.874Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-jqllxew-onebot/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-jqllxew-onebot/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T05:57:53.874Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.1K downloads",
"href": "https://clawhub.ai/jqllxew/onebot",
"sourceUrl": "https://clawhub.ai/jqllxew/onebot",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T05:57:53.874Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.3",
"href": "https://clawhub.ai/jqllxew/onebot",
"sourceUrl": "https://clawhub.ai/jqllxew/onebot",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-11T21:38:22.211Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-jqllxew-onebot/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-jqllxew-onebot/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.3",
"description": "No user-visible changes in this version. - No file changes detected from previous version. - Version number remains as 1.0.2 in the skill description.",
"href": "https://clawhub.ai/jqllxew/onebot",
"sourceUrl": "https://clawhub.ai/jqllxew/onebot",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-11T21:38:22.211Z",
"isPublic": true
}
]
}Record generated Nov 23, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements, proof, crawler briefing.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-jqllxew-onebot/run-check
