spanDEX-agentic-swap
Installation
SKILL.md
spanDEX Agentic Swap
Fetch swap quotes and execute token swaps on Base via the spanDEX API and Privy agentic wallets.
Modes
Always determine which mode applies before doing anything:
- Quote only — user wants to know the price or route. Fetch and summarize. Do not present tx steps unless asked.
- Dry run — user wants to inspect the execution steps without sending. Fetch quote, display each step in human-readable form. Do not send any transactions.
- Execute — user wants the swap to happen. Fetch a fresh quote, validate the wallet, safety-check the approval, then send transactions in order and wait for confirmations.
If the user's intent is ambiguous, default to quote only and ask before proceeding to execute.
Defaults
Apply these when the user doesn't specify: