pay-with-any-token

Fulfill HTTP 402 payment challenges via token swaps and cross-chain bridging.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/PSFREQUENCY/silopolis --skill pay-with-any-token-psfrequency
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pay-with-any-token
Source: https://github.com/PSFREQUENCY/silopolis/tree/main/.agents/skills/pay-with-any-token
Command: npx skills add https://github.com/PSFREQUENCY/silopolis --skill pay-with-any-token-psfrequency

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill eliminates the manual complexity of paying for HTTP 402 Payment Required API responses, especially when you do not hold the exact token requested by the API, by automating wallet funding, cross-chain token swaps, bridging, and payment protocol handling for both MPP and x402 standards.

Core Features & Use Cases

  • Automated 402 Payment Handling: Automatically detects and fulfills both MPP (Machine Payment Protocol) and x402 payment challenges without manual intervention for supported APIs.
  • Cross-Chain Token Funding: Swaps any supported ERC-20 token to USDC via the Uniswap Trading API, bridges funds across chains to the Tempo wallet, and handles all associated approval and gas steps.
  • Use Case: For example, if you are an AI agent that needs to access a paid API requiring 0.1 USDC on Tempo, but you only hold ETH on Base, this Skill will automatically swap your ETH to USDC, bridge it to Tempo, and pay the API challenge to return the requested data.

Quick Start

Use the pay-with-any-token skill to automatically pay a 402 payment challenge for a paid API request when your Tempo wallet has insufficient funds.

Frequently Asked Questions about pay-with-any-token

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

FAQPage Schema
How do I pay for an HTTP 402 API request if I don't have the exact token required?

To pay for an HTTP 402 API request without the exact token, you can automate token swaps and cross-chain bridging. The Skill handles converting your available ERC-20 tokens via Uniswap, bridges funds to the target chain, and fulfills the API payment challenge automatically.

What is the process for fulfilling an x402 payment challenge off-chain?

Fulfilling an x402 payment challenge off-chain involves authorizing the transaction using EIP-3009. This Skill automates the off-chain payment authorization process for x402 standards, handling the required signatures and protocol execution to access paid API resources.

Can I use an AI agent to automate Machine Payment Protocol (MPP) payments via Tempo?

Yes, autonomous agents can automate MPP payments via the Tempo CLI. This Skill detects MPP payment challenges and executes the required Tempo CLI commands, handling wallet funding, token swaps, and bridging without manual intervention.

Does this Skill support cross-chain bridging and ERC-20 token swaps via Uniswap?

Yes, cross-chain bridging and ERC-20 token swaps are supported via the Uniswap Trading API. The Skill automatically executes token conversions, bridges funds across chains to your Tempo wallet, and manages all associated gas and approval steps.

Do I need to manually approve on-chain transactions when paying for paid APIs?

No, you do not need to manually approve on-chain transactions, as the Skill includes built-in user confirmation gates. It handles input validation and automates the on-chain transaction approvals required for token swaps, bridging, and API payments.