Claude Skill
sunnoy/openclaw-plugin-wecom
OpenClaw Plugin WeCom is an enterprise AI bot plugin for OpenClaw, integrating with Enterprise WeChat. Features streaming output, dynamic Agent management, group chat support, and command whitelist...
Overview
Repository
Install this Skill
git clone https://github.com/sunnoy/openclaw-plugin-wecom.gitRegistry
Summary
OpenClaw Plugin WeCom is an enterprise-grade AI bot plugin for OpenClaw that integrates with Enterprise WeChat (WeCom). It supports streaming output, dynamic Agent management, group chat integration, and command whitelist features, enabling businesses to deploy intelligent conversational agents within their WeCom ecosystem.
企业微信 AI 机器人插件 - 适用于 OpenClaw 的企业微信 AI 机器人插件。支持流式输出、动态 Agent 管理、群聊集成、指令白名单等功能。
Key features
- Streaming output for real-time AI responses
- Dynamic Agent management for flexible bot behavior
- Group chat integration for team collaboration
- Command whitelist for secure access control
- Built on Node.js with TypeScript for reliability
- Seamless plugin architecture for OpenClaw
Use cases
- Deploy AI customer service bots in Enterprise WeChat
- Automate team Q&A and knowledge retrieval in group chats
- Manage dynamic AI agents for different business scenarios
- Control bot commands with whitelist for enterprise security
README excerpt
# OpenClaw 企业微信(WeCom)增强插件 [](https://www.npmjs.com/package/@sunnoy/wecom) [](LICENSE) `@sunnoy/wecom` 是 [OpenClaw](https://github.com/openclaw/openclaw) 企业微信渠道的**社区增强插件**,基于官方 [`@wecom/wecom-openclaw-plugin`](https://github.com/WecomTeam/wecom-openclaw-plugin) 的 WebSocket 长连接骨架,提供多账号管理、动态 Agent 隔离、Agent API / Webhook 增强出站、企业微信 MCP 文档/智能表格能力、指令白名单、配额感知等企业级特性。 底层 SDK:[`@wecom/aibot-node-sdk`](https://github.com/WecomTeam/aibot-node-sdk) — 企业微信智能机器人 Node.js SDK。 > **⚠️ 从 HTTP 回调迁移到长连接:** 2.0 版本完全采用企业微信 [AI 机器人 WebSocket 长连接模式](https://open.work.weixin.qq.com/help2/pc/cat?doc_id=21657)。如果你之前使用 HTTP 回调(Token + EncodingAESKey + 回调 URL),需要在企业微信管理后台将机器人切换到长连接模式,然后删除旧的回调配置。切换后只需 `botId` 和 `secret` 即可接入。 > **2.1 新增:** 在 WS 长连接之外,2.1 版本新增了企业微信**自建应用"接收消息"HTTP 回调**作为可选入站通道。在 `channels.wecom.agent` 下配置 `callback.token`、`callback.encodingAESKey`、`callback.path` 即可同时启用,与 WS 通道并行运行,互不影响。 ## 相比官方插件的增强特性 下表列出了本插件相比 [官方 WeCom OpenClaw 插件](https://github.com/WecomTeam/wecom-openclaw-plugin)([npm](https://www.npmjs.com/package/@wecom/wecom-openclaw-plugin))额外提供的能力: | 特性 | 官方插件 | 本插件 | | --- | :---: | :---: | | WebSocket 长连接 + 流式回复 | ✅ | ✅ | | 私聊 / 群聊接收 | ✅ | ✅ | | DM 准入策略(pairing / open / allowlist / disabled) | ✅ | ✅ | | 群聊准入策略(open / allowlist / disabled) | ✅ | ✅ | | 按群配置发送者白名单 | ✅ | ✅ | | 思考占位(`<think>` 占位符) | ✅ | ✅ | | CLI 交互式配置向导 | ✅ | ✅ | | **多账号管理**(多 Bot 独立配置、共享字段继承) | ❌ | ✅ | | **动态 Agent 路由**(按用户 / 群自动隔离会话与工作区) | ❌ | ✅ | | **Workspace 模板**(自动为新 Agent 复制 AGENTS.md 等引导文件) | ❌ | ✅ | | **Agent API 增强出站**(自建应用主动发送文本、图片、文件) | ❌ | ✅ | | **部门 / 标签目标发送**(`party:` / `tag:` 寻址) | ❌ | ✅ | | **Webhook Bot 群通知**(命名 webhook 映射,markdown / 图片 / 文件) | ❌ | ✅ | | **指令白名单**(限制普通用户可执行的 slash