orcaqubits/agentic-commerce-skills-plugins/ucp-checkout-a2a
Claude Code and agent skill by orcaqubits/agentic-commerce-skills-plugins
- community
Checking that the SKILL.md file is still in the repository.
Implement UCP Checkout over the A2A (Agent-to-Agent) binding — enable autonomous agent-to-agent commerce using Agent Cards and structured message parts. Use when building agent-to-agent commerce flows.
Install
npx vskill@latest install orcaqubits/agentic-commerce-skills-plugins/ucp-checkout-a2aSKILL.md
UCP Checkout — A2A Binding
Before writing code
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/
Conceptual Architecture
What is A2A?
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.
How It Works
- Discovery: Business publishes an Agent Card at the URL declared in their
/.well-known/ucpprofile underservices.dev.ucp.shopping.a2a.endpoint. - Communication: Platform sends messages with checkout data in
DataPartobjects. Business agent responds with checkout state inDataPartobjects. - Identification: Platform includes
UCP-Agentheader andX-A2A-Extensionsheader referencing the UCP spec version.
Key Data Part Keys
| 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 |
Message Structure
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 objects
Checkout data is carried in DataPart with the appropriate key.
Idempotency
The Business agent uses messageId to detect duplicate requests. Task tracking uses taskId with contextId.
When to Use A2A
- Fully autonomous agent-to-agent commerce (no human in the loop for most steps)
- Multi-agent architectures where commerce is one capability among many
- When you want the Business to maintain its own agent logic (not just expose tools)
Implementation Guidance
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.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/ucp-checkout-a2a/SKILL.md
Popularity
- Repository stars
- 39
- Repository forks
- 18
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/orcaqubits/agentic-commerce-skills-plugins/ucp-checkout-a2a)