# Send sequence-cli to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "sequence-cli",
    "name": "sequence-cli",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/JamesLawton/sequence-cli",
    "canonicalUrl": "https://clawhub.ai/JamesLawton/sequence-cli",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/sequence-cli",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sequence-cli",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "sequence-cli",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-12T15:29:12.145Z",
      "expiresAt": "2026-05-19T15:29:12.145Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sequence-cli",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sequence-cli",
        "contentDisposition": "attachment; filename=\"sequence-cli-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "sequence-cli"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/sequence-cli"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/sequence-cli",
    "downloadUrl": "https://openagent3.xyz/downloads/sequence-cli",
    "agentUrl": "https://openagent3.xyz/skills/sequence-cli/agent",
    "manifestUrl": "https://openagent3.xyz/skills/sequence-cli/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/sequence-cli/agent.md"
  }
}
```
## Documentation

### Sequence Builder CLI

CLI for Sequence Builder — designed for AI agents and automation. Create wallets, authenticate, manage projects, query blockchain data, and send ERC20 transfers from the command line.

All commands support --json for machine-readable output. Always use --json when parsing results programmatically.

### Prerequisites

Node.js 18+
A Sequence Builder account (created automatically on first login)

### Quick Start

# 1. Create a wallet
npx @0xsequence/builder-cli create-wallet --json

# 2. Login with the private key from step 1
npx @0xsequence/builder-cli login -k <private-key> --json

# 3. Create a project and get an access key
npx @0xsequence/builder-cli projects create "My Project" --json

# 4. Get wallet addresses (EOA + Sequence smart wallet)
npx @0xsequence/builder-cli wallet-info -k <private-key> -a <access-key> --json

# 5. Fund the Sequence wallet via the Trails link from step 4

# 6. Send an ERC20 transfer
npx @0xsequence/builder-cli transfer \\
  -k <private-key> -a <access-key> \\
  -t <token-address> -r <recipient> \\
  -m <amount> -c <chain-id> --json

### Encrypted Key Storage

Set SEQUENCE_PASSPHRASE to auto-encrypt and store the private key locally. Once stored, you no longer need to pass -k on every command.

export SEQUENCE_PASSPHRASE="your-strong-secret"
npx @0xsequence/builder-cli create-wallet --json
# Private key is now encrypted in ~/.sequence-builder/config.json
# All subsequent commands will use the stored key automatically

### Understanding Wallet Addresses

This CLI uses Sequence Smart Wallets for transfers:

EOA Address — Standard Ethereum address from your private key. Used for login and project ownership.
Sequence Wallet Address — Smart contract wallet that can pay gas fees with ERC20 tokens (no native token needed). Used for transfers.

Always send tokens to the Sequence Wallet Address for use with the transfer command. Use wallet-info to see both addresses.

### create-wallet

Generate a new EOA keypair.

npx @0xsequence/builder-cli create-wallet --json

JSON output:

{
  "privateKey": "0x4c0883a...",
  "address": "0x89D9F8f...",
  "keyStored": true
}

### wallet-info

Show EOA and Sequence smart wallet addresses.

npx @0xsequence/builder-cli wallet-info -k <private-key> -a <access-key> --json

Options:

-k, --private-key <key> — Wallet private key (optional if stored)
-a, --access-key <key> — Project access key (required)

JSON output:

{
  "eoaAddress": "0x742BDb3...",
  "sequenceWalletAddress": "0xA71506...",
  "fundingUrl": "https://demo.trails.build/..."
}

### login

Authenticate with Sequence Builder.

npx @0xsequence/builder-cli login -k <private-key> --json

Options:

-k, --private-key <key> — Wallet private key (optional if stored)
-e, --email <email> — Email to associate with the account
--env <environment> — Environment: prod (default) or dev
--api-url <url> — Custom API URL

JSON output:

{
  "success": true,
  "address": "0x742BDb3...",
  "expiresAt": "2026-02-07T12:00:00Z"
}

### projects

Manage Sequence Builder projects. Requires login.

# List all projects
npx @0xsequence/builder-cli projects --json

# Create a new project
npx @0xsequence/builder-cli projects create "My Game" --json

# Create with specific chains
npx @0xsequence/builder-cli projects create "My Game" --chain-ids 137,8453 --json

# Get project details
npx @0xsequence/builder-cli projects get <project-id> --json

### apikeys

Manage API keys for a project. Requires login.

# List all API keys
npx @0xsequence/builder-cli apikeys <project-id> --json

# Get the default API key
npx @0xsequence/builder-cli apikeys default <project-id> --json

### transfer

Send an ERC20 token transfer using the Sequence smart wallet. Gas fees are paid with the same token being transferred — no native token needed.

npx @0xsequence/builder-cli transfer \\
  -k <private-key> \\
  -a <access-key> \\
  -t <token-address> \\
  -r <recipient-address> \\
  -m <amount> \\
  -c <chain-id> \\
  --json

Options:

-k, --private-key <key> — Wallet private key (optional if stored)
-a, --access-key <key> — Project access key (required)
-t, --token <address> — ERC20 token contract address (required)
-r, --recipient <address> — Recipient address (required)
-m, --amount <amount> — Amount in token units, e.g. 10.5 (required)
-c, --chain-id <chainId> — Chain ID (required)

JSON output:

{
  "success": true,
  "transactionHash": "0xabc123...",
  "from": "0xA71506...",
  "to": "0x123456...",
  "token": "0x833589...",
  "amount": "10.5",
  "symbol": "USDC",
  "chainId": 8453
}

### indexer

Query blockchain data using the Sequence Indexer.

# Get token balances
npx @0xsequence/builder-cli indexer balances <address> \\
  -a <access-key> -c <chain-id> --include-metadata --json

# Get native token balance (ETH, MATIC, etc.)
npx @0xsequence/builder-cli indexer native-balance <address> \\
  -a <access-key> -c <chain-id> --json

# Get transaction history
npx @0xsequence/builder-cli indexer history <address> \\
  -a <access-key> -c <chain-id> --limit 20 --json

# Get token contract info
npx @0xsequence/builder-cli indexer token-info <contract-address> \\
  -a <access-key> -c <chain-id> --json

### Supported Networks

NetworkChain IDEthereum1Polygon137Base8453Arbitrum42161Optimism10BSC56Avalanche43114

Full list: https://status.sequence.info/

### Exit Codes

CodeMeaning0Success1General error10Not logged in11Invalid private key20Insufficient funds30No projects found31Project not found40API error

### Full setup from scratch

export SEQUENCE_PASSPHRASE="my-secret"
npx @0xsequence/builder-cli create-wallet --json
# Save the output — privateKey and address
npx @0xsequence/builder-cli login --json
npx @0xsequence/builder-cli projects create "My App" --json
# Note the accessKey from the output
npx @0xsequence/builder-cli wallet-info -a <access-key> --json
# Fund the sequenceWalletAddress via the fundingUrl

### Check balance then transfer

# Check balance first
npx @0xsequence/builder-cli indexer balances <your-sequence-wallet> \\
  -a <access-key> -c 8453 --json

# Send transfer
npx @0xsequence/builder-cli transfer \\
  -a <access-key> -t <token> -r <recipient> -m 10 -c 8453 --json

### Multi-chain balance check

# Check across multiple chains
npx @0xsequence/builder-cli indexer balances <address> -a <key> -c 1 --json
npx @0xsequence/builder-cli indexer balances <address> -a <key> -c 137 --json
npx @0xsequence/builder-cli indexer balances <address> -a <key> -c 8453 --json

### Configuration

Stored in ~/.sequence-builder/config.json:

JWT token for authentication
Environment settings (prod/dev)
Encrypted private key (when SEQUENCE_PASSPHRASE is set)

### Troubleshooting

"Not logged in" error: Run login first. JWT tokens expire — re-run login if expired.

"Invalid private key" error: Key must be a 64-character hex string (with or without 0x prefix). If using stored key, verify SEQUENCE_PASSPHRASE is correct.

"Insufficient balance" error: Send tokens to the Sequence Wallet Address (not the EOA). Use wallet-info to get the correct address.

Transfer fails: Ensure the Sequence wallet has enough of the token being transferred. The same token is used to pay gas fees.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: JamesLawton
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-12T15:29:12.145Z
- Expires at: 2026-05-19T15:29:12.145Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/sequence-cli)
- [Send to Agent page](https://openagent3.xyz/skills/sequence-cli/agent)
- [JSON manifest](https://openagent3.xyz/skills/sequence-cli/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/sequence-cli/agent.md)
- [Download page](https://openagent3.xyz/downloads/sequence-cli)