← 返回 Skills 市场
apiclaw

Amazon Market Trend Scanner

作者 apiclaw · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
148
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install amazon-market-trend-scanner
功能描述
Scan Amazon category landscapes to discover trending subcategories, emerging niches, and market shifts. Complements Daily Market Radar (defensive monitoring)...
使用说明 (SKILL.md)

APIClaw — Market Trend Scanner

Find rising categories before everyone else. Respond in user's language.

Files

File Purpose
{skill_base_dir}/scripts/apiclaw.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}/scan-data/ Runtime: watchlist.json, baseline.json, alerts.json, history/ (auto-created)

Credential

Required: APICLAW_API_KEY. Get free key at apiclaw.io/api-keys.

Input

Tell the user: "Give me one or more categories to monitor (e.g. 'Pet Supplies > Dogs'). I'll scan all subcategories and find trending directions. Single or batch supported."

Required: 1+ category paths or keywords. Optional: scan depth, metric preferences.

API Pitfalls (CRITICAL)

  1. Category first: resolve categoryPath via categories --keyword before anything
  2. All keyword endpoints MUST include --category; omitting it distorts aggregation
  3. Use API fields directly: revenue=sampleAvgMonthlyRevenue, sales=monthlySalesFloor
  4. Key metrics per subcategory: sampleAvgMonthlySales, sampleNewSkuRate, topBrandSalesRate, sampleAvgPrice, sampleAPlusRate, totalSkuCount, sampleFbaRate

