aws-marketplace-agentic-commerce
Onboards an x402 seller endpoint to AWS Marketplace Agentic Commerce fiat payments with the Fiat Extension for x402 SDKs - Python `fiat-extension-for-x402`…
от aws★ 3 696 звёзд на GitHub
Установить aws-marketplace-agentic-commerce в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
AWS Marketplace Agentic Commerce Seller Onboarding
Overview
Guides a seller from "my API has an AWS Marketplace Agentic Commerce listing" to "my x402 routes accept AWS Marketplace payments", in Python or TypeScript, without disturbing payment networks the seller already supports.
The AWS MCP server is recommended for running the AWS CLI steps in this skill, because it executes them in a sandbox and records them in an audit log. Every step also works with the AWS CLI alone.
Guardrail — where this skill's own files live (MCP vs local install)
This skill can be loaded two ways, and they resolve the skill's own bundled
files from different places. Determine how the skill was loaded before reading
a reference or running a script:
- Loaded through the AWS MCP
retrieve_skilltool: The skill is not
installed on the local filesystem. You MUST fetch each reference or script
viaretrieve_skillwith thefileparameter (e.g.file="references/architecture.md"orfile="scripts/deploy.py"), and
run the script from the returned content. Do NOTfile_readthese paths
locally — they do not exist on disk. - Installed locally (e.g.
.kiro/skills/your-skill/or~/.claude/skills/your-skill/): Read and run files from the local skill
directory using relative paths.
This distinction applies only to the skill's own packaged files. User data and
session artifacts are always read from and written to the user's working
directory. Never fetch or write customer data through retrieve_skill.
Usage
Use this skill when a seller:
- Wants an HTTP API to accept fiat payments from AI agents through AWS Marketplace over x402
- Already serves x402 payments on other networks (for example
eip155:8453) and wants to addaws:base - Is integrating
fiat-extension-for-x402(PyPI) or@aws/fiat-extension-for-x402(npm) - Needs to choose between an AWS KMS key and a self-managed key with a JWKS URL for quote signing
- Sees a
402without anaws:baseoption, or payments refused with a reason from references/troubleshooting.md
This skill does not create the Marketplace listing. The seller brings the product ID, endpoint URL and quote-signing key registered on an existing Agentic Commerce listing.
Core Concepts
| Concept | What it means for the seller |
|---|---|
exact scheme on aws:base |
One more entry in each paid route's accepts list, priced in USD (iso4217:USD). Existing entries stay as they are. |
| Quote token | A JWT the seller signs into every 402 (extra.quoteToken). It carries the price, payTo, the scheme and network, and settlement.product_id. |
payTo |
The seller's AWS Marketplace product ID (prod-…), never a wallet address. On the wire it is replaced by urn:x402:agentic-commerce:see-quote; the signed quote holds the real value. |
| Service URL | The signer's service_url / serviceUrl becomes the quote's iss and MUST equal the endpoint URL registered on the listing. |
| Quote-signing key | The KMS key (alias ARN) or JWKS URL registered on the listing. The signer and the verifier MUST use that same key. |
| Payment token | Issued by AWS Marketplace after the buyer pays. The verifier checks it against the payment service's JWKS (built-in default) and against the quote it pays for. |
| Facilitator | Verification runs in the seller's own process: an x402 facilitator with the exact Agentic Commerce scheme. Settlement is a no-op that reports the payment ID (awsmp-…). |
| Coexistence | x402 core routes each payment to the facilitator client that advertises its network and scheme, so a remote facilitator keeps eip155:* while the in-process one takes aws:base. |
flowchart LR
B[Buyer agent] -->|GET /route| M[x402 middleware]
M -->|402: accepts = existing + aws:base quote| B
B -->|retry with PAYMENT-SIGNATURE + DPoP| M
M -->|eip155:*| R[Existing remote facilitator]
M -->|aws:base| L[In-process Agentic Commerce facilitator]
L -->|payment token + quote checks| M
M -->|200 + PAYMENT-RESPONSE| B
Prerequisites
You MUST confirm the seller has these before writing code, since every value is signed into or checked against the listing:
- Product ID of the Agentic Commerce listing (
prod-…) - Endpoint URL registered on the listing, exactly as buyers call it (scheme, host, path prefix)
- Quote-signing key registered on the listing: a KMS alias ARN, or the JWKS URL the seller serves
- Runtime: a Python or Node.js version the SDK supports, and x402 major version 2. Check the package page on PyPI or npm for supported versions; the install in Step 2 resolves a compatible
x402/@x402/core
Use the quote-signing key the seller provides. If the request does not name one, ask for it before writing signer code. This skill does not create keys: a seller with no key registered on the listing must create and register one first. [references/seller-keys.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/python.md
- references/seller-keys.md
- references/troubleshooting.md
- references/typescript.md
FAQ
Что делает скилл aws-marketplace-agentic-commerce?
Onboards an x402 seller endpoint to AWS Marketplace Agentic Commerce fiat payments with the Fiat Extension for x402 SDKs - Python `fiat-extension-for-x402` (FastAPI, Flask) and TypeScript `@aws/fiat-extension-for-x402` (Express, any framework via @x402/core). Adds the `exact` scheme on network `aws:base` next to a seller's existing x402 networks (for example USDC on Base), with an AWS KMS or bring-your-own quote-signing key, the Marketplace product ID as payTo, and an in-process facilitator. Use when a seller wants an HTTP API to accept fiat or AWS Marketplace payments from AI agents over x402, add aws:base to existing x402 routes, configure KmsQuoteSigner or LocalQuoteSigner, reject replayed payments, or debug invalid_quote, invalid_payment, dpop_invalid or a 402 without aws:base. Seller side only; not for buyer clients that pay x402 APIs, or for creating the listing.
Как установить скилл aws-marketplace-agentic-commerce?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл aws-marketplace-agentic-commerce запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…