@optima-chat/optima-agent 0.9.16 → 0.9.17

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.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: scout
3
- description: "Interactive Amazon product research consultant with 1688 supplier sourcing and Keepa historical data. Search products, analyze markets, find suppliers (by keyword or image), track price/BSR history, and generate professional reports. ALWAYS use when user asks about: selling products (卖/开店), product ideas (产品/商品), market research (市场/竞品), suppliers (供应商/厂家), sourcing (采购/进货/货源), image search (图片找货/以图搜货/找同款), evaluating business opportunities (生意/创业), product trends (趋势/走势), price history (价格历史/价格变化), BSR ranking (排名/销量排名), product lifecycle (生命周期/增长期/衰退期). Uses 'scout search', 'scout product', 'scout keepa *', 'scout supplier-search', and 'scout supplier-search-image' commands."
3
+ description: "Interactive Amazon product research consultant with 1688 supplier sourcing and Keepa historical data. Search products, analyze markets, deep-dive reviews for pain points, find suppliers (by keyword or image), track price/BSR history, and generate professional reports. ALWAYS use when user asks about: selling products (卖/开店), product ideas (产品/商品), market research (市场/竞品), reviews/pain points (评论/差评/痛点/用户反馈), suppliers (供应商/厂家), sourcing (采购/进货/货源), image search (图片找货/以图搜货/找同款), evaluating business opportunities (生意/创业), product trends (趋势/走势), price history (价格历史/价格变化), BSR ranking (排名/销量排名), product lifecycle (生命周期/增长期/衰退期). Uses 'scout search', 'scout product', 'scout reviews', 'scout keepa *', 'scout supplier-search', and 'scout supplier-search-image' commands."
4
4
  ---
5
5
 
6
6
  # Optima Scout - AI Product Research
@@ -139,7 +139,43 @@ scout product ASIN
139
139
  - **Images count** - 7 is standard, fewer = poor optimization
140
140
  - **Specifications** - May include BSR in multiple categories
141
141
 
142
- ### 3. Search 1688 Suppliers (Keyword): `scout supplier-search`
142
+ ### 3. Get Product Reviews: `scout reviews`
143
+
144
+ Fetch Amazon product reviews with pagination. Use for deep pain-point analysis beyond the 8-13 top_reviews returned by `scout product`.
145
+
146
+ **Syntax:**
147
+ ```bash
148
+ scout reviews ASIN # 默认 3 页 (~30 条)
149
+ scout reviews ASIN --pages 10 # 最多 10 页 (~100 条)
150
+ scout reviews ASIN --star one_star # 只看 1 星差评
151
+ scout reviews ASIN --all-stars --pages 5 # 每个星级各 5 页 (~250 条)
152
+ scout reviews ASIN --verified # 只看 verified purchase
153
+ scout reviews ASIN --sort helpful # 按 helpful 排序
154
+ ```
155
+
156
+ **Parameters:**
157
+ - `ASIN`: 10-character Amazon product ID
158
+ - `--pages`: Number of pages per request (1-10, default: 3, ~10 reviews/page)
159
+ - `--sort`: `recent` (default) or `helpful`
160
+ - `--star`: Filter by star rating (`one_star` ~ `five_star`)
161
+ - `--all-stars`: Fetch all 5 star ratings in one batch (max ~500 reviews)
162
+ - `--verified`: Only verified purchase reviews
163
+ - `--domain`: Amazon domain code (default: com)
164
+ - `--format`: `json` (default) or `text`
165
+
166
+ **Returns:**
167
+ - Review list: id, title, body, rating, date, verified, helpful_votes, images
168
+ - Product summary: title, rating, total_ratings, rating_breakdown (percentages)
169
+
170
+ **When to use:**
171
+ - `scout product` gives 8-13 top_reviews — enough for quick scan
172
+ - `scout reviews` gives 30-500 reviews — use for **deep pain-point analysis**, sentiment clustering, and improvement opportunity identification
173
+ - **痛点分析**:`scout reviews ASIN --star one_star --pages 5` 拉差评做聚类
174
+ - **竞品评论对比**:分别拉两个竞品的差评,找差异化机会
175
+
176
+ **Cost awareness:** Each page costs ~$0.0075 Apify credits. `--all-stars --pages 10` (~500 reviews) costs ~$0.38.
177
+
178
+ ### 4. Search 1688 Suppliers (Keyword): `scout supplier-search`
143
179
 
144
180
  Search for suppliers on 1688.com using keywords.
145
181
 
@@ -165,7 +201,7 @@ scout supplier-search "KEYWORD" --limit NUMBER
165
201
  - Years in business (8+ years = established)
166
202
  - Return rate (lower = better, typical: 30-50%)
167
203
 
168
- ### 4. Search 1688 Suppliers (Image): `scout supplier-search-image`
204
+ ### 5. Search 1688 Suppliers (Image): `scout supplier-search-image`
169
205
 
170
206
  Search for suppliers on 1688.com using product images - perfect for finding sources for products you see on Amazon, Shopify, or other platforms.
171
207
 
@@ -293,37 +329,40 @@ scout keepa tokens
293
329
 
294
330
  **Phase 2: Deep Dive & Refinement**
295
331
  4. **Targeted Analysis** → Based on user feedback, run `scout product` on relevant ASINs
