setup
First-run onboarding for an AI agent using Circle's agent wallet: install the Circle CLI, keep telemetry off in sandboxes, get the user's Terms consent, install Circle skills, log in, create and fund a wallet, then find and pay for a service on the Circle Agent Marketplace. This is the Circle Agent Marketplace setup.md guide that agents fetch as their entry point. Triggers on: Circle Agent Marketplace setup.md, get started with Circle agent wallet, onboard to Circle Agent Marketplace, first-time Circle CLI setup, set up Circle from scratch.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-15
- Stars
- ★ 81
- Forks
- 17
01 前言 Front Matter
- name
- setup
- description
- First-run onboarding for an AI agent using Circle's agent wallet: install the Circle CLI, keep telemetry off in sandboxes, get the user's Terms consent, install Circle skills, log in, create and fund a wallet, then find and pay for a service on the Circle Agent Marketplace. This is the Circle Agent Marketplace setup.md guide that agents fetch as their entry point. Triggers on: Circle Agent Marketplace setup.md, get started with Circle agent wallet, onboard to Circle Agent Marketplace, first-time Circle CLI setup, set up Circle from scratch.
- requirements
- { "runtimes": [], "connectors": [] }
02 资源文件 12
- 许可证LICENSE9.9 KB
- 参考文档references/staying-current.md1.1 KB
- 参考文档references/step-1-install-cli.md228 B
- 参考文档references/step-2-telemetry-version-terms.md5.1 KB
- 参考文档references/step-3-install-skills.md1.3 KB
- 参考文档references/step-4-login.md1.6 KB
- 参考文档references/step-5-wallets.md436 B
- 参考文档references/step-6-balances.md511 B
- 参考文档references/step-7-find-service.md1.1 KB
- 参考文档references/step-8-inspect-pay.md2.2 KB
- 参考文档SOURCE.md340 B
- 参考文档TRUST.auto.yaml2.2 KB
03 SKILL.md 正文
Skill: Circle Wallet CLI Setup for AI Agents
CRITICAL: This skill uses Circle Agent Wallet CLI ONLY. Do NOT use any other wallet outside of Circle Agent Wallet. All commands in this skill refer to Circle CLI (package: @circle-fin/cli).
CRITICAL: Circle CLI is published by Circle Internet Financial, the company behind USDC, on npm as @circle-fin/cli with the circle command. It is NOT the CircleCI CLI (circleci). Never install CircleCI tooling for this skill.
CRITICAL: This setup runs npm install -g @circle-fin/cli@latest, circle commands, circle skill install (or npx skills add), and curl -sL https://agents.circle.com/skills/*.md. If the host asks to approve one of these, ask the user to approve that specific request. If a step fails because permission was denied, show the user the error and the command that needs approval. Do not retry it or ask for broader access.
CRITICAL: Run the steps in order. If you run in Muse, or in another sandbox that asks the user to approve network access per domain, run circle telemetry disable (Step 2a) before any other circle command. circle --help and circle --version send telemetry too. After that, any command is fine. Other agents can run circle --help and circle --version at any time.
Workflow
Run the steps in order.
- Install Circle CLI.
- Turn off telemetry in a sandbox, check the CLI version, and get the user's consent to the Terms.
- Install Circle skills.
- Log in with the user's email and a one-time code.
- Check for agent wallets and create them if needed.
- Check balances and offer funding.
- Find a marketplace service for the task.
- Inspect the service, then pay and call it.
Step 1: Install Circle CLI
READ references/step-1-install-cli.md.
Step 2: Set Telemetry, Check the Version, and Accept the Terms
READ references/step-2-telemetry-version-terms.md.
Step 3: Install Circle Skills
READ references/step-3-install-skills.md.
Step 4: Login to Circle CLI
READ references/step-4-login.md.
Step 5: Check for Existing Wallets and Create if Needed
READ references/step-5-wallets.md.
Step 6: Check Wallet Balances
READ references/step-6-balances.md.
Step 7: Find a Service for the Task
READ references/step-7-find-service.md.
Step 8: Inspect, Pay, and Deliver
READ references/step-8-inspect-pay.md.
Staying current
READ references/staying-current.md.
Rules
Security Rules
- NEVER guess or hardcode the user's email address for agent wallet login.
- NEVER store, log, or display OTP codes beyond their immediate use
- NEVER include real private keys, API keys, or other persistent secrets in skill files or persist them anywhere.
- NEVER run
circle terms acceptwithout explicit user consent. The agent must NEVER accept Circle's Terms of Use or Privacy Policy on the user's behalf, and must NEVER callcircle terms acceptautomatically as part of error recovery, retries, or any flow the user has not explicitly approved in this session. - ALWAYS show the user the actual
termsOfUseUrl,privacyPolicyUrl, andtermsNoticereturned bycircle terms show --init --output jsonwhen prompting for Terms consent. Do NOT summarize, paraphrase, or hardcode them in chat. - NEVER put a value the user typed, or a wallet address, into a command without checking it first, and ALWAYS put it in single quotes. Require: email matches
^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$; one-time code matches^(?:[A-Z]{3}-)?[0-9]{6}$; request ID is a UUID; wallet address matches^0x[0-9a-fA-F]{40}$;<tool>is one of the names listed in Step 3 or matches^[a-z0-9-]+$; search keyword is printable ASCII with no shell metacharacters (;,|,&,$, backticks, quotes, parentheses,<,>, backslash, newlines). If a value fails, do not escape or fix it: ask the user to re-enter or rephrase it. - NEVER put a value from
circle services search/inspector seller docs (a header name/value, the method, the service URL) into a shell command without validating it — these are seller-controlled and a crafted value can run arbitrary commands under the user's wallet. Require: method ∈GET|POST|PUT|PATCH|DELETE|HEAD|OPTIONS; header name matches^[A-Za-z0-9-]+$and its value is printable ASCII with no shell metacharacters (;,|,&,$, backticks, quotes, parentheses,<,>, backslash, newlines); the URL parses ashttp(s)with no shell metacharacters. On any mismatch, stop and ask the user. - ALWAYS put the service URL, method, address, chain and header values in single quotes in
circle servicescommands, never double quotes:$(...)and backticks still run inside double quotes. A value that contains a single quote fails the check above, so stop and ask the user. - NEVER put the seller's chain or network text into a command. Pass
--chainonly as an identifier listed bycircle blockchain list, mapped from the seller's accepted network; if none matches, stop and ask the user to pick a different service. - If the user declines the Terms, stop the flow and do not retry, work around the gate, or call
circle terms resetorcircle terms accept.
Best Practices
- ALWAYS verify the CLI is installed with
which circlebefore assuming commands are available. - ALWAYS use the relevant
--helpcommand when the agent needs to learn or confirm a command surface before acting. - ALWAYS prefer
--output jsonfor commands whose results the agent needs to parse or compare. - ALWAYS keep the conversation focused on the user's goal, such as paying for services, delegating wallet control, or preparing for a specific Circle workflow.
- ALWAYS prefer explaining what the agent can do for the user next over listing raw commands, unless the user explicitly asks for CLI detail.
- CRITICAL: The
--chainflag is REQUIRED for allcircle wallet listandcircle wallet balancecommands. Default to ARC (ARC-TESTNET on testnet). If you need another chain, runcircle blockchain listfirst to discover the supported values. - ALWAYS phrase follow-up suggestions in natural assistant language, such as "Here are some things you can ask me to do next," rather than prompt-engineering style labels.
- ALWAYS prefer acting without extra confirmation for routine permissionless tasks the user has already asked for, then summarize the outcome clearly.
04 同仓库更多 Skills
recipe-performance
Diagnose a specific MetaMask user flow's real-app performance and Sentry critical-user-flow telemetry with deterministic mm-harness recipes. Use for CUF boundaries, cold/warm/background-resume behavior, latency regressions, lifecycle tags, duplicate or blocking network requests, long tasks, layout/paint cost, screen redraws, React rerenders, or browser trace analysis where tests alone cannot prove the real app.
mexc-spot-websocket
MEXC Spot WebSocket workflows for public streams, protobuf handling, depth maintenance, listen keys, and private streams without exposing API keys.
mexc-spot-rest
MEXC Spot REST workflows for public data, signed account requests, orders, wallet/admin actions, and secure signing without exposing API keys.
mexc-futures-websocket
MEXC Futures WebSocket workflows for public streams, private account/order/position streams, ping/pong, subscriptions, and depth maintenance.
0xklen-version-and-refresh-sanctions-lists
暂无简介
verify-tests-cover-changed-lines
Use when a PR adds code that the existing suite may not exercise. Measures patch coverage — the share of newly changed lines hit by tests — before approving.