Get the FREE Ultimate OpenClaw Setup Guide →

Coinbase Automation

Scanned
npx machina-cli add skill ComposioHQ/awesome-claude-skills/coinbase-automation --openclaw
Files (1)
SKILL.md
3.3 KB

Coinbase Automation

Automate Coinbase operations including listing cryptocurrency wallets, paginating through wallet collections, and retrieving portfolio data.

Toolkit docs: composio.dev/toolkits/coinbase


Setup

This skill requires the Rube MCP server connected at https://rube.app/mcp.

Before executing any tools, ensure an active connection exists for the coinbase toolkit. If no connection is active, initiate one via RUBE_MANAGE_CONNECTIONS.


Core Workflows

1. List All Wallets

Retrieve all wallets from Coinbase with pagination support.

Tool: COINBASE_LIST_WALLETS

Key Parameters:

  • limit -- Results per page (1--100, default: 25)
  • order -- Sort order: "asc" (ascending) or "desc" (descending, default)
  • starting_after -- Cursor for forward pagination: ID of the last wallet from the previous page
  • ending_before -- Cursor for backward pagination: ID of the first wallet from the previous page

Example (first page):

Tool: COINBASE_LIST_WALLETS
Arguments:
  limit: 50
  order: "desc"

Example (next page):

Tool: COINBASE_LIST_WALLETS
Arguments:
  limit: 50
  order: "desc"
  starting_after: "wallet_abc123_last_id_from_prev_page"

2. Paginate Through All Wallets

To retrieve a complete wallet inventory, iterate through pages.

Steps:

  1. Call COINBASE_LIST_WALLETS with desired limit and order
  2. If the response contains more results, note the ID of the last wallet returned
  3. Call COINBASE_LIST_WALLETS again with starting_after set to that last wallet ID
  4. Repeat until no more results are returned

3. Audit Wallet Portfolio

Retrieve wallet data for portfolio analysis and reporting.

Steps:

  1. Call COINBASE_LIST_WALLETS with limit: 100 to maximize per-page results
  2. Collect wallet balances and metadata from each page
  3. Aggregate data across all pages for a complete portfolio view

4. Monitor Wallet Changes

Periodically list wallets to detect new additions or changes.

Steps:

  1. Call COINBASE_LIST_WALLETS with order: "desc" to get newest wallets first
  2. Compare against previously stored wallet IDs to identify new entries
  3. Schedule periodic checks for continuous monitoring

Known Pitfalls

PitfallDetail
Pagination requiredWallet lists are paginated. Always check for additional pages using cursor-based pagination (starting_after/ending_before).
Limit boundsThe limit parameter accepts 1--100. Values outside this range cause errors. Default is 25.
Cursor-based paginationUses wallet IDs as cursors, not page numbers. You must extract the last/first wallet ID from each response to navigate pages.
CDP SDK scopeThis tool uses the Coinbase CDP SDK. Available operations depend on the API key permissions granted during connection setup.

Quick Reference

Tool SlugDescription
COINBASE_LIST_WALLETSList cryptocurrency wallets with pagination

Powered by Composio

Source

git clone https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/coinbase-automation/SKILL.mdView on GitHub

Overview

Coinbase Automation lets you list and manage cryptocurrency wallets, accounts, and portfolio data through the Coinbase CDP SDK. It supports paginated wallet retrieval, portfolio aggregation, and continuous monitoring via the Rube MCP server. This enables repeatable, auditable crypto inventory workflows.

How This Skill Works

The skill uses the COINBASE_LIST_WALLETS tool to fetch wallets with limit, order, and cursor-based pagination. It requires an active connection to the Rube MCP and Coinbase toolkit, then aggregates data across pages for a complete portfolio view. It can compare current wallet IDs against stored ones to detect changes over time.

When to Use It

  • Create a complete wallet inventory for portfolio analysis and reporting.
  • Audit wallet balances and metadata across all pages for reconciliation.
  • Detect new wallets or changes via periodic monitoring.
  • Generate paginated wallet reports with controlled page size and order.
  • Schedule ongoing wallet health checks to keep inventory fresh.

Quick Start

  1. Step 1: Connect to the Rube MCP server and enable the coinbase toolkit (RUBE_MANAGE_CONNECTIONS).
  2. Step 2: Call COINBASE_LIST_WALLETS with limit and order to fetch the first page (e.g., limit: 50, order: 'desc').
  3. Step 3: Iterate using starting_after with the last wallet ID from each page and aggregate results until all pages are retrieved.

Best Practices

  • Ensure an active Rube MCP connection to the coinbase toolkit before first use.
  • Use limit up to 100 and choose the appropriate order (asc/desc) for your needs.
  • Use starting_after with the last wallet ID to navigate forward pages.
  • Verify CDP SDK permissions in your API key after establishing the connection.
  • Paginate until no more results and cache last IDs for delta comparisons.

Example Use Cases

  • List all wallets across pages to compile a full portfolio view for a quarterly report.
  • Audit wallet balances and metadata to reconcile with internal accounting.
  • Monitor for new wallet creations and changes to trigger alerts.
  • Aggregate per-page results into a single, consolidated portfolio snapshot.
  • Run scheduled checks to keep the wallet inventory and portfolio data up to date.

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers