← 返回 Skills 市场
Onebot Adapter 1.0.0
作者
haohaodlam
· GitHub ↗
· v1.0.0
343
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install onebot-adapter-1-0-0
功能描述
Connect OpenClaw to OneBot protocol for QQ bot integration. Use when receiving or sending QQ messages via NapCat or other OneBot servers.
安全使用建议
This adapter appears to do what it says (HTTP client + WebSocket listener for OneBot), but there are a few inconsistencies you should resolve before installing: (1) SKILL.md and the Python scripts expect ONEBOT_WS_URL, ONEBOT_HTTP_URL, and ONEBOT_TOKEN, yet the registry metadata lists no required env vars — verify you are intentionally supplying those values and understand what token you are providing. (2) _meta.json shows a different ownerId than the registry header — confirm the publisher/source is trustworthy. Also note the scripts assume the 'requests' and 'websockets' Python packages and include an unusual shebang (/opt/playwright/bin/python) — run in a sandbox or virtualenv, install dependencies yourself, and review the two Python files locally. Do not supply ONEBOT_TOKEN (or any sensitive token) unless you trust the OneBot server and the skill source.
功能分析
Type: OpenClaw Skill
Name: onebot-adapter-1-0-0
Version: 1.0.0
The skill bundle provides a client and listener for the OneBot protocol, designed for QQ bot integration. All files (code and documentation) align with the stated purpose, facilitating communication with a OneBot server. The Python scripts read connection details and tokens from environment variables, which is standard practice, and make HTTP/WebSocket requests to the configured OneBot server (defaulting to localhost). There is no evidence of intentional harmful behavior such as data exfiltration, malicious execution, persistence mechanisms, or prompt injection attempts against the OpenClaw agent. The code is clear, uses standard libraries, and lacks obfuscation.
能力评估
Purpose & Capability
Files (onebot_client.py and onebot_ws_listener.py) implement HTTP and WebSocket OneBot integration consistent with the skill name/description. However, the registry metadata claims no required env vars while SKILL.md and the code rely on ONEBOT_WS_URL, ONEBOT_HTTP_URL, and ONEBOT_TOKEN. Also _meta.json contains a different ownerId than the top-level registry owner — an ownership/packaging mismatch.
Instruction Scope
SKILL.md gives concrete instructions (export ONEBOT_* env vars, run the listener, use the client API). The included code only reads those env vars, connects to the configured OneBot server, and sends/receives OneBot events; it does not attempt to read arbitrary system files or exfiltrate data to unexpected endpoints. The instructions are not overly broad.
Install Mechanism
There is no install spec (instruction-only) and the code is included as scripts. No downloads or archive extraction are performed. Note: the shebang lines reference /opt/playwright/bin/python which is an unusual interpreter path and may cause launch failures if that path does not exist.
Credentials
The environment variables referenced (ONEBOT_WS_URL, ONEBOT_HTTP_URL, ONEBOT_TOKEN) are appropriate for a OneBot adapter. However, the skill metadata does not declare these required env vars, creating an inconsistency that could hide the need to provide a token. ONEBOT_TOKEN is sensitive (authorization token); only provide it when you trust the target OneBot server and the skill source.
Persistence & Privilege
The skill does not request persistent/always-on privileges (always: false). It does not modify other skills or system-wide settings. It runs network clients and a listener as expected for its purpose.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install onebot-adapter-1-0-0 - 安装完成后,直接呼叫该 Skill 的名称或使用
/onebot-adapter-1-0-0触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of onebot-adapter for QQ bot integration with OpenClaw.
- Connects OpenClaw to OneBot protocol servers (e.g. NapCat) for QQ messaging.
- Supports both WebSocket (recommended) and HTTP connection modes.
- Provides scripts and API for receiving and sending private/group messages.
- Includes setup instructions and troubleshooting tips for authentication and connection issues.
元数据
常见问题
Onebot Adapter 1.0.0 是什么?
Connect OpenClaw to OneBot protocol for QQ bot integration. Use when receiving or sending QQ messages via NapCat or other OneBot servers. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 343 次。
如何安装 Onebot Adapter 1.0.0?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install onebot-adapter-1-0-0」即可一键安装,无需额外配置。
Onebot Adapter 1.0.0 是免费的吗?
是的,Onebot Adapter 1.0.0 完全免费(开源免费),可自由下载、安装和使用。
Onebot Adapter 1.0.0 支持哪些平台?
Onebot Adapter 1.0.0 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Onebot Adapter 1.0.0?
由 haohaodlam(@haohaodlam)开发并维护,当前版本 v1.0.0。
推荐 Skills