• Projects
  • Service
  • About
  • branding.bz
  • Podcast
  • Tips
  • FAQ
  • Recruit
  • Download
  • Contact
  • branding.bz(ブランド構築SaaS)
  • DESIGN NOW(デザインメディア)
  • X
  • LinkedIn
  • Spotify
  • Facebook

213-0011 神奈川県川崎市高津区久本3-6-7-303

© 2026 ID INC. All rights reserved

claude-skills/スキル
SKILLOfficialdevelopment

use-agent-wallet

プラグイン
circle-skills
ソース
GitHub で見る ↗
説明

`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 エージェント向けウォレットのセットアップが必要なとき
  • ウォレットへのログインをしたいとき
  • ウォレットの残高を確認したいとき
  • セッション状態を確認したいとき
  • x402 サービス利用前にウォレット初期設定を行うとき
本文(日本語訳)

Circle CLI ウォレット初期設定スキル

概要

Circle CLI(@circle-fin/cli、コマンド:circle)は、プログラム駆動型エージェント用ウォレット(AIエージェントが認証を行い、残高を保有し、Circle のマーケットプレイスで有料サービス(x402方式)の料金を支払うための管理者不在型 USDC ウォレット)を提供します。本スキルはそのウォレットのブートストラップ(初期設定)に特化しており、インストール確認、利用規約の承認、ログイン、ウォレット作成、ステータス確認を扱います。初期設定が完了した後、サービス料金の支払い、資金の追加、使用ポリシーの設定などの下流の処理は、専用スキルに委譲されます。

Circle CLI の完全な機能セット(ブリッジング、スマートコントラクト実行、トランザクション検査など)の概要については、use-circle-cli マスタースキルを参照してください。本スキルはより限定的な初期設定・本人確認機能を扱う範囲です。

ワークフロー

  1. CLI がインストールされていることを確認し、その後 circle wallet status でセッション状態を確認します(最初に実行すること)。
  2. 利用規約の確認画面が出た場合は、規約表示と同意のフローを最初に完了してください——ユーザーに代わって同意を与えてはいけません。
  3. ログインしていない場合は、メールアドレスと OTP(ワンタイムパスワード)による2段階ログインを実行し、セッションを確認します。
  4. 既存のエージェントウォレットをリストアップするか、存在しない場合は作成します(--chain のデフォルトは ARC)。
  5. ウォレットの残高を確認します。残高が 0 USDC で、ユーザーが料金を支払いたい場合は fund-agent-wallet に処理を委譲します。そうでなければ初期設定は完了です。

前提条件・セットアップ

ステップ 1 — CLI がインストールされていることを確認

which circle || command -v circle
circle --version

circle がインストールされていない、または circle --version がサーバー側の更新通知を表示する場合は、references/install-and-login.md を読んでインストールおよび更新通知の対応方法を確認してください。

ステップ 2 — セッション状態を確認

ログインを試みる前に、ユーザーが既にログインしているかどうかを必ず確認してください。

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 を実行してはいけません。

ステップ 3 — ログイン(メール + OTP)

Circle の CLI は、AI エージェントなどの非対話的な環境用に設計された2段階 OTP ログインに対応しています。ユーザーにメールアドレスを尋ねます(推測またはハードコーディングしてはいけません)。--init で OTP をリクエストし、返されたリクエスト ID と OTP コード(例:ABC-123456)でログインを完了させ、circle wallet status で確認します。リクエスト ID は一度だけ使用でき、10分後に有効期限が切れます。

詳細なコマンド、予想される出力、OTP 形式の注意事項、失敗時の対応、ログアウト / アカウント切り替え方法については、references/install-and-login.md を読んでください。

ステップ 4 — エージェントウォレットを確認するか作成

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 を読んでください。

ステップ 5 — ウォレット残高を確認

保存されたアドレスごとに残高を確認します(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 を読んでください。

ルール

セキュリティ

  • ユーザーのメールアドレスをエージェントウォレットログイン用に推測またはハードコーディングしてはいけません。
  • アクティブな認証セッション中に提供された OTP コードは安全に扱えます——チャットで受け取り、即座に使用し、その後は保持または再利用しないでください。
  • 実際の秘密鍵、API キー、その他の永続的なシークレット情報をスキルファイルに含めたり、どこかに保存したりしてはいけません。
  • ユーザーの現在のセッションで明示的な同意なしに 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 完了ステップで必要になります。
  • リクエスト ID は一度だけ使用でき、10分後に有効期限が切れます。「Invalid or expired request ID(無効または期限切れのリクエスト ID)」が表示された場合は、--init から再開してください。
  • circle コマンドがセットアップ中に摩擦を生じた場合(予期しないエラー、わかりにくい出力、機能の欠落)は、use-circle-cli スキルの**フィードバック報告(Report friction)**セクションに従ってフィードバックを報告してください。
  • 一般的な CLI ルール(--output json、--chain、--help 優先、フォローアップ文句、確認デフォルト)については、use-circle-cli マスタースキルの Rules セクションを参照してください——それらはここにも適用されます。

参照リンク

  • インストールとログイン(コマンド):references/install-and-login.md
  • ウォレット管理(リストアップ、作成、残高確認):references/wallet-management.md
  • 利用規約ゲート(コマンドと同意フロー):references/terms-of-use.md
  • セットアップ完全ガイド:https://agents.circle.com/skills/setup.md
  • ログインフロー詳細:https://agents.circle.com/skills/wallet-login.md
  • npm の CLI パッケージ:@circle-fin/cli
  • Circle デベロッパードキュメント:https://developers.circle.com/llms.txt — Circle 製品のソースドキュメント検索時に必ず読んでください。

代替案

以下の場合は代わりに pay-via-agent-wallet スキルをトリガーしてください:

  • ユーザーが有料 x402 サービスを呼び出し、支払い、または使用したい場合。
  • ユーザーが circle services search、circle services inspect、circle services pay に言及した場合。
  • 下流のタスクにより、エージェントウォレットから有料エンドポイントへのお金の移動が必要な場合。

以下の場合は代わりに fund-agent-wallet スキルをトリガーしてください:

  • エージェントウォレットの残高が 0 USDC で、ユーザーが資金を追加したい場合。
  • ユーザーが入金、法定通貨オンランプ、法定通貨購入、QR コード送金、Gateway 入金に言及した場合。
  • 残高不足のため支払いフローがブロックされている場合。

以下の場合は代わりに agent-wallet-policy スキルをトリガーしてください:

  • ユーザーがウォレットの使用限度額を設定、表示、またはリセットしたい場合。
  • ユーザーがトランザクション単位 / 日次 / 週次 / 月次の上限、使用ポリシー、またはウォレットルールに言及した場合。

免責事項:本スキルは「現状のまま」提供され、保証はなく、Circle デベロッパー利用規約の対象であり、生成される出力にはエラーおよび/またはフィー設定オプション(Circle に向けられるフィーを含む)が含まれている可能性があります。詳細はリポジトリの README を参照してください。

原文(English)を表示

Overview

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.

Workflow

  1. Verify the CLI is installed, then check session status with circle wallet status before anything else.
  2. If the Terms-of-Use gate appears, complete the show-Terms-and-consent flow first — never accept on the user's behalf.
  3. If not logged in, run the two-step email + OTP login, then verify the session.
  4. List existing agent wallets, or create them if none exist (--chain defaults to ARC).
  5. Check the wallet balance; if it is 0 USDC and the user wants to pay, hand off to fund-agent-wallet. Otherwise bootstrap is complete.

Prerequisites / Setup

Step 1 — Verify the CLI is installed

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.

Step 2 — Check session status

Always check whether the user is already logged in before attempting login.

circle wallet status

Possible outcomes:

  • Logged in — output shows email, wallet type (agent), and session expiry. Tell the user "You're already logged in as <email>. Continue with this session?" and skip to Step 4.
  • Not logged in — output is Error: Not logged in. Run 'circle wallet login <email> --type agent' to authenticate. Proceed to Step 3.
  • Terms not accepted — output is 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.

Step 3 — Login (email + OTP)

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.

Step 4 — Check or create the agent wallet

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.

Step 5 — Check wallet balance

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.

After bootstrap

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.

Terms-of-Use Gate

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.

Rules

Security

  • NEVER guess or hardcode the user's email address for agent wallet login.
  • OTP codes provided during an active authentication session are safe to handle — accept them in chat, use them immediately, do not retain or reuse afterward.
  • NEVER include real private keys, API keys, or other persistent secrets in skill files or persist them anywhere.
  • NEVER run 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.
  • ALWAYS show the live termsOfUseUrl, privacyPolicyUrl, and termsNotice returned by circle terms show --init --output json when prompting for consent. Do NOT summarize, paraphrase, or hardcode them.
  • If the user declines the Terms, stop the flow. Do not retry, work around the gate, or call circle terms reset / circle terms accept.

Best practices

  • ALWAYS check circle wallet status before attempting login. Many session "failures" are actually just stale assumptions.
  • Parse and store the request ID from circle wallet login --init output — you'll need it for the OTP completion step.
  • Request IDs are single-use and expire after 10 minutes. If you see "Invalid or expired request ID", restart from --init.
  • If a 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.
  • For general CLI rules (--output json, --chain, --help-first, follow-up phrasing, confirmation defaults), see the use-circle-cli master skill's Rules section — they apply here too.

Reference Links

  • Installation and login (commands): references/install-and-login.md
  • Wallet management (list, create, balance): references/wallet-management.md
  • Terms-of-Use Gate (commands and consent flow): references/terms-of-use.md
  • Setup walkthrough (full bootstrap doc): https://agents.circle.com/skills/setup.md
  • Login flow detail: https://agents.circle.com/skills/wallet-login.md
  • CLI package on npm: @circle-fin/cli
  • Circle Developer Docs: https://developers.circle.com/llms.txt — Always read this when looking for source documentation on Circle products.

Alternatives

Trigger the pay-via-agent-wallet skill instead when:

  • The user wants to call, pay for, or use a paid x402 service.
  • The user mentions circle services search, circle services inspect, or circle services pay.
  • A downstream task requires money to move out of the agent wallet to a paid endpoint.

Trigger the fund-agent-wallet skill instead when:

  • The agent wallet has 0 USDC and the user wants to add funds.
  • The user mentions deposit, fiat on-ramp, fiat purchase, QR-code transfer, or Gateway deposit.
  • A payment flow blocks because of insufficient balance.

Trigger the agent-wallet-policy skill instead when:

  • The user wants to set, view, or reset spending limits on the wallet.
  • The user mentions per-tx / daily / weekly / monthly caps, spending policy, or wallet rules.

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 による自動翻訳です。