← 返回 Skills 市场
phheng

Amazon Reviews Api Skill

作者 Henk Nie · GitHub ↗ · v0.1.2 · MIT-0
cross-platform ✓ 安全检测通过
2559
总下载
4
收藏
9
当前安装
3
版本数
在 OpenClaw 中安装
/install amazon-reviews-api-skill
功能描述
This skill helps users automatically extract Amazon product reviews via the Amazon Reviews API. Agent should proactively apply this skill when users express...
使用说明 (SKILL.md)

Amazon Reviews Automation Extraction Skill

📖 Introduction

This skill provides a one-stop Amazon review collection service through BrowserAct's Amazon Reviews API template. It can directly extract structured review results from Amazon product pages. By simply providing an ASIN, you can get clean, usable review data without building crawler scripts or requiring an Amazon account login.

✨ Features

  1. No Hallucinations: Pre-set workflows avoid AI generative hallucinations, ensuring stable and precise data extraction.
  2. No Captcha Issues: No need to handle reCAPTCHA or other verification challenges.
  3. No IP Restrictions: No need to handle regional IP restrictions or geofencing.
  4. Faster Execution: Tasks execute faster compared to pure AI-driven browser automation solutions.
  5. Cost-Effective: Significantly lowers data acquisition costs compared to high-token-consuming AI solutions.

🔑 API Key Setup

Before running, check the BROWSERACT_API_KEY environment variable. If not set, do not take other measures; ask and wait for the user to provide it. Agent must inform the user:

"Since you haven't configured the BrowserAct API Key, please visit the BrowserAct Console to get your Key."

🛠️ Input Parameters

When calling the script, the Agent should flexibly configure parameters based on user needs:

  1. ASIN (Amazon Standard Identification Number)
    • Type: string
    • Description: The unique identifier for the product on Amazon.
    • Example: B07TS6R1SF, B08N5WRWJ6

🚀 Usage

The Agent should execute the following independent script to achieve "one-line command result":

# Example call
python -u ./scripts/amazon_reviews_api.py "ASIN_HERE"

⏳ Execution Monitoring

Since this task involves automated browser operations, it may take some time (several minutes). The script will continuously output status logs with timestamps (e.g., [14:30:05] Task Status: running). Agent Instructions:

  • While waiting for the script result, keep monitoring the terminal output.
  • As long as the terminal is outputting new status logs, the task is running normally; do not mistake it for a deadlock or unresponsiveness.
  • Only if the status remains unchanged for a long time or the script stops outputting without returning a result should you consider triggering the retry mechanism.

📊 Data Output

After successful execution, the script will parse and print results directly from the API response. Each review item includes:

  • Commentator: Reviewer's name
  • Commenter profile link: Link to the reviewer's profile
  • Rating: Star rating
  • reviewTitle: Headline of the review
  • review Description: Full text of the review
  • Published at: Date the review was published
  • Country: Reviewer's country
  • Variant: Product variant info (if available)
  • Is Verified: Whether it's a verified purchase

⚠️ Error Handling & Retry

If an error occurs during script execution (e.g., network fluctuations or task failure), the Agent should follow this logic:

  1. Check Output Content:

    • If the output contains "Invalid authorization", it means the API Key is invalid or expired. Do not retry; guide the user to re-check and provide the correct API Key.
    • If the output does not contain "Invalid authorization" but the task failed (e.g., output starts with Error: or returns empty results), the Agent should automatically try to re-execute the script once.
  2. Retry Limit:

    • Automatic retry is limited to one time. If the second attempt fails, stop retrying and report the specific error information to the user.

🌟 Typical Use Cases

  1. Competitor Analysis: Extract reviews for competitors' products to understand their strengths and weaknesses.
  2. Product Feedback: Summarize feedback for your own products to identify areas for improvement.
  3. Market Research: Collect data on customer preferences and common complaints in a specific category.
  4. Sentiment Monitoring: Monitor recent reviews to detect shifts in customer sentiment.
  5. QA Insights: Use customer reviews to identify potential quality issues or bugs.
  6. Sentiment Analysis Prep: Gather review text and ratings for detailed emotion modeling.
  7. Verified Purchase Analysis: Compare feedback from verified vs. unverified buyers.
  8. Geographic Insights: Analyze product performance across different reviewer countries.
  9. Variant Comparison: Understand which product variants (size/color) receive the best feedback.
  10. Historical Trend Tracking: Retrieve and analyze review publication dates to track product lifecycle sentiment.
