Installable skillApache-2.0

Implement x402 Payment Protocol

Support agent-native HTTP payments via the [x402 protocol](https://x402.org) ([docs](https://docs.x402.org), [GitHub](https://github.com/coinbase/x402)).

BY fabricioctellesUPDATED Oct 27, 2026
INTENDED FOR✳Claude Code>_Codex◈OpenClaw↗CursorInstall in a listed agent.

instructions.md

---
name: agent-ready-x402
description: >
  Sub-skill de agent-ready-cloudflare: Implement x402 Payment Protocol
---
# Implement x402 Payment Protocol

Support agent-native HTTP payments via the
[x402 protocol](https://x402.org)
([docs](https://docs.x402.org), [GitHub](https://github.com/coinbase/x402)).

## Requirements

- Add x402 payment middleware to your API routes
- Use `@x402/express`, `@x402/hono`, or `@x402/next` middleware
- Configure a facilitator URL and wallet address
- Protected routes return HTTP 402 with payment requirements that agents fulfill automatically

## Validate

```
POST https://isitagentready.com/api/scan
Content-Type: application/json

{"url": "https://YOUR-SITE.com"}
```

Check that `checks.commerce.x402.status` is `"pass"`.
COMPATIBILITY & REFERENCES

Platform guidance

Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.