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 OrcaQubits/agentic-commerce-skills-plugins --skill acp-dev-patternsgit clone --depth 1 https://github.com/OrcaQubits/agentic-commerce-skills-pluginsWrote 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/orcaqubits/agentic-commerce-skills-plugins/acp-dev-patterns)<a href="https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/acp-dev-patterns"><img src="https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/acp-dev-patterns/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/orcaqubits/agentic-commerce-skills-plugins/acp-dev-patterns"><img src="https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/acp-dev-patterns.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.00048 | $0.01186 |
| Opus 5.5 | $0.00019 | $0.00474 |
| Sonnet 5.5 | $0.00010 | $0.00237 |
| Haiku 4.5 | $0.00005 | $0.00119 |
Grade A, and why
acp-dev-patterns 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.
How it starts
The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ACP Development Patterns
Before writing code
Fetch live docs:
- Checkout spec: Fetch
https://developers.openai.com/commerce/specs/checkout/for error codes and idempotency rules - Production guide: Fetch
https://developers.openai.com/commerce/guides/production/for operational requirements - Stripe integration: Web-search
site:docs.stripe.com agentic-commercefor PSP-side patterns - Changelog: Web-search
site:github.com agentic-commerce-protocol CHANGELOGfor latest changes
Pattern: Idempotency
Every POST request MUST include Idempotency-Key (UUID v4, max 255 chars).
Server-side implementation:
- Store key → response mapping for minimum 24 hours
- Same key + identical body = replay original response, add
Idempotent-Replayed: trueheader - Same key + different body = 422
idempotency_conflict - Key in flight = 409
idempotency_in_flightwithRetry-Afterheader - 5xx responses are NOT cached — retries treated as fresh requests
Client-side implementation:
- Generate UUID v4 for each logical operation
- Reuse the same key when retrying a failed request
- Generate a new key for a genuinely new operation
- Handle 409 by waiting per
Retry-Afterthen retrying
Pattern: Error Handling
ACP uses a flat error structure:
{type, code, message, param}
type:invalid_request|processing_error|service_unavailablecode: Well-known identifier (e.g.,idempotency_conflict,invalid_card,rate_limit_exceeded)message: Human-readable descriptionparam: JSONPath (RFC 9535) to the offending field
Retry strategy:
429 rate_limit_exceeded— Exponential backoff with jitter409 idempotency_in_flight— Wait perRetry-Afterheader5xx— Retry with same idempotency key, exponential backoff4xx(except 429) — Do not retry, fix the request
Pattern: 3D Secure Authentication
When complete returns authentication_required:
- Extract 3DS challenge from the response
- Present challenge to the buyer (redirect or modal)
- Buyer completes authentication
- Call
completeagain withauthentication_result:three_ds_cryptogramelectronic_commerce_indicatortransaction_idversion
- Merchant processes the authenticated payment
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.
- 1mo ago First seen · 133 lines · 48 tokens per session scan A d8a060cf3cb2
acp-dev-patterns is a skill published in the GitHub repository OrcaQubits/agentic-commerce-skills-plugins (40 stars, last pushed 1mo ago), licensed MIT. It adds 48 tokens to every session and 1,186 once invoked, about $0.0002 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.
Other skills, from other repositories
mppx
TypeScript SDK for the Payment HTTP Authentication Scheme. Handles 402 Payment Required flows with Tempo, Stripe, and other payment methods. Use when integrating payments or mppx into a client or server application.
archestra-dev-frontend
Use when modifying Archestra frontend Next.js/React code, UI components, forms, TanStack Query hooks, generated API client usage, frontend copy, or documentation links.
archestra-dev-testing
Use for test selection and quality across backend, frontend, and e2e; load its backend reference for Vitest projects, mocking, DB fixtures, and performance.
managing-archestra-releases
Runs rolling beta releases, stable patches, and complete stable-line cutovers. Use when backporting fixes, cutting or retiring release branches, configuring release protections, testing artifacts, recovering failed runs, or approving releases.
archestra-dev-llm-providers
Use when adding an LLM provider, changing proxy adapters or provider routes, fixing streaming/tool-call translation bugs, editing model fetchers or model handling, or touching provider credentials/enums and model constants.
migrate-to-archestra
Migrate an existing agentic PoC/pilot (Claude Code project files, MCP configs, hooks, local tools, openclaw config, or similar hand-rolled setup artifacts) into an Archestra instance. Use when the user wants to move, port, or convert an existing agentic setup into an Archestra pilot.