Agent skill · marketing growth · sundial-org
solana-swaps
Swap tokens on Solana via Jupiter aggregator and check wallet balances. Use when user wants to swap tokens, check SOL/token balance, or get swap quotes.
Why this skill is useful
Adds specific commands and API interactions for swapping tokens on Solana that the AI wouldn't reliably generate on its own.
What it needs
Requires curl, jq, node, solana, spl-token installed locally. Requires jupiter account access. About 3k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.
What this skill does
Solana Swaps Manage your Solana wallet: check balances and swap tokens using the Jupiter aggregator. Environment Variables These environment variables are pre-configured and available for use: Variable Description ---------- ------------- SOLANAKEYPAIRPATH Path to wallet keypair JSON file JUPITERAPIKEY Jupiter API key for authenticated requests (avoids platform fees, required for Token2022/pump.fun tokens) Note: These are already set in the skill config. Just use $SOLANAKEYPAIRPATH and $JUPITERAPIKEY directly in commands. Verify Setup Balance Checking Check SOL Balance List All Token Accounts Check Specific Token Balance Common Token Mint Addresses Token Symbol Mint Address Decimals ------- -------- ------------- ---------- Wrapped SOL SOL So11111111111111111111111111111111111111112 9 USD Coin USDC EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v 6 Tether USDT Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB 6 Bonk BONK DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 5 Jupiter JUP JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN 6 Raydium RAY 4k3Dyjzvzp8eMZWUXbBCjEvwSkkk59S5iCNLY3QrkX6R 6 Token Swaps via Jupiter CRITICAL: Always display swap details and wait for explicit user confirmation before executing any swap. Step 1: Get Quote Convert human-readable amounts to raw units: SOL: multiply by 1,000,000,000 (10^9) USDC/USDT: multiply by 1,000,000 (10^6) BONK: multiply by 100,000 (10^5) Step 2: Display Quote and Request Confirmation Parse the quote response and display to user: Input: amount and token name Output: expected amount and token name Price impact percentage Slippage tolerance Minimum received (otherAmountThreshold) IMPORTANT: Ask user "Do you want to proceed with this swap?" and wait for explicit confirmation ("yes", "proceed", "confirm") before continuing. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills sundial-org/solana-swaps