@clawcard/cli
v3.4.0
Published
The ClawCard CLI — manage your agent keys, billing, and setup from the terminal
Readme
@clawcard/cli
The complete identity for autonomous AI agents.
One command gives your agent email, phone, virtual cards, a USDC crypto wallet, on-chain identity, and access to every paid API on the internet. Works with Claude Code, Cursor, Gemini CLI, and any MCP-compatible agent.
Install
npm install -g @clawcard/cliGet Started
# Sign up (requires invite code)
clawcard signup
# Top up your balance (minimum $5)
clawcard billing topup
# Create your agent key
clawcard keys create
# Set up your agent (installs skill + configures API key)
clawcard setupclawcard setup uses skills.sh to install the ClawCard skill for your agent.
What Your Agent Gets
| Capability | Description |
|---|---|
| Email | Dedicated inbox at @mail.clawcard.sh |
| Phone | SMS-enabled US phone number |
| Virtual Cards | Instant Visa cards with per-card spend limits |
| Crypto Wallet | USDC on Base — gasless transfers, x402 + MPP payments |
| Service Discovery | Find and pay for any API in the x402 ecosystem |
| On-Chain Identity | ERC-8004 NFT — verifiable, portable agent identity |
| Credentials | AES-256 encrypted vault for API keys and secrets |
| Spending Guardrails | Per-agent, per-transaction, per-day limits |
Agent Commands
Your agent runs these commands directly. All support --json for machine-parseable output.
Identity & Info
| Command | Description |
|---|---|
| clawcard agent info --json | Agent identity (email, phone, wallet, budget) |
| clawcard agent budget --json | Check remaining FIAT budget |
| clawcard agent activity --json | View activity log |
Communication
| Command | Description |
|---|---|
| clawcard agent emails --json | List inbox |
| clawcard agent emails send --to --subject --body --json | Send email |
| clawcard agent sms --json | List SMS messages |
| clawcard agent sms send --to --body --json | Send SMS |
Virtual Cards (FIAT)
| Command | Description |
|---|---|
| clawcard agent cards --json | List virtual cards |
| clawcard agent cards create --amount --type --memo --json | Create card |
| clawcard agent cards details <id> --json | Get PAN, CVV, expiry |
| clawcard agent cards close <id> --json | Close card |
Crypto Wallet (USDC on Base)
| Command | Description |
|---|---|
| clawcard agent wallet --json | View wallet (or create one) |
| clawcard agent wallet balance --json | Balance + spending power |
| clawcard agent wallet fund --amount <dollars> --json | Fund wallet from FIAT balance |
| clawcard agent wallet send --to <0x> --amount <usdc> --json | Send USDC |
| clawcard agent wallet send --url <url> --json | Pay an x402 API |
| clawcard agent wallet send --url <url> --protocol mpp --json | Pay an MPP API |
| clawcard agent wallet transactions --json | Transaction history |
| clawcard agent wallet freeze --json | Freeze wallet |
| clawcard agent wallet unfreeze --json | Unfreeze wallet |
| clawcard agent wallet close --json | Close wallet permanently |
Discovery & Identity
| Command | Description |
|---|---|
| clawcard agent discover --query "web search" --json | Find x402 services |
| clawcard agent identity --json | Register/view ERC-8004 on-chain identity |
| clawcard agent card --json | View A2A agent card (discovery document) |
Credentials
| Command | Description |
|---|---|
| clawcard agent creds --json | List stored credentials |
| clawcard agent creds set --service --key --value --json | Store credential |
| clawcard agent creds get --service --key --json | Retrieve credential |
User Commands
| Command | Description |
|---|---|
| clawcard login | Log in via browser |
| clawcard signup | Sign up with invite code |
| clawcard logout | Clear session |
| clawcard whoami | Show current account |
| clawcard agent | Show agent identity |
| clawcard agent fund | Add budget to your agent |
| clawcard keys create | Create agent key |
| clawcard keys revoke | Revoke key |
| clawcard setup | Install ClawCard skill |
| clawcard billing | Billing dashboard |
| clawcard billing topup | Top up balance |
| clawcard billing balance | Quick balance check |
| clawcard referral | Show referral code |
| clawcard settings | Manage billing address |
| clawcard help | Show all commands |
How It Works
- You create an agent key — it gets email, phone, and budget
clawcard setupinstalls the skill that teaches your agent the commands- Agent creates a wallet, discovers services, pays for APIs, signs up for things
- Everything is logged — full audit trail in the dashboard
- You control the budget and can freeze/close anything instantly
Payment Protocols
ClawCard is the first platform to unify both major machine payment protocols:
- x402 (Coinbase) — Pay-per-request API payments with USDC. 50M+ transactions.
- MPP (Stripe/Tempo) — Session-based machine payments. Cards, stablecoins, Lightning.
Your agent pays for any service in either ecosystem. You never think about protocols.
Pricing
Pay as you go. No subscriptions, no monthly fees.
- Minimum top-up — $5
- Processing fee — 10% on FIAT top-ups
- Wallet funding fee — 2% on FIAT-to-USDC conversion
- Cards — Unlimited
- x402/MPP payments — Pay source price (no markup)