Mode 1: Full Scan

  1. categories --keyword "{keyword}" → resolve category path
  2. market --category "{path}" --page-size 20 → collect all subcategory market data (paginate)
  3. Record 7 key metrics per subcategory (see Pitfalls #4)
  4. products --keyword "{sub}" --category "{path}" --mode emerging --page-size 20 per hot subcategory
  5. products --keyword "{sub}" --category "{path}" --mode new-release --page-size 20 per hot subcategory
  6. Save baseline → {skill_base_dir}/scan-data/baseline.json, config → {skill_base_dir}/scan-data/watchlist.json
  7. Output full trend report (see Output Spec)
  8. Offer Auto-Monitor setup

Mode 2: Quick Check (scheduled)

  1. Read {skill_base_dir}/scan-data/watchlist.json + {skill_base_dir}/scan-data/baseline.json
  2. market --category "{path}" per watched category
  3. Compare vs baseline using signal rules below
  4. 🔴 alerts → notify user; else silent log
  5. Save snapshot to {skill_base_dir}/scan-data/history/{timestamp}.json, update baseline

Trend Signals

Signal Condition Level
Demand surge sampleAvgMonthlySales >20% vs baseline 🔴
Red ocean warning topBrandSalesRate >70% AND rising 🔴
New entrant wave sampleNewSkuRate up >5 percentage points 🟡
Brand loosening topBrandSalesRate down >3 percentage points 🟡
Price band shift sampleAvgPrice change >10% 🟡
Margin change sampleAPlusRate change >5 percentage points 🟡
Minor movement None of the above triggered 🟢 Silent log

Trend Interpretation & Action Guide

Signal Combination Market Phase Recommended Action
Demand surge + New entrant wave 🚀 Growth phase Enter quickly, first-mover advantage matters 💡
Demand surge + Brand loosening 🎯 Opportunity window Best timing — demand up, incumbents losing grip 💡
Demand surge + Red ocean warning ⚠️ Late stage growth High demand but leaders consolidating — need strong differentiation 💡
Red ocean warning + No demand surge 🔒 Mature/locked Avoid — established players dominate with flat demand 💡
Brand loosening + Price band shift down 💰 Price war Wait — margins compressing, enter after shakeout 💡
New entrant wave + Margin change 🔄 Disruption Category being redefined — study new entrants' strategies 🔍

Subcategory Ranking Criteria

Rank subcategories by composite attractiveness (apply market-entry scoring logic):

  • Demand: sampleAvgMonthlySales — higher = more attractive 📊
  • Competition: topBrandSalesRate — lower = more open 📊
  • Entry barrier: sampleAvgRatingCount — lower = easier entry 📊
  • Activity: sampleNewSkuRate — higher = more dynamic 📊
  • Margin signal: sampleAvgPrice — higher generally = better margins 🔍

Auto-Monitor

After each Full Scan, ask user to enable scheduled monitoring. If yes, generate cron config with: category list, alert thresholds, schedule. Supports OpenClaw /cron, ChatGPT Scheduled Tasks, Claude Projects. Quick Check only notifies on 🔴 alerts.

Output Spec

Full Scan: Trend Dashboard (all subcategories) → 🔥 Hot Categories TOP 5 → 🆕 New Entrants Scan → ⚠️ Risk Alerts → Subcategory Detail (per hot category) → Next Steps → 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 APIClaw 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 💡. Sample bias note required. User criteria override AI judgment.

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: ~40-60 credits (~2-3 per subcategory × 20). Quick Check: ~20-30 credits (market only).

安全使用建议
This skill appears internally consistent: it uses only an APICLAW API key, communicates with api.apiclaw.io, and stores scan data under its own directory. Before installing, verify you trust the API provider (https://apiclaw.io) and the GitHub source, because the service will receive your queries and the key. Prefer setting APICLAW_API_KEY as an environment variable rather than placing the key in a local config.json file (the script will read config.json if present). Be aware scheduled monitoring can run automatically (agent-invocable/autonomous invocation is allowed by default) and will consume API credits—confirm pricing/quotas on the provider and whether storing API responses locally is acceptable for your data/privacy needs. If you want extra assurance, review the full scripts/apiclaw.py file in the repo to confirm there are no additional network endpoints or actions you disagree with.
功能分析
Type: OpenClaw Skill Name: amazon-market-trend-scanner Version: 1.0.1 The Amazon Market Trend Scanner is a legitimate market research tool designed to interface with the APIClaw service. The core logic resides in `scripts/apiclaw.py`, which serves as a robust CLI client for various Amazon data endpoints (categories, markets, products, reviews) using standard Python libraries like `urllib`. The `SKILL.md` file provides clear instructions for the AI agent to perform market scans, maintain local baselines in a `scan-data/` directory, and generate reports. While the skill mentions generating cron configurations for 'Auto-Monitor' functionality, this is presented as a user-consented feature for scheduled monitoring rather than a stealthy persistence mechanism. No evidence of data exfiltration, credential theft, or malicious code execution was found.
能力评估
Purpose & Capability
Name/description match the implementation: SKILL.md, README, references, and the included apiclaw.py consistently implement category- and product-level scans via APIClaw endpoints. The single required environment variable (APICLAW_API_KEY) matches the declared primary credential and the described API usage.
Instruction Scope
Runtime instructions limit actions to resolving categories, calling APIClaw endpoints, and reading/writing files under the skill directory (scan-data/ baseline/watchlist/history). It requests user input for categories and offers optional cron setup. No instructions ask for unrelated system files, other credentials, or unknown network endpoints.
Install Mechanism
No install spec is present (instruction-only plus a bundled CLI script). The included Python script is executed to call the documented API; there are no download-from-arbitrary-URLs or archive/extract steps. Network calls are targeted at api.apiclaw.io and the apiclaw docs URL.
Credentials
Only APICLAW_API_KEY is required. The script also supports a local config.json fallback (skill root) to supply the same key — this is documented and explains why a local config file may be created. No other secret env vars or unrelated credentials are requested.
Persistence & Privilege
always:false (no forced inclusion). The skill writes/reads files under its own skill directory (scan-data/ and optional config.json). It may generate cron configs for scheduled monitoring but does not request system-wide privileges or modify other skills' configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install amazon-market-trend-scanner
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /amazon-market-trend-scanner 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Updated version from 1.0.0 to 1.0.1. - Minor documentation adjustments in SKILL.md; no functional API or workflow changes. - Maintains all trend signals, action guides, and output requirements as before.
v1.0.0
Initial release
元数据
Slug amazon-market-trend-scanner
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Amazon Market Trend Scanner 是什么?

Scan Amazon category landscapes to discover trending subcategories, emerging niches, and market shifts. Complements Daily Market Radar (defensive monitoring)... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 148 次。

如何安装 Amazon Market Trend Scanner?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install amazon-market-trend-scanner」即可一键安装,无需额外配置。

Amazon Market Trend Scanner 是免费的吗?

是的,Amazon Market Trend Scanner 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Amazon Market Trend Scanner 支持哪些平台?

Amazon Market Trend Scanner 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Amazon Market Trend Scanner?

由 apiclaw(@apiclaw)开发并维护,当前版本 v1.0.1。

💬 留言讨论