Awesome-claude-skills-cn Coinbase Automation
Coinbase 自动化:通过 Coinbase CDP SDK 列出和管理加密货币钱包、账户和投资组合数据。
install
source · Clone the upstream repo
git clone https://github.com/Athe1st3154/awesome-claude-skills-cn
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/Athe1st3154/awesome-claude-skills-cn "$T" && mkdir -p ~/.claude/skills && cp -r "$T/composio-skills/coinbase-automation" ~/.claude/skills/athe1st3154-awesome-claude-skills-cn-coinbase-automation && rm -rf "$T"
manifest:
composio-skills/coinbase-automation/SKILL.mdsource content
Coinbase Automation
Automate Coinbase operations including listing cryptocurrency wallets, paginating through wallet collections, and retrieving portfolio data.
Toolkit docs: composio.dev/toolkits/coinbase
设置
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:
-- Results per page (1--100, default: 25)limit
-- Sort order:order
(ascending) or"asc"
(descending, default)"desc"
-- Cursor for forward pagination: ID of the last wallet from the previous pagestarting_after
-- Cursor for backward pagination: ID of the first wallet from the previous pageending_before
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
with desiredCOINBASE_LIST_WALLETS
andlimitorder - If the response contains more results, note the ID of the last wallet returned
- Call
again withCOINBASE_LIST_WALLETS
set to that last wallet IDstarting_after - Repeat until no more results are returned
3. Audit Wallet Portfolio
Retrieve wallet data for portfolio analysis and reporting.
Steps:
- Call
withCOINBASE_LIST_WALLETS
to maximize per-page resultslimit: 100 - 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
withCOINBASE_LIST_WALLETS
to get newest wallets firstorder: "desc" - Compare against previously stored wallet IDs to identify new entries
- Schedule periodic checks for continuous monitoring
已知陷阱
| Pitfall | Detail |
|---|---|
| Pagination required | Wallet lists are paginated. Always check for additional pages using cursor-based pagination (/). |
| Limit bounds | The 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. |
快速参考
| Tool Slug | Description |
|---|---|
| List cryptocurrency wallets with pagination |
由 Composio 提供支持