启用并配置 awada channel,使对外 crew(如 sales-cs)能以企业微信联系人的形态 连接外部用户。当用户或 main agent 要求启用 sales-cs 时使用本技能:建议配置 awada channel → 获得确认 → 按 SOP 完成安装依赖、写 openclaw.json、重启 Gateway。
72
88%
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 作为模板relayBaseUrl / ofbKey / lane / platform(带默认值,可回车接受)~/.openclaw/openclaw.json 的 channels.awada 与 plugins(customerDB
hook 默认 enabled: true,agentId=sales-cs).bak-<ts>
relayBaseUrl/ofbKey由 relay admin 签发(OFB_KEY 须含awada:lane:<laneId>scope)。客户端不持 Redis 凭据。
改 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 可达性 + ofbKey 是否含 awada:lane:<lane> scopechannels.awada 的 lane/platform 与 relay 侧 bot 配置匹配accountId(通配用 "*")bcef823
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.