> CRITICAL —— 跑命令前 MUST 先用 Read tool 读取 ../wangxiaobao-shared/SKILL.md(一份共享文档讲清安装 / 登录 / 选项目 / 错误码 / 输出协议等所有 xiaobao-cli 命令通用的前置约定)。
跑 xiaobao-cli focus list 查 AI 抽出的客户关注点标签。
跟抗性点 skill 镜像,差别就是底层走 mv_open_customer_focus 表。
xiaobao-cli auth whoami;未登录就走 auth login --no-wait split-flow(见 wangxiaobao-shared)NO_ACTIVE_PROJECT团队长看团队 / 项目管理员看全项目)
yyyy-MM-dd HH:mm:ss(空格分隔),CLI 自动转| 用户意图 | 命令 | 关键参数 |
|---|---|---|
| ------------------------------------ | --------------------------------- | ---------------------------------- |
| 列时段内全部关注点 | xiaobao-cli focus list | --from / --to |
| 看某客户的关注点 | xiaobao-cli customer list → xiaobao-cli focus list | --customer-ids |
| 看某次到访的关注点 | xiaobao-cli focus list | --visit-ids |
| 看某条录音的关注点 | xiaobao-cli focus list | --audio-ids |
| 按分类找(一级) | xiaobao-cli focus list | --category 户型 等 |
| 按分类找(二级) | xiaobao-cli focus list | --classification 户型因素 |
| 估算总数 | xiaobao-cli focus list | --page 1 --size 1,只读 total |
用户说"屈哥的关注点"——先调 xiaobao-cli customer list { customerName: "屈哥" }
拿到 --customer-id(= wang_id),再传给 --customer-ids 数组(即使只有一个也用数组)。
category 一级常见值:户型 / 价格 / 环境 / 教育 / 交通 / 商业配套 / 装修 / 其他
classification 二级常见值:户型因素 / 价格因素 / 环境因素 / ... / 位置因素 / 发展因素
模糊关键词越短越宽:--category 户型 同时命中 "户型因素" 和别的含 "户型" 的分类。
| 用户说法 | fromDate / toDate |
|---|---|
| ------------ | ------------------------------------------------ |
| "今天关注点" | 今天 00:00:00 / 明天 00:00:00 |
| "本周关注点" | 周一 00:00:00 / 今天 23:59:59 |
| "5 月份" | 2026-05-01 00:00:00 / 2026-06-01 00:00:00 |
| "最近一个月" | 30 天前 / now |
{
"code": "0",
"data": {
"page": 1, "size": 10, "total": 47,
"content": [
{
"id": "507495633116995584", // tag 自身 ID
"visitId": "507016570438942720",
"audioId": "507494047338729472",
"customerId": "507016570019512320",
"textFragment": "新规户型我看了他们的那个四房的,还不错啊,", // 录音原文片段
"startOffset": 945120, // 在录音中的起始毫秒
"endOffset": 949840,
"keyStr": "对盛世禧悦户型感兴趣", // 简短描述
"valueStr": "客户表示看了盛世禧悦的新规四房户型觉得不错...", // 详细说明
"category": "户型因素", // 一级
"classification": "户型因素", // 二级
"visitTime": "2025-04-30 10:22:28",
"customer": { // 批量补全
"customerId": "507016570019512320",
"customerName": "屈哥",
"customerPhone": "173****7325",
"intentLevel": "A",
...
},
"userInfo": { /* 接待顾问详情 */ },
"audio": { // 录音简要 + 签名 fileUrl
"audioId": 507494047338729472,
"fileId": "507494045212213248",
"startTime": "2025-04-30 10:22:50",
"duration": 2263,
"fileUrl": "https://oss.../...?sign=..."
}
}
]
}
}
CLI 又包一层 → 渲染用 resp.data.data.content。
audio.fileUrl(注意 18000 秒过期)xiaobao-cli focus list --from "2026-05-01 00:00:00" --to "2026-06-01 00:00:00" --page 1 --size 50
后处理:按 --category 聚合 → "5 月份 87 条关注点:户型因素 28 条 / 价格因素 19 条 / ..."。
# step 1: 反查 wang_id(如果只知名字)
xiaobao-cli customer list --customer-name 屈哥
# step 2: 拿到 customerId = 507016570019512320,用 --customer-ids 过滤
xiaobao-cli focus list --customer-ids 507016570019512320 --page 1 --size 20
xiaobao-cli focus list --category 户型 --page 1 --size 30
xiaobao-cli focus list --audio-ids 507494047338729472 --page 1 --size 50
渲染:列出该录音里 AI 抽出的所有关注点,按 startOffset 升序展示原文 + 描述。
error: 'NO_ACTIVE_PROJECT' — 跑 wangxiaobao-switch-project skillauth login --no-wait --force split-flow 重登total: 0 — 过滤条件没匹配 / 该时段没数据 / 当前用户授权范围内没匹配的接待顾问这是预期行为,不是 bug
共 3 个版本