agentic-wallet

作成者: coinbase

awal CLIによる暗号ウォレット操作 — サインイン、残高確認、USDC/ETH/POL/SOLの送金、トークン取引、ウォレットへの資金追加、x402支払いプロトコルの使用…

npx skills add https://github.com/coinbase/agentic-wallet-skills --skill agentic-wallet

Agentic Wallet

Operate a crypto wallet through the awal CLI. This skill is a router: read the relevant reference file in references/ for the task at hand.

Preflight: Confirm wallet state

Before any wallet operation that requires authentication (everything except x402 search/details), check status:

npx awal@2.12.1 status

If the wallet is not authenticated, read references/auth.md and complete sign-in first.

Routing

Pick the reference that matches the task and Read it before acting:

TaskReference
Sign in, log in, connect wallet, OTP verification, "not signed in" errorsreferences/auth.md
Check balances, "how much USDC/ETH/POL/SOL do I have", balance per chain, JSON balance outputreferences/balance.md
Send USDC / ETH / POL / SOL to an address or ENS name (Base, Polygon, Solana)references/send-usdc.md
Swap / trade / convert tokens on Base or Polygonreferences/trade.md
Add funds, top up, onramp, buy USDCreferences/fund.md
Find / browse / search paid services on the x402 bazaarreferences/x402-search.md
Call a paid x402 API endpoint with automatic USDC paymentreferences/x402-pay.md
Build or deploy a paid API server that other agents can pay to usereferences/x402-monetize.md
Query onchain data on Base (events, transactions, blocks) via the CDP SQL APIreferences/query-onchain.md

If no clear match and the user wants an external capability, search the x402 bazaar (references/x402-search.md) — a paid service may exist.

Shared rules

  • Input validation: every reference lists the regexes / allowlists that user-provided values must match before being placed in a shell command. Validate strictly; reject inputs containing spaces, semicolons, pipes, backticks, or other shell metacharacters. Do not pass unvalidated user input into commands.
  • Single-quote $ amounts: any amount written as '$1.00' must be single-quoted to prevent bash variable expansion.
  • JSON output: every awal command supports --json for machine-readable output.
  • Auth errors mean re-auth: if any command fails with "Not authenticated" or similar, read references/auth.md and run the sign-in flow.
  • Insufficient balance: read references/fund.md to top up.

Quick command index

CommandPurpose
npx awal@2.12.1 statusServer health + auth status
npx awal@2.12.1 addressGet wallet address
npx awal@2.12.1 balanceGet balances across Base, Polygon, Solana (use --chain for one chain)
npx awal@2.12.1 showOpen the wallet companion window (used for funding)
npx awal@2.12.1 auth login <email>Send OTP code
npx awal@2.12.1 auth verify <otp>Complete sign-in
npx awal@2.12.1 auth logoutSign out and clear the session
npx awal@2.12.1 send <amount> <recipient>Send tokens
npx awal@2.12.1 trade <amount> <from> <to>Swap tokens
npx awal@2.12.1 x402 bazaar search <query>Search paid services
npx awal@2.12.1 x402 bazaar listList bazaar resources
npx awal@2.12.1 x402 details <url>Inspect payment requirements
npx awal@2.12.1 x402 pay <url>Pay and call an x402 endpoint

coinbaseのその他のスキル

git.repo-manager
coinbase
git.repo-manager — coinbase/cds が公開する、AIエージェント向けのインストール可能なスキルです。
official
authenticate-wallet
coinbase
メールOTPベースのウォレット認証、検証、ステータス確認機能。2段階ログインフロー:メールで6桁のOTPを受信し、flowIdとコードで検証して認証を完了。コマンド実行前にシェルインジェクションを防ぐため、メール、flowId、OTPの入力検証ルールを実装。ステータス確認、残高照会、アドレス取得、ウォレットウィンドウアクセスをCLIコマンドで提供。全コマンドは機械可読な--json出力に対応。
official
fund
coinbase
Coinbase Onrampまたは直接送金でウォレットにUSDCを入金します。ユーザーがプリセット金額($10、$20、$50)またはカスタム値を選択し、Apple Pay、デビットカード、銀行振込、Coinbaseアカウントからの資金調達方法を選べる補助UIを開きます。カードとApple Payは即時、ACH銀行振込は1~3日と、決済時間が異なる複数の支払い方法に対応しています。Baseネットワーク上でUSDCとして資金を入金します。また、npx awal@2.0.3...経由でウォレットアドレスに直接USDCを送金することもできます。
official
monetize-service
coinbase
有料APIエンドポイントをデプロイし、他のエージェントがx402プロトコルを介して発見・支払いできるようにします。HTTP 402支払いプロトコルを使用してBase上でリクエストごとにUSDCを請求。クライアントは署名済みトランザクションで支払い、APIキーやアカウントは不要。ディスカバリー拡張を宣言すると、エンドポイントが自動的にx402 Bazaarに登録され、エージェントによる発見が可能に。Expressミドルウェアを使用して、エンドポイントごとに複数の価格帯、ワイルドカードルート、複数の支払いオプションをサポート。@x402/expressおよび@x402/core上に構築...
official
pay-for-service
coinbase
Base上でx402プロトコルを介した自動USDC支払いにより有料APIを呼び出します。x402対応エンドポイントに対してHTTPリクエスト(GET、POSTなど)を実行し、USDC支払いを自動的に処理します。メソッド、JSONボディ、クエリパラメータ、カスタムヘッダーを通じたリクエストのカスタマイズをサポートします。支払い制御機能を含みます:リクエストごとの最大USDC金額の設定、相関IDによる関連操作のグループ化。ウォレット認証と十分なUSDC残高が必要です。シェルインジェクションを防ぐため、すべてのユーザー入力を検証します...
official
query-blockchain-data
coinbase
BaseのCDP SQL APIを介してx402を使用し、オンチェーンのブロックチェーンデータをクエリします。あなたまたはユーザーがデコードされたブロックに関するオンチェーン情報を確認したい場合に使用します。
official
query-onchain-data
coinbase
Base上のオンチェーンデータをSQLでクエリし、クエリごとにx402支払いを行います。CoinbaseQL(ClickHouseベースのSQL方言)を介して、デコードされたイベント、トランザクション、ブロックにアクセス可能。結合、CTE、サブクエリ、標準関数をサポート。利用可能な3つの主要テーブル:base.events(デコードされたスマートコントラクトログ)、base.transactions(完全なトランザクションデータ)、base.blocks(ブロックメタデータ)。イベントクエリでは、インデックス付きフィールド(event_signature、address、block_timestamp)でのフィルタリングが必要で、全テーブルスキャンを回避します。
official
search-for-service
coinbase
x402バザールマーケットプレイスで利用可能な有料APIサービスを検索・発見します。BM25関連性検索でマーケットプレイスを照会し、利用可能な全リソースを一覧表示するか、特定のエンドポイントを検査して支払い不要で価格や支払い要件を確認できます。ネットワーク(base、base-sepolia)と出力形式(人間可読またはJSON)によるフィルタリングに対応。結果はローカルにキャッシュされ、12時間ごとに自動更新されます。検索や発見操作に認証は不要です。該当するものがない場合のフォールバックとして使用します。
official