/ucp-agentic-commerce:ucp-checkout-a2afrom ucp-agentic-commerce
Implements UCP Checkout over the A2A (Agent-to-Agent) binding for autonomous agent-to-agent commerce using Agent Cards and structured DataPart messages.
Ships in ucp-agentic-commerce. 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.
None: SKILL.md is the whole skill.
Fetch live spec: Web-search site:ucp.dev specification checkout-a2a and fetch the page for the exact message structure, DataPart keys, and Agent Card format.
Also review Google's A2A protocol spec for the underlying transport: https://a2a-protocol.org/latest/specification/
A2A (Agent-to-Agent) is a protocol for autonomous inter-agent communication. UCP's A2A binding lets a Platform agent talk to a Business agent using structured messages rather than REST calls.
/.well-known/ucp profile under services.dev.ucp.shopping.a2a.endpoint.DataPart objects. Business agent responds with checkout state in DataPart objects.UCP-Agent header and X-A2A-Extensions header referencing the UCP spec version.| Key | Direction | Purpose |
|---|---|---|
a2a.ucp.checkout | Both | Checkout session data |
a2a.ucp.checkout.payment_data | Platform → Business | Payment credentials for completion |
a2a.ucp.checkout.risk_signals | Platform → Business | Optional risk signals |
ap2.merchant_authorization | Business → Platform | Merchant's JWS detached content signature for AP2 mandate flow |
ap2.checkout_mandate | Platform → Business | SD-JWT+kb credential proving user-authorized agent checkout |
Messages use A2A's standard format:
messageId: Unique ID (used for idempotency)contextId: Session/conversation IDkind: "message"role: "user" (from platform) or "agent" (from business)parts: Array of TextPart and DataPart objectsCheckout data is carried in DataPart with the appropriate key.
The Business agent uses messageId to detect duplicate requests. Task tracking uses taskId with contextId.
Before implementing, fetch the latest sample A2A Business Agent from https://github.com/Universal-Commerce-Protocol/samples (look for the a2a/ directory) to see the reference pattern.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin ucp-agentic-commerce23 skills in this plugin
/ucp-ap2-mandatesImplement UCP AP2 Mandates extension — cryptographic payment mandates for fully autonomous agent commerce using SD-JWT credentials, merchant authorization signatures, and the Agent Payments Protocol. Use when building autonomous agent payment flows without human-in-the-loop./ucp-buyer-consentImplement the UCP Buyer Consent extension — GDPR/CCPA consent collection, consent fields in checkout sessions, and privacy-compliant consent management. Use when adding consent flows, privacy compliance, or data processing agreements to UCP checkout./ucp-cartImplement the UCP Cart capability (`dev.ucp.shopping.cart`) — a lightweight CRUD surface for collecting line items before purchase intent exists, and its conversion into a Checkout session. Use when building pre-checkout item collection, shareable carts, or cart-recovery flows over REST, MCP, or Embedded bindings.Other plugins' skills for the same job