Coinbase Automation
Scannednpx machina-cli add skill ComposioHQ/awesome-claude-skills/coinbase-automation --openclawCoinbase 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 pageending_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:
- Call
COINBASE_LIST_WALLETSwith desiredlimitandorder - If the response contains more results, note the ID of the last wallet returned
- Call
COINBASE_LIST_WALLETSagain withstarting_afterset to that last wallet ID - Repeat until no more results are returned
3. Audit Wallet Portfolio
Retrieve wallet data for portfolio analysis and reporting.
Steps:
- Call
COINBASE_LIST_WALLETSwithlimit: 100to maximize per-page results - Collect wallet balances and metadata from each page
- Aggregate data across all pages for a complete portfolio view
4. Monitor Wallet Changes
Periodically list wallets to detect new additions or changes.
Steps:
- Call
COINBASE_LIST_WALLETSwithorder: "desc"to get newest wallets first - Compare against previously stored wallet IDs to identify new entries
- Schedule periodic checks for continuous monitoring
Known Pitfalls
| Pitfall | Detail |
|---|---|
| Pagination required | Wallet lists are paginated. Always check for additional pages using cursor-based pagination (starting_after/ending_before). |
| Limit bounds | The limit parameter accepts 1--100. Values outside this range cause errors. Default is 25. |
| Cursor-based pagination | Uses wallet IDs as cursors, not page numbers. You must extract the last/first wallet ID from each response to navigate pages. |
| CDP SDK scope | This tool uses the Coinbase CDP SDK. Available operations depend on the API key permissions granted during connection setup. |
Quick Reference
| Tool Slug | Description |
|---|---|
COINBASE_LIST_WALLETS | List 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
- Step 1: Connect to the Rube MCP server and enable the coinbase toolkit (RUBE_MANAGE_CONNECTIONS).
- Step 2: Call COINBASE_LIST_WALLETS with limit and order to fetch the first page (e.g., limit: 50, order: 'desc').
- 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.