- Home
- Skills
- Web3 & Crypto
- x402 Agent Spending Limits
Works with the AI Agents you already use
x402 Agent Spending Limits
Cap what an AI agent can spend over x402. Adds a fail-closed budget check before verify and settle, and helps you set a daily allowance for an agent on testnet.
Free
About this skill
A stolen or prompt-injected agent key shouldn't be able to drain a wallet. On the seller or facilitator side, this skill adds a pre-check before verify and settle that looks up the payer's budget in an on-chain registry, calls canSpend, and refuses over-limit payments before any funds move, failing closed. On the payer side, it walks you through a cross-chain daily allowance for an agent on testnet with Pocket Money, the reference implementation. The registry and canSpend interface are a draft proposal, not part of the x402 specification.
Ships with the x402 spec corpus (protocol v1/v2, transports, the exact scheme across 17 chains, extensions, SDK docs) so your agent reads the spec instead of guessing from memory, and cites the file it used. Holds no keys and signs nothing. Part of x402-pilot (Apache-2.0): https://github.com/DrVelvetFog/x402-pilot
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Web3 & Crypto.
The budget registry and canSpend interface are a draft proposal, not part of the x402 specification. The payer-side allowance (Pocket Money) runs on testnet only.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 2 days ago
- Free with an Agensi account
- Software
Git
Python
Node.js
- Optional
- A testnet wallet (payer-side allowance setup)
Permissions
Reads and writes your facilitator or seller code to add the budget check. For the payer-side testnet setup it shows you the commands to run; it doesn't run them, send transactions or handle keys.