Community生產力與協作github.com

coinbase/x402

搜尋並使用 x402 支付協定進行付費 API 請求。當沒有明確的工具可選時,請搜尋市集。此工具也可用於呼叫 x402 端點、探索支付需求、瀏覽市集或搜尋付費服務。

x402 是什麼?

此技能(coinbase/x402)允許 AI 代理程式使用 x402 支付協定來搜尋新服務並執行付費 API 請求。它在處理需要 API 金鑰或事前準備服務的任務時特別有用,因為 x402 協定提供了一種輕量級的即時支付機制,讓代理程式能夠動態發現並使用付費的第三方功能。此技能支援的常見平台包括 Claude Code、Cursor 和 Codex 等開發者工具環境,主要用於當代理程式缺乏特定工具可直接處理任務,或當使用者明確要求探索「市集」(bazaar)來尋找付費服務時。其運作方式為:代理程式先發出請求,接收支付需求(如所需金額與收款錢包),然後自動處理微支付以解鎖 API 存取權限,最後執行實際的 API 呼叫並回傳結果。此技能強化了代理程式在去中心化、自動化生態系統中擴充功能的能力。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/coinbase/agentic-wallet-skills/tree/main/skills/x402

Installed? Explore more 生產力與協作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

x402 是做什麼的?

搜尋新服務並使用 x402 支付協定進行付費 API 請求。當沒有明確的工具可選時,請搜尋市集。你也可以使用此工具來呼叫 x402 端點、探索支付需求、瀏覽市集或搜尋付費服務。

Individual skills in this repo

This repo contains 8 individual skills — each has its own dedicated page.

coinbase/authenticate-wallet

Sign in to the wallet. Use when you or the user want to log in, sign in, connect, or set up the wallet, or when any wallet operation fails with authentication or "not signed in" errors. This skill is a prerequisite before sending, trading, or funding.

coinbase/fund

Add money to the wallet. Use when you or the user want to fund, deposit, top up, load, buy USDC, add funds, onramp, or get USDC. Also use when the wallet has insufficient balance for a send or trade operation, or when someone asks "how do I get USDC?"

coinbase/monetize-service

Build and deploy a paid API that other agents can pay to use via x402. Use when you or the user want to monetize an API, make money, earn money, offer a service, sell a service to other agents, charge for endpoints, create a paid endpoint, or set up a paid service. Covers "make money by offering an endpoint", "sell a service", "monetize your data", "create a paid API".

coinbase/pay-for-service

Make a paid API request to an x402 endpoint with automatic USDC payment. Use when you or the user want to call a paid API, make an x402 request, use a paid service, or pay for an API call. Use after finding a service with search-for-service.

coinbase/query-onchain-data

Query onchain data on Base using the CDP SQL API via x402. Use when you or your user want to view onchain information about decoded blocks, transactions, and events.

coinbase/search-for-service

Search and browse the x402 bazaar marketplace for paid API services. Use when you or the user want to find available services, see what's available, discover APIs, or need an external service to accomplish a task. Also use as a fallback when no other skill clearly matches — search the bazaar to see if a paid service exists. Covers "what can I do?", "find me an API for...", "what services are available?", "search for...", "browse the bazaar".

coinbase/send-usdc

Send tokens (USDC, ETH, POL, or SOL) to an address or ENS name on Base, Polygon, or Solana. Use when you or the user want to send money, pay someone, transfer tokens, tip, donate, or send funds to a wallet address or .eth name. Covers phrases like "send $5 to", "pay 0x...", "transfer to vitalik.eth", or "send USDC on Solana".

coinbase/trade

Swap or trade tokens on Base or Polygon. Use when you or the user want to trade, swap, exchange, buy, sell, or convert between tokens like USDC, ETH, and POL. Covers phrases like "buy ETH", "sell ETH for USDC", "convert USDC to ETH", "get some ETH", "buy POL".

相關技能