`circle` コマンドラインツール(コンピュータ操作の指令を文字で入力する方式)を使って、Circle エージェント向けウォレット(AI向けの暗号資産管理機能)をセットアップおよび管理します。 このエージェント向けウォレットは、AI エージェント用に Circle が提供する USDC(ステーブルコイン・価値が安定した暗号資産)の管理機能であり、認証、USDC の保有、x402 サービス(有料サービス)の利用料金の支払いに使用されます。 このスキルは以下の操作に対応しています: - コマンドラインツールのインストール確認 - 利用規約への同意 - メールアドレスと一時認証コード(メールで受け取る確認番号)によるログイン - ウォレットの作成 - セッション状態(ログイン中の状態)の確認 - 残高の確認 **次のような場合に使用:** ユーザーが Circle エージェント向けウォレットのセットアップ、ログイン、状態確認を希望する場合、または別のスキル(x402 サービス利用時の支払いやウォレットへの資金追加など)が先にウォレットの初期設定を必要とする場合。 **以下のキーワードで起動します:** circle ウォレット ログイン、circle ウォレット 作成、circle ウォレット 状態確認、Circle エージェント向けウォレット セットアップ、利用規約 同意、Circle コマンドラインツール インストール、x402 セットアップ
Set up and manage a Circle agent wallet through the `circle` CLI. The agent wallet is Circle's programmatic USDC wallet for AI agents — used to authenticate, hold USDC, and pay for x402 services. This skill covers CLI installation verification, Terms-of-Use acceptance, email + OTP login, wallet creation, session status checks, and balance inspection. Use whenever the user wants to set up, log in to, or inspect the state of their Circle agent wallet, or whenever a downstream skill (like paying for an x402 service or funding the wallet) needs the wallet bootstrapped first. Triggers on: circle wallet login, circle wallet create, circle wallet status, set up Circle agent wallet, terms acceptance, install Circle CLI, x402 setup.
Circle CLI(@circle-fin/cli、コマンド:circle)は、プログラム駆動型エージェント用ウォレット(AIエージェントが認証を行い、残高を保有し、Circle のマーケットプレイスで有料サービス(x402方式)の料金を支払うための管理者不在型 USDC ウォレット)を提供します。本スキルはそのウォレットのブートストラップ(初期設定)に特化しており、インストール確認、利用規約の承認、ログイン、ウォレット作成、ステータス確認を扱います。初期設定が完了した後、サービス料金の支払い、資金の追加、使用ポリシーの設定などの下流の処理は、専用スキルに委譲されます。
Circle CLI の完全な機能セット(ブリッジング、スマートコントラクト実行、トランザクション検査など)の概要については、use-circle-cli マスタースキルを参照してください。本スキルはより限定的な初期設定・本人確認機能を扱う範囲です。
circle wallet status でセッション状態を確認します(最初に実行すること)。--chain のデフォルトは ARC)。fund-agent-wallet に処理を委譲します。そうでなければ初期設定は完了です。which circle || command -v circle
circle --version
circle がインストールされていない、または circle --version がサーバー側の更新通知を表示する場合は、references/install-and-login.md を読んでインストールおよび更新通知の対応方法を確認してください。
ログインを試みる前に、ユーザーが既にログインしているかどうかを必ず確認してください。
circle wallet status
考えられる結果:
agent)、セッション有効期限が表示されます。ユーザーに「<メールアドレス> でログイン済みです。このセッションを続けますか?」と確認し、ステップ 4 にスキップしてください。Error: Not logged in. Run 'circle wallet login <email> --type agent' to authenticate. です。ステップ 3 に進みます。Error: Circle CLI Terms acceptance is required before use. です。処理を停止し、以下の利用規約ゲートを完了してから進めてください。ユーザーの明示的な同意なしに circle terms accept を実行してはいけません。Circle の CLI は、AI エージェントなどの非対話的な環境用に設計された2段階 OTP ログインに対応しています。ユーザーにメールアドレスを尋ねます(推測またはハードコーディングしてはいけません)。--init で OTP をリクエストし、返されたリクエスト ID と OTP コード(例:ABC-123456)でログインを完了させ、circle wallet status で確認します。リクエスト ID は一度だけ使用でき、10分後に有効期限が切れます。
詳細なコマンド、予想される出力、OTP 形式の注意事項、失敗時の対応、ログアウト / アカウント切り替え方法については、references/install-and-login.md を読んでください。
circle wallet list と circle wallet balance では --chain フラグが必須です。 ユーザーがチェーンを指定していない場合は、デフォルトとして ARC を使用します。既存のエージェントウォレットをリストアップします。存在しない場合は、circle wallet create で各サポート対象 EVM チェーン上にエージェント管理型の SCA ウォレット(Smart Contract Account、管理者不在のスマートコントラクトウォレット)をプロビジョニングし、JSON 出力からチェーンごとのアドレスを読み取ります。
正確な circle wallet list、circle wallet create、circle wallet balance コマンドと JSON 出力の読み取り方法については、references/wallet-management.md を読んでください。
保存されたアドレスごとに残高を確認します(references/wallet-management.md 参照)。残高が 0 USDC でユーザーがサービスの料金を支払いたい場合は、fund-agent-wallet スキルに処理を委譲します——内蔵法定通貨オンランプ購入、QR コード付き直接アドレス送金、Gateway 入金をカバーしています。ユーザーが単に状態を確認したいだけの場合(まだ支払わない)は、ここで終了です。初期設定は完了しました。
ウォレットが存在すれば、ユーザーの次のステップはそれを使用することです。CLI は独自のスキルカタログを公開しており、circle skill list でインストール可能なものが表示され、circle skill info --name <スキル名> でトリガーと詳細が表示され、circle skill install --tool <ホスト> --name <スキル名> で現在のホストにインストールされます。資金追加、有料サービス検索、使用限度額の設定など、自然なフォローアップを提案します。ユーザーがリクエストするまでは、許可が不要な操作(残高確認、検索)を優先し、資金移動を伴う操作は避けてください。
Circle CLI は、ユーザーがこのマシン上で Circle の利用規約およびプライバシーポリシーに同意するまで、すべての運用上の circle wallet コマンド(circle wallet status を含む)を厳格にブロックします。このゲートが初めて表示されたとき(通常、ステップ 2 またはステップ 3 の間)に実行します。同意が一度記録されたら、このゲートは無操作となり、その後の実行時はスキップされます。
重要:エージェントは circle terms accept を実行する前に**、ユーザーに規約を表示し、明示的な同意を得る必要があります。エージェントは、ユーザーに代わって Circle の利用規約またはプライバシーポリシーに同意してはいけません。CLI の CIRCLE_ACCEPT_TERMS=1 環境変数は、エージェントが独断で使用できる回避策ではありません——これを無視し、references/terms-of-use.md の同意フローを使用してください。**
ゲートの正確なエラーテキスト、circle terms show / circle terms show --init / circle terms accept / circle terms reset コマンド、および必須の規約表示・同意リクエストフローについては、references/terms-of-use.md を読んでください。
circle terms accept を実行してはいけません。エージェントはユーザーに代わって Circle の規約に同意してはいけません。また、エラー復旧、リトライ、またはユーザーが明示的に承認していないフローの一部として circle terms accept を自動的に呼び出してはいけません。circle terms show --init --output json が返す実際の termsOfUseUrl、privacyPolicyUrl、termsNotice を常に表示してください。要約、言い換え、またはハードコーディングしてはいけません。circle terms reset / circle terms accept の呼び出しは行わないでください。circle wallet status を確認してください。多くのセッション「エラー」は実は古い前提条件にすぎません。circle wallet login --init 出力からリクエスト ID を解析して保存してください——OTP 完了ステップで必要になります。--init から再開してください。circle コマンドがセットアップ中に摩擦を生じた場合(予期しないエラー、わかりにくい出力、機能の欠落)は、use-circle-cli スキルの**フィードバック報告(Report friction)**セクションに従ってフィードバックを報告してください。--output json、--chain、--help 優先、フォローアップ文句、確認デフォルト)については、use-circle-cli マスタースキルの Rules セクションを参照してください——それらはここにも適用されます。references/install-and-login.mdreferences/wallet-management.mdreferences/terms-of-use.md@circle-fin/cli以下の場合は代わりに pay-via-agent-wallet スキルをトリガーしてください:
circle services search、circle services inspect、circle services pay に言及した場合。以下の場合は代わりに fund-agent-wallet スキルをトリガーしてください:
以下の場合は代わりに agent-wallet-policy スキルをトリガーしてください:
免責事項:本スキルは「現状のまま」提供され、保証はなく、Circle デベロッパー利用規約の対象であり、生成される出力にはエラーおよび/またはフィー設定オプション(Circle に向けられるフィーを含む)が含まれている可能性があります。詳細はリポジトリの README を参照してください。
The Circle CLI (@circle-fin/cli, command circle) provides a programmatic agent wallet — a non-custodial USDC wallet designed for AI agents to authenticate, hold balances, and pay for paid x402 services on Circle's marketplace. This skill is the bootstrap surface for that wallet: install check, terms acceptance, login, wallet creation, and status inspection. After bootstrap completes, downstream operations (paying for services, funding, spending policy) hand off to dedicated skills.
For an overview of the Circle CLI's full capability set — bridging, smart contract execution, transaction inspection, and more — see the use-circle-cli master skill. This skill is the narrower bootstrap/identity surface.
circle wallet status before anything else.--chain defaults to ARC).fund-agent-wallet. Otherwise bootstrap is complete.which circle || command -v circle
circle --version
If circle is not installed, or circle --version prints a server-driven update notice, READ references/install-and-login.md for installation and update-notice guidance.
Always check whether the user is already logged in before attempting login.
circle wallet status
Possible outcomes:
agent), and session expiry. Tell the user "You're already logged in as <email>. Continue with this session?" and skip to Step 4.Error: Not logged in. Run 'circle wallet login <email> --type agent' to authenticate. Proceed to Step 3.Error: Circle CLI Terms acceptance is required before use. Stop and complete the Terms-of-Use Gate below before proceeding. Do NOT run circle terms accept without explicit user consent.Circle's CLI supports a two-step OTP login designed for AI agents and other non-interactive contexts: ask the user for their email (never guess or hardcode it), request an OTP with --init, then complete login with the returned request ID and the OTP code (e.g., ABC-123456), and verify with circle wallet status. Request IDs are single-use and expire after 10 minutes.
READ references/install-and-login.md for the exact commands, expected outputs, OTP format notes, failure handling, and how to log out / switch accounts.
The --chain flag is REQUIRED for circle wallet list and circle wallet balance. Use ARC as the default if the user hasn't specified a chain. List existing agent wallets; if none exist, circle wallet create provisions agent-controlled SCA wallets on each supported EVM chain, then read the per-chain addresses from its JSON output.
READ references/wallet-management.md for the exact circle wallet list, circle wallet create, and circle wallet balance commands and how to read their JSON output.
Check the balance for each saved address (see references/wallet-management.md). If balance is 0 USDC and the user wants to pay for services, hand off to the fund-agent-wallet skill — it covers built-in fiat on-ramp purchase, direct address transfer with a QR code, and Gateway deposits. If the user only wants to verify state (not pay yet), stop here. Bootstrap is complete.
Once the wallet exists, the user's likely next move is to use it. The CLI exposes its own skill catalog — circle skill list shows what's installable, circle skill info --name <skill> shows trigger and frontmatter detail, and circle skill install --tool <host> --name <skill> installs one for the current host. Suggest natural follow-ups like funding, paid-service search, or setting a spending limit; prefer permissionless actions (balance, search) over money-moving ones until the user asks.
The Circle CLI hard-gates every operational circle wallet command (including circle wallet status) until the user has accepted Circle's Terms of Use and Privacy Policy on this machine. Run this gate the first time it appears (typically during Step 2 or Step 3). After acceptance is recorded once, the gate is a no-op and is skipped on subsequent runs.
CRITICAL: The agent MUST show the Terms to the user and obtain explicit consent BEFORE running circle terms accept. The agent MUST NEVER accept Circle's Terms of Use or Privacy Policy on the user's behalf. The CLI's CIRCLE_ACCEPT_TERMS=1 env-var hint is NOT a workaround the agent may take on its own — ignore it and use the consent flow in references/terms-of-use.md.
READ references/terms-of-use.md for the gate's exact error text, the circle terms show / circle terms show --init / circle terms accept / circle terms reset commands, and the required show-Terms-and-request-consent flow.
circle terms accept without explicit user consent in the current session. The agent MUST NEVER accept Circle's Terms on the user's behalf, and MUST NEVER call circle terms accept automatically as part of error recovery, retries, or any flow the user has not explicitly approved.termsOfUseUrl, privacyPolicyUrl, and termsNotice returned by circle terms show --init --output json when prompting for consent. Do NOT summarize, paraphrase, or hardcode them.circle terms reset / circle terms accept.circle wallet status before attempting login. Many session "failures" are actually just stale assumptions.circle wallet login --init output — you'll need it for the OTP completion step.--init.circle command causes friction during setup (unexpected error, confusing output, missing capability), file feedback per the use-circle-cli skill's Report friction (feedback) section.--output json, --chain, --help-first, follow-up phrasing, confirmation defaults), see the use-circle-cli master skill's Rules section — they apply here too.references/install-and-login.mdreferences/wallet-management.mdreferences/terms-of-use.md@circle-fin/cliTrigger the pay-via-agent-wallet skill instead when:
circle services search, circle services inspect, or circle services pay.Trigger the fund-agent-wallet skill instead when:
Trigger the agent-wallet-policy skill instead when:
DISCLAIMER: This skill is provided "as is" without warranties, is subject to the Circle Developer Terms, and output generated may contain errors and/or include fee configuration options (including fees directed to Circle); additional details are in the repository README.
原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。