x402-agent

Installation
SKILL.md

x402 Agent Skill

Automatically detect and pay x402 crypto paywalls when your AI agent encounters HTTP 402 Payment Required responses.

When to Activate

Activate this skill when an HTTP response returns status 402 Payment Required and the response body contains an x402Version field with an accepts array describing payment options.

Detection pattern:

  • HTTP status code: 402
  • Response body: JSON with x402Version (number) and accepts (array of payment requirements)
  • Response header: PAYMENT-REQUIRED (base64-encoded payment requirements)

How to Use

Step 1: Install

Installs
1
First Seen
Apr 23, 2026