Agent Skillsbrowser-act/skills › ecommerce-reviews

ecommerce-reviews

GitHub

从电商产品页或评论页提取客户评论,支持Amazon、WooCommerce等平台。返回评分、日期、标题、正文等字段,具备分页和多策略解析能力,适用于舆情分析和数据收集。

solutions/ecommerce/ecommerce-reviews/SKILL.md browser-act/skills

Trigger Scenarios

获取产品评价 分析用户反馈 抓取评论数据 进行情感分析

Install

npx skills add browser-act/skills --skill ecommerce-reviews -g -y
More Options

Non-standard path

npx skills add https://github.com/browser-act/skills/tree/main/solutions/ecommerce/ecommerce-reviews -g -y

Use without installing

npx skills use browser-act/skills@ecommerce-reviews

指定 Agent (Claude Code)

npx skills add browser-act/skills --skill ecommerce-reviews -a claude-code -g -y

安装 repo 全部 skill

npx skills add browser-act/skills --all -g -y

预览 repo 内 skill

npx skills add browser-act/skills --list

SKILL.md

Frontmatter
{
    "name": "ecommerce-reviews",
    "description": "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."
}

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}

Version History

  • 22aad3f Current 2026-07-11 17:12

Same Skill Collection

solutions/ecommerce/taobao-keyword-search/SKILL.md
solutions/ecommerce/taobao-product-detail/SKILL.md
solutions/ecommerce/taobao-product-reviews/SKILL.md
solutions/ecommerce/taobao-shop-catalog/SKILL.md
solutions/search-research/web-research-assistant/SKILL.md
solutions/social-listening/instagram-place-posts/SKILL.md
solutions/social-listening/instagram-post-comments/SKILL.md
solutions/social-listening/instagram-profile-meta/SKILL.md
solutions/social-listening/instagram-profile-posts/SKILL.md
browser-act-skill-forge/SKILL.md
browser-act/SKILL.md
solutions/ecommerce/amazon-alexa-qa/SKILL.md
solutions/ecommerce/amazon-asin-lookup-api-skill/SKILL.md
solutions/ecommerce/amazon-best-selling-products-finder-api-skill/SKILL.md
solutions/ecommerce/amazon-buy-box-monitor-api-skill/SKILL.md
solutions/ecommerce/amazon-listing-competitor-analysis-skill/SKILL.md
solutions/ecommerce/amazon-product-api-skill/SKILL.md
solutions/ecommerce/amazon-product-search-api-skill/SKILL.md
solutions/ecommerce/amazon-reviews-api-skill/SKILL.md
solutions/ecommerce/ecommerce-listing/SKILL.md
solutions/ecommerce/ecommerce-product-detail/SKILL.md
solutions/ecommerce/ecommerce-seller-info/SKILL.md
solutions/ecommerce/goofish-item-detail/SKILL.md
solutions/ecommerce/goofish-search-list/SKILL.md
solutions/lead-generation/business-contact-social-links-skill/SKILL.md
solutions/lead-generation/github-project-contributor-finder-api-skill/SKILL.md
solutions/lead-generation/google-maps-api-skill/SKILL.md
solutions/lead-generation/google-maps-contact-extract/SKILL.md
solutions/lead-generation/google-maps-reviews-api-skill/SKILL.md
solutions/lead-generation/google-maps-search-api-skill/SKILL.md
solutions/lead-generation/google-social-media-finder/SKILL.md
solutions/lead-generation/indeed-job-search/SKILL.md
solutions/lead-generation/industry-key-contact-radar-api-skill/SKILL.md
solutions/lead-generation/linkedin-jobs-search/SKILL.md
solutions/lead-generation/producthunt-launches/SKILL.md
solutions/lead-generation/social-media-finder-skill/SKILL.md
solutions/lead-generation/youtube-channel-business-email/SKILL.md
solutions/search-research/google-image-api-skill/SKILL.md
solutions/search-research/google-news-api-skill/SKILL.md
solutions/search-research/google-search-serp/SKILL.md
solutions/search-research/web-search-scraper-api-skill/SKILL.md
solutions/search-research/webcrawler-deep-crawl/SKILL.md
solutions/social-listening/facebook-ads-library-search/SKILL.md
solutions/social-listening/facebook-groups-scrape-posts/SKILL.md
solutions/social-listening/facebook-page-posts/SKILL.md
solutions/social-listening/facebook-page-profile-posts/SKILL.md
solutions/social-listening/reddit-competitor-analysis-api-skill/SKILL.md
solutions/social-listening/reddit-warmup/SKILL.md
solutions/social-listening/trustpilot-company-info/SKILL.md
solutions/social-listening/trustpilot-reviews/SKILL.md
solutions/social-listening/wechat-article-search-api-skill/SKILL.md
solutions/social-listening/x-dm-auto-chat/SKILL.md
solutions/social-listening/x-keyword-comment/SKILL.md
solutions/social-listening/x-tweet-by-conversation/SKILL.md
solutions/social-listening/x-tweet-by-handle/SKILL.md
solutions/social-listening/x-tweet-by-url/SKILL.md
solutions/social-listening/x-tweet-search-by-query/SKILL.md
solutions/social-listening/x-tweet-search/SKILL.md
solutions/social-listening/xiaohongshu-auto-posting/SKILL.md
solutions/social-listening/xiaohongshu-note-detail/SKILL.md
solutions/social-listening/xiaohongshu-search/SKILL.md
solutions/social-listening/xiaohongshu-user-profile/SKILL.md
solutions/social-listening/zhihu-search-api-skill/SKILL.md
solutions/video-platforms/tiktok-hashtag-videos/SKILL.md
solutions/video-platforms/tiktok-profile-videos/SKILL.md
solutions/video-platforms/tiktok-search-videos/SKILL.md
solutions/video-platforms/tiktok-video-detail/SKILL.md
solutions/video-platforms/youtube-api-skill/SKILL.md
solutions/video-platforms/youtube-batch-transcript-extractor-api-skill/SKILL.md
solutions/video-platforms/youtube-channel-api-skill/SKILL.md
solutions/video-platforms/youtube-comments-api-skill/SKILL.md
solutions/video-platforms/youtube-influencer-finder-api-skill/SKILL.md
solutions/video-platforms/youtube-search-api-skill/SKILL.md
solutions/video-platforms/youtube-transcript-analysis-api-skill/SKILL.md
solutions/video-platforms/youtube-transcript-extractor-api-skill/SKILL.md
solutions/video-platforms/youtube-transcript/SKILL.md
solutions/video-platforms/youtube-video-api-skill/SKILL.md

Metadata

Files
0
Version
22aad3f
Hash
8eac5fa7
Indexed
2026-07-11 17:12

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-14 12:03
浙ICP备14020137号-1 $mapa de visitantes$