t2000-swap

Installation
SKILL.md

t2000: Swap Tokens

Purpose

Convert between tokens at the best available rate. Cetus Aggregator routes across 20+ DEXs and picks the lowest-price-impact path. Slippage defaults to 1%; configurable up to 5%.

Swaps are NOT gasless. Unlike t2 send USDC / t2 send USDsui, Cetus swap transactions require SUI for gas (typically < $0.01 per swap). Ensure the wallet holds a small SUI balance before swapping.

Rules

  1. Preview before signing. Always run t2 swap <amount> <from> <to> --quote (or call t2000_swap in dry-run via the MCP) and surface priceImpact + toAmount to the user before broadcasting.
  2. Decline obviously bad swaps. If priceImpact > 0.5% (50 bps), warn the user and require explicit confirmation. If priceImpact > 5%, refuse — that's almost certainly a thin-liquidity trap.
  3. One swap per intent. Cetus aggregator handles multi-hop internally; don't chain swap calls.
  4. Don't auto-decide stables. If the user says "swap to USD", ASK whether USDC or USDsui — they're both Sui-native stables.
  5. Limits apply to every swap (CLI and MCP). Limits are on by default ($25/tx · $100/day); if the swap exceeds a cap (on the from-side USD value) the write throws LIMIT_EXCEEDED. Use --force (CLI) to override one time.

Command

Installs
10
GitHub Stars
1
First Seen
Feb 28, 2026
t2000-swap — mission69b/t2000-skills