ucp

Installation
SKILL.md

ucp

When a buyer expresses commercial intent — wanting to find, buy, or track products — this is your toolkit. You can search across thousands of merchants via a bundled global catalog, build carts and complete checkouts against any UCP-supporting merchant, and follow up on orders. For merchants that don't support direct transactions, hand off gracefully to the merchant's own flow.

How to decide what to do

Buyer says... Do this
"Find me X", "I need X for Y", "what's a good X under $Z" — no merchant named ucp catalog search against the global catalog. Each result names its merchant via seller.domain.
"Show me this" — buyer pastes a product/variant link or wants a specific product's full PDP/options matrix ucp catalog get_product <product_id> — single call, returns result.product (singular). Omit --business for global Catalog IDs.
"Are these still available?" — refreshing prices/stock/validity for known IDs (saved lists, wish lists, stale carts) ucp catalog lookup with the IDs (up to 50). To distinguish OOS from delisted, pass filters.available: false — the default filters to in-stock only, so OOS and delisted both look like absence.
"Buy this from <merchant>" — buyer names a specific merchant ucp discover --business <url> first; if it succeeds, transact via --business <url>. If it fails with PROFILE_FETCH_FAILED, the merchant doesn't speak UCP — tell the buyer and offer alternatives; any other code is a different failure, so branch on the full code.
"Track my order" ucp order get <order_id> --business <url>

Rule of thumb: broad product discovery → global catalog (no --business needed). Business-scoped operations — cart, checkout, order, or catalog scoped to a specific merchant — → pass --business <url>. Reach for one or the other based on the buyer's intent.

Journey heuristics

Installs
1
Repository
shopify/ucp-cli
GitHub Stars
84
First Seen
6 days ago