claw-pay

Automate x402 payments on Base L2 by signing ERC-3009 authorizations.

4|2|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/bitan-del/gods-eye --skill claw-pay
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claw-pay
Source: https://github.com/bitan-del/gods-eye/tree/main/skills/claw-pay
Command: npx skills add https://github.com/bitan-del/gods-eye --skill claw-pay

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically pay for x402-enabled services on Base L2 within a configurable spending limit, enabling unattended access to metered APIs and AI services.

Core Features & Use Cases

  • Automatic per-request payments: Detects HTTP 402 and pays automatically up to a user-defined maxAmount.
  • ERC-3009 / EIP-712 signing: Signs secure authorizations with nonces and expiry to enable trust-minimized payments.
  • Facilitator verification: Optionally verifies payment payloads with a facilitator before settlement for added safety.
  • Use Case: AI service calls or paid APIs where payment is required per request, with automated budgeting and auditing.

Quick Start

Provide a target URL and HTTP request, and the agent will automatically handle the 402 payment within your configured maxAmount.

Frequently Asked Questions about claw-pay

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate x402 payments for metered APIs on Base L2?

To automate x402 payments on Base L2, you configure a target URL and HTTP request. The agent detects HTTP 402 Payment Required responses and signs ERC-3009 authorizations to settle per-call API fees automatically.

What is the mechanism behind ERC-3009 signing for autonomous USDC payments?

ERC-3009 signing uses EIP-712 structures with generated nonces and expiry timestamps. This creates trust-minimized authorization payloads that a facilitator verifies before on-chain settlement on Base L2.

How do I enforce a spending limit for autonomous web3 API calls?

You enforce a spending limit by setting a user-defined maxAmount. The agent checks every per-request payment against this configured threshold to ensure unattended API access stays within budget.

Does the facilitator verification process guarantee secure on-chain settlement?

Facilitator verification validates the signed payment payloads before execution. This optional step adds a layer of safety, ensuring that only auditable and verified authorizations result in on-chain USDC settlement.

When do I need to use x402 payment processing for AI services?

You need x402 payment processing when accessing metered AI services or paid APIs that return a 402 Payment Required response. It enables unattended, per-request access without manual transaction approvals.