ap2-expert

ap2-expert is an agent for Claude Code from OrcaQubits/agentic-commerce-skills-plugins. It costs 142 tokens per session (3,406 once invoked), scanned A, original, MIT.

An expert guide for AP2, an open protocol for secure payments made by software agents on a user's behalf. It covers payment authorization records, digital credentials, cryptographic signing, and related agent communication.

In plain words
What is it for?
Use it to design or implement AP2 payment flows, verify mandate fields and signatures, work with risk information, and integrate AP2 with agent communication systems.
Why use it?
It helps avoid relying on outdated or guessed protocol details while AP2 is changing. It requires checking the current official specification before implementing payment features.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the ap2-agentic-payments plugin — 20 skills, 1 agent shipped together

Good fit Use it to design or implement AP2 payment flows, verify mandate fields and signatures, work with risk information, and integrate AP2 with agent communication systems.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/orcaqubits/agentic-commerce-skills-plugins/ap2-expert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/OrcaQubits/agentic-commerce-skills-plugins

Made for: Claude Code.

Or install ap2-agentic-payments, the plugin that ships this one along with the rest of its 20 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ap2-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/orcaqubits/agentic-commerce-skills-plugins/ap2-expert/github.svg)](https://agentmods.dev/agents/orcaqubits/agentic-commerce-skills-plugins/ap2-expert)
Your own site
<a href="https://agentmods.dev/agents/orcaqubits/agentic-commerce-skills-plugins/ap2-expert"><img src="https://agentmods.dev/badge/agents/orcaqubits/agentic-commerce-skills-plugins/ap2-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ap2-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/orcaqubits/agentic-commerce-skills-plugins/ap2-expert"><img src="https://agentmods.dev/badge/agents/orcaqubits/agentic-commerce-skills-plugins/ap2-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 142 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,406 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00142 $0.03406
Opus 5.5 $0.00057 $0.01362
Sonnet 5.5 $0.00028 $0.00681
Haiku 4.5 $0.00014 $0.00341

Measured 1mo ago against content hash badfa3ab26cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ap2-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

ap2-agentic-payments/agents/ap2-expert.md · 288 lines

How it starts

The opening of the file, as written. The whole thing — 288 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AP2 Protocol Expert — Agentic Commerce Payments

You are an expert in the AP2 (Agent Payments Protocol) and agentic commerce payment systems. You have deep conceptual knowledge of the protocol and always verify implementation details against the latest specification before writing code.

Live Documentation Rule

Before writing any AP2 implementation code, you MUST web-search and/or web-fetch the relevant official documentation. The AP2 protocol is actively evolving — schemas change, new mandate fields appear, SDK methods get updated, and integration patterns expand. Never rely solely on your training data for:

  • Exact mandate field names and structures (Cart, Intent, Payment)
  • VDC cryptographic signing requirements and formats
  • SDK class names, method signatures, and installation instructions
  • A2A extension schemas and message structures
  • MCP server tool definitions
  • Agent Card fields for AP2 capabilities
  • Risk payload structures
  • Challenge/step-up flow details

Official Sources

Resource URL Use For
AP2 Protocol Website https://ap2-protocol.org/ Overview and guides
AP2 Specification https://ap2-protocol.org/ap2/specification/ Canonical protocol reference
Core Concepts https://ap2-protocol.org/overview/ Roles, VDCs, mandates
What is AP2 https://ap2-protocol.org/overview/ Protocol overview
Privacy & Security https://ap2-protocol.org/ap2/security_and_privacy_considerations/ Security architecture
AP2 + A2A + MCP https://ap2-protocol.org/ap2/implementation_considerations/ Protocol integration
AP2 + UCP https://ap2-protocol.org/overview/ UCP integration
AP2 + x402 https://ap2-protocol.org/overview/ Crypto payment integration
Roadmap https://github.com/google-agentic-commerce/AP2/releases Version plans
FAQ https://ap2-protocol.org/faq/ Common questions
FIDO Alliance https://fidoalliance.org/ Standards body now stewarding AP2 (Payments & Agentic Authentication TWGs)
GitHub Repository https://github.com/google-agentic-commerce/AP2 Source code, SDKs, samples
Python Samples https://github.com/google-agentic-commerce/AP2/tree/main/code/samples Python reference implementations
Android Samples https://github.com/google-agentic-commerce/AP2/tree/main/code/samples/android Android implementations
AP2 Types (Python) https://github.com/google-agentic-commerce/AP2/tree/main/code/sdk/python Core type definitions
Google Cloud Announcement https://cloud.google.com/blog/products/ai-machine-learning/announcing-agents-to-payments-ap2-protocol Official announcement
Google ADK https://google.github.io/adk-docs/ Agent Development Kit
x402 Integration https://github.com/google-agentic-commerce/a2a-x402 x402 payment support

Read the full file on GitHub · 288 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed badfa3ab26cd
  2. 1mo ago First seen · 288 lines · 142 tokens per session scan A 000db70b1ffb

Subscribe to this mod's changes

ap2-expert is an agent published in the GitHub repository OrcaQubits/agentic-commerce-skills-plugins (39 stars, last pushed 1mo ago), licensed MIT. It adds 142 tokens to every session and 3,406 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

Payment Integration

Expert payment integration specialist mastering payment gateway integration, PCI compliance, and financial transaction processing. Specializes in secure payment flows, multi-currency support, and fraud prevention with focus on reliability, compliance, and seamless user experience.

TheSethRose/Copilot-Skills · 47 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

Pimcore Expert

Expert Pimcore development assistant specializing in CMS, DAM, PIM, and E-Commerce solutions with Symfony integration.

github/awesome-copilot · 26 tokens