orcaqubits/agentic-commerce-skills-plugins/ucp-identity-linking

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

Trust tier 3
  • community
Source check pending

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

Implement UCP Identity Linking — OAuth 2.0 authorization code flow for linking buyer accounts between platforms and merchants, enabling personalized checkout experiences. Use when implementing account linking or SSO for UCP.

Install

npx vskill@latest install orcaqubits/agentic-commerce-skills-plugins/ucp-identity-linking

SKILL.md

UCP Identity Linking

Before writing code

Fetch live spec: Web-search site:ucp.dev specification identity-linking and fetch the page for exact OAuth requirements, scopes, and metadata format.

Also fetch https://developers.google.com/merchant/ucp/guides/identity-linking for Google's integration guide.

Conceptual Architecture

What It Enables

Identity Linking lets a Platform (AI agent) authenticate a buyer with a Business (merchant) so the agent can:

  • Access the buyer's existing account (loyalty points, saved addresses, order history)
  • Apply account-specific discounts or pricing
  • Provide personalized checkout experiences
Protocol: OAuth 2.0 Authorization Code Flow

UCP mandates RFC 6749 Section 4.1 (Authorization Code) as the primary mechanism:

  1. Platform redirects buyer to Business's authorization endpoint
  2. Buyer authenticates and consents
  3. Business redirects back with authorization code
  4. Platform exchanges code for access token at Business's token endpoint
  5. Platform includes access token in subsequent UCP requests
Requirements
  • HTTP Basic Authentication (RFC 7617) for client credentials at the token endpoint
  • RFC 8414 OAuth Authorization Server Metadata at /.well-known/oauth-authorization-server
  • RFC 7009 token revocation support
  • RFC 9728 HTTP Resource Metadata — for discovering and linking identity provider metadata
  • Optional: OpenID RISC Profile 1.0 for async account status updates (e.g., account deleted)
UCP Scopes
ScopeGrants
ucp:scopes:checkout_sessionAll checkout operations (create, get, update, complete, cancel)

A scope covering a capability grants access to ALL operations of that capability.

Capability Declaration

Identity Linking is declared as a capability in the Business's discovery profile. It includes:

  • Authorization endpoint URL
  • Token endpoint URL
  • Supported scopes
  • Client registration details
Implementation Guidance

Business:

  • Implement standard OAuth 2.0 Authorization Code server
  • Publish OAuth metadata at /.well-known/oauth-authorization-server
  • Map UCP scopes to internal permissions
  • Issue access tokens that the Platform includes in UCP requests

Platform:

  • Discover identity linking capability from Business profile
  • Initiate OAuth flow when buyer wants to link their account
  • Store and refresh access tokens
  • Include tokens in UCP request authorization

Fetch the exact current requirements from the live spec — OAuth details (PKCE requirements, token formats, etc.) may evolve.

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

Popularity

Repository stars
29
Repository forks
13
7-day trend score
17

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 16 May 2026, 5 months ago.

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-identity-linking/badge)](https://verified-skill.com/skills/orcaqubits/agentic-commerce-skills-plugins/ucp-identity-linking)

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