A mock agent-to-agent checkout simulator that enables AI coding agents to test buying and settlement workflows using mcporter and mock MCP servers.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install ap2-checkout
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install ap2-checkout using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The AP2 Mock Checkout skill is designed to facilitate local, simulated agent-to-agent (A2A) transaction flows. It provides developers with a robust environment to prototype, test, and debug e-commerce scenarios where AI agents act as buyers and merchants. Integrated seamlessly within the ecosystem of Openclaw Skills, this tool acts as a mock backend to simulate high-presence (HP) and hot-not-present (HNP) purchase flows without executing actual financial transactions.
By leveraging this skill, developers can safely evaluate complex buyer-merchant behaviors, payment rail switching (such as transitioning from traditional cards to mock crypto via x402), and crucial multi-agent security mechanisms like the Trusted Surface user approval step. This ensures that agent-driven transactions remain deterministic, secure, and fully verified before production deployment.
To configure the AP2 Mock Checkout skill, follow these steps:
# Step 1: Export repository home
export AP2_HOME="/path/to/AP2"
# Step 2: Install via the recommended automated command
cd "$AP2_HOME"
npx -y file:code/samples/python/scenarios/a2a/unified/clawhub/npm/ap2-agent-checkout install
# Step 3: Start the local mock backend servers
cd "$AP2_HOME/code/samples/python/scenarios/a2a/unified"
chmod +x openclaw/start_ap2_backend.sh openclaw/stop_ap2_backend.sh
./openclaw/start_ap2_backend.sh
# Step 4: Set the mcporter configuration directory
export MCPORTER_CONFIG="$HOME/.openclaw/workspace/skills/ap2-checkout/mcporter.json"
To complete activation, enable mcporter and ap2-checkout under the enabled block in your ~/.openclaw/openclaw.json config file and restart the OpenClaw gateway.
| Parameter / Resource | Type / Port | Description |
|---|---|---|
AP2_HOME |
Environment Variable | Absolute path pointing to the AP2 repository root. |
MCPORTER_CONFIG |
Environment Variable | Path pointing to the mcporter.json file for configuring the skill. |
| Mock Backend Ports | Network Range | Ports 8091 to 8094 run the simulated merchant, buyer, identity, and payment servers. |
| MCP HTTP Ports | Network Range | Ports 8100 to 8103 serve the Model Context Protocol endpoints. |
session_id |
String | A unique session tracking ID (e.g., channel or user thread ID) persistent across calls. |
presence_mode |
String (hp / hnp) |
Operating mode: High Presence (immediate) or Hot-and-Not-Present (price tracking). |
payment_method |
String (card / x402) |
Selected payment rail: mock credit card or mock crypto. |
Loading
A zero-dependency financial utility designed to monitor and analyze real-time and historical premium or discount rates for Chinese A-share exchange-traded funds.

A technical automation integration designed to programmatically query and extract structured Chinese clinical trial registration data from chinadrugtrials.org.cn.

An intelligent research partner designed to analyze academic papers, extract key findings, and convert them into structured, APA-compliant literature reviews.

A powerful AI agent skill designed to decode vague or low-information reviewer feedback and transform it into structured, low-risk revision plans and polished drafts.

An automated, zero-token cost A-share real-time market monitoring and alerting skill utilizing the Sina Finance API with robust scheduling rules.

A global financial market analysis capability with real-time Alipay micro-payment integration built for Openclaw Skills.








































