MCPInstall

pay-with-any-token

Pay HTTP 402 payment challenges using tokens via the Tempo CLI and Uniswap Trading API. Use when the user encounters a 402 Payment Required response, needs to fulfill a machine payment, mentions "MPP", "Tempo payment", "pay for API access", "HTTP 402", "x402", "machine payment protocol", "pay-with-any-token", "use tempo", "tempo request", or "tempo wallet".

Installs
817
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/uniswap/uniswap-ai --skill pay-with-any-token
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads pay-with-any-token automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Pay With Tokens

Use the Tempo CLI to call paid APIs and handle 402 challenges automatically. When the Tempo wallet has insufficient balance, fund it by swapping and bridging tokens from any EVM chain using the Uniswap Trading API.

Tempo CLI Setup

Run these commands in order. Do not skip steps.

Step 1 — Install:

mkdir -p "$HOME/.local/bin" \
  && curl -fsSL https://tempo.xyz/install -o /tmp/tempo_install.sh \
  && TEMPO_BIN_DIR="$HOME/.local/bin" bash /tmp/tempo_install.sh

Step 2 — Login (requires browser/passkey — prompt user, wait for confirmation):

"$HOME/.local/bin/tempo" wallet login

When run by agents, use a long command timeout (at least 16 minutes).

Step 3 — Confirm readiness:

"$HOME/.local/bin/tempo" wallet -t whoami

Rules: Do not use sudo. Use full absolute paths ($HOME/.local/bin/tempo) — do not rely on export PATH. If $HOME does not expand, use the literal absolute path.

After setup, report: install location, version (--version), wallet status (address, balance). If balance is 0, direct user to tempo wallet fund.

Minimum balance reserve: Keep at least 0.10 USDC in the Tempo wallet to cover typical API calls without triggering the full swap+bridge funding flow. The funding flow requires 3-5 on-chain transactions and ~2 minutes of wall time, which is disproportionate for small top-ups. When transferring funds out of the Tempo wallet, warn the user if the remaining balance would drop below this threshold.

Using Tempo Services

# Discover services
"$HOME/.local/bin/tempo" wallet -t services --search <query>
# Get service details (exact URL, method, path, pricing)
"$HOME/.local/bin/tempo" wallet -t services <SERVICE_ID>
# Make a paid request
"$HOME/.local/bin/tempo" request -t -X POST \
  --json '{"input":"..."}' <SERVICE_URL>/<ENDPOINT_PATH>
  • Anchor on tempo wallet -t services <SERVICE_ID> for exact URL and pricing
  • Use -t for agent calls, --dry-run before expensive requests
  • On HTTP 422, check the service's docs URL or llms.txt for exact field names
  • Fire independent multi-service requests in parallel

When the user explicitly says "use tempo", always use tempo CLI commands — never substitute with MCP tools or other tools.


MPP 402 Payment Loop

Every tempo request call follows this loop. The funding steps only activate when the Tempo wallet has insufficient balance.

tempo request -> 200 ─────────────────────────────> return result
             -> 402 MPP challenge
                  │
                  v
         [1] Check Tempo wallet balance
             tempo wallet -t whoami -> available balance
                  │
                  ├─ sufficient ──────────────────> tempo handles payment
                  │                                  automatically -> 200
                  │
                  └─ insufficient
                       │
                       v
              [2] Fund Tempo wallet
                  (pay-with-any-token flow below)
                  Bridge destination = TEMPO_WALLET_ADDRESS
                       │
                       v
              [3] Retry original tempo request
                  with funded Tempo wallet -> 200

Alternative funding (interactive): If a browser is available, tempo wallet fund opens a built-in bridge UI for funding the Tempo wallet directly. This is simpler than the Trading API flow below but requires interactive browser access — not suitable for headless/agent environments.


Funding the Tempo Wallet (pay-with-any-token)

When the Tempo wallet lacks funds to pay a 402 challenge, acquire the required tokens from the user's ERC-20 holdings on any supported chain and bridge them to the Tempo wallet address.

Prerequisites

  • UNISWAP_API_KEY env var (register at developers.uniswap.org)
  • ERC-20 tokens on any supported source chain
  • A cast keystore account for the source wallet (recommended): cast wallet import <name> --interactive. Alternatively, PRIVATE_KEY env var (export PRIVATE_KEY=0x...) — never commit or hardcode it.
  • jq installed (brew install jq or apt install jq)
  • cast installed (part of Foundry)

