@optima-chat/optima-agent 0.8.52 → 0.8.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: taobao
|
|
3
|
+
description: "淘宝/天猫商品搜索和选品调研。当用户需要搜索淘宝商品(淘宝搜索/搜淘宝/天猫搜索)、查看淘宝商品详情(淘宝商品/天猫商品/商品详情)、查看商品评论(淘宝评论/买家评价/用户评价)、分析淘宝商品(商品分析/选品/国内电商)、或做淘宝市场调研(淘宝市场/天猫市场/国内市场)时使用此技能。"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# 淘宝/天猫 - 商品搜索与选品调研
|
|
7
|
+
|
|
8
|
+
所有命令使用 `scout taobao` 前缀。数据源:JustOneAPI(¥0.15/次)。
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## 快速选择:我该用哪个命令?
|
|
13
|
+
|
|
14
|
+
| 你的目标 | 最佳命令 | 补充命令 | 组合逻辑 |
|
|
15
|
+
|---------|---------|---------|---------|
|
|
16
|
+
| **搜索商品** | `search "关键词"` | — | 按关键词搜索淘宝/天猫 |
|
|
17
|
+
| **了解某个商品** | `detail <itemId>` | `comments` | 详情→评论 |
|
|
18
|
+
| **商品完整分析** | `insights <itemId>` | — | 一键获取详情+评论 |
|
|
19
|
+
| **只看评论** | `comments <itemId>` | — | 买家评价分析 |
|
|
20
|
+
| **找天猫商品** | `search "关键词" --tmall` | — | 只搜天猫 |
|
|
21
|
+
| **按价格筛选** | `search "关键词" --min-price 100 --max-price 500` | — | 价格区间 |
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## 典型场景
|
|
26
|
+
|
|
27
|
+
当用户说:
|
|
28
|
+
- "淘宝上搜一下咖啡机" / "天猫有什么咖啡机" → `scout taobao search "咖啡机"`
|
|
29
|
+
- "只看天猫的" → `scout taobao search "咖啡机" --tmall`
|
|
30
|
+
- "100-500 元的" → `scout taobao search "咖啡机" --min-price 100 --max-price 500`
|
|
31
|
+
- "按销量排序" → `scout taobao search "咖啡机" --sort sales`
|
|
32
|
+
- "看看这个商品" + itemId → `scout taobao detail <itemId>`
|
|
33
|
+
- "这个商品评价怎么样" → `scout taobao comments <itemId>`
|
|
34
|
+
- "帮我分析这个商品" → `scout taobao insights <itemId>`
|
|
35
|
+
- "淘宝上这个品类什么好卖" → 先搜索,再逐个分析 top 商品
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## URL 解析 - 淘宝/天猫链接处理
|
|
40
|
+
|
|
41
|
+
用户可能直接贴商品链接,按以下规则提取 itemId:
|
|
42
|
+
|
|
43
|
+
| URL 特征 | 提取内容 | 调用命令 |
|
|
44
|
+
|----------|---------|---------|
|
|
45
|
+
| `item.taobao.com/item.htm?id=数字` | itemId (数字) | `scout taobao detail <itemId>` |
|
|
46
|
+
| `detail.tmall.com/item.htm?id=数字` | itemId (数字) | `scout taobao detail <itemId>` |
|
|
47
|
+
| `m.tb.cn/短链接` | 需要解析 | 提示用户提供商品 ID |
|
|
48
|
+
|
|
49
|
+
**示例**:
|
|
50
|
+
```bash
|
|
51
|
+
# 淘宝链接 → 提取 id 参数
|
|
52
|
+
# https://item.taobao.com/item.htm?id=713865529993
|
|
53
|
+
scout taobao detail 713865529993
|
|
54
|
+
|
|
55
|
+
# 天猫链接 → 同样提取 id
|
|
56
|
+
# https://detail.tmall.com/item.htm?id=668479757611
|
|
57
|
+
scout taobao detail 668479757611
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## 核心命令
|
|
63
|
+
|
|
64
|
+
### 🔍 搜索商品 - `scout taobao search`
|
|
65
|
+
|
|
66
|
+
按关键词搜索淘宝/天猫商品。
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
scout taobao search "咖啡机"
|
|
70
|
+
scout taobao search "蓝牙耳机" --sort sales
|
|
71
|
+
scout taobao search "瑜伽垫" --tmall --min-price 50 --max-price 200
|
|
72
|
+
scout taobao search "手机壳" --page 2
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
**参数**:
|
|
76
|
+
- `<keyword>`:搜索关键词(必填)
|
|
77
|
+
- `-p, --page`:页码(默认 1,每页 10 条)
|
|
78
|
+
- `-s, --sort`:排序 `sales|price_asc|price_desc`(不传为默认综合排序)
|
|
79
|
+
- `--tmall`:仅天猫商品
|
|
80
|
+
- `--min-price`:最低价(元)
|
|
81
|
+
- `--max-price`:最高价(元)
|
|
82
|
+
- `-f, --format`:输出格式 `json|text`(默认: json)
|
|
83
|
+
|
|
84
|
+
**返回数据**:
|
|
85
|
+
- `products[]`:商品列表(name、price、originalPrice、sales、shopName、location、sellerRating、itemType)
|
|
86
|
+
- `brands[]`:品牌筛选列表(brandName、count)
|
|
87
|
+
- `meta`:分页信息
|
|
88
|
+
|
|
89
|
+
**搜索返回的关键指标**:
|
|
90
|
+
- `price` / `originalPrice` — 折后价/原价(元)
|
|
91
|
+
- `sales` — 付款人数(如 "1000+")
|
|
92
|
+
- `sellerRating` — 好评率(百分比)
|
|
93
|
+
- `itemType` — taobao 或 tmall
|
|
94
|
+
- `stock` — 库存数量
|
|
95
|
+
|
|
96
|
+
### 📦 商品详情 - `scout taobao detail`
|
|
97
|
+
|
|
98
|
+
获取商品的详细信息。
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
scout taobao detail 713865529993
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
**参数**:
|
|
105
|
+
- `<itemId>`:商品 ID(必填,纯数字)
|
|
106
|
+
|
|
107
|
+
**返回数据**:`title`、`images`、`url`、`seller`(店铺信息)、`delivery`(发货信息)
|
|
108
|
+
|
|
109
|
+
### 💬 商品评论 - `scout taobao comments`
|
|
110
|
+
|
|
111
|
+
获取商品的买家评价。
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
scout taobao comments 713865529993
|
|
115
|
+
scout taobao comments 713865529993 --page 2
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
**参数**:
|
|
119
|
+
- `<itemId>`:商品 ID(必填)
|
|
120
|
+
- `-p, --page`:页码(默认 1,每页 20 条)
|
|
121
|
+
|
|
122
|
+
**返回数据**:
|
|
123
|
+
- `total` — 评论总数
|
|
124
|
+
- `maxPage` — 最大页数
|
|
125
|
+
- `comments[]` — 评论列表:`content`(内容)、`score`(评分 1-5)、`date`、`photos`(晒图)、`reply`(卖家回复)、`append`(追评)
|
|
126
|
+
|
|
127
|
+
**分析重点**:
|
|
128
|
+
1. 好评中的高频关键词 = 产品卖点
|
|
129
|
+
2. 差评中的问题 = 产品痛点/改进方向
|
|
130
|
+
3. 带图评论 = 真实使用场景
|
|
131
|
+
4. 追评内容 = 长期使用体验
|
|
132
|
+
|
|
133
|
+
### 🔬 商品洞察 - `scout taobao insights`
|
|
134
|
+
|
|
135
|
+
一键获取商品详情 + 评论(组合查询)。
|
|
136
|
+
|
|
137
|
+
```bash
|
|
138
|
+
scout taobao insights 713865529993
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
**返回数据**:`detail`(商品详情)+ `comments`(第一页评论)
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## 典型工作流
|
|
146
|
+
|
|
147
|
+
### 淘宝选品调研
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
# 1. 搜索目标品类
|
|
151
|
+
scout taobao search "便携榨汁机" --sort sales
|
|
152
|
+
|
|
153
|
+
# 2. 分析 TOP 商品
|
|
154
|
+
scout taobao insights <itemId>
|
|
155
|
+
|
|
156
|
+
# 3. 对比多个商品的评论
|
|
157
|
+
scout taobao comments <itemId1>
|
|
158
|
+
scout taobao comments <itemId2>
|
|
159
|
+
|
|
160
|
+
# 4. 跨平台比较
|
|
161
|
+
scout search "portable blender" --limit 10 # Amazon 同品类
|
|
162
|
+
scout supplier-search "便携式榨汁机" # 1688 供应商
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
### 竞品分析
|
|
166
|
+
|
|
167
|
+
```bash
|
|
168
|
+
# 1. 搜索竞品关键词
|
|
169
|
+
scout taobao search "竞品品牌名" --tmall
|
|
170
|
+
|
|
171
|
+
# 2. 看竞品 TOP 商品详情
|
|
172
|
+
scout taobao detail <竞品itemId>
|
|
173
|
+
|
|
174
|
+
# 3. 分析竞品评论(找差异化机会)
|
|
175
|
+
scout taobao comments <竞品itemId>
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
### 跨平台选品联动
|
|
179
|
+
|
|
180
|
+
```bash
|
|
181
|
+
# 1. Reddit/Twitter 发现趋势
|
|
182
|
+
scout reddit trends "产品关键词"
|
|
183
|
+
scout twitter trends "产品关键词"
|
|
184
|
+
|
|
185
|
+
# 2. 淘宝验证国内市场
|
|
186
|
+
scout taobao search "产品关键词" --sort sales
|
|
187
|
+
|
|
188
|
+
# 3. Amazon 验证海外市场
|
|
189
|
+
scout search "product keyword" --limit 10
|
|
190
|
+
|
|
191
|
+
# 4. 找供应商
|
|
192
|
+
scout supplier-search "产品中文名"
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
---
|
|
196
|
+
|
|
197
|
+
## 数据解读参考
|
|
198
|
+
|
|
199
|
+
### 商品表现判断
|
|
200
|
+
|
|
201
|
+
| 指标 | 爆款 | 热销 | 一般 |
|
|
202
|
+
|------|------|------|------|
|
|
203
|
+
| 付款人数 | 10000+ | 1000-10000 | <1000 |
|
|
204
|
+
| 好评率 | >98% | 95-98% | <95% |
|
|
205
|
+
| 评论数 | >5000 | 1000-5000 | <1000 |
|
|
206
|
+
|
|
207
|
+
### 价格区间分析
|
|
208
|
+
|
|
209
|
+
搜索时注意对比:
|
|
210
|
+
- `price`(折后价)vs `originalPrice`(原价)→ 折扣力度
|
|
211
|
+
- 同品类不同价格带的销量分布 → 主力价格带
|
|
212
|
+
- 天猫 vs 淘宝同款价差 → 品牌溢价空间
|
|
213
|
+
|
|
214
|
+
### 选品信号
|
|
215
|
+
|
|
216
|
+
| 淘宝信号 | 含义 | 下一步 |
|
|
217
|
+
|----------|------|--------|
|
|
218
|
+
| 销量高+评论多+好评率高 | 成熟爆款 | 找差异化切入点 |
|
|
219
|
+
| 销量增长快+评论少 | 新兴爆款 | 快速跟进窗口 |
|
|
220
|
+
| 品类搜索多+好商品少 | 供给不足 | 产品机会 |
|
|
221
|
+
| 差评集中某问题 | 痛点明确 | 改进型产品机会 |
|
|
222
|
+
| 天猫占比高 | 品牌化品类 | 需要品牌背书 |
|
|
223
|
+
|
|
224
|
+
---
|
|
225
|
+
|
|
226
|
+
## 重要提醒
|
|
227
|
+
|
|
228
|
+
1. **itemId 纯数字**:从商品 URL 中提取 `id=` 后面的数字
|
|
229
|
+
2. **每页数量**:搜索 10 条/页,评论 20 条/页
|
|
230
|
+
3. **评分映射**:API 返回 1=好评/0=中差评,已映射为 5/1 星
|
|
231
|
+
4. **sort 不传为默认排序**:不要传 `default`,直接省略 `--sort` 参数
|
|
232
|
+
5. **跨 Skill 联动**:淘宝验证国内市场 → Amazon 验证海外 → 1688 找供应商 → Reddit/Twitter 看社媒趋势
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: twitter
|
|
3
|
+
description: "Twitter/X 趋势发现和社交媒体洞察。当用户需要搜索推文(Twitter搜索/搜推特/搜X)、查看 Twitter 热门趋势(Twitter趋势/热搜/trending)、查看 Twitter 用户资料(Twitter用户/推特账号/@某人)、分析推文详情(推文分析/tweet详情)、查看推文评论(推文评论/回复)、查看用户粉丝(粉丝列表/followers)、查看热门推文(top tweets/热门推文)、获取视频转录(推文视频/transcript)、或查看 Twitter 社区(Twitter社区/community)时使用此技能。"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Twitter/X - 趋势发现与社交媒体洞察
|
|
7
|
+
|
|
8
|
+
所有命令使用 `scout twitter` 前缀。双 API 源:TikHub(搜索/趋势/评论)+ ScrapeCreators(用户推文/转录/社区)。
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## 快速选择:我该用哪个命令?
|
|
13
|
+
|
|
14
|
+
| 你的目标 | 最佳命令 | 补充命令 | 组合逻辑 |
|
|
15
|
+
|---------|---------|---------|---------|
|
|
16
|
+
| **发现热门趋势** | `trends` | — | 一键聚合趋势榜+关键词搜索 |
|
|
17
|
+
| **搜索相关推文** | `search "关键词"` | `tweet <id>` | 搜索→深入看详情 |
|
|
18
|
+
| **查看热搜榜** | `trending` | — | Twitter 实时热门话题 |
|
|
19
|
+
| **了解某个账号** | `profile <用户名>` | `top-tweets` + `followers` | 主页→热门推文→粉丝 |
|
|
20
|
+
| **分析特定推文** | `tweet <tweetId>` | `comments` | 推文详情→评论分析 |
|
|
21
|
+
| **社区调研** | `community <url>` | `community-tweets` | 社区信息→社区内容 |
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## 典型场景
|
|
26
|
+
|
|
27
|
+
当用户说:
|
|
28
|
+
- "Twitter 上什么火" / "推特热搜" → `scout twitter trending`
|
|
29
|
+
- "搜一下 Twitter 上关于XX的讨论" → `scout twitter search "XX"`
|
|
30
|
+
- "看看这个 Twitter 账号" / "@某人" → `scout twitter profile <用户名>`
|
|
31
|
+
- "分析这条推文" + tweet ID → `scout twitter tweet <tweetId>`
|
|
32
|
+
- "看看推文评论" → `scout twitter comments <tweetId>`
|
|
33
|
+
- "这个账号的粉丝都是谁" → `scout twitter followers <用户名>`
|
|
34
|
+
- "这个账号最火的推文" → `scout twitter top-tweets <用户名>`
|
|
35
|
+
- "这条视频说了什么" → `scout twitter transcript "<url>"`
|
|
36
|
+
- "看看这个 Twitter 社区" → `scout twitter community "<url>"`
|
|
37
|
+
- "这个品类在 Twitter 上有趋势吗" → `scout twitter trends "品类关键词"`
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## URL 解析 - Twitter/X 链接处理
|
|
42
|
+
|
|
43
|
+
用户可能直接贴 Twitter 链接,按以下规则处理:
|
|
44
|
+
|
|
45
|
+
| URL 特征 | 提取内容 | 调用命令 |
|
|
46
|
+
|----------|---------|---------|
|
|
47
|
+
| `x.com/用户名/status/数字` | tweetId (数字) | `scout twitter tweet <tweetId>` |
|
|
48
|
+
| `x.com/用户名` (无 /status) | 用户名 | `scout twitter profile <用户名>` |
|
|
49
|
+
| `x.com/i/communities/数字` | 完整 URL | `scout twitter community "<url>"` |
|
|
50
|
+
| `twitter.com/...` | 同上规则 | 同上 |
|
|
51
|
+
|
|
52
|
+
**示例**:
|
|
53
|
+
```bash
|
|
54
|
+
# 推文链接 → 提取 tweetId
|
|
55
|
+
# https://x.com/AnthropicAI/status/2034302152945144166
|
|
56
|
+
scout twitter tweet 2034302152945144166
|
|
57
|
+
|
|
58
|
+
# 用户主页 → 提取用户名
|
|
59
|
+
# https://x.com/AnthropicAI
|
|
60
|
+
scout twitter profile AnthropicAI
|
|
61
|
+
|
|
62
|
+
# 社区链接 → 传完整 URL
|
|
63
|
+
scout twitter community "https://x.com/i/communities/1926186499399139650"
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## 核心命令
|
|
69
|
+
|
|
70
|
+
### 🔥 第一层:趋势发现
|
|
71
|
+
|
|
72
|
+
#### 1. 趋势发现(旗舰命令) - `scout twitter trends`
|
|
73
|
+
|
|
74
|
+
一键聚合热搜榜 + 关键词搜索,用于趋势预判。
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
scout twitter trends "wireless earbuds"
|
|
78
|
+
scout twitter trends "AI agents"
|
|
79
|
+
scout twitter trends
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
**参数**:
|
|
83
|
+
- `[keyword]`:搜索关键词(可选,不传则只返回热搜榜)
|
|
84
|
+
- `-f, --format`:输出格式 `json|text`(默认: json)
|
|
85
|
+
|
|
86
|
+
**返回数据**:
|
|
87
|
+
- `trends`:Twitter 实时热搜话题列表
|
|
88
|
+
- `searchResults`:关键词搜索结果(仅传 keyword 时)
|
|
89
|
+
|
|
90
|
+
#### 2. 热搜榜 - `scout twitter trending`
|
|
91
|
+
|
|
92
|
+
查看 Twitter 实时热门话题。
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
scout twitter trending
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
**返回数据**:`name`(话题名)、`tweetCount`(推文数)、`context`(话题分类)
|
|
99
|
+
|
|
100
|
+
#### 3. 搜索推文 - `scout twitter search`
|
|
101
|
+
|
|
102
|
+
按关键词搜索全 Twitter。
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
scout twitter search "coffee maker"
|
|
106
|
+
scout twitter search "standing desk" --type Latest
|
|
107
|
+
scout twitter search "AI tools" --type Top
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
**参数**:
|
|
111
|
+
- `<keyword>`:搜索关键词(必填)
|
|
112
|
+
- `-t, --type`:搜索类型 `Top|Latest|People|Photos|Videos`(默认: Top)
|
|
113
|
+
- `-f, --format`:输出格式
|
|
114
|
+
|
|
115
|
+
**返回数据**:推文列表,含 `text`、`author`(screenName + name)、`likes`、`retweets`、`views`、`createdAt`
|
|
116
|
+
|
|
117
|
+
---
|
|
118
|
+
|
|
119
|
+
### 👤 第二层:账号分析
|
|
120
|
+
|
|
121
|
+
#### 4. 用户资料 - `scout twitter profile`
|
|
122
|
+
|
|
123
|
+
查看 Twitter 用户主页信息。
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
scout twitter profile AnthropicAI
|
|
127
|
+
scout twitter profile elonmusk
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
**返回数据**:`name`、`screenName`、`followers`、`following`、`tweetCount`、`verified`、`description`、`location`、`website`
|
|
131
|
+
|
|
132
|
+
#### 5. 用户热门推文 - `scout twitter top-tweets`
|
|
133
|
+
|
|
134
|
+
获取用户最热门的推文(ScrapeCreators 源)。
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
scout twitter top-tweets AnthropicAI
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
**返回数据**:推文列表(按热度排序),含完整互动数据
|
|
141
|
+
|
|
142
|
+
**注意**:返回的是用户最热门的推文,不是最新推文。
|
|
143
|
+
|
|
144
|
+
#### 6. 用户粉丝 - `scout twitter followers`
|
|
145
|
+
|
|
146
|
+
获取用户粉丝列表及详细信息。
|
|
147
|
+
|
|
148
|
+
```bash
|
|
149
|
+
scout twitter followers AnthropicAI
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
**返回数据**:`followersCount`(总粉丝数)、`followers[]`(粉丝列表,含 screenName、followers、description)、`hasMore`、`cursor`
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
### 💬 第三层:推文深度分析
|
|
157
|
+
|
|
158
|
+
#### 7. 推文详情 - `scout twitter tweet`
|
|
159
|
+
|
|
160
|
+
获取单条推文的完整数据。
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
scout twitter tweet 2034302152945144166
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
**返回数据**:`text`、`likes`、`retweets`、`replies`、`quotes`、`bookmarks`、`views`、`author`、`createdAt`
|
|
167
|
+
|
|
168
|
+
#### 8. 推文评论 - `scout twitter comments`
|
|
169
|
+
|
|
170
|
+
获取推文的回复/评论。
|
|
171
|
+
|
|
172
|
+
```bash
|
|
173
|
+
scout twitter comments 2034302152945144166
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
**返回数据**:`comments[]`(评论列表,含 text、author、likes)、`cursor`(分页)
|
|
177
|
+
|
|
178
|
+
#### 9. 视频转录 - `scout twitter transcript`
|
|
179
|
+
|
|
180
|
+
获取视频推文的文字转录(AI 驱动,速度较慢)。
|
|
181
|
+
|
|
182
|
+
```bash
|
|
183
|
+
scout twitter transcript "https://x.com/user/status/123456"
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
**返回数据**:`transcript`(转录文本)
|
|
187
|
+
|
|
188
|
+
**注意**:仅视频推文有效,非视频推文返回空。
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
|
|
192
|
+
### 🏘️ 第四层:社区洞察
|
|
193
|
+
|
|
194
|
+
#### 10. 社区信息 - `scout twitter community`
|
|
195
|
+
|
|
196
|
+
获取 Twitter 社区的详细信息。
|
|
197
|
+
|
|
198
|
+
```bash
|
|
199
|
+
scout twitter community "https://x.com/i/communities/1926186499399139650"
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
**返回数据**:`name`、`description`、`memberCount`、`joinPolicy`、`rules[]`、`createdAt`
|
|
203
|
+
|
|
204
|
+
#### 11. 社区推文 - `scout twitter community-tweets`
|
|
205
|
+
|
|
206
|
+
获取社区内的推文列表。
|
|
207
|
+
|
|
208
|
+
```bash
|
|
209
|
+
scout twitter community-tweets "https://x.com/i/communities/1926186499399139650"
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
**返回数据**:推文列表(含完整互动数据 + 作者信息)
|
|
213
|
+
|
|
214
|
+
---
|
|
215
|
+
|
|
216
|
+
## 典型工作流
|
|
217
|
+
|
|
218
|
+
### 趋势预判:从 Twitter 话题到商机
|
|
219
|
+
|
|
220
|
+
```bash
|
|
221
|
+
# 1. 一键发现趋势(热搜 + 关键词搜索)
|
|
222
|
+
scout twitter trends "portable blender"
|
|
223
|
+
|
|
224
|
+
# 2. 深入分析热门推文的评论
|
|
225
|
+
scout twitter comments <tweetId>
|
|
226
|
+
|
|
227
|
+
# 3. 跨平台验证
|
|
228
|
+
scout search "portable blender" --limit 10 # Amazon 市场验证
|
|
229
|
+
scout reddit trends "portable blender" # Reddit 趋势对比
|
|
230
|
+
scout supplier-search "便携式榨汁机" --limit 10 # 1688 供应商
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
### 账号分析流程
|
|
234
|
+
|
|
235
|
+
```bash
|
|
236
|
+
# 1. 查看目标账号主页
|
|
237
|
+
scout twitter profile AnthropicAI
|
|
238
|
+
|
|
239
|
+
# 2. 看最火推文
|
|
240
|
+
scout twitter top-tweets AnthropicAI
|
|
241
|
+
|
|
242
|
+
# 3. 看粉丝质量
|
|
243
|
+
scout twitter followers AnthropicAI
|
|
244
|
+
|
|
245
|
+
# 4. 深入分析某条推文
|
|
246
|
+
scout twitter tweet <tweetId>
|
|
247
|
+
scout twitter comments <tweetId>
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
### 竞品社媒分析
|
|
251
|
+
|
|
252
|
+
```bash
|
|
253
|
+
# 1. 搜索竞品推文
|
|
254
|
+
scout twitter search "竞品品牌" --type Top
|
|
255
|
+
|
|
256
|
+
# 2. 看竞品账号
|
|
257
|
+
scout twitter profile 竞品账号
|
|
258
|
+
|
|
259
|
+
# 3. 分析竞品最火推文
|
|
260
|
+
scout twitter top-tweets 竞品账号
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
---
|
|
264
|
+
|
|
265
|
+
## 数据解读参考
|
|
266
|
+
|
|
267
|
+
### 推文表现判断
|
|
268
|
+
|
|
269
|
+
| 指标 | 高互动 | 中等 | 低互动 |
|
|
270
|
+
|------|--------|------|--------|
|
|
271
|
+
| Views | >100K | 10K-100K | <10K |
|
|
272
|
+
| Likes/Views | >3% | 1-3% | <1% |
|
|
273
|
+
| RT/Views | >1% | 0.3-1% | <0.3% |
|
|
274
|
+
| Replies/Likes | >10% | 3-10% | <3% |
|
|
275
|
+
|
|
276
|
+
### 账号质量判断
|
|
277
|
+
|
|
278
|
+
| 指标 | 优秀 | 良好 | 一般 |
|
|
279
|
+
|------|------|------|------|
|
|
280
|
+
| 粉丝数 | >100K | 10K-100K | <10K |
|
|
281
|
+
| 推文互动率 | >5% | 1-5% | <1% |
|
|
282
|
+
| 粉丝/关注比 | >10:1 | 3:1-10:1 | <3:1 |
|
|
283
|
+
|
|
284
|
+
### 商机信号识别
|
|
285
|
+
|
|
286
|
+
| Twitter 信号 | 含义 | 下一步 |
|
|
287
|
+
|-------------|------|--------|
|
|
288
|
+
| 热搜话题与品类相关 | 大众关注度高 | 趋势确认 + Amazon 验证 |
|
|
289
|
+
| 高 views 产品推文 | 产品有传播力 | 分析评论反馈 |
|
|
290
|
+
| KOL 推荐某产品 | 意见领袖背书 | 看粉丝反应 + 供应商 |
|
|
291
|
+
| 社区高频讨论某需求 | 垂直需求明确 | 精准选品机会 |
|
|
292
|
+
|
|
293
|
+
---
|
|
294
|
+
|
|
295
|
+
## 重要提醒
|
|
296
|
+
|
|
297
|
+
1. **screenName 大小写敏感**:使用正确的 Twitter 用户名(如 `AnthropicAI` 而非 `anthropicai`)
|
|
298
|
+
2. **tweetId 纯数字**:从推文 URL 中提取数字 ID(如 `2034302152945144166`)
|
|
299
|
+
3. **社区 URL 完整传入**:社区命令需要传完整的 `https://x.com/i/communities/...` URL
|
|
300
|
+
4. **视频转录较慢**:transcript 使用 AI 生成,响应时间可能较长
|
|
301
|
+
5. **热门推文非最新**:`top-tweets` 返回的是用户最热门推文,不是最新发布的
|
|
302
|
+
6. **跨 Skill 联动**:Twitter 发现趋势 → Reddit 验证讨论 → scout search Amazon 验证 → scout supplier-search 找供应商
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system-prompt.d.ts","sourceRoot":"","sources":["../../src/system-prompt.ts"],"names":[],"mappings":"AAAA,wBAAgB,eAAe,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"system-prompt.d.ts","sourceRoot":"","sources":["../../src/system-prompt.ts"],"names":[],"mappings":"AAAA,wBAAgB,eAAe,IAAI,MAAM,CAsLxC"}
|
|
@@ -41,6 +41,8 @@ export function getSystemPrompt() {
|
|
|
41
41
|
- **ads** - Google Ads 广告投放
|
|
42
42
|
- **scout** - Amazon 选品调研
|
|
43
43
|
- **reddit** - Reddit 趋势发现与商机预判
|
|
44
|
+
- **twitter** - Twitter/X 趋势发现与社交媒体洞察
|
|
45
|
+
- **taobao** - 淘宝/天猫商品搜索与选品调研
|
|
44
46
|
- **bi** - 数据分析和报表
|
|
45
47
|
- **review** - 评价管理(审核、回复、精选)
|
|
46
48
|
- **sentinel** - 自动化监控规则管理(创建/暂停/查看规则、审批管理)
|
|
@@ -56,6 +58,8 @@ export function getSystemPrompt() {
|
|
|
56
58
|
- 用户:"包裹到哪了" / "查物流" - 使用 Skill 工具加载 "order"
|
|
57
59
|
- 用户:"连接我的 Shopify 店铺" / "看看 Shopify 商品" - 使用 Skill 工具加载 "shopify"
|
|
58
60
|
- 用户:"Reddit 上什么趋势" / "看看 Reddit 上关于XX的讨论" - 使用 Skill 工具加载 "reddit"
|
|
61
|
+
- 用户:"Twitter 上什么火" / "搜一下推特上关于XX" / "看看@某人" - 使用 Skill 工具加载 "twitter"
|
|
62
|
+
- 用户:"淘宝上搜一下XX" / "天猫有什么XX" / "看看这个淘宝商品" - 使用 Skill 工具加载 "taobao"
|
|
59
63
|
|
|
60
64
|
## 工作原则
|
|
61
65
|
|
|
@@ -98,6 +102,8 @@ export function getSystemPrompt() {
|
|
|
98
102
|
| \`instagram.com/reel/\`、\`/p/\`、\`instagram.com/username\` | **instagram** | URL / username |
|
|
99
103
|
| \`1688.com/offer/XXXX\` | **scout** | 请用户描述产品关键词 |
|
|
100
104
|
| \`reddit.com/r/名称/comments/...\`、\`redd.it/...\` | **reddit** | 帖子 URL / subreddit 名称 |
|
|
105
|
+
| \`x.com/用户名/status/数字\`、\`twitter.com/...\`、\`x.com/i/communities/...\` | **twitter** | tweetId / 用户名 / 社区 URL |
|
|
106
|
+
| \`item.taobao.com/item.htm?id=数字\`、\`detail.tmall.com/item.htm?id=数字\` | **taobao** | itemId (id 参数) |
|
|
101
107
|
|
|
102
108
|
**重要**:这些平台有反爬机制,WebFetch 必然失败。务必先加载技能再执行命令。
|
|
103
109
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system-prompt.js","sourceRoot":"","sources":["../../src/system-prompt.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,eAAe;IAC7B,MAAM,GAAG,GAAG,IAAI,IAAI,EAAE,CAAC;IACvB,MAAM,OAAO,GAAG,GAAG,CAAC,kBAAkB,CAAC,OAAO,EAAE;QAC9C,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,MAAM;QACb,GAAG,EAAE,SAAS;QACd,OAAO,EAAE,MAAM;KAChB,CAAC,CAAC;IACH,MAAM,OAAO,GAAG,GAAG,CAAC,kBAAkB,CAAC,OAAO,EAAE;QAC9C,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,SAAS;KAClB,CAAC,CAAC;IAEH,OAAO;;;;;;;;;aASI,OAAO,IAAI,OAAO
|
|
1
|
+
{"version":3,"file":"system-prompt.js","sourceRoot":"","sources":["../../src/system-prompt.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,eAAe;IAC7B,MAAM,GAAG,GAAG,IAAI,IAAI,EAAE,CAAC;IACvB,MAAM,OAAO,GAAG,GAAG,CAAC,kBAAkB,CAAC,OAAO,EAAE;QAC9C,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,MAAM;QACb,GAAG,EAAE,SAAS;QACd,OAAO,EAAE,MAAM;KAChB,CAAC,CAAC;IACH,MAAM,OAAO,GAAG,GAAG,CAAC,kBAAkB,CAAC,OAAO,EAAE;QAC9C,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,SAAS;KAClB,CAAC,CAAC;IAEH,OAAO;;;;;;;;;aASI,OAAO,IAAI,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+J9B,CAAC;AACF,CAAC"}
|