skills/emblem-token-swap/SKILL.md
Execute token swaps across 6 blockchains via EmblemAI. Automatic route optimization and cross-chain bridging via ChangeNow. Use when the user wants to swap tokens, exchange crypto, convert between currencies, or bridge assets cross-chain.
npx skillsauth add emblemcompany/agent-skills emblem-token-swapInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Guided token swapping powered by EmblemAI. Swap tokens on Solana, Ethereum, Base, BSC, Polygon, and Hedera with automatic routing. Cross-chain bridging via ChangeNow.
Requires: npm install -g @emblemvault/agentwallet
| Chain | Quote Tool | Swap Tool | Balance Tool | Token Search |
|-------|-----------|-----------|-------------|--------------|
| Solana | splBuyIntent (quote mode) | splBuyIntent (swap mode) | solanaBalances | findSolanaSwapToken |
| Ethereum | ethSwapQuote | ethSwap | ethGetBalances | searchCryptoByName |
| Base | baseSwapQuote | baseSwap | baseGetBalances | searchEvmTokensBirdeye |
| BSC | bscSwapQuote | bscSwap | bscGetBalances | searchEvmTokensBirdeye |
| Polygon | polygonSwapQuote | polygonSwap | polygonGetBalances | searchEvmTokensBirdeye |
| Hedera | hederaTokensSwapQuote | hederaTokensSwap | hederaGetBalances | hederaFindTokens |
| Cross-chain | getChangeNowSwapQuote | swapUsingChangeNow | — | getChangeNowSupportedCurrencies |
splBuyIntent for both quotes and execution — it handles token lookup by name/symbol/CA and flexible amounts ($USD, SOL, or token quantity)getBTCBalances) but no on-chain swap tools — use ChangeNow for BTC bridgesnpm install -g @emblemvault/agentwallet
# Solana swap (uses splBuyIntent)
emblemai --agent --profile default -m "Use splBuyIntent to swap 5 SOL for USDC on Solana"
# Cross-chain bridge (uses ChangeNow)
emblemai --agent --profile default -m "Use getChangeNowSwapQuote to get a quote for bridging 0.05 ETH from Ethereum to SOL on Solana"
Trigger phrases:
Confirm you have enough of the source token.
emblemai --agent --profile default -m "Use solanaBalances to show my Solana token balances"
Preview the swap before executing.
emblemai --agent --profile default -m "Use splBuyIntent to get a quote for swapping 5 SOL to USDC"
emblemai --agent --profile default -m "Use splBuyIntent to swap 5 SOL for USDC on Solana"
Safe mode requires your confirmation before executing.
Confirm the new balance.
emblemai --agent --profile default -m "Use solanaBalances to show my updated balances"
# By token amount
emblemai --agent --profile default -m "Use splBuyIntent to swap 0.5 SOL for USDC"
# By dollar amount
emblemai --agent --profile default -m "Use splBuyIntent to swap $20 of SOL for JUP"
# By token name
emblemai --agent --profile default -m "Use splBuyIntent to swap 100 USDC for BONK"
# Ethereum
emblemai --agent --profile default -m "Use ethSwapQuote to get a quote for swapping 0.01 ETH to USDC, then use ethSwap to execute"
# Base
emblemai --agent --profile default -m "Use baseSwapQuote to quote 0.005 ETH to USDC on Base"
# BSC
emblemai --agent --profile default -m "Use bscSwapQuote to quote 0.1 BNB to USDT on BSC"
# Polygon
emblemai --agent --profile default -m "Use polygonSwapQuote to quote 10 POL to USDC on Polygon"
emblemai --agent --profile default -m "Use hederaTokensSwapQuote to get a quote for 100 HBAR to USDC, then use hederaTokensSwap to execute"
emblemai --agent --profile default -m "Use getChangeNowSwapQuote to quote bridging 0.1 ETH to SOL"
emblemai --agent --profile default -m "Use getChangeNowSupportedCurrencies to show available bridge currencies"
Always include these in swap requests:
| Bad | Good |
|-----|------|
| "swap sol usdc" | "Use splBuyIntent to swap 5 SOL for USDC" |
| "buy eth" | "Use ethSwap to swap 100 USDC to ETH on Ethereum" |
| "bridge" | "Use getChangeNowSwapQuote to bridge 0.05 ETH to SOL" |
All swaps require explicit user confirmation (safe mode). The agent will:
Never bypasses confirmation for any value-moving operation.
bash scripts/swap-helper.sh
See scripts/swap-helper.sh for an interactive swap walkthrough.
testing
Track crypto portfolio across 7 blockchains via EmblemAI. Aggregated balances with USD values, conditional trade P&L, and DeFi position tracking via Nansen. Use when the user wants to check their portfolio, see balances across chains, or review trade positions.
testing
Memecoin discovery and risk assessment via EmblemAI. Trending memecoins on Solana, Base, and Hedera. Pump.fun and LaunchLab new token alerts, Clanker discovery, rug-pull detection, holder analysis, and smart money tracking. Use when the user wants to find new memecoins, check if a token is a rug pull, or scout trending low-cap tokens.
data-ai
Crypto market intelligence via EmblemAI. Trending tokens, on-chain analytics, derivatives data, and smart money tracking from CoinGecko, CoinGlass, Birdeye, and Nansen. Use when the user wants market data, trending tokens, derivatives analytics, or on-chain intelligence.
testing
DeFi yield research and liquid staking via EmblemAI. Discover yield opportunities, compare protocols, check DeFi positions with Nansen, and enter liquid staking via token swaps. Use when the user wants to research yields, find staking options, or review DeFi positions.