product-tag-bulk-update
Installation
SKILL.md
Purpose
Adds or removes one or more tags across a set of products in bulk — replacing manual product-by-product editing in the Shopify admin. Use for campaign setup (add summer-sale to a collection before launch), campaign teardown (remove flash-sale after it ends), or catalog reorganization (retag products moving between categories). Tags drive collection rules, marketing segments, and reporting filters, so bulk accuracy matters. Replaces manual Shopify admin bulk editing and CSV import/export workflows.
Prerequisites
shopify auth login --store <domain>- API scopes:
read_products,write_products
Parameters
Universal (store, format, dry_run) + skill-specific:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| action | string | yes | — | add or remove |
| tags | array | yes | — | One or more tag strings to add or remove (e.g., ["summer-sale", "clearance"]) |
| collection_id | string | no* | — | GID of a collection — target all products in this collection |
| filter_tag | string | no* | — | Target all products that currently have this tag |
| query_filter | string | no* | — | Shopify product search query (e.g., "product_type:Apparel") |
*One of collection_id, filter_tag, or query_filter is required.