按昨日快照汇总 Amazon 价格、BSR、竞品和评论变化,并输出分级提醒。
文档
amazon-competitor-intelligence-monitor
试用按 ASIN、关键词或品牌分析并持续监控 Amazon 竞品,产出评分化拆解与分级告警。
它能做什么
两种模式均对接 ZooData 的 Amazon API。Full Scan(28–35 积分)调用约 11 个端点,产出 battle card、横向对比矩阵、价格/评论/库存拆解、品牌排行,以及每位竞品 1–100 的竞争力评分;Quick Check(5–10 积分)在已保存的 baseline 上轮询受监控 ASIN,产出价格变动、断货、Buy Box 切换、Listing 修改等分级告警。输入支持关键词、ASIN 或品牌(品牌查询必须确认类目);输出语言跟随用户输入,并按规范标注数据可信度。
什么时候用它
- 上线前对某个 ASIN 做一次性深度拆解
- 横向对比 2–3 个竞品 Listing 的价格、评论与库存
- 对固定竞品品牌做周级持续监控,跟踪价格与 BSR 异动
- 为销售或运营团队生成 battle card
技能文档
ZooData — Competitor Intelligence Monitor
Know your enemy. Two modes: Full Scan + Quick Check. Respond in user's language.
Files
| File | Purpose |
|---|---|
{skill_base_dir}/scripts/zoodata.py | Execute for all API calls (run --help for params) |
{skill_base_dir}/references/reference.md | Load for exact field names or response structure |
{skill_base_dir}/monitor-data/ | Runtime storage (auto-created): config.json, baseline.json, history/, alerts.json |
Credential
Required: ZOODATA_API_KEY. Get free key at zoodata.ai/api-keys.
Capabilities & Data Flow
- Network: only
https://api.zoodata.ai(BearerZOODATA_API_KEY). SettingZOODATA_BASE_URLto an untrusted host (anything other thanapi.zoodata.ai/*.zoodata.ai/ localhost) makes the CLI refuse the request and withhold the key — the Bearer token is never sent to an untrusted host. - Execution: bundled shared ZooData CLI
{skill_base_dir}/scripts/zoodata.py(Python 3, stdlib-only). This skill allowscategories,market,competitors,products,product,history,analyze,competitor-analysis,check, plus the review fallback toolkit (reviews-raw/review-tag-prompt/review-reduce-prompt/review-aggregate). Do not invoke unrelated subcommands for this skill's tasks — the bundled manifest{skill_base_dir}/scripts/allowed-commands.jsonenforces this: the CLI refuses out-of-scope subcommands with a structuredCOMMAND_NOT_ALLOWEDerror before any API request. - Local files: a private temporary working dir (created with
mktemp -d, removed when the fallback completes) during the review fallback; reads the optional credential store~/.zoodata/config.json. - Sent to the API: keywords, category paths, ASINs, marketplace/date and numeric filter values only. Never sent: budget, experience level, risk tolerance, or any other user-profile text — profile inputs map client-side to numeric filters.
- Credits: every API call consumes account credits. For broad or ambiguous requests, state the estimated credit cost and confirm with the user before running multi-call scans. The composite
competitor-analysiscommand executes ~17+ API calls (Full Scan, ~28-35 credits documented) in ONE invocation and has NO skip/trim flags — under a credit cap, use the granular commands instead.
Shared CLI Contract
Before selecting or invoking the first command, read and apply the local references/cli-contract.md. Reapply it after every granular or composite result and before any fallback, additional call, state write, interpretation, or user-facing report. Use this skill's fallback logic only when the shared contract classifies the result as non-terminal.
Local Interface Failure Output
For a terminal interface failure, respond in the user's language that the competitor scan could not be completed, then list succeeded and failed endpoint identifiers. Do not emit a battle card, threat score, alert, monitoring recommendation, or baseline update. Keep control tokens, parameters, and retry logs internal unless diagnostics are requested.
Input
Required: keyword or ASIN(s). Optional: my_asin, competitor_asins, brand.
If only ASIN given → derive keyword via product --asin then ask user to confirm.
Brand queries MUST also include confirmed --category.
API Pitfalls (CRITICAL)
- Category auto-detection: categoryPath is auto-detected from keyword, ASIN, or top search result. If
category_sourcein output isinferred_from_search, MUST confirm with user before trusting results - All keyword-based endpoints MUST include
--category; ASIN-specific endpoints do NOT need it - Brand + category: a brand sells across categories — only analyze within locked subcategory
- Use API fields directly: revenue=
sampleAvgMonthlyRevenue(NEVER price×sales), sales=monthlySalesFloor, concentration=sampleTop10BrandSalesRate - reviews/analysis: needs 50+ reviews. Fallback chain when sample is insufficient:
- Lightweight:
realtime/productratingBreakdown — only star distribution, no themes - Full 11-dim insights — bypass
/reviews/analysisentirely: a.zoodata.py reviews-raw --asin X→ fetch up to 100 raw reviews (10 credits, ~60s) b. For each review: render Map prompt viazoodata.py review-tag-prompt --review ''and have your own LLM produce JSON tags (sentiment + 11 dimensions) c. Collect candidate phrases per dimension; for each dimension render Reduce prompt viazoodata.py review-reduce-prompt --label-type X --candidates '[...]'and have your LLM produce semantic clusters d.zoodata.py review-aggregate --reviews R --tagged T --clusters C→ consumerInsights output compatible with/reviews/analysis - Fallback caveats (apply to the 4-step chain above — lessons from end-to-end validation):
- Working dir:
WORK=$(mktemp -d)(private, 0700 — not a predictable path); remove it withrm -rf "$WORK"afterreview-aggregatesucceeds or the fallback aborts - Step b CLI behavior:
review-tag-promptRENDERS the prompt only; YOUR LLM produces the JSON. Render once to learn the schema, then produce tags for all N reviews in one in-context pass (don't call the CLI N times). - Step c candidate extraction (Python one-liner):
candidates = {d: sorted({el.strip().lower() for t in tagged for el in (t.get(d) or [])}) for d in DIMS} - Small-sample rule (reviewCount<50): demote single-mention items 📊→🔍; NEVER attach table-level or section-header 📊 when any row inside is 🔍; suppress "🔴 Critical" verdicts on count=1
- Scope: fallback replaces ONLY the
/reviews/analysisaggregation. This skill's primary workflow outputs (competitor metrics, brand ranking, pricing, etc.) remain valid — do not re-run them.
- Working dir:
- Lightweight:
On Missing Key
When ZOODATA_API_KEY is not set (verify via python {skill_base_dir}/scripts/zoodata.py check — exits 2 if no key in env or ~/.zoodata/config.json), stop before any evidence call. Tell the user that a ZooData API key is required, link to https://zoodata.ai/en/api-keys, and explain that the key may be set in the environment or local config. Do not substitute public knowledge or a "for reference only" analysis.
On 401 Invalid Key
When _transport.status=401, stop further calls, tell the user that the configured key was rejected, direct them to https://zoodata.ai/en/api-keys, and do not fabricate missing data.
On 402 Credit Exhausted
When _transport.status=402, stop further calls. Report where the workflow stopped, any compatible partial findings already gathered, and returned credit metadata when present; direct the user to https://zoodata.ai/en/pricing and do not fabricate missing data.
Mode Selection
- Full Scan (~28-35 credits): First run, no baseline.json, explicit request, or weekly refresh
- Quick Check (~5-10 credits): Cron trigger, baseline exists, "check competitors"
Full Scan Flow
competitor-analysis --keyword X [--category Y] [--my-asin Z](composite, auto-detects category)- If
category_sourceisinferred_from_search, confirm with user before presenting results - Analyze & score → save baseline to
{skill_base_dir}/monitor-data/→ offer Auto-Monitor
Quick Check Flow
- Load config.json + baseline.json from
{skill_base_dir}/monitor-data/(missing → fall back to Full Scan) - Poll
product --asin {asin}for each tracked ASIN - Diff against baseline with tiered alerts → update baseline → offer Auto-Monitor
Alert Tiers
| 🔴 Critical | 🟡 Watch | 🟢 Opportunity |
|---|---|---|
| Price change > threshold | FBA↔FBM switch | Competitor stock-out |
| BSR crash > threshold | Rating change | Bullet/image changes |
| Buy Box owner changed | Abnormal review growth | Variant added/removed |
| Title modified |
Competitive Score (per competitor, 1-100)
| Dimension | Weight | 80-100 (Strong) | 50-79 (Moderate) | 0-49 (Weak) |
|---|---|---|---|---|
| Sales Dominance | 25% | Top 3 in category, >5K units/mo 📊 | Top 20, 1K-5K units/mo 📊 | Below Top 20, <1K units/mo 📊 |
| Brand Strength | 20% | Brand in CR10, 5+ SKUs, wide price range 📊 | Known brand, 2-4 SKUs 📊 | Unknown brand, single SKU 📊 |
| Listing Quality | 20% | 7+ images, 5 bullets, A+, optimized title 📊 | 5-6 images, basic bullets 📊 | <5 images, weak bullets, no A+ 📊 |
| Customer Satisfaction | 20% | Rating ≥4.5, <3% 1-star, positive sentiment 📊 | 4.0-4.4, 3-8% 1-star 📊 | <4.0 or >8% 1-star 📊 |
| Trend Momentum | 15% | BSR improving 30d, sales growth >10% 🔍 | BSR stable, flat sales 🔍 | BSR declining, sales drop 🔍 |
Competitive Threat Level
| Total Score | Threat | Interpretation |
|---|---|---|
| 80-100 | 🔴 Dominant | Hard to compete head-on; find differentiation or avoid price band 💡 |
| 50-79 | 🟡 Competitive | Beatable with better listing, pricing, or reviews 💡 |
| 0-49 | 🟢 Vulnerable | Weak competitor; opportunity to capture share 💡 |
Market Structure Analysis
- CR10 > 70%: Concentrated market — new entrants need strong differentiation or niche positioning 🔍
- CR10 40-70%: Moderately competitive — room for well-positioned products 🔍
- CR10 < 40%: Fragmented — opportunity for brand building 🔍
- Top brand share > 25%: Category leader dominance — avoid direct competition in their price band 💡
- New SKU rate > 15%: Active market with frequent new entrants 📊
- New SKU rate < 5%: Mature/stagnant market, high barriers 🔍
Auto-Monitor Prompt
After EVERY run, offer: "Set up automatic monitoring? I can generate a scheduled Quick Check." Provide platform-specific setup (OpenClaw /cron, ChatGPT Scheduled Tasks, Claude Projects).
Output Spec
Full Scan sections: Battlefield Overview → Competitor Matrix → Brand Power Ranking → Price Map → 30-Day Trends → Review Battle → Listing Audit → Competitive Scores → Battle Strategy → Data Provenance → API Usage.
Language (required)
Output language MUST match the user's input language. If the user asks in Chinese, the entire report is in Chinese. If in English, output in English. Exception: API field names (e.g. monthlySalesFloor, categoryPath), endpoint names, technical terms (e.g. ASIN, BSR, CR10, FBA, credits) remain in English.
Disclaimer (required, at the top of every report)
Data is based on ZooData API sampling as of [date]. Monthly sales (
monthlySalesFloor) are lower-bound estimates. This analysis is for reference only and should not be the sole basis for business decisions. Validate with additional sources before acting.
Confidence Labels (required, tag EVERY conclusion)
- 📊 Data-backed — direct API data (e.g. "CR10 = 54.8% 📊")
- 🔍 Inferred — logical reasoning from data (e.g. "brand concentration is moderate 🔍")
- 💡 Directional — suggestions, predictions, strategy (e.g. "consider entering $10-15 band 💡")
Rules: Strategy recommendations are NEVER 📊. Anomalies (>200% growth) are always 💡. User criteria override AI judgment.
Aggregate-label rule (applies to ALL report output, not just fallback): NEVER attach 📊 to ANY element that aggregates or groups underlying content when ANY piece of that content is 🔍 or 💡. "Aggregate/grouping elements" include:
- Section headers at EVERY level (
#,##,###,####) — including top-level summary sections like "Overall Score", "Verdict", "Executive Summary" - Summary/score lines anywhere in the report (e.g.
## Overall Score — 27/100 · Grade F 📊is WRONG if any Basis row inside is 🔍) - Table column headers in comparison tables (e.g.
**Target ASIN** 📊as a column label is WRONG if any cell in that column contains 🔍) - Table row headers or row-aggregation labels (when the row aggregates multiple cells of mixed confidence)
- Any other visual grouping label — bullet-list group titles, callout box titles, etc.
A group-level 📊 implies the whole block/column/row is data-backed, which smuggles inferred/directional content into the 📊 tier via visual grouping. Either (a) omit the group-level label entirely (preferred when content mixes tiers), or (b) use the LOWEST confidence present inside (🔍 if any underlying content is 🔍; 💡 if any is 💡). This is a universal output-quality rule — it applies regardless of which fallback path (if any) was triggered.
Emoji reservation rule (closely related): The three confidence symbols 📊 🔍 💡 are RESERVED for confidence labeling. NEVER use them as decorative prefixes on section headers, table headers, or any aggregate element — even when you also include a correct confidence suffix on the same line. Example:
- ❌ WRONG:
## 📊 Overall Score — 27/100 · Grade F 🔍(the leading 📊 reads as a data-backed claim even though the trailing 🔍 is correct) - ✅ RIGHT:
## Overall Score — 27/100 · Grade F 🔍(no decorative emoji, just the proper confidence suffix) - ✅ RIGHT:
## 🎯 Overall Score — 27/100 · Grade F 🔍(use non-reserved decorative icons like 🎯 🧭 📋 📝 📂 🏁 🚨 🏆 🔔 when a visual prefix is desired)
Decorative emoji ≠ confidence label — but from a reader's perspective, a leading 📊/🔍/💡 is indistinguishable from a confidence claim. Reserve these three symbols EXCLUSIVELY for confidence annotation to avoid ambiguity.
Data Provenance (required)
Include a table at the end of every report:
| Data | Endpoint | Key Params | Notes |
|---|---|---|---|
| (e.g. Market Overview) | markets/search | categoryPath, topN=10 | 📊 Top N sampling, sales are lower-bound |
| ... | ... | ... | ... |
Extract endpoint and params from _query in JSON output. Add notes: sampling method, T+1 delay, realtime vs DB, minimum review threshold, etc.
API Usage (required)
| Endpoint | Calls | Credits |
|---|---|---|
| (each endpoint used) | N | N |
| Total | N | N |
Extract from meta.creditsConsumed per response. End with Credits remaining: N.
API Budget
Full Scan: ~28-35 credits (all 11 endpoints via composite). Quick Check: ~5-10 credits (realtime/product × N ASINs).
常见问题
- 支持哪些输入?
- 必填关键词或 ASIN(可多个);可选 my_asin、competitor_asins、品牌,其中品牌查询必须额外确认一个类目,因为同一品牌通常横跨多个类目。若只提供 ASIN,会先调用 `product --asin` 反推关键词并请用户确认,再运行基于关键词的端点。
- Full Scan 与 Quick Check 的差别?
- Full Scan 执行复合命令 `competitor-analysis`,覆盖约 11 个端点,消耗 28–35 积分且无跳过参数,并写入新的 baseline.json;Quick Check 要求 monitor-data 下 baseline.json 已存,通过 `product --asin` 轮询每个受监控 ASIN,与 baseline 做差异并输出三级告警(🔴 Critical / 🟡 Watch / 🟢 Opportunity),消耗 5–10 积分。
- 竞争力评分包含哪些维度?
- 对每位竞品输出 1–100 分,按五个加权维度:销售统治力 25%、品牌力 20%、Listing 质量 20%、客户满意度 20%、趋势动量 15%。总分对应威胁等级:80–100 为压制级(难以正面对抗)、50–79 为可竞争级(可通过 Listing/价格/评论反超)、0–49 为薄弱级(存在抢份额机会)。
相关技能
通过一条 CLI 跑通亚马逊多端点调研,覆盖市场、产品、竞品与评论分析。
通过 ZooData API 从亚马逊评论中提取 11 维消费者洞察,评论不足时自动回退到原始评论流程。
通过 ClawEC API 查询亚马逊竞品(按品牌/卖家/ASIN/关键词),可选 AI 解读。在用户需要竞品监控、competitor monitor、竞品 lookup 时使用。
输入一个或多个 ASIN,自动定位叶子类目,输出 RAISE/HOLD/LOWER 调价信号与三档利润模拟。
Monitor competitor signals and surface strategic implications for your roadmap. Use when asked to monitor competitors, track the competitive landscape, produ...