← Back to Skills Marketplace
denicmic-chung

Amazon Product Scraper

by denicmic-chung · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
828
Downloads
2
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install amazon-product-scraper
Description
抓取亚马逊产品详情页信息,包括标题、价格、销量、排名、规格和五点描述,生成结构化竞品分析报告。
README (SKILL.md)

Amazon Product Scraper

亚马逊竞品分析工具 - 使用 OpenClaw 内置浏览器抓取亚马逊产品Listing信息

概述

这个 Skill 用于抓取亚马逊产品页面的完整信息,包括标题、价格、排名、五点描述、规格参数等,生成结构化的竞品分析报告。

触发方式

当用户要求:

  • "抓取亚马逊竞品"
  • "分析亚马逊产品"
  • "查找ASIN信息"
  • "竞品报告"
  • 提供 ASIN (如 B0D3ZBFMW6)
  • 提供亚马逊链接 (如 https://www.amazon.com/dp/B0XXXXX)

执行流程

1. 打开产品页面

使用 browser 工具打开亚马逊产品页面:

targetUrl: https://www.amazon.com/dp/{ASIN}

2. 等待页面加载

等待 3-5 秒让页面完全加载

3. 获取页面快照

使用 browser snapshot 获取完整页面结构

4. 提取关键信息

从快照中提取以下信息:

信息类型 提取位置
ASIN 产品详情页
标题 heading 标题
价格 价格区域
评分 review 区域
评论数 review count
BSR 大类 Best Sellers Rank
BSR 小类 Best Sellers Rank
五点描述 About this item
规格参数 Technical Specifications
套餐变体 Variant 区域
品牌 Brand 字段
上架日期 Date First Available
卖家 Seller 信息

5. 生成报告

按照以下模板生成竞品分析报告:

# 亚马逊竞品分析报告

**ASIN**: {ASIN}  
**抓取时间**: {时间}  
**产品类别**: {类别}

---

## 一、产品基本信息

| 字段 | 内容 |
|------|------|
| **ASIN** | {ASIN} |
| **标题** | {标题} |
| **品牌** | {品牌} |
| **Manufacturer** | {Manufacturer} |
| **上架日期** | {上架日期} |
| **店铺** | {店铺} |
| **卖家** | {卖家} |

---

## 二、价格信息

| 项目 | 数值 |
|------|------|
| **当前售价** | {价格} |
| **原价** | {原价} |
| **折扣** | {折扣} |
| **Prime 配送** | {配送} |

### 套餐变体

| 套餐 | 价格 | 库存 |
|------|------|------|
| {套餐1} | {价格1} | {库存1} |
| ... | ... | ... |

---

## 三、排名信息

| 排名维度 | 数据 |
|----------|------|
| **BSR 大类** | {大类排名} |
| **BSR 小类** | {小类排名} |
| **月销量** | {月销量} |
| **Amazon's Choice** | {是否} |
| **评分** | {评分} ({评论数} reviews) |
| **返回率** | {返回率} |

---

## 四、规格参数

| 参数 | 值 |
|------|-----|
| {参数1} | {值1} |
| ... | ... |

---

## 五、五点描述 (完整版)

从快照的 "About this item" 部分提取所有五点描述,**完整输出每一行的完整内容**,不要省略。

格式:
```markdown
1. **{标题1}**  
   {完整描述1}

2. **{标题2}**  
   {完整描述2}

3. **{标题3}**  
   {完整描述3}

... (按实际数量完整列出)

重要:每一行的完整文本都要保留,包括emoji、完整句子等,不要截断或省略。


六、竞品分析总结

优势

  • {优势1}
  • {优势2}

弱点

  • {弱点1}
  • {弱点2}

机会

  • {机会1}
  • {机会2}

七、定价参考

竞品套餐 价格 你的定价建议
{套餐} {价格} {建议}

文件保存位置: memory/竞品分析报告-{ASIN}.md


### 6. 保存文件

将报告保存到 `memory/竞品分析报告-{ASIN}.md`

### 7. 输出给用户

将完整报告输出给用户审阅

## 重要提示

- 使用 OpenClaw 内置的 browser 工具,不需要额外 API
- 亚马逊可能有反爬机制,如果第一次失败可以多试几次
- 某些信息(如 BSR 大类排名)可能在页面下方,需要滚动查看
- **五点描述可能不止 5 条,有些产品有 6-8 条,必须完整提取每一行,不要省略**
- **所有文本都要完整保留,包括 emoji、完整句子,不要截断**

## 示例

用户输入:`B0D3ZBFMW6`

执行结果:生成完整的竞品分析报告并保存到文件
Usage Guidance
This skill is internally consistent, but consider these practical points before installing: (1) Scraping Amazon may violate Amazon's terms of service and could trigger rate-limiting or blocking — use responsibly and respect robots/ToS. (2) The skill will store full scraped content (including reviews and product text) under memory/竞品分析报告-{ASIN}.md — treat those files as potentially copyrighted and possibly sensitive. (3) The skill targets amazon.com URLs; if you need other marketplaces or locales, confirm/support for those. (4) Do not provide any credentials (none are required). (5) Monitor for repeated automated requests if you allow autonomous invocation, to avoid unintended scraping volume or account/IP blocking.
Capability Analysis
Type: OpenClaw Skill Name: amazon-product-scraper Version: 1.0.0 The skill is an Amazon product scraper designed to extract product information and generate a competitive analysis report. It uses OpenClaw's built-in browser tool to navigate Amazon pages, take snapshots, and extract specified data points. The instructions in `SKILL.md` are clear, directly related to the stated purpose, and do not contain any evidence of malicious intent such as data exfiltration, unauthorized command execution, persistence mechanisms, or prompt injection attempts against the agent. The emphasis on extracting and reporting text verbatim is for data integrity in the report, not for subverting the agent's behavior.
Capability Assessment
Purpose & Capability
The name/description (Amazon product scraping and report generation) matches the runtime instructions: open an Amazon product URL, snapshot the page, extract listing fields, generate and save a report. No unrelated binaries, services, or credentials are requested.
Instruction Scope
SKILL.md stays on task: it instructs the agent to use the platform browser tool, wait/scroll for content, extract specific fields (title, price, BSR, specs, 'About this item', etc.), and save a Markdown report. It does not instruct reading other system files, accessing unrelated env vars, or posting data to external endpoints beyond the specified Amazon URL. Minor note: it targets amazon.com links even though surrounding text is Chinese — locale support is not addressed but not a security issue.
Install Mechanism
No install spec or code files are present (instruction-only), so nothing is written to disk or fetched at install time. This is the lowest-risk install profile.
Credentials
No environment variables, credentials, or config paths are required. The requested access is proportional to the stated scraping task.
Persistence & Privilege
always is false and the skill is user-invocable. It instructs saving reports to memory/竞品分析报告-{ASIN}.md — expected for a reporting skill. This is a normal, limited persistence behavior; it does not request system-wide or other-skills configuration changes.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install amazon-product-scraper
  3. After installation, invoke the skill by name or use /amazon-product-scraper
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Amazon Product Scraper 1.0.0 - Initial release of the Amazon Product Scraper skill. - Scrapes comprehensive product information from Amazon listings using an internal browser. - Extracts details such as title, price, reviews, BSR, descriptions, specs, and variants. - Generates and saves a structured competitor analysis report in markdown format. - Supports multiple trigger phrases and direct ASIN or URL input. - Ensures all product text (including emojis and all description lines) is fully captured without omissions.
Metadata
Slug amazon-product-scraper
Version 1.0.0
License
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is Amazon Product Scraper?

抓取亚马逊产品详情页信息,包括标题、价格、销量、排名、规格和五点描述,生成结构化竞品分析报告。 It is an AI Agent Skill for Claude Code / OpenClaw, with 828 downloads so far.

How do I install Amazon Product Scraper?

Run "/install amazon-product-scraper" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Amazon Product Scraper free?

Yes, Amazon Product Scraper is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Amazon Product Scraper support?

Amazon Product Scraper is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Amazon Product Scraper?

It is built and maintained by denicmic-chung (@denicmic-chung); the current version is v1.0.0.

💬 Comments