CtrlK
BlogDocsLog inGet started
Tessl Logo

proactive-send

向 awada 客户主动发送消息。在 openclaw 消息处理循环之外直接 POST 到 relay 网关 outbound 端点,无需等待客户发起对话。

60

Quality

71%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./crews/sales-cs/skills/proactive-send/SKILL.md
SKILL.md
Quality
Evals
Security

主动发送(proactive-send)

本技能让 sales-cs 在特定业务场景下主动向客户发送消息,而非等待客户发起对话。


使用方法

proactive-send \
  --user-id-external "<user_id_external>" \
  --text "<消息内容>"

参数说明

参数必填说明
--user-id-external客户的 awada 用户标识,来自对话上下文 Sender 块的 id 字段
--text发送给客户的消息文本

relayBaseUrl / ofbKey / platform / lane 自动从 ~/.openclaw/openclaw.jsonchannels.awada 读取。channel_id / tenant_id 固定为 "0"(私聊)。

返回值

  • 成功:打印 relay outbound stream ID(如 1234-0),exit 0
  • 失败:打印错误描述到 stderr,exit 1

注意事项

  • 本技能仅提供消息发送能力,何时使用、发给谁、发什么内容由调用场景决定
  • 请勿在正常对话流程中调用——会破坏对话自然性
  • 消息内容应简短、自然、克制
  • 走 HTTP POST /api/v1/awada/outbound?lane= + X-OFB-Key header,不直连 Redis(契约见 docs/AWADA-CLIENT-TRANSPORT.md §3)
Repository
TeamWiseFlow/xiaobei
Last updated
First committed

Is this your skill?

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.