旺小宝旺跟进(明细 + 电话/微信汇总)
> CRITICAL —— 跑命令前 MUST 先用 Read tool 读取 ../wangxiaobao-shared/SKILL.md(登录 / 激活项目 / 错误码 / 输出协议)。
分工(先选对工具)
| 用户问法 | 用什么 |
|---|---|
| 跟进明细名单(谁/何时/方式/内容量) | follow list(本 skill) |
| 电话接通率 / 呼出时长 / 微信消息数 | follow summary(本 skill) |
| 跟进量排名 / 团队对比 / 时间趋势 KPI | quantum follow(wangxiaobao-quantum-stats) |
命令
# 今天的跟进明细(时间窗先用 date range today 拿,不要凭记忆填日期)
xiaobao-cli follow list --from "2026-09-10 00:00:00" --to "2026-09-11 00:00:00"
# 某顾问 / 某客户
xiaobao-cli follow list --user-ids 123,456 --page 1 --size 10
xiaobao-cli follow list --customer-ids 639431065898848256
# 汇总指标(同筛选,不分页)
xiaobao-cli follow summary --from "2026-09-08 00:00:00" --to "2026-09-11 00:00:00"
参数:--user-ids 跟进人 userId CSV(只在当前用户可见范围内生效);--customer-ids 客户 wang_id CSV;--from/--to 可只传一侧,格式 yyyy-MM-dd HH:mm:ss。
响应字段
follow list(data.content[]):followId、wangId(无姓名→用customer list --customer-ids补)、salesId、followType/Label(0 主动/1 被动)、followMethod/Label(0 电话/1 短信/2 微信/3 微信通话/4 企微/5 企微通话)、actionTime、customerPhone、followerName/Phone(可空)、callDurationSec、smsCount、wechatMsgCountfollow summary:phoneInboundCount/ConnectedCount/ConnectRate、phoneOutboundCount/ConnectedCount/ConnectRate、phoneOutboundDurationMinutes/AvgDurationMinutes、wechatCallCount、wechatMessageCount(接通率分母 0 时为 null)
Agent 约束
- 用户未明确问跟进/电话/微信触达时,不要主动调本命令
- 跟进量 KPI 禁止用
follow list翻页数 total——用follow summary或quantum follow - 按客户姓名查:先
customer list --customer-name反查 wang_id 再--customer-ids - 时间窗用
xiaobao-cli date range today|this-week等取,禁止凭记忆算日期
常见错误
NO_ACTIVE_PROJECT→ 先切项目;401 → 重登;空列表 → 时间窗/范围内确实无跟进(不是 bug)