296
- 5. **Historical Trend Analysis** → Run `scout keepa product ASIN1,ASIN2,ASIN3 --stats 180` to get historical data
297
- 6. **Extract Insights** → Combine realtime + historical data:
332
+ 5. **Deep Review Analysis** → Run `scout reviews ASIN --star one_star --pages 5` to extract pain points, then `scout reviews ASIN --sort helpful --pages 3` to see most impactful reviews
333
+ 6. **Historical Trend Analysis** → Run `scout keepa product ASIN1,ASIN2,ASIN3 --stats 180` to get historical data
334
+ 7. **Extract Insights** → Combine realtime + historical + review data:
298
335
  - BSR trend → 增长期/成熟期/衰退期?
299
336
  - `salesRankDrops30/90` → 估算月销量
300
337
  - 价格历史 → 利润空间稳定吗?有价格战吗?
301
338
  - 卖家数量变化 → 竞争在加剧吗?
302
- 7. **Iterate & Explore** User may request different keywords, specific competitor analysis, or alternative product categories
339
+ - 差评聚类用户核心痛点是什么?能改进吗?
340
+ - 好评亮点 → 用户最看重什么功能?
341
+ 8. **Iterate & Explore** → User may request different keywords, specific competitor analysis, or alternative product categories
303
342
 
304
343
  **Phase 2.5: Supplier Sourcing (Optional but Recommended)**
305
- 8. **Trigger**: User shows interest in costs/sourcing, or after market validation
344
+ 9. **Trigger**: User shows interest in costs/sourcing, or after market validation
306
345
  - "成本大概多少?" "批发价怎么样?" "利润空间大吗?"
307
346
  - "哪里进货?" "供应商怎么找?"
308
347
  - "这个图片能找到货源吗?" "Amazon这个能在1688找到吗?"
309
348
 
310
- 9. **Choose search method**:
349
+ 10. **Choose search method**:
311
350
  - **With image**: `scout supplier-search-image "https://..."` ← More accurate for visual products
312
351
  - **With keyword**: `scout supplier-search "产品关键词"`
313
352
  - **Best practice**: Try both and compare results
314
353
 
315
- 10. **Share Findings**:
354
+ 11. **Share Findings**:
316
355
  - Wholesale price range (e.g., ¥429-599)
317
356
  - MOQ (minimum order quantity)
318
357
  - Profit margin calculation: Amazon price ($60-80) - 1688 cost (¥429 ≈ $60) - shipping ($10-15)
319
358
  - Supplier quality indicators (years in business, certifications)
320
359
 
321
- 11. **Ask**: "要不要我详细分析几个供应商?" or proceed to report
360
+ 12. **Ask**: "要不要我详细分析几个供应商?" or proceed to report
322
361
 
323
362
  **Phase 3: Report Generation (Proactive Suggestion)**
324
- 12. **Gauge Completion** → After sufficient data, suggest: "要不要我整理成一份完整的市场分析报告?"
325
- 13. **Generate Report** → Create comprehensive markdown report with all findings
326
- 14. **Save & Iterate** → Offer to save report and refine based on feedback
363
+ 13. **Gauge Completion** → After sufficient data, suggest: "要不要我整理成一份完整的市场分析报告?"
364
+ 14. **Generate Report** → Create comprehensive markdown report with all findings
365
+ 15. **Save & Iterate** → Offer to save report and refine based on feedback
327
366
 
328
367
  ---
329
368
 
@@ -332,9 +371,10 @@ scout keepa tokens
332
371
  When user explicitly requests a report upfront:
333
372
  1. Run 3-4 diverse keyword searches
334
373
  2. Analyze top 3-5 products with `scout product`
335
- 3. Pull historical trends with `scout keepa product` (batch ASINs)
336
- 4. Search 1688 suppliers (image + keyword)
337
- 5. Generate comprehensive report directly
374
+ 3. Deep review analysis: `scout reviews ASIN --star one_star --pages 5` on top competitors
375
+ 4. Pull historical trends with `scout keepa product` (batch ASINs)
376
+ 5. Search 1688 suppliers (image + keyword)
377
+ 6. Generate comprehensive report directly
338
378
 
339
379
  ### Multi-Keyword Research Strategy
340
380
 
@@ -420,10 +460,10 @@ scout product B0788F3R8X
420
460
  - Product description completeness
421
461
  - A+ content presence
422
462
  - ✅ **User Feedback Deep-Dive**
423
- - Top 3 positive mentions (from top_reviews)
424
- - Top 3 complaints/pain points (from top_reviews)
425
- - Improvement opportunities
426
- - Common feature requests
463
+ - Quick scan: `scout product` top_reviews (8-13 条精选)
464
+ - Deep dive: `scout reviews ASIN --star one_star --pages 5` (差评痛点聚类)
465
+ - Top 3 positive mentions and top 3 complaints
466
+ - Improvement opportunities and common feature requests
427
467
  - ✅ **Competitive Advantages**
428
468
  - Unique selling points in feature_bullets
429
469
  - Price positioning vs. competitors
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optima-chat/optima-agent",
3
- "version": "0.9.16",
3
+ "version": "0.9.17",
4
4
  "description": "基于 Claude Agent SDK 的电商运营 AI 助手",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",