skills/multi-swap/SKILL.md
Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions "two swaps", "three swaps", "swap X and Y at the same time", or wants to convert multiple tokens in a single call.
npx skillsauth add ahmetenesdur/starkfi multi-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.
Execute 2-3 independent token swaps in a single Starknet transaction via Fibrous (default). Other providers can be selected with --provider, or use --provider auto to race all providers per pair. All swaps are bundled into one multicall, saving gas compared to executing them individually.
npx starkfi@latest status and npx starkfi@latest balance to verify connectivity and source token balances for ALL pairs.trade skill instead.<amount> <FROM>><TO> (no spaces around >).--slippage <percent>.--simulate first so the user can confirm gas cost.npx starkfi@latest tx-status <hash>.npx starkfi@latest multi-swap "<pairs>" [--provider <fibrous|avnu|ekubo|auto>] [--slippage <percent>] [--simulate] [--json]
| Parameter | Type | Description | Required |
| ------------ | ------ | ------------------------------------------------------ | -------- |
| pairs | string | Swap pairs: "100 USDC>ETH, 50 USDT>STRK" (2-3 pairs) | Yes |
| --provider | string | Provider: fibrous (default), avnu, ekubo, auto (race all) | No |
| --slippage | number | Slippage tolerance in % (default: 1) | No |
| --simulate | flag | Estimate fees without broadcasting | No |
| --json | flag | Output as JSON | No |
"<amount> <FROM>><TO>, <amount> <FROM>><TO>"
Examples:
"100 USDC>ETH, 200 USDT>STRK" — two pairs"50 DAI>ETH, 100 USDC>STRK, 0.1 ETH>USDT" — three pairs (maximum)User: "Swap 100 USDC to ETH and 200 USDT to STRK in one transaction"
npx starkfi@latest status
npx starkfi@latest balance
npx starkfi@latest multi-swap "100 USDC>ETH, 200 USDT>STRK"
npx starkfi@latest tx-status <hash>
User: "Simulate swapping 50 DAI, 100 USDC, and 0.1 ETH"
npx starkfi@latest multi-swap "50 DAI>ETH, 100 USDC>STRK, 0.1 ETH>USDT" --simulate
| Error | Action |
| ------------------------- | -------------------------------------------------------------- |
| Too few pairs | Multi-swap requires at least 2 pairs. Use trade for singles. |
| Too many pairs | Maximum 3 pairs. Split into multiple calls. |
| No route found | One or more pairs lack liquidity. |
| Insufficient balance | Check balance — user may lack one of the source tokens. |
| Provider unavailable | Specified provider is invalid. Valid: fibrous, avnu, ekubo. |
| All providers failed | All providers timed out or errored. Retry later. |
| Simulation failed | One of the routes is invalid or would revert. |
| Not authenticated | Run authenticate-wallet skill first. |
trade for a single swap (simpler syntax).batch for combining swaps with other operations (stake, supply, send).balance to verify you have enough of all source tokens.testing
Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say "Troves" explicitly.
testing
Liquid staking via Endur on Starknet — stake STRK to receive xSTRK, redeem xSTRK back to STRK, check positions, and view protocol stats. Yield is embedded in the xSTRK share price (no manual claim needed). Use this skill when the user mentions liquid staking, LST, xSTRK, Endur, liquid staking token, share price, instant staking, tradeable staking position, or wants a staking token they can trade or use in DeFi — even if they don't say "liquid staking" explicitly.
testing
Create, preview, list, and cancel recurring Dollar-Cost Averaging (DCA) buy orders on Starknet via AVNU or Ekubo. Use this skill when the user wants to set up automatic recurring purchases, dollar-cost average into a token, create a DCA order, schedule periodic buys, invest regularly, buy every day/week/month, or manage existing DCA orders. Also trigger when the user says "recurring buy", "scheduled purchase", "buy X of Y every day", or any variation about automated periodic investing — even if they don't use the term "DCA" explicitly.
development
Manage confidential (private) transfers via Tongo Cash on Starknet — setup, fund, transfer, withdraw, ragequit, rollover using ZK proofs. Use this skill when the user wants to send tokens privately, hide transfer amounts, use zero-knowledge proofs, set up Tongo, fund or withdraw from a confidential account, perform an emergency exit (ragequit), or activate pending balance (rollover). Also trigger when the user says "send privately", "confidential transfer", "hide my transaction", "Tongo Cash", "ZK transfer", or any variation about privacy-preserving transfers — even if they don't use the word "confidential".