OpenClaw + pushplus:Agent 任务结果推到微信
效果:OpenClaw(Claw)干完活后,按 Skill 说明书调用 pushplus,微信收到通知。
前置条件
- 一个 pushplus token(官网扫码获取)
- 已安装 OpenClaw
只发消息准备 PUSHPLUS_TOKEN。若还要查发送结果、管群组,需要用户 token + secretKey,见 Skill 使用说明。
配置步骤
一条命令安装官方 Skill:
openclaw skills install @pcstx/pushplus-notification
本机所有会话共用:
openclaw skills install @pcstx/pushplus-notification --global
或:
npx clawhub@latest install @pcstx/pushplus-notification
设置环境变量:
export PUSHPLUS_TOKEN="你的token"
然后对 Agent 说「任务结束后通知我」。完整目录、凭证和开放接口说明见 pushplus Skill 使用说明。
验证
curl -X POST "https://www.pushplus.plus/send" \
-H "Content-Type: application/json" \
-d '{"token":"你的token","title":"OpenClaw 配置测试","content":"token 可用","template":"markdown"}'
常见问题
Skill 和 MCP 怎么选? OpenClaw 用 Skill 即可。Cursor / Cline 等用 MCP Server。
开放接口 403? 用户 token + secretKey,且 IP 在安全列表里,见 Skill 文档。