ecommerce-listing
Skill này làm gì
Skill đọc danh sách sản phẩm từ các trang danh mục hoặc tìm kiếm thương mại điện tử và áp dụng bộ lọc như khoảng giá, thương hiệu và đánh giá tối thiểu. Dành cho người mua sắm và nhà phân tích so sánh sản phẩm giữa các cửa hàng.
Khi nào nên dùng
- ✓Khi người mua sắm muốn danh sách sản phẩm trong một danh mục cửa hàng được lọc theo giá và đánh giá.
- ✓Khi nhà phân tích cần danh sách sản phẩm từ nhiều cửa hàng để so sánh giá.
- ✓Khi ai đó chỉ muốn các mặt hàng còn hàng từ một tìm kiếm theo từ khóa.
Liên kết skill
https://github.com/browser-act/skills/blob/main/solutions/ecommerce/ecommerce-listing/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Liệt kê các đôi giày chạy bộ còn hàng dưới 100 đô la, với đánh giá tối thiểu bốn sao.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill mở trang danh sách hoặc tìm kiếm, áp dụng các bộ lọc được yêu cầu, rồi đọc các thẻ sản phẩm và trả về từng trang.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
E-commerce — Product Listing
Category/search URL or keyword + filters → paginated product list (URL, name, price, image, rating per item)
Language
All process output to user (progress updates, process notifications) follows the user's language.
Objective
Extract a structured list of products from any e-commerce category, search results, or keyword search page, with support for price/brand/rating filters and multi-page pagination.
Prerequisites
- Target browser is open and connected
- No login required for public listing 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 viaeval "$(python scripts/xxx.py {params})". Use the bash tool for execution.
DOM: Extract product list from current page
Navigate to the listing/search page first, then extract:
eval "$(python scripts/extract-listing.py --max-results 20)"
Parameters:
--max-results: max items to return per page, default 20
Output example:
{
"count": 20,
"items": [
{
"url": "https://www.amazon.com/dp/B09WNK39JN",
"name": "Amazon Echo Pop",
"price": 39.99,
"currency": "USD",
"image": "https://m.media-amazon.com/images/I/...jpg",
"rating": 4.7,
"review_count": 103789,
"asin": "B09WNK39JN"
}
]
}
DOM: Get next page URL
After extracting a page, get the URL to navigate to for the next page:
eval "$(python scripts/extract-listing-next-page.py)"
Output example:
{"next_url": "https://www.amazon.com/s?k=headphones&page=2", "has_next": true, "method": "amazon"}
When has_next is false, pagination is complete.
Composite: Keyword search with filters → product list
Step 1 — Build search URL with filters:
Construct the URL based on target site and desired filters using the patterns below, then navigate:
Amazon (amazon.com):
https://www.amazon.com/s?k={keyword_urlencoded}&s={sort}&rh={filter_params}
- Sort (
s):price-asc-rank|price-desc-rank|review-rank|date-desc-rank(omit for relevance) - Price filter: append
p_36:{min_cents}-{max_cents}torh(dollars × 100, e.g. $50–$200 →p_36:5000-20000) - Rating filter: append
avg_customer_review:four-and-above|three-and-above|two-and-abovetorh - In-stock: append
p_n_availability:1248801011torh - Multiple
rhvalues: comma-separate (e.g.rh=p_36:5000-20000,avg_customer_review:four-and-above)
eBay (ebay.com):
https://www.ebay.com/sch/i.html?_nkw={keyword_urlencoded}&_udlo={min_price}&_udhi={max_price}&_sop={sort_num}
- Sort:
12=BestMatch |15=PriceLow |16=PriceHigh |24=NewlyListed
Walmart (walmart.com):
https://www.walmart.com/search?q={keyword_urlencoded}&min_price={min}&max_price={max}&sort={sort}
- Sort:
best_match|price_low|price_high|rating_high
Google Shopping (cross-site, no --site):
https://www.google.com/search?tbm=shop&q={keyword_urlencoded}&tbs=p_ord:{sort}
- Sort:
rv=relevance |pd=price ascending |prd=price descending
Any site with --site (generic):
https://{site}/search?q={keyword_urlencoded}
Step 2 — Navigate and extract:
navigate {constructed_url}→wait stableeval "$(python scripts/extract-listing.py --max-results {n})"
Step 3 — Paginate (repeat until done):
eval "$(python scripts/extract-listing-next-page.py)"- If
has_nextis true:navigate {next_url}→wait stable→ re-run extract-listing.py - If
has_nextis false: stop
Pagination
URL Pagination: extract-listing-next-page.py detects rel=next link, platform-specific pagination controls, and URL page parameters. Returns next_url for navigation.
DOM Pagination: For sites with load-more buttons (some Shopify themes):
stateto find "Load more" or "Show more" buttonclick <index>→wait stable→ re-runextract-listing.py- Termination: button no longer present, or item count stops increasing
Success Criteria
`result.
Câu hỏi thường gặp
Nó hỗ trợ những cửa hàng nào?
Skill nêu các trang như Amazon, eBay và Walmart.
Nó có áp dụng được bộ lọc không?
Có. Nó có thể lọc theo khoảng giá, thương hiệu, danh mục, đánh giá tối thiểu và tình trạng còn hàng.
Có cần đăng nhập không?
Không. Các trang danh sách công khai không yêu cầu đăng nhập.
Chi tiết
Mô tả gốc của tác giả
Extract product list from any e-commerce category page, search results page, or keyword search with filters. Returns paginated product arrays with URL, name, price, currency, image, rating, review count per item. Supports URL input, keyword search, and site-scoped search with filters: price range, brand, category, minimum rating, in-stock only, and sort order. Works on Amazon, eBay, Walmart, Shopify collections, WooCommerce shops, Google Shopping, and any public product listing page. Use when: category listing, product search results, ecommerce search, search for products, filter products by p
repo: browser-act/skills
Độ phổ biến
- Sao GitHub
- 6.3k
- Vị trí xếp hạng
- #14264
- Giấy phép
- MIT
- Cập nhật
- 24/8/2026
Bình luận
- …
Thêm skill từ kho mã này
browser-act-skill-forge
6.3kGiúp agent của bạn khám phá một website một lần rồi lưu thành một skill tái sử dụng với các script, để lấy dữ liệu từ site đó sau này nhanh hơn.
browser-act
6.3kGiúp agent của bạn chạy công cụ tự động hóa trình duyệt để mở trang, đọc nội dung đã render, điền biểu mẫu, chụp ảnh màn hình và quản lý phiên đã đăng nhập.
1688-product-detail
6.3kGiúp agent của bạn lấy chi tiết sản phẩm từ một trang bán buôn 1688.com, như bậc giá, biến thể, thống kê người bán và thuộc tính.
airbnb-listing-detail
6.3kGiúp agent của bạn lấy chi tiết công khai của một tin đăng Airbnb theo ID, như ảnh, tiện nghi, đánh giá và nội quy nhà.
Skill tương tự
tavily
394kGiúp agent của bạn tìm kiếm web bằng Tavily và lấy văn bản từ các trang cụ thể, với tùy chọn về độ sâu, tên miền và ngày tháng.
blogwatcher
394kCho phép agent của bạn theo dõi blog và nguồn cấp RSS hoặc Atom, kiểm tra bài viết mới và đánh dấu những bài bạn đã đọc.
data-scraper-agent
280kGiúp agent tự động thu thập dữ liệu từ mọi nguồn công khai. Có thể lên lịch, bổ sung thông tin và lưu kết quả. Hữu ích để theo dõi dữ liệu trực tuyến.