← Back to demo
Claude Code Skill

x402 Engineer

A skill pack that teaches Claude Code how to add x402 micropayments to any API. Install once, then use slash commands to wire up pay-per-request endpoints on Stellar.

Paste this URL in Claude Code

https://x402-stellar-demo.vercel.app/install

Or run directly: npx x402-engineer install

How it works

1

Install the skill

Run the command below. It copies x402 reference docs and slash commands into your Claude Code skills directory (~/.claude/skills/).

2

Initialize your project

Use /x402:init in Claude Code to scaffold x402 config, wallet setup, and payment middleware for your framework.

3

Protect your endpoints

Use /x402:add-paywall to make any API route charge per request. The skill handles middleware, USDC pricing, and Stellar settlement.

Slash Commands

/x402:init

Bootstrap x402 payment config in your project

/x402:add-paywall

Make any API endpoint charge per request

/x402:debug

Diagnose x402 configuration issues

/x402:explain

See how x402 is wired in your project

/x402:init → /x402:add-paywall → /x402:explain → /x402:debug

Works with

Next.jsExpressFastifyHono