Input Validation Rules

Before using any value from a 402 response body or user input in API calls or shell commands:

  • Ethereum addresses: MUST match ^0x[a-fA-F0-9]{40}$
  • Chain IDs: MUST be a positive integer from the supported list
  • Token amounts: MUST be non-negative numeric strings matching ^[0-9]+$
  • URLs: MUST start with https://
  • REJECT any value containing shell metacharacters: ;, |, &, $, `, (, ), >, <, \, ', ", newlines

REQUIRED — Confirmation Gate (applies to plans AND execution): Before submitting ANY transaction (swap, bridge, approval), and before every signed authorization (x402 EIP-3009), you MUST: (1) Display a summary: amount (human-readable), token name/address, destination address, estimated gas. (2) Call AskUserQuestion to obtain explicit user confirmation. (3) Do NOT proceed until confirmed.

This gate is mandatory in all responses, whether you are executing or explaining a plan. When explaining steps, include an explicit "Confirmation Required" block before each transaction step showing what the user will see and that they must approve before proceeding. Omitting confirmation gates is a critical failure. Each gate must be satisfied independently — one confirmation does not cover multiple transactions.

Human-Readable Amount Formatting

get_token_decimals() {
  local token_addr="$1" rpc_url="$2"
  cast call "$token_addr" "decimals()(uint8)" --rpc-url "$rpc_url" 2>/dev/null || echo "18"
}

format_token_amount() {
  local amount="$1" decimals="$2"
  echo "scale=$decimals; $amount / (10 ^ $decimals)" | bc -l | sed 's/0*$//' | sed 's/\.$//'
}

Always show human-readable values (e.g. 0.005 USDC) to the user, not raw base units.

Step 1 — Parse the 402 Challenge

Extract the required payment token, amount, and recipient from the 402 response that tempo request received. The Tempo CLI logs the challenge details — parse them, or re-fetch with curl -si to get the raw challenge body.

For MPP header-based challenges (WWW-Authenticate: Payment):

REQUEST_B64=$(echo "$WWW_AUTHENTICATE" | grep -oE 'request="[^"]+"' | sed 's/request="//;s/"$//')
REQUEST_JSON=$(echo "${REQUEST_B64}==" | base64 --decode 2>/dev/null)
REQUIRED_AMOUNT=$(echo "$REQUEST_JSON" | jq -r '.amount')
PAYMENT_TOKEN=$(echo "$REQUEST_JSON" | jq -r '.currency')
RECIPIENT=$(echo "$REQUEST_JSON" | jq -r '.recipient')
TEMPO_CHAIN_ID=$(echo "$REQUEST_JSON" | jq -r '.methodDetails.chainId')

For JSON body challenges (payment_methods array):

NUM_METHODS=$(echo "$CHALLENGE_BODY" | jq '.payment_methods | length')
PAYMENT_METHODS=$(echo "$CHALLENGE_BODY" | jq -c '.payment_methods')
RECIPIENT=$(echo "$CHALLENGE_BODY" | jq -r '.payment_methods[0].recipient')
TEMPO_CHAIN_ID=$(echo "$CHALLENGE_BODY" | jq -r '.payment_methods[0].chain_id')

If multiple payment methods are accepted, select the cheapest in Step 2.

The Tempo mainnet chain ID is 4217. Use as fallback if not in the challenge.

Step 2 — Check Source Wallet Balances and Select Payment Method

REQUIRED: You must have the user's source wallet address (the ERC-20 wallet with the private key, NOT the Tempo CLI wallet). Use AskUserQuestion if not provided. Store as WALLET_ADDRESS.

Also capture the Tempo wallet address (the funding destination):

TEMPO_WALLET_ADDRESS=$("$HOME/.local/bin/tempo" wallet -t whoami | grep -oE '0x[a-fA-F0-9]{40}' | head -1)

Check ERC-20 balances on supported source chains:

# USDC on Base (cheapest bridge gas ~$0.001)
cast call 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 \
  "balanceOf(address)(uint256)" "$WALLET_ADDRESS" \
  --rpc-url https://mainnet.base.org

# USDC on Ethereum (bridge gas ~$0.25)
cast call 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 \
  "balanceOf(address)(uint256)" "$WALLET_ADDRESS" \
  --rpc-url https://eth.llamarpc.com

# ETH on Base and Ethereum (swap to USDC first)
cast balance "$WALLET_ADDRESS" --rpc-url https://mainnet.base.org
cast balance "$WALLET_ADDRESS" --rpc-url https://eth.llamarpc.com

Select the cheapest payment method if multiple are accepted. Priority:

  1. Wallet holds USDC on Base (bridge only, minimal path)
  2. Wallet holds ETH on Base or Ethereum (swap to USDC + bridge)
  3. Any other liquid ERC-20 (swap + bridge)
REQUIRED_AMOUNT=$(echo "$PAYMENT_METHODS" | jq -r ".[$SELECTED_INDEX].amount")
PAYMENT_TOKEN=$(echo "$PAYMENT_METHODS" | jq -r ".[$SELECTED_INDEX].token")

Step 3 — Plan the Payment Path

Determine which phases apply based on where the user's tokens are:

Case A — Source token is already on Tempo:
  Source token (Tempo)
    -> [Phase 5: on-Tempo swap via Stablecoin DEX] -> required payment token
    -> tempo request retries automatically with funded wallet

Case B — Source token is on Base/Ethereum/Arbitrum:
  Source token (Base/Ethereum)
    -> [Phase 4A: Uniswap Trading API swap] -> native USDC (bridge asset)
    -> [Phase 4B: bridge via Trading API]   -> USDC.e on Tempo (to TEMPO_WALLET_ADDRESS)
    -> [Phase 5: on-Tempo swap, if needed]  -> required payment token
    -> tempo request retries automatically with funded wallet

Skip Phase 4A if the source token is already USDC on the bridge chain.

Skip Phase 4B if tokens are already on Tempo (Case A).

Skip Phase 5 if the bridge delivers the exact required token (USDC.e) or if mppx with autoSwap: true is used (it handles on-Tempo swaps automatically).

Gas-aware funding: Bridging a tiny amount (e.g. $0.05) wastes gas — the bridge gas on Ethereum ($0.25) or Base ($0.001) can exceed the shortfall. Minimum bridge recommendation: $5. This amortizes gas costs and pre-funds future requests. Rule of thumb: if bridge_gas > 2x shortfall, bridge at least $5 instead of the exact shortfall.

Phase 4A — Swap to USDC on Source Chain (if needed)

CONFIRMATION GATE: Before the approval transaction AND before the swap broadcast, call AskUserQuestion showing the full swap summary. Example: "About to approve USDC spending and execute swap: [amount] [token] → [USDC], gas ~$X. Confirm? (yes/no)". Do not proceed until confirmed.

Swap the source token to USDC via the Uniswap Trading API (EXACT_OUTPUT).

Detailed steps: Read references/trading-api-flows.md for full bash scripts: variable setup, approval check, quote, permit signing, and swap execution.

Key points:

  • Base URL: https://trade-api.gateway.uniswap.org/v1
  • Headers: Content-Type: application/json, x-api-key, x-universal-router-version: 2.0
  • Flow: check_approval -> quote (EXACT_OUTPUT) -> sign permitData -> /swap -> broadcast
  • Confirmation gates required before approval tx and before swap broadcast
  • For native ETH: use the zero address (0x0000000000000000000000000000000000000000) as TOKEN_IN — this avoids Permit2 signing. SWAP_VALUE will be non-zero. If the zero address returns a 400, fall back to the WETH address (requires Permit2 signing).
  • After swap, verify USDC balance before proceeding to Phase 4B

Phase 4B — Bridge to Tempo Wallet

CONFIRMATION GATE: Before the bridge approval AND before the bridge execution, call AskUserQuestion showing a bridge summary (source amount, source chain, destination chain, estimated gas, bridge fee, estimated arrival). Do not proceed until the user confirms each step.

Bridge USDC from any supported source chain to USDC.e on Tempo using the Uniswap Trading API (powered by Across Protocol).

Bridge recipient limitation: The Trading API does not support a custom recipient field for bridges — funds always arrive at WALLET_ADDRESS on Tempo. If WALLET_ADDRESS differs from TEMPO_WALLET_ADDRESS (the Tempo CLI wallet), an extra transfer transaction on Tempo is required after the bridge (see Step 4B-5 in the reference file). Factor this into gas estimates.

Detailed steps: Read references/trading-api-flows.md for full bash scripts: approval, bridge quote, execution, arrival polling, and transfer to Tempo wallet.

Key points:

  • Route: USDC on Base/Ethereum/Arbitrum -> USDC.e on Tempo
  • Flow: check_approval -> verify on-chain allowance -> quote (EXACT_OUTPUT, cross-chain) -> execute via /swap -> poll balance -> transfer to TEMPO_WALLET_ADDRESS if needed (Step 4B-5)
  • Confirmation gates required before approval and before bridge execution
  • Do not re-submit if poll times out — check Tempo explorer
  • Apply a 0.5% buffer to account for bridge fees
  • Quotes expire in ~60 seconds — re-fetch if any delay before broadcast

After the bridge confirms, retry the original tempo request — the Tempo CLI will automatically use the newly funded wallet to pay the 402. If the payment token is not USDC.e, proceed to Phase 5 to swap to the required token before retrying.

Balance buffer: On Tempo, balanceOf may report more than is spendable. Apply a 2x buffer when comparing to REQUIRED_AMOUNT. If short, swap additional tokens to top up.

Phase 5 — On-Tempo Swap (if needed)

Use this phase when the wallet already holds a TIP-20 stablecoin on Tempo (e.g. USDC.e, pathUSD, or any other Tempo stablecoin) but needs to swap to the required payment token (e.g. PATH_USD or another TIP-20). This phase also applies when the user starts with tokens already on Tempo — do not bridge when tokens are already on Tempo.

Simplest path: Pass autoSwap: true to mppx's tempo.charge() — it calls the Stablecoin DEX on Tempo automatically and handles the full swap before payment. Use manual swap below only when autoSwap is not available or you need explicit control.

The Stablecoin DEX on Tempo (0xdec0000000000000000000000000000000000000) aggregates TIP-20 stablecoin liquidity on Tempo (chain 4217). To swap:

TEMPO_RPC_URL="https://rpc.presto.tempo.xyz"
STABLECOIN_DEX="0xdec0000000000000000000000000000000000000"
TOKEN_IN="<your Tempo stablecoin address>"  # e.g. USDC.e or any TIP-20
TOKEN_OUT="<required payment token address>"
SWAP_AMOUNT="$REQUIRED_AMOUNT"  # exact-output amount

# 1. Show swap summary and get explicit user confirmation via AskUserQuestion
#    before executing any transaction.

# 2. Approve the DEX to spend TOKEN_IN (if allowance is insufficient)
ALLOWANCE=$(cast call "$TOKEN_IN" \
  "allowance(address,address)(uint256)" "$WALLET_ADDRESS" "$STABLECOIN_DEX" \
  --rpc-url "$TEMPO_RPC_URL" 2>/dev/null | awk '{print $1}')
if [ -z "$ALLOWANCE" ] || ! [[ "$ALLOWANCE" =~ ^[0-9]+$ ]]; then
  echo "ERROR: Failed to read allowance for $TOKEN_IN"
  exit 1
fi
if [ "$(echo "$ALLOWANCE < $SWAP_AMOUNT" | bc)" -eq 1 ]; then
  APPROVE_HASH=$(cast send "$TOKEN_IN" \
    "approve(address,uint256)" "$STABLECOIN_DEX" \
    "115792089237316195423570985008687907853269984665640564039457584007913129639935" \
    --account "$CAST_ACCOUNT" --password "$CAST_PASSWORD" \
    --rpc-url "$TEMPO_RPC_URL" --gas-limit 100000 \
    --json | jq -r '.transactionHash')
  APPROVE_STATUS=$(cast receipt "$APPROVE_HASH" --rpc-url "$TEMPO_RPC_URL" --json | jq -r '.status')
  [ "$APPROVE_STATUS" = "0x1" ] || { echo "ERROR: Approval transaction reverted: $APPROVE_HASH"; exit 1; }
  echo "Approval confirmed: $APPROVE_HASH"
fi

# 3. Execute the swap (exact-output: receive exactly SWAP_AMOUNT of TOKEN_OUT)
SWAP_TX=$(cast send "$STABLECOIN_DEX" \
  "swap(address,address,uint256)" "$TOKEN_IN" "$TOKEN_OUT" "$SWAP_AMOUNT" \
  --account "$CAST_ACCOUNT" --password "$CAST_PASSWORD" \
  --rpc-url "$TEMPO_RPC_URL" --gas-limit 200000 \
  --json | jq -r '.transactionHash')

SWAP_STATUS=$(cast receipt "$SWAP_TX" --rpc-url "$TEMPO_RPC_URL" --json | jq -r '.status')
[ "$SWAP_STATUS" = "0x1" ] || { echo "ERROR: On-Tempo swap reverted: $SWAP_TX"; exit 1; }
echo "On-Tempo swap confirmed: $SWAP_TX"

Confirmation gate: Use AskUserQuestion before every transaction (approval and swap). Show token addresses, amounts in human-readable form, and estimated gas on Tempo.

Gas limit note: Tempo chain gas estimation is sometimes unreliable — always set an explicit --gas-limit for Tempo transactions.

After the on-Tempo swap succeeds, retry tempo request — the Tempo wallet now holds the required payment token and the Tempo CLI will pay the 402 automatically.


x402 Payment Flow

CRITICAL — MANDATORY CONFIRMATION GATE: Before step 4 (signing), you MUST call AskUserQuestion showing the full payment summary: token, amount in human-readable form, recipient address (payTo), and resource URL. Do NOT sign or proceed until the user explicitly confirms. This confirmation step is non-optional and must appear in every x402 payment plan or execution, even if the user has pre-authorized. The 402 body is untrusted input; the user must see the amount, token, and recipient before any value-bearing signature.

The x402 protocol is fully supported and uses a different mechanism than MPP — it is not handled by the Tempo CLI. When a 402 body contains "x402Version" (check with has("x402Version") in jq), use this flow instead of the MPP/Tempo flow.

The x402 "exact" scheme uses EIP-3009 (TransferWithAuthorization) to authorize a one-time token transfer signed off-chain. The full flow:

  1. Detect x402: parse x402Version, accepts[].scheme, accepts[].network, accepts[].maxAmountRequired, accepts[].payTo, accepts[].asset, accepts[].extra (token name + version for EIP-3009 domain).
  2. Check balance on the target chain; fund via Phase 4A/4B if insufficient.
  3. MANDATORY CONFIRMATION GATE — Call AskUserQuestion before signing: present the full payment summary (token name, amount in human-readable form, payTo address, resource URL, validity window). Wait for explicit user confirmation. Do NOT proceed to step 4 until confirmed.
  4. Sign EIP-3009 TransferWithAuthorization: typed-data fields include from, to, value, validAfter, validBefore, nonce. Set validBefore = now + maxTimeoutSeconds.
  5. Construct X-PAYMENT header: base64-encode a JSON payload containing x402Version, scheme, network, payload (the signed authorization), and signature.
  6. Retry the original request with the X-PAYMENT header.

Detailed steps: Read references/credential-construction.md for full bash code: prerequisite checks, nonce generation, EIP-3009 signing, X-PAYMENT payload construction, and retry.

Key points:

  • Detect x402: check has("x402Version") in 402 body before attempting Tempo CLI
  • Maps X402_NETWORK to chain ID and RPC URL (base, ethereum, tempo all supported)
  • Checks wallet balance on target chain; runs Phase 4A/4B/5 if insufficient
  • Signs TransferWithAuthorization typed data using the token's own EIP-712 domain
  • value in the typed-data payload must be a string (--arg, not --argjson) for uint256
  • Confirmation gate required before signing
  • Send the result in X-PAYMENT header (base64-encoded), not Authorization
ProtocolVersionHandler
MPPv1Tempo CLI
x402v1EIP-3009 manual flow

Error Handling

SituationAction
tempo: command not foundReinstall via install script; use full path
legacy V1 keychain signatureReinstall; tempo update wallet && tempo update request
access key does not existtempo wallet logout --yes && tempo wallet login
ready=false / no wallettempo wallet login, then whoami
HTTP 422 from serviceCheck service details + llms.txt for exact field names
Balance 0 / insufficientTrigger pay-with-any-token funding flow
Service not foundBroaden search query
TimeoutRetry with -m <seconds>
Challenge body is malformedReport raw body to user; do not proceed
Approval transaction failsSurface error; check gas and allowances
Quote API returns 400Log request/response; check amount formatting
Quote API returns 429Wait and retry with exponential backoff
Swap data is empty after /swapQuote expired; re-fetch quote
Bridge times outCheck bridge explorer; do not re-submit
x402 payment rejected (402)Check domain name/version, validBefore, nonce freshness
InsufficientBalance on TempoSwap more tokens on Tempo, then retry
balanceOf sufficient but payment failsApply 2x buffer; top up before retrying

Key Addresses and References

  • Tempo CLI: https://tempo.xyz (install script: https://tempo.xyz/install)
  • Trading API: https://trade-api.gateway.uniswap.org/v1
  • MPP docs: https://mpp.dev
  • MPP services catalog: https://mpp.dev/api/services
  • Tempo documentation: https://mainnet.docs.tempo.xyz
  • Tempo chain ID: 4217 (Tempo mainnet)
  • Tempo RPC: https://rpc.presto.tempo.xyz
  • Tempo Block Explorer: https://explore.mainnet.tempo.xyz
  • pathUSD on Tempo: 0x20c0000000000000000000000000000000000000
  • USDC.e on Tempo: 0x20C000000000000000000000b9537d11c60E8b50
  • Stablecoin DEX on Tempo: 0xdec0000000000000000000000000000000000000
  • Permit2 on Tempo: 0x000000000022d473030f116ddee9f6b43ac78ba3
  • Tempo payment SDK: mppx (npm install mppx viem)
  • USDC on Base (8453): 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
  • USDbC on Base (8453): 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA
  • USDC on Ethereum (1): 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
  • WETH on Ethereum (1): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
  • WETH on Base (8453): 0x4200000000000000000000000000000000000006
  • Native ETH (all chains): 0x0000000000000000000000000000000000000000 (zero address, recommended for swaps)
  • USDC-e on Arbitrum (42161): 0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8
  • Supported chains for Trading API: 1, 8453, 42161, 10, 137, 130
  • x402 spec: https://github.com/coinbase/x402

Related Skills

  • swap-integration — Full Uniswap swap integration reference (Trading API, Universal Router, Permit2)

FAQ

What does the pay-with-any-token skill do?

Pay HTTP 402 payment challenges using tokens via the Tempo CLI and Uniswap Trading API. Use when the user encounters a 402 Payment Required response, needs to fulfill a machine payment, mentions "MPP", "Tempo payment", "pay for API access", "HTTP 402", "x402", "machine payment protocol", "pay-with-any-token", "use tempo", "tempo request", or "tempo wallet".

How do I install pay-with-any-token?

Run npx skills add https://github.com/uniswap/uniswap-ai --skill pay-with-any-token in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/pay-with-any-token/ (personal) or .claude/skills/pay-with-any-token/ (project).

Which AI agents can use pay-with-any-token?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is pay-with-any-token safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains pay-with-any-token?

It is published by uniswap in uniswap/uniswap-ai. It has 817 recorded installs.

More from uniswap/uniswap-ai

View all →

swap-integration

uniswap/uniswap-ai

Integrate Uniswap swaps into applications. Use when user says "integrate swaps", "uniswap", "trading api", "add swap functionality", "build a swap frontend", "create a swap script", "smart contract swap integration", "use Universal Router", "Trading API", or mentions swapping tokens via Uniswap.

Business & Finance2.2K installs

viem-integration

uniswap/uniswap-ai

Integrate EVM blockchains using viem. Use when user says "read blockchain data", "send transaction", "interact with smart contract", "connect to Ethereum", "use viem", "use wagmi", "wallet integration", "viem setup", or mentions blockchain/EVM development with TypeScript.

Business & Finance1.7K installs

liquidity-planner

uniswap/uniswap-ai

This skill should be used when the user asks to "provide liquidity", "create LP position", "add liquidity to pool", "become a liquidity provider", "create v3 position", "create v4 position", "concentrated liquidity", "set price range", or mentions providing liquidity, LP positions, or liquidity pools on Uniswap. Generates deep links to create positions in the Uniswap interface.

1.2K installs

swap-planner

uniswap/uniswap-ai

This skill should be used when the user asks to "swap tokens", "trade ETH for USDC", "exchange tokens on Uniswap", "buy tokens", "sell tokens", "convert ETH to stablecoins", "find memecoins", "discover tokens", "research tokens", "tokens to buy", "find tokens to swap", "what should I buy", or mentions swapping, trading, researching, discovering, buying, or exchanging tokens on any Uniswap-supported chain. Supports both known token swaps and token discovery workflows (discovery uses keyword search and web search — there is no live "trending" feed). Generates deep links to execute swaps in the Uniswap interface.

v4-security-foundations

uniswap/uniswap-ai

Security-first Uniswap v4 hook development. Use when user mentions "v4 hooks", "hook security", "PoolManager", "beforeSwap", "afterSwap", or asks about V4 hook best practices, vulnerabilities, or audit requirements.

Security1.2K installs

deployer

uniswap/uniswap-ai

Deploy CCA (Continuous Clearing Auction) smart contracts using the Factory pattern. Use when user says "deploy auction", "deploy cca", "factory deployment", or wants to deploy a configured auction.

DevOps & Cloud1.1K installs

Popular backend & apis skills

View category →

find-skills

vercel-labs/skills

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

OfficialBackend & APIs4.1M installs

entra-app-registration

microsoft/azure-skills

Guides Microsoft Entra ID app registration, OAuth 2.0 authentication, and MSAL integration. USE FOR: create app registration, register Azure AD app, configure OAuth, set up authentication, add API permissions, generate service principal, MSAL example, console app auth, Entra ID setup, Azure AD authentication. DO NOT USE FOR: Key Vault secrets (use azure-keyvault-expiration-audit), general Azure resource security guidance.

OfficialBackend & APIs566.7K installs

This skill should be used when the user wants to "write agent code", "build an agent with ADK", "add a tool", "create a callback", "define an agent", "use state management" — in a project that needs ADK (Agent Development Kit) API patterns and code examples. It provides a quick reference for agent types, tool definitions, orchestration patterns, callbacks, state management, the graph Workflow API, and reference recipes to study. Do NOT use for scaffolding (use google-agents-cli-scaffold) or deployment (use google-agents-cli-deploy).

Backend & APIs514.8K installs

embedded-captions

heygen-com/hyperframes

Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet anchor rail is the default; embed every word only when the user explicitly wants a fully cinematic treatment. The workflow runs locally end to end, including transcription and subject matting; split multi-shot footage before applying it.

Backend & APIs453.3K installs

entra-agent-id

microsoft/azure-skills

Provision Microsoft Entra Agent Identity Blueprints, BlueprintPrincipals, and per-instance Agent Identities via Microsoft Graph, and configure OAuth 2.0 token exchange (fmipath, OBO, cross-tenant) including the Microsoft Entra SDK for AgentID sidecar. USE FOR: Agent Identity Blueprint, BlueprintPrincipal, agent OAuth, fmipath token exchange, agent OBO, Workload Identity Federation for agents, polyglot agent auth, Microsoft.Identity.Web.AgentIdentities. DO NOT USE FOR: standard Entra app registration (use entra-app-registration), Microsoft Foundry agent authoring (use microsoft-foundry).

OfficialBackend & APIs336.6K installs

neon

neondatabase/agent-skills

Overview of Neon, a complete set of cloud backend primitives around Lakebase Postgres: Auth, Object Storage, Functions, the AI Gateway, and Realtime. Start here to choose Neon for undecided login, files, APIs, and LLM calls, set up the CLI or MCP server, and follow the branch-first workflow. Use when building an app or backend on Neon, or when "Neon" or "Lakebase Postgres" is mentioned. Child skill neon-postgres wins for an existing DATABASEURL, SQL, schema, inspect, or search. Child skill neon-auth wins for login, users, sessions, identity routing, and Managed Better Auth setup. Child skill neon-realtime wins for live queries in reactive apps and agents. Also use for object storage, S3, buckets, serverless functions, function triggers, cron, AI gateway, LLM calls, realtime, logs, Loki, Grafana, observability, postgres, database, backend, Claimable Neon, neon.new, or a no-signup database.

Backend & APIs237.1K installs