安全使用建议
This skill calls BrowserAct's API (api.browseract.com) and requires your BrowserAct API key. Only provide the BROWSERACT_API_KEY if you trust BrowserAct and are comfortable that review data (ASIN and request metadata) will be sent to that service. Verify BrowserAct's terms/privacy and watch for costs or rate limits. Do not share other account credentials. If you want tighter control, run the included script locally yourself (set the env var locally) so you can inspect network traffic or logs before giving the key to an automated agent.
功能分析
Type: OpenClaw Skill Name: amazon-reviews-api-skill Version: 0.1.2 The skill is a legitimate integration for extracting Amazon product reviews via the BrowserAct API. The Python script (amazon_reviews_api.py) uses a user-provided API key to trigger a specific workflow template on api.browseract.com and polls for results. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found.
能力评估
Purpose & Capability
Name/description claim extraction via BrowserAct; the included Python script calls api.browseract.com and requires BROWSERACT_API_KEY—this is proportionate and expected for the stated purpose.
Instruction Scope
SKILL.md instructs the agent to run the included script with an ASIN, to check for the BROWSERACT_API_KEY, and to monitor stdout logs. It does not direct the agent to read unrelated files or exfiltrate arbitrary system data.
Install Mechanism
No install spec (instruction-only behavior) and a single small Python script are included. No external/untrusted downloads, installers, or archive extraction steps are present.
Credentials
Only BROWSERACT_API_KEY is required. That credential is directly used to authenticate requests to BrowserAct and is consistent with the skill's functionality; no other secrets or unrelated env vars are requested.
Persistence & Privilege
The skill is not force-installed (always: false) and does not request persistent system-wide changes or access to other skills' configuration. Autonomous invocation is allowed (default) but not elevated beyond normal.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install amazon-reviews-api-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /amazon-reviews-api-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.2
amazon-reviews-api-skill v0.1.2 - Initial implementation of the skill, enabling automated extraction of Amazon product reviews using BrowserAct's Amazon Reviews API. - Added the scripts/amazon_reviews_api.py script for fetching and parsing review data by ASIN. - Provides robust error handling and one-time retry on failures (excluding invalid authorization). - Monitors execution progress with continuous status logs. - Supports fetching rich review attributes including reviewer, rating, verified status, and more.
v0.1.1
- Removed the main script file (scripts/amazon_reviews_api.py), effectively disabling direct review extraction functionality. - Updated documentation (SKILL.md) to refine feature descriptions, clarify agent behavior, and expand the list of use cases. - Added metadata in SKILL.md to specify environment and runtime requirements. - Adjusted instructions and language for improved clarity regarding API key setup, error handling, and retry logic. - Expanded typical use cases and provided more detailed data output descriptions.
v0.1.0
Initial release of amazon-reviews-api-skill - Enables automatic extraction of Amazon product reviews via BrowserAct's Amazon Reviews API using a simple ASIN input. - No need for Amazon login or manual scraping; bypasses anti-bot measures and regional restrictions. - Delivers structured review data including reviewer info, ratings, comments, and verification status. - Requires users to provide a BrowserAct API key before operation; guides users if the key is missing or invalid. - Includes automated error handling and retry logic for robust performance. - Suitable for competitor analysis, sentiment monitoring, market research, product feedback, and QA insights.
元数据
Slug amazon-reviews-api-skill
版本 0.1.2
许可证 MIT-0
累计安装 9
当前安装数 9
历史版本数 3
常见问题

Amazon Reviews Api Skill 是什么?

This skill helps users automatically extract Amazon product reviews via the Amazon Reviews API. Agent should proactively apply this skill when users express... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2559 次。

如何安装 Amazon Reviews Api Skill?

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

Amazon Reviews Api Skill 是免费的吗?

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

Amazon Reviews Api Skill 支持哪些平台?

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

谁开发了 Amazon Reviews Api Skill?

由 Henk Nie(@phheng)开发并维护,当前版本 v0.1.2。

💬 留言讨论