/ap2-agentic-payments:ap2-vdc-frameworkfrom ap2-agentic-payments
Implements the AP2 Verifiable Digital Credentials (VDC) framework for tamper-evident, cryptographically signed credentials used in agentic payments. Covers SD-JWT with Key Binding format, JCS canonicalization, and Checkout/Payment mandate types.
Ships in ap2-agentic-payments. 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 docs:
https://ap2-protocol.org/ap2/specification/ for the VDC framework specificationhttps://ap2-protocol.org/overview/ for VDC conceptual overviewsite:github.com google-agentic-commerce AP2 src/ap2/types mandate for VDC type definitionsap2 protocol verifiable digital credentials VDC for community guidesVerifiable Digital Credentials (VDCs) are tamper-evident, portable, and cryptographically signed digital objects that serve as the trust building blocks for AP2 transactions. They provide:
AP2 VDCs use the SD-JWT with Key Binding (+kb) format, enabling selective disclosure and cryptographic holder binding.
JSON payloads are canonicalized using JCS (RFC 8785) before signing to ensure deterministic serialization.
Current releases define two core mandate types, each of which can be open (constrained, unbound) or closed (bound to a specific transaction) — see ap2-agent-authorization:
The earlier three-type model (Cart / Intent / Payment) folded the human-not-present case into the open form of the Checkout Mandate rather than keeping it as a separate credential. Confirm the current type list against the live spec and glossary — this is exactly the sort of thing that moves between releases.
The framework exposes extension points for mandate constraints, checkout objects, payment instruments, and VDC formats, so ecosystems can extend AP2 without forking it.
1. Creation → Mandate generated (by Merchant for Cart, by SA for Intent)
2. Signing → User signs with hardware-backed device key
3. Presentation → Mandate presented to verifying party
4. Verification → Signature and contents validated
5. Usage → Mandate used to authorize payment
6. Archival → Mandate stored for dispute resolution/audit
Every VDC follows a common structure:
The VDC trust model involves:
AP2 VDCs align with W3C standards:
Checkout Mandates receive both merchant authorization (a detached JWS JWT) and user signature (hardware-backed device key), forming a dual-authorization model.
To verify a VDC:
Fetch the specification for exact VDC schemas, signature formats, and verification algorithms before implementing.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin ap2-agentic-payments19 skills in this plugin
/ap2-a2a-extensionImplement AP2 as an A2A extension — mandate DataParts in A2A messages, Agent Card AP2 capabilities, payment-specific task flows, and inter-agent payment communication. Use when integrating AP2 payment capabilities into A2A multi-agent systems./ap2-agent-authorizationImplement the AP2 Agent Authorization Framework — open vs closed mandates, the two-phase delegation/authorization process, the cryptographic authorization chain, Key Binding JWTs, and human-present vs human-not-present signing. Use when designing how a user authorizes an agent to act, before touching any specific mandate type./ap2-Other plugins' skills for the same job