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.
npx skills add Tyler-R-Kendrick/agent-skills --skill ap2git clone --depth 1 https://github.com/Tyler-R-Kendrick/agent-skillsWrote 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.
[](https://agentmods.dev/skills/tyler-r-kendrick/agent-skills/ap2)<a href="https://agentmods.dev/skills/tyler-r-kendrick/agent-skills/ap2"><img src="https://agentmods.dev/badge/skills/tyler-r-kendrick/agent-skills/ap2/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.
<a href="https://agentmods.dev/skills/tyler-r-kendrick/agent-skills/ap2"><img src="https://agentmods.dev/badge/skills/tyler-r-kendrick/agent-skills/ap2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00086 | $0.01030 |
| Opus 5 | $0.00043 | $0.00515 |
| Sonnet 5 | $0.00017 | $0.00206 |
| Haiku 4.5 | $0.00009 | $0.00103 |
Grade A, and why
ap2 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AP2 — Agent Payments Protocol
Overview
AP2 is an open protocol from Google for secure, interoperable AI-driven commerce. It provides a common language for transactions between agents and merchants, preventing a fragmented payments ecosystem. AP2 is designed as an extension for A2A and MCP, adding a secure commerce layer on top of agent communication.
Core Concepts
Intent Mandate
Captures the conditions under which an AI agent can make a purchase on behalf of the user:
- Budget limits (per-transaction, daily, monthly)
- Allowed merchant categories
- Product type restrictions
- Time-based constraints
Cart Mandate
Captures the user's final, explicit authorization for a specific cart:
- Itemized list of products/services
- Total price and currency
- User's cryptographic signature (non-repudiable proof of intent)
- Payment method reference
Payment Flow
User Agent Merchant Payment Provider
│ │ │ │
│── "Buy X" ───►│ │ │
│ │── browse ─────►│ │
│ │◄── product ────│ │
│ │ │ │
│◄── confirm? ──│ │ │
│── approve ───►│ (Cart Mandate signed) │
│ │── purchase ───►│ │
│ │ │── charge ───────►│
│ │ │◄── receipt ──────│
│ │◄── receipt ────│ │
│◄── done ──────│ │ │
Key Design Principles
| Principle | Description |
|---|---|
| User control | Users set spending limits and approve purchases via signed mandates |
| Verifiable credentials | Cryptographic signatures provide non-repudiable proof of authorization |
| Protocol-agnostic payments | Supports pull methods (credit/debit cards) initially, with push methods (bank transfers, wallets) planned |
| Compliant by design | Built-in support for regulatory requirements (PCI, PSD2) |
What ships with it
10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- AGENTS.md 3.9 KB
- metadata.json 710 B
- README.md 645 B
- rules/_sections.md 1.1 KB
- rules/_template.md 362 B
- rules/ap2-always-require-user-confirmation-cart-mandate-before.md 438 B
- rules/ap2-handle-partial-failures-gracefully.md 367 B
- rules/ap2-implement-ap2-as-a-payment-layer-on-top-of-a2a-or-mcp.md 382 B
- rules/ap2-set-conservative-intent-mandate-limits-initially-and-let.md 396 B
- rules/ap2-use-the-verifiable-credential-model-for-audit-trails.md 405 B
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.
- 11d ago First seen · 91 lines · 86 tokens per session scan A 5ebbe0225c0c
ap2 is a skill published in the GitHub repository Tyler-R-Kendrick/agent-skills (11 stars, last pushed 3mo ago), licensed MIT. It adds 86 tokens to every session and 1,030 once invoked, about $0.0004 per session on Opus 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-31.
Other skills, from other repositories
asc-ppp-pricing
Set territory-specific pricing for subscriptions and in-app purchases using current asc setup, pricing summary, price import, and price schedule commands. Use when adjusting prices by country or implementing localized PPP strategies.
stripe
Stripe API integration with managed OAuth. Manage customers, subscriptions, invoices, products, prices, and payments. Use this skill when users want to process payments, manage billing, or handle subscriptions with Stripe. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).…
etsy-pricing-strategy
Etsy pricing — cost calculation, competitor pricing, perceived value, shipping cost integration, sales and coupons.
amazon-wholesale-sourcing
Wholesale product sourcing — supplier discovery, negotiation, MOQ optimization, margin analysis.
ai-slop
Operational rubric that turns "don't make AI slop" into observable properties, severity levels, evidence requirements, and repair actions for interface design. Use as the reference rubric when building or reviewing marketing sites, product interfaces, dashboards, portfolios, or e-commerce pages, especially alongside…
payment-processor
Skill "payment-processor" from Signal-Execution-Labs/forex-trading-ai-agent, covering payment processor skill, supported services, capabilities, view balances and get all balances.