@optima-chat/optima-agent 0.9.13 → 0.9.14
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.
- package/.claude/skills/.kb-skills-managed.json +9 -9
- package/.claude/skills/ads/SKILL.md +244 -244
- package/.claude/skills/ads/template/campaign/CREATIVES.md +18 -18
- package/.claude/skills/ads/template/campaign/NOTES.md +10 -10
- package/.claude/skills/ads/template/campaign/STRATEGY.md +29 -29
- package/.claude/skills/ads/template/user/ADS.md +29 -29
- package/.claude/skills/ads/template/user/LEARNINGS.md +15 -15
- package/.claude/skills/ads/template/user/PROGRESS.md +20 -20
- package/.claude/skills/ads/template/user/README.md +25 -25
- package/.claude/skills/ads/template/user/assets/.gitignore +2 -2
- package/.claude/skills/bi/SKILL.md +131 -131
- package/.claude/skills/browser/SKILL.md +201 -201
- package/.claude/skills/channels/SKILL.md +188 -188
- package/.claude/skills/collection/SKILL.md +88 -88
- package/.claude/skills/douyin/SKILL.md +408 -408
- package/.claude/skills/ffmpeg/SKILL.md +164 -164
- package/.claude/skills/gen/SKILL.md +279 -279
- package/.claude/skills/growth/SKILL.md +90 -90
- package/.claude/skills/growth/template/ACCOUNTS.md +14 -14
- package/.claude/skills/growth/template/CALENDAR.md +7 -7
- package/.claude/skills/growth/template/COMMENTS.md +7 -7
- package/.claude/skills/growth/template/GROWTH.md +37 -37
- package/.claude/skills/growth/template/PROGRESS.md +4 -4
- package/.claude/skills/growth/template/README.md +20 -20
- package/.claude/skills/growth/template/TOPICS.md +7 -7
- package/.claude/skills/homepage/SKILL.md +177 -177
- package/.claude/skills/i18n/SKILL.md +517 -517
- package/.claude/skills/ingesting-sources/SKILL.md +94 -94
- package/.claude/skills/initializing-kb/SKILL.md +117 -117
- package/.claude/skills/instagram/SKILL.md +321 -321
- package/.claude/skills/inventory/SKILL.md +328 -328
- package/.claude/skills/kol-outreach/SKILL.md +232 -232
- package/.claude/skills/kol-outreach/template/campaign/CONFIG.md +60 -60
- package/.claude/skills/kol-outreach/template/campaign/KOLS.md +6 -6
- package/.claude/skills/kol-outreach/template/campaign/PROGRESS.md +3 -3
- package/.claude/skills/kol-outreach/template/campaign/TEMPLATES.md +88 -88
- package/.claude/skills/kol-outreach/template/merchant/BRAND.md +36 -36
- package/.claude/skills/kol-outreach/template/merchant/CAMPAIGNS.md +6 -6
- package/.claude/skills/kol-outreach/template/merchant/MERCHANT_LIMITS.md +16 -16
- package/.claude/skills/kol-outreach/template/merchant/PROGRESS.md +4 -4
- package/.claude/skills/kol-outreach/template/merchant/README.md +20 -20
- package/.claude/skills/linting-the-wiki/SKILL.md +68 -68
- package/.claude/skills/logistics/SKILL.md +180 -180
- package/.claude/skills/markdown-pdf/SKILL.md +72 -72
- package/.claude/skills/merchant/SKILL.md +110 -110
- package/.claude/skills/multigrid-poster/SKILL.md +192 -192
- package/.claude/skills/multigrid-poster/layouts/2x2.json +34 -34
- package/.claude/skills/multigrid-poster/layouts/3x3.json +43 -43
- package/.claude/skills/multigrid-poster/scripts/compose.py +116 -116
- package/.claude/skills/order/SKILL.md +452 -452
- package/.claude/skills/product/SKILL.md +379 -379
- package/.claude/skills/product-page/SKILL.md +106 -106
- package/.claude/skills/querying-the-wiki/SKILL.md +59 -59
- package/.claude/skills/reddit/SKILL.md +277 -277
- package/.claude/skills/review/SKILL.md +321 -321
- package/.claude/skills/scout/SKILL.md +575 -575
- package/.claude/skills/sentinel/SKILL.md +281 -281
- package/.claude/skills/shein/SKILL.md +246 -246
- package/.claude/skills/shipping/SKILL.md +200 -200
- package/.claude/skills/shop-content/SKILL.md +101 -101
- package/.claude/skills/shopify/SKILL.md +282 -282
- package/.claude/skills/skillify/SKILL.md +114 -114
- package/.claude/skills/taobao/SKILL.md +238 -238
- package/.claude/skills/tiktok/SKILL.md +381 -381
- package/.claude/skills/twitter/SKILL.md +302 -302
- package/.claude/skills/updating-related-pages/SKILL.md +65 -65
- package/.claude/skills/video-edit/SKILL.md +123 -138
- package/.claude/skills/video-gen/SKILL.md +720 -720
- package/.claude/skills/video-gen/templates/INDEX.md +78 -78
- package/.claude/skills/video-gen/templates/before-after-beauty.md +183 -183
- package/.claude/skills/video-gen/templates/drama-fmcg.md +183 -183
- package/.claude/skills/video-gen/templates/kol-reaction-food.md +193 -193
- package/.claude/skills/video-gen/templates/multi-point-apparel.md +185 -185
- package/.claude/skills/video-gen/templates/pain-solution-home.md +184 -184
- package/.claude/skills/video-gen/templates/pdp-360-showcase.md +189 -189
- package/.claude/skills/video-gen/templates/pdp-feature-highlight.md +182 -182
- package/.claude/skills/video-gen/templates/scene-digital.md +183 -183
- package/.claude/skills/wechat/SKILL.md +174 -174
- package/.claude/skills/xhs/SKILL.md +170 -170
- package/README.md +276 -276
- package/dist/bin/optima.js +26 -26
- package/dist/bin/serve.js +23 -23
- package/dist/src/agent.d.ts +1 -1
- package/dist/src/agent.js +4 -4
- package/dist/src/system-prompt.js +175 -175
- package/dist/src/tools/memory.js +10 -10
- package/dist/src/ui/headless.js +7 -7
- package/package.json +79 -79
- package/dist/bin/video-edit.d.ts +0 -3
- package/dist/bin/video-edit.d.ts.map +0 -1
- package/dist/bin/video-edit.js +0 -153
- package/dist/bin/video-edit.js.map +0 -1
|
@@ -1,302 +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
|
+
---
|
|
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 找供应商
|