Back to skills
trade
communityworkflows
Swaps and trades tokens on the Base network using the CDP Swap API.
Setup & Installation
npx skills add https://github.com/coinbase/agentic-wallet-skills --skill trade
https://github.com/coinbase/agentic-wallet-skills/tree/main/skills/trade
View on GitHubWhat This Skill Does
Swaps and trades tokens on the Base network using the CDP Swap API. Supports USDC, ETH, WETH, and arbitrary token contracts with flexible amount formats including dollar notation and atomic units.
Lets you execute token swaps directly from the terminal without switching to a browser-based DEX or connecting a wallet extension.
When to use it
- Swapping USDC to ETH before minting an NFT on Base
- Selling ETH for USDC to lock in a price during volatility
- Converting WETH back to native ETH after bridging
- Buying a small amount of ETH to cover gas fees
- Trading between two tokens using their contract addresses
Similar Skills
pptx-generator
Generates, edits, and reads PowerPoint files using PptxGenJS and markitdown.
wp-project-triage
Inspects a WordPress repository and outputs a structured JSON report describing the project kind, tooling, tests, and version hints.
internal-comms
Writes internal communications in company-specific formats.
pptx
Handles everything involving .
