shopping-browser-automation

shopping-browser-automation is a skill for Claude Code, Codex from MassLab-SII/open-agent-skills. It costs 46 tokens per session (2,277 once invoked), scanned A, original, Apache-2.0.

A browser-automation toolkit for shopping websites. It helps an agent search for products, compare options, manage a cart, and go through checkout steps.

In plain words
What is it for?
Searching for products by name or price, comparing items, updating carts, and completing common shopping flows.
Why use it?
Shopping sites often require many small actions across pages, which are slow and easy to repeat incorrectly by hand.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Searching for products by name or price, comparing items, updating carts, and completing common shopping flows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/masslab-sii/open-agent-skills/shopping
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add MassLab-SII/open-agent-skills --skill shopping
Clone the repo
git clone --depth 1 https://github.com/MassLab-SII/open-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for shopping-browser-automation

README.md
[![agentmods](https://agentmods.dev/badge/skills/masslab-sii/open-agent-skills/shopping/github.svg)](https://agentmods.dev/skills/masslab-sii/open-agent-skills/shopping)
Your own site
<a href="https://agentmods.dev/skills/masslab-sii/open-agent-skills/shopping"><img src="https://agentmods.dev/badge/skills/masslab-sii/open-agent-skills/shopping/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for shopping-browser-automation

Your own site · 80×15
<a href="https://agentmods.dev/skills/masslab-sii/open-agent-skills/shopping"><img src="https://agentmods.dev/badge/skills/masslab-sii/open-agent-skills/shopping.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,277 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.02277
Opus 5 $0.00023 $0.01138
Sonnet 5 $0.00009 $0.00455
Haiku 4.5 $0.00005 $0.00228

Measured 11d ago against content hash fe543d6fecb6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

shopping-browser-automation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 9 executable files (scripts/advanced_search_by_description.py, scripts/advanced_search_by_name.py, scripts/browser_client.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/shopping/SKILL.md · 327 lines

How it starts

The opening of the file, as written. The whole thing — 327 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Shopping Browser Automation Skill

This skill is based on Playwright MCP tools, providing automation capabilities for e-commerce websites.

Core Concepts

In shopping website automation, we distinguish two types of operations:

  1. Skill: Meaningful combinations of multiple tool calls, encapsulated as independent Python scripts
  2. Basic Tools: Single function calls in utils.py, used for atomic operations.

I. Skills

1. Simple Search - Type and Submit

File: simple_search.py

Use Cases:

  • Need to search for a product using the main search bar
  • Want to type a search term and automatically press Enter to submit

Prerequisites:

  • First use navigate() to navigate to the website homepage
  • Get the ref value of the search input field

Usage:

# Usage:
#   python simple_search.py <search_term> <search_input_ref>
# Example:
python simple_search.py "gingerbread" e35

2. Advanced Search - By Product Name and Price Range

File: advanced_search_by_name.py

Use Cases:

  • Already on the Advanced Search page
  • Need to fill in product name and price range for search

Prerequisites:

  • First use navigate() to navigate to the website homepage
  • Then use click() to click the "Advanced Search" link
  • Get the ref values of form fields

Typical Task Examples:

  • Search for products with name containing "Ginger", price between $50.00 and $100.00
  • Search for products with name containing "cookie", price between $20.00 and $40.00

Usage:

# Usage:
#   python advanced_search_by_name.py <product_name> <price_from> <price_to> <name_ref> <price_from_ref> <price_to_ref> <search_btn_ref>
# Example:
python advanced_search_by_name.py "Ginger" 50.00 100.00 e91 e110 e114 e118

3. Advanced Search - By Description and Price Range

File: advanced_search_by_description.py

Use Cases:

  • Already on the Advanced Search page
  • Need to search keywords in product description (not product name)
  • Need to filter by price range

Read the full file on GitHub · 327 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 327 lines · 46 tokens per session scan A fe543d6fecb6

Subscribe to this mod's changes

shopping-browser-automation is a skill published in the GitHub repository MassLab-SII/open-agent-skills (133 stars, last pushed 8mo ago), licensed Apache-2.0. It adds 46 tokens to every session and 2,277 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ebay-search-listing

Extracts product listings from any eBay search or category page URL, returning per-item cards (itemNumber, url, title, subtitle, caption, price, priceWithCurrency, currency, wasPrice, bids, shipping, seller, sellerFeedbackCount, sellerPositiveRating, reviewsCount, starRating, image) plus pagination state (currentPage…

browser-act/skills · 221 tokens

amazon-bestseller-listing

Amazon Best Sellers listing scraper: extract product cards from any Amazon Best Sellers (zgbs) or /gp/bestsellers/ category page — returns rank (position on chart), asin, title, url, image, imageAlt, price, stars, reviewCount, ratingRaw per item, plus category metadata (categoryName, categoryFullName, categoryUrl) and…

browser-act/skills · 300 tokens

amazon-search-listing

Amazon search and category listing scraper: extract product listings from any Amazon search results page, keyword search URL, or category browse page and return per-item cards (asin, title, url, image, price, listPrice, stars, reviewCount, badges, isAmazonChoice, isBestSeller, isSponsored, delivery, boughtInPast…

browser-act/skills · 341 tokens

etsy-category-listing

Etsy category page scraper: given an Etsy category URL (e.g. https://www.etsy.com/c/jewelry) and optional page number, returns paginated product listings with listingId, shopId, title, url, image, salePrice, originalPrice, currency, rating, reviewCount, shopName, isAd, freeShipping, badge from category and subcategory…

browser-act/skills · 209 tokens

etsy-product-detail

Etsy product detail scraper: given an Etsy listing URL, returns full product detail including listingId, title, priceCurrent, priceOriginal, currency, images (all), description, shopName, shopUrl, rating, reviewCount, favorites, inCartCount, variations (with per-option price ranges), highlights, listedDate…

browser-act/skills · 187 tokens

walmart-product-detail

Walmart product detail page extractor: given a walmart.com product URL (walmart.com/ip/...), extract full product data including itemId, title, brand, model, UPC, price, wasPrice, currency, availability, category path, seller info, all images, shortDescription, longDescription, product highlights, full specifications…

browser-act/skills · 252 tokens