orcaqubits/agentic-commerce-skills-plugins/ucp-buyer-consent

Claude Code and agent skill by orcaqubits/agentic-commerce-skills-plugins

Trust tier 3
  • community
  • ext:[{"type":"plugin","description":"Custom plugin integration"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Implement 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.

Install

npx vskill@latest install orcaqubits/agentic-commerce-skills-plugins/ucp-buyer-consent

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

UCP Buyer Consent Extension

Before writing code

Fetch live docs:

  1. Fetch https://ucp.dev/latest/specification/shopping/extensions/buyer-consent/ for the canonical Buyer Consent extension spec
  2. Web-search site:ucp.dev buyer consent for related pages and examples
  3. Web-search site:github.com Universal-Commerce-Protocol buyer consent for SDK support and samples
  4. Fetch https://ucp.dev/latest/specification/overview/ for how extensions integrate with the core spec

Conceptual Architecture

What Buyer Consent Does

The Buyer Consent extension adds privacy-compliant consent collection to UCP checkout sessions. It enables merchants to collect and record buyer consent for data processing, marketing, and terms acceptance — satisfying GDPR, CCPA, and other privacy regulations.

Why It Exists

Agentic commerce introduces a new challenge: an AI agent acts on behalf of the buyer. Regulations require explicit, informed consent for data processing. This extension standardizes how consent is requested, granted, and recorded across the UCP protocol.

Extension Identity
  • Layer: Extension (composable add-on to the Checkout capability)
  • Parent capability: Checkout
  • Discovery: Negotiated via capabilities.extensions[] like all UCP extensions
Key Concepts
  • Consent fields — The spec defines exactly four boolean consent fields:
  • analytics — consent for analytics/measurement data collection
  • preferences — consent for personalization and preference storage
  • marketing — consent for marketing communications
  • sale_of_data — consent for sale/sharing of personal data
  • Consent values — Each field is a simple boolean (true/false). There is no status enum.
  • All fields are optional — The protocol communicates consent declaratively; it does not enforce compliance
How It Works in Checkout
  1. Merchant declares consent fields — In the checkout session response, the merchant includes consent fields it wants to collect
  2. Agent presents consent to buyer — The agent shows consent requests to the human buyer (this is a human-in-the-loop step)
  3. Buyer sets consent values — The buyer decides true/false for each consent field
  4. Agent submits consent — In the next session update, the agent includes the buyer's consent boolean values
  5. Consent communicated — The protocol communicates consent declaratively; it does not enforce compliance. Merchants are responsible for their own compliance logic
Interaction with Checkout Status

All consent fields are optional booleans. The protocol does not define consent as blocking checkout. Merchants may choose to enforce consent requirements in their own business logic, but the UCP spec itself does not mandate that missing consent prevents checkout completion.

Privacy Regulations Addressed
RegulationRequirementHow Buyer Consent Helps
GDPR (EU)Explicit consent for data processingStructured consent collection with audit trail
CCPA (California)Right to know, right to opt-outConsent types for data collection and sale
LGPD (Brazil)Legal basis for processingConsent as legal basis documentation
PIPEDA (Canada)Meaningful consentHuman-readable consent text
Extension Negotiation

Like all UCP extensions:

  1. Platform includes buyer_consent in capabilities.extensions[]
  2. Business confirms support in the response
  3. If not negotiated, consent fields are absent from the session
Use Cases
  • E-commerce checkout with GDPR-required consent (analytics, marketing, sale_of_data)
  • Marketing opt-in collection during purchase (marketing field)
  • Personalization preferences during checkout (preferences field)
  • Data sharing consent for third-party fulfillment (sale_of_data field)
Best Practices
  • Always collect consent from the human buyer, never auto-grant via the agent
  • Store consent records with timestamps for audit compliance (your application should track this; the protocol does not include a consent_timestamp field)
  • Make consent context clear, specific, and in the buyer's language
  • The protocol communicates consent declaratively; it does not enforce compliance. Your application is responsible for enforcement logic.
  • Support consent withdrawal post-purchase (per GDPR Article 7)
  • Test with different regulation scenarios (EU buyer, US buyer, etc.)

Fetch the Buyer Consent extension specification for exact field names, consent type enumerations, and schema structure before implementing.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

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.

Extension points

  • pluginCustom plugin integration

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/orcaqubits/agentic-commerce-skills-plugins/ucp-buyer-consent/badge)](https://verified-skill.com/skills/orcaqubits/agentic-commerce-skills-plugins/ucp-buyer-consent)

Something wrong with this skill or its page? Tell us.