启用并配置 awada channel,使对外 crew(如 sales-cs)能以企业微信联系人的形态 连接外部用户。当用户或 main agent 要求启用 sales-cs 时使用本技能:建议配置 awada channel → 获得确认 → 按 SOP 完成安装依赖、写 openclaw.json、重启 Gateway。
73
90%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
awada extension 是专为对外 crew(如 sales-cs)打造的消息通道,可令 sales-cs 以 企业微信联系人的形态连接外部用户。配置默认直接启用 customerDB hook(自动记录客户 来访、更新状态),因此整个配置过程是一个可机械执行的 SOP。
awada 走 relay 网关 HTTP/WS 传输,运行时依赖 ws + zod,已在以下场景预装,正常无需手动操作:
npm install --omit=dev 进 /opt/openclaw/awada/node_modulesapply-addons.sh 已自动装进 <PROJECT_ROOT>/awada/node_modules(哈希守卫,幂等)仅当 node_modules 被清理、package.json 变更、或日志报 Cannot find module 'ws'(plugin=awada)时,才手动补装:
cd <WISEFLOW_PROJECT_ROOT>/awada && pnpm install --prod工作目录 = <WISEFLOW_PROJECT_ROOT>/awada/(单层结构)。
读取同目录 openclaw-awada-sample.json 拿到最小配置片段,然后用本技能脚本把它
合并进运行中的 ~/.openclaw/openclaw.json:
awada-channel-setup脚本行为:
openclaw-awada-sample.json 作为模板awadaKey(必填);lane 可选(留空 = 服务器默认 User);relayBaseUrl 缺省时回退到官方 relay 域名 https://relay.openclaw-for-business.com~/.openclaw/openclaw.json 的 channels.awada 与 plugins(customerDB
hook 默认 enabled: true,agentId=sales-cs).bak-<ts>
awadaKey由 relay admin 签发(须含awada:lane:<laneId>scope),与签名用的OFB_KEY是两份独立凭证。lane在 relay 侧 provision 时已绑死 platform,客户端不发platform。客户端不持 Redis 凭据。客户端最小配置只需awadaKey。
改 binding/channel 路由后必须完整重启(hot-reload 不重置 routing 缓存,见 it-engineer MEMORY「binding routing 坑 2」):
重启会断所有 session,执行前必须告知用户并征得同意。
按部署方式二选一:
/.dockerenv 存在):告知宿主用户执行
docker restart <容器名>(容器内无法自重启自身)。systemctl --user restart openclaw-gateway.service。~/.openclaw/workspace-sales-cs/db/ 出现新来访记录Cannot find module 'ws' → 步骤 1 预装未就位(Docker 镜像 build 漏装 / 源码部署 apply-addons.sh 没跑);手动 cd <PROJECT_ROOT>/awada && pnpm install --prod 补装relayBaseUrl 可达性 + awadaKey 是否含 awada:lane:<lane> scopechannels.awada 的 lane(若配)与 relay 侧 provision 的 lane 一致;不配则 server 默认 User(platform 由 lane 绑定,客户端不配)accountId(通配用 "*")72fd07a
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.