‹ 首页

ecommerce-reviews

@browser-act · 收录于 1 周前 · 上游提交 2 天前

Extract customer reviews from any e-commerce product page or reviews page. Returns reviewer name, star rating, date, review title, review body, verified purchase status, and helpful votes per review. Works on Amazon, WooCommerce, Shopify, and any site with standard review markup. Supports pagination for multi-page review sections. Use when: product reviews, customer feedback, review scraping, get reviews, sentiment analysis data, review extraction, customer ratings, extract customer opinions, product feedback, user reviews, review mining, bulk review collection, review analysis, scrape ratings and comments, ecommerce review data.

适合你,如果需要批量获取电商产品评论数据

/ 下载安装
ecommerce-reviews.skill双击,或拖进 Claude 桌面版 / Cowork,即完成安装↓ .skill↓ .zip
用别的 agent?下载 .zip 解压,把文件夹放进它的技能目录
Claude Code~/.claude/skills/(项目级 .claude/skills/)
Codex CLI~/.codex/skills/
Cursor自动读取上面两处目录
其他工具见其文档的「skills」目录;两个下载是同一份文件,只是名字不同
/ 通过 npx 安装 校验哈希
npx oh-my-skill add browser-act/skills/ecommerce-reviews
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- browser-act/skills/ecommerce-reviews
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify browser-act/skills/ecommerce-reviews
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
4386GitHub stars
~1.1K最小装载
~2.2K含声明引用
~2.2K文本包总量
镜像托管

怎么用

商店整理自技能原文 · 版本 51daea1 · 表述以原文为准
它做什么

安装后,Claude 可以自动从电商商品页或评论页提取评论,返回评论者、星级、日期、标题、正文、是否验证购买和有用票数。支持亚马逊、WooCommerce、Shopify 等平台,并能翻页获取多页评论。

什么时候触发

当你提供商品链接或要求提取评论时触发。例如,你说“帮我看看这个商品的评论”或“提取这些评论数据”。

装好后可以这样说
Claude 会导航到商品页并提取评论。
Claude 会按有用排序并翻页提取。
Claude 会提取评论并总结。
技能原文 SKILL.md作者撰写 · MIT · 51daea1

E-commerce — Product Reviews

Product URL → paginated customer reviews (reviewer, rating, date, title, body, verified, helpful votes)
Language

All process output to user (progress updates, process notifications) follows the user's language.

Objective

Extract customer reviews from any publicly accessible e-commerce product or reviews page using a multi-strategy approach (JSON-LD Review → Amazon DOM → WooCommerce DOM → generic microdata → generic CSS patterns).

Prerequisites
  • Target browser is open and connected
  • No login required for public review pages
Pre-execution Checks
1. Tool Readiness

If browser-act has been confirmed available in the current session → skip this step.

Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.

Capability Components
This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page. JS code is encapsulated in Python files under the scripts/ directory, invoked via eval "$(python scripts/xxx.py {params})". Use the bash tool for execution.
DOM: Extract reviews from current page

Navigate to the product/reviews page first, then extract:

eval "$(python scripts/extract-reviews.py --max-reviews 20)"

Parameters:

  • --max-reviews: max reviews to return per page, default 20

Output example:

{
  "count": 20,
  "reviews": [
    {
      "reviewer": "John D.",
      "rating": 5.0,
      "date": "Reviewed in the United States on May 15, 2026",
      "title": "Great product, exactly as described",
      "body": "I've been using this for two weeks and it works perfectly...",
      "verified": true,
      "helpful_votes": 42
    }
  ]
}
Composite: Product URL → reviews with sort and pagination

Step 1 — Navigate to reviews page:

| Platform | Reviews URL pattern | |----------|---------------------| | Amazon | https://www.amazon.com/product-reviews/{ASIN}?sortBy=recent (most recent) or sortBy=helpful | | Amazon (from product page) | Scroll to reviews section or click "See all reviews" link, wait stable | | WooCommerce | Product page URL with #reviews anchor; reviews are inline on the page | | Shopify | Reviews are typically inline on the product page | | Generic | Navigate to product URL; reviews section is usually below product info |

Step 2 — Extract reviews:

eval "$(python scripts/extract-reviews.py --max-reviews 20)"

Step 3 — Paginate (Amazon): Amazon review pages support URL pagination:

  • Most recent sort: https://www.amazon.com/product-reviews/{ASIN}?sortBy=recent&pageNumber={page}
  • Helpful sort: https://www.amazon.com/product-reviews/{ASIN}?sortBy=helpful&pageNumber={page}

For each page: navigate {reviews_url_with_page}wait stable → re-run extract-reviews.py

Termination: when count returns 0, or no new reviews appear compared to prior page.

Pagination

URL Pagination (Amazon): Increment pageNumber parameter in the reviews URL. Start from 1.

DOM Pagination (WooCommerce/generic): Look for a "Next" pagination link on the reviews section. Use eval "$(python ../ecommerce-listing/scripts/extract-listing-next-page.py)" to detect it, then navigate.

Termination: has_next is false, or count is 0.

Success Criteria

result.count >= 1 AND reviews[0].body != null

Known Limitations
  • Amazon: navigate from https://www.amazon.com first on fresh sessions to avoid bot detection
  • JSON-LD reviews are often limited to a small subset (3–5 reviews) even when hundreds exist; use the Amazon-specific URL for full review extraction
  • WooCommerce and Shopify review data depends on which review plugin is installed; body extraction may be null if a non-standard plugin is used
  • Review dates may be locale-formatted strings rather than ISO dates depending on the site's configuration
Execution Efficiency
  • Batch orchestration: Loop through review pages serially; add 1–2 second intervals between navigations
  • Test before batch execution: Test with page 1 before running multi-page extraction
  • Error resumption: Record page number; on failure, resume from last successful page
Experience Notes

Path: {working-directory}/browser-act-skill-forge-memories/ecommerce-scraper-ecommerce-reviews.memory.md

Before execution: If the file exists, read it first — it records unexpected situations encountered during past executions; adjust strategy order accordingly.

After execution: If an unexpected situation is encountered (strategy became ineffective, page redesigned, anti-scraping upgraded, better path discovered), append a line: {YYYY-MM-DD}: {what happened} → {conclusion}

按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。