Scrapes product, price, variant, stock, image, and collection data from online stores via CLI or Python library. Supports Shopify, WooCommerce, Magento, BigCommerce, Squarespace, and any store with schema.org Product data. Outputs JSONL, CSV, Excel, or pandas tables.
Ships in shopify-spy. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
shopify-spy reads a store's catalog from its public endpoints (Shopify's
/products.json, the WooCommerce Store API, Magento's and BigCommerce's
storefront GraphQL, product-page schema.org data) and yields one item per
product. It ships two interfaces: the spy CLI and the shopify_spy Python
library. Nothing needs installing first:
uvx shopify-spy scrape --peek https://www.example.com # one item as JSONL, writes nothing
uv run --with 'shopify-spy>=0.7' python script.py # a library script
Run the CLI as uvx shopify-spy ... (or uvx --from shopify-spy spy ...),
never uvx spy, which fetches an unrelated package. Once installed, spy and
shopify-spy are the same command. spy scrape --help and help(spy.scrape)
list every option with its default; read them rather than guessing a flag.
uvx shopify-spy scrape --peek URL 2>/dev/null prints
one item as JSONL on stdout and creates no files. Its platform field says
which adapter read it, and the shape differs per platform. Add
--schema unified to see the same item as flat per-variant rows instead.spy.summarize(item) gives the same fields (title,
prices as Decimal, URL) on every platform. Recipes:
references/library.md.--format csv,
--schema unified, --images, --url-file. Recipes:
references/cli.md.run.result.stores (library)
and act on each status: references/failures.md.CLI or library: use the library when the task filters, joins, reshapes or computes on items, or when it must react to failures in code. Use the CLI when the task wants every item in a file, wants images on disk, or is a one-off look. Don't parse the CLI's terminal output; read its status file instead.
Leave --platform out (auto, the default; platform="auto" in the library)
and each store's platform is detected before it is scraped, so one run can mix
platforms. Naming one skips detection: shopify, woocommerce, magento,
bigcommerce, squarespace or generic. Name it when you know it, or when a
store's hint or detection: failed says to.
shopify, woocommerce, magento and bigcommerce read the platform's own
API: many products per request, with variants and stock.generic (any other store) and squarespace read product pages, one
request per product, so a big catalog takes hours. Sample with --limit N
(max_items_per_store=N) unless the user wants everything. generic reads
the pages its sitemaps list, and follows same-site links when they give
nothing; it stops after 100 pages without a new product and ends partial,
with stop_note saying what it left unread.generic.--collections and --no-products apply to Shopify stores only.These are the user's requests to someone else's server. Keep them light.
--ignore-robots (respect_robots_txt=False)
or --insecure (verify_tls=False) on your own: say why the store needs it
and ask the user first.--no-throttle, no lower
--min-delay or --image-delay, no higher --concurrent. The defaults keep
to about one request per second per host.rate_limited or unavailable store is a store to retry later, not in a
loop. Raise --min-delay if it keeps happening.--user-agent and --impersonate at their defaults unless the user
asks for a specific value.--limit while exploring; scrape the full catalog once you know
what the task needs.Never ask the user for a proxy password, and never put one on a command line,
in a script or in a config file: it would land in the transcript. Requests
already honor HTTPS_PROXY, HTTP_PROXY, ALL_PROXY and NO_PROXY; if the
user wants a proxy with credentials, they set the variable themselves before
starting the agent, with /, ? and # in the credentials percent-encoded.
A proxy list (--proxy-file FILE, proxies=[...] in the library) spreads the
stores over several proxies and retries a refused store through another one.
It keeps the same pace per store, but it is opt-in persistence against a store
that refused: use one only when the user asks for it. The user writes the file;
pass its path and never read, print or copy it, since it holds credentials.
The status file's proxy, proxy_line and proxy_changes say which proxy
each store ended on.
See Proxies.
summarize(), write_items(), several stores, failures, async).What SKILL.md sets; muted values are Claude Code's defaults
/shopify-spy:shopify-spyfrom shopify-spy
npx claudepluginhub ndgigliotti/shopify-spy --plugin shopify-spyOther plugins' skills for the same job