← Back to Skills Marketplace
luhuiwang

元宝派主动推送

by Luhui WANG · GitHub ↗ · v2.1.1 · MIT-0
cross-platform ✓ Security Clean
224
Downloads
0
Stars
0
Active Installs
6
Versions
Install in OpenClaw
/install yuanbao-send
Description
主动向元宝派(Yuanbao Pai)群聊和私聊发送消息和文件。独立于 OpenClaw 插件通道,通过 WebSocket 协议直接推送,适用于 cron 定时任务、跨 session 通知等场景。
Usage Guidance
This skill appears to do what it says: it reads your local OpenClaw config (~/.openclaw/openclaw.json) for Yuanbao appKey/appSecret, contacts Yuanbao endpoints to obtain temporary tokens, optionally uploads files to Tencent COS, and sends messages over a WebSocket. Before installing or running: (1) review ~/.openclaw/openclaw.json to confirm it contains only expected values and that you are comfortable giving the skill access to the Yuanbao bot credentials; (2) be aware this script will temporarily connect with the same bot_id used by the official plugin and can conflict with the running plugin (the README warns about kicks); (3) install required Python packages in an isolated environment (venv) to avoid dependency issues; (4) if you need stronger assurance, inspect the remaining parts of send.py (upload logic was truncated in the provided view) to confirm uploads and network calls are only to the documented endpoints. If you do not control the Yuanbao bot credentials or you don't want a script to read your OpenClaw config, do not install/run this skill.
Capability Assessment
Purpose & Capability
Name/description (Yuanbao proactive push) match the implementation: send.py implements WebSocket auth, message encoding, and optional COS upload; required binary (python3) and Python packages (websocket-client, cos-python-sdk-v5) are appropriate for the stated functionality.
Instruction Scope
SKILL.md instructs the agent to read ~/.openclaw/openclaw.json for channels.yuanbao (appKey/appSecret), obtain a sign token from the official Yuanbao endpoint, optionally upload to COS, then send via WebSocket — these steps are within the stated scope and are explicitly documented with warnings about conflicts.
Install Mechanism
No install spec (instruction-only runtime) — the package includes a send.py script that runs under python3; required third-party Python packages are listed. There is no remote download/execute or obscure install URL; user must ensure dependencies are pip-installed.
Credentials
No environment variables are requested. The script reads ~/.openclaw/openclaw.json to obtain channels.yuanbao.appKey and appSecret — this is necessary for operation, but that config file may contain other channel credentials; the code only uses the yuanbao fields and transmits credentials only to the official bot.yuanbao.tencent.com endpoints for signing and upload.
Persistence & Privilege
Skill does not request persistent/autostart privileges (always:false). It does not modify other skills or system-wide agent settings; WebSocket connections are temporary per send.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install yuanbao-send
  3. After installation, invoke the skill by name or use /yuanbao-send
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.1.1
修复 shebang 隐私问题:移除硬编码路径,改用 #!/usr/bin/env python3
v2.1.0
添加私聊功能(dm/upload-dm),支持主动推送私聊文字消息和文件
v2.0.2
v2.0.2: 补充 WebSocket 连接冲突说明(send.py 与 OpenClaw 插件共用 bot_id 会互相踢线)
v2.0.1
v2.0.1: 修复 .md 文件上传支持(之前因 protobuf 字段错误被拒),更新文档
v2.0.0
v2.0.0: 新增文件上传功能(upload 命令),支持图片(TIMImageElem)和文件(TIMFileElem),通过 COS 上传+resourceUrl 方式实现
v1.0.0
Initial release: proactive Yuanbao group messaging via WebSocket
Metadata
Slug yuanbao-send
Version 2.1.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 6
Frequently Asked Questions

What is 元宝派主动推送?

主动向元宝派(Yuanbao Pai)群聊和私聊发送消息和文件。独立于 OpenClaw 插件通道,通过 WebSocket 协议直接推送,适用于 cron 定时任务、跨 session 通知等场景。 It is an AI Agent Skill for Claude Code / OpenClaw, with 224 downloads so far.

How do I install 元宝派主动推送?

Run "/install yuanbao-send" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 元宝派主动推送 free?

Yes, 元宝派主动推送 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 元宝派主动推送 support?

元宝派主动推送 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 元宝派主动推送?

It is built and maintained by Luhui WANG (@luhuiwang); the current version is v2.1.1.

💬 Comments