·trade

Swap or trade tokens on Base network. Use when you or the user want to trade, swap, exchange, buy, sell, or convert between tokens like USDC, ETH, and WETH. Covers phrases like "buy ETH", "sell ETH for USDC", "convert USDC to ETH", "get some ETH".

1.2KInstalls·18Trend·@coinbase

Installation

$npx skills add https://github.com/coinbase/agentic-wallet-skills --skill trade

SKILL.md

Use the npx awal@latest trade command to swap tokens on Base network via the CDP Swap API. You must be authenticated to trade.

If the wallet is not authenticated, refer to the authenticate-wallet skill.

| amount | Amount to swap (see Amount Formats below) | | from | Source token: alias (usdc, eth, weth) or contract address (0x...) | | to | Destination token: alias (usdc, eth, weth) or contract address (0x...) |

Swap or trade tokens on Base network. Use when you or the user want to trade, swap, exchange, buy, sell, or convert between tokens like USDC, ETH, and WETH. Covers phrases like "buy ETH", "sell ETH for USDC", "convert USDC to ETH", "get some ETH". Source: coinbase/agentic-wallet-skills.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/coinbase/agentic-wallet-skills --skill trade
Category
!Security
Verified
First Seen
2026-02-11
Updated
2026-02-18

Quick answers

What is trade?

Swap or trade tokens on Base network. Use when you or the user want to trade, swap, exchange, buy, sell, or convert between tokens like USDC, ETH, and WETH. Covers phrases like "buy ETH", "sell ETH for USDC", "convert USDC to ETH", "get some ETH". Source: coinbase/agentic-wallet-skills.

How do I install trade?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/coinbase/agentic-wallet-skills --skill trade Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/coinbase/agentic-wallet-skills