Ucp catalog

From OrcaQubits/agentic-commerce-skills-plugins · View interactive version

Ucp catalog is an AI agent skill from the GitHub repository OrcaQubits/agentic-commerce-skills-plugins. Implement the UCP Catalog capability (`dev.ucp.shopping.catalog`) — free-text product Search and identifier-based Lookup, the Product/Variant data model, media, ratings, and quantity units. Use when exposing product discovery to agents or consuming a business catalog before cart and checkout.

How to use this skill

Skill file

UCP Catalog Capability

Before writing code

Fetch live spec: Web-search site:ucp.dev specification shopping catalog and fetch the capability page plus its search and lookup operation pages. The Product/Variant schema and filter vocabulary evolve between spec versions — read the live schema before writing types.

Conceptual Architecture

What Catalog is for

Catalog is the discovery half of UCP, upstream of Cart and Checkout. It covers free-text product search, category and filter-based browsing, batch retrieval by identifier, and price comparison across variants. Without it, an agent can only transact against items it already knows the IDs for.

Two operations

| Operation | Namespace | Purpose |

|-----------|-----------|---------|

| Search | dev.ucp.shopping.catalog.search | Locate products by query text and filters |

| Lookup | dev.ucp.shopping.catalog.lookup | Retrieve specific products or variants by identifier |

Search is for finding; Lookup is for resolving. An agent typically searches once and then looks up identifiers it has cached or received from elsewhere (a permalink, a previous cart).

Product vs Variant — the distinction that matters

Never put a product ID into a line item. Products are for display; variants are for purchase.

Supporting types

Ordering and relevance

Responses are relevance-ordered: businesses return the most relevant variant and image first. An agent rendering a single thumbnail or picking a default variant should take element zero rather than applying its own heuristic.

Messages

Responses carry an optional messages array for errors, warnings, and informational notices. Warnings with presentation: "disclosure" are non-dismissible — allergen statements, safety information, regulatory notices. A client must render these; treating them as dismissible toast is a compliance problem, not a UX choice.

Bindings

Catalog is exposed over REST and MCP (JSON-RPC). Over MCP, search and lookup become tools an agent calls directly — see ucp-checkout-mcp for the binding conventions.

Implementation Guidance

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.