ubi-circle
Installation
SKILL.md
ubi.fun with a Circle Agent Wallet
The ubi MCP server prepares unsigned steps (see ubi-trading and ubi-launch). This skill sends them from a Circle Agent Wallet on Arc with the bundled scripts/ubi-circle.mjs (Node.js 20 or newer). Circle signs and submits; the script never sees a key, an email code, or a session token.
Why a script: the Circle CLI only takes "function signature + text arguments", which cannot carry a Universal Router swap or a launch. Circle's API accepts raw calldata, so setup installs one pinned Circle CLI version (@circle-fin/cli@1.2.2) into ~/.ubi-circle, checks its hash, and writes a copy beside it that adds --call-data for Circle Agent Wallets on ARC. The installed CLI file is not changed, and every other command is the stock CLI.
One-time setup (the human does this, in their own terminal)
node scripts/ubi-circle.mjs setup
node scripts/ubi-circle.mjs circle terms show # read them, then:
node scripts/ubi-circle.mjs circle terms accept
node scripts/ubi-circle.mjs circle wallet login YOUR_EMAIL --type agent
node scripts/ubi-circle.mjs wallets
- The login asks for the emailed code in the terminal. Never type that code into an agent chat, and never ask the user for it.
- Do not accept Circle's terms on the user's behalf. Terms and login are the user's steps.
walletsprints the Circle Agent Wallet address on ARC. Fund it with USDC on Arc (https://ubi.fun/bridge moves USDC from other chains). Keep some USDC beyond the trade amount: Arc pays gas in USDC.