Agent Payment X402
Agent payment execution via x402 with per-task budgets, spending policies, and non-custodial wallets.
- CCM score
- 75 of 100
- skills.sh installs
- 10.9K
- GitHub stars
- 312.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers agent-side payments for 402-gated APIs across Base, X Layer, Solana, and multi-network EVM through several integration paths
- Includes
agentwallet-sdkas a pinned MCP server withget_balance,send_payment,check_spending, andlist_transactionstools - Enforces per-task and per-session budgets, allowlisted recipients, and rate limits, with policy set by the orchestrator rather than the agent
- Designed for agents that must pay for services themselves and need confirmation before any payment is signed or submitted
Install
$ npx -y skills add affaan-m/ecc --skill agent-payment-x402 -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Agent Payment Execution (x402)
Enable AI agents to make policy-gated payments with built-in spending controls. Uses the x402 HTTP payment protocol and MCP tools so agents can pay for external services, APIs, or other agents without custodial risk.
When to Use
Use when: your agent needs to pay for an API call, purchase a service, settle with another agent, enforce per-task spending limits, or manage a non-custodial wallet. Pairs naturally with cost-aware-llm-pipeline and security-review skills.
Decision Tree
Choose the integration path based on whether your agent is buying access to a paid API or charging others for one:
Details
- Repository
- github.com/affaan-m/ecc
- Categories
- Web3 & Crypto, AI Agents & LLM Apps
- First seen
- Jul 14, 2026
Questions
What does the agent-payment-x402 skill do?
It adds x402 payment execution to AI agents, letting them pay for APIs and services themselves under per-task budgets, spending controls, and a non-custodial wallet. Agents can pay on Base through agentwallet-sdk, on X Layer through OKX Agent Payments Protocol, and on Solana or other networks through the upstream x402 packages.
How do I install the agent-payment-x402 skill?
Run npx -y skills add affaan-m/ecc --skill agent-payment-x402 -y in your project. Once installed, the agent can make policy-gated payments for external services, APIs, or other agents.
Where does agent-payment-x402 rank among Web3 and crypto skills?
It ranks in the top 25 on the Web3 and Crypto category page on Claude Marketplaces. It sits alongside skills such as solana-dev and binance-agentic-wallet, and it stands apart by letting agents pay for x402-gated services with spending limits enforced at each payment call.
Is agent-payment-x402 safe to use with real funds?
The skill manages private keys, so its docs say to pin the package version, since unpinned npx installs add supply-chain risk. Spending policy is set by the orchestrator before delegation, and the skill requires explicit user confirmation before payment actions.
More from affaan-m/ecc
All 257- Ck10.9K
- Canary Watch10.9K
- Healthcare Cdss Patterns10.9K
- Security Bounty Hunter10.9K
- Dotnet Patterns10.9K
- Healthcare Eval Harness10.9K
- Llm Trading Agent Security10.8K
- Nodejs Keccak25610.8K
- Github Ops10.8K
- Customer Billing Ops10.8K
- Lead Intelligence10.8K
- Code Tour10.7K
- Finance Billing Ops10.7K
- Api Connector Builder10.7K
- Openclaw Persona Forge10.7K
- Google Workspace Ops10.7K
- Knowledge Ops10.7K
- Workspace Surface Audit10.7K
- Terminal Ops10.7K
- Gan Style Harness10.7K
- Agent Sort10.7K
- Product Capability10.7K
- Csharp Testing10.7K
- Opensource Pipeline10.7K
Similar to Agent Payment X402
More Web3 & Cryptonft-standardswshobson/agents10.9K installsImplement NFT standards (ERC-721, ERC-1155) with proper metadata handling, minting strategies, and marketplace integration. Use when creating NFT contracts, bui
llm-trading-agent-securityaffaan-m/ecc10.8K installsSecurity patterns for autonomous trading agents with wallet or transaction authority. Covers prompt injection, spend limits, pre-send simulation, circuit breake
nodejs-keccak256affaan-m/ecc10.8K installsPrevent Ethereum hashing bugs in JavaScript and TypeScript. Node's sha3-256 is NIST SHA3, not Ethereum Keccak-256, and silently breaks selectors, signatures, st
defi-amm-securityaffaan-m/ecc10.5K installsSecurity checklist for Solidity AMM contracts, liquidity pools, and swap flows. Covers reentrancy, CEI ordering, donation or inflation attacks, oracle manipulat
evm-token-decimalsaffaan-m/ecc10.4K installsPrevent silent decimal mismatch bugs across EVM chains. Covers runtime decimal lookup, chain-aware caching, bridged-token precision drift, and safe normalizatio
query-address-infobinance/binance-skills-hub9.7K installsSnapshot of a single wallet's token holdings on a specific chain — list of every token currently held with name, symbol, current price, 24h price change, and ho