termix-official/cryptoclaw

token-swap

Execute token swaps on Uniswap/PancakeSwap across multiple EVM chains.

First seen Feb 28, 2026

Installation

$ npx skills add termix-official/cryptoclaw --skill token-swap

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from termix-official/cryptoclaw · top by installs.

npx skills add termix-official/cryptoclaw

Browse all from termix-official/cryptoclaw

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 101
License LICENSE
Default branch main
Open issues 1
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,664 B
  • docs SUMMARY.md 88 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 13 installs

SKILL.md

Token Swap Skill

Execute token swaps on Uniswap (V2/V3) and PancakeSwap (V2/V3) across multiple EVM chains.

Overview

Swap tokens using dedicated DEX tools that automatically compare V2 and V3 quotes to find the best price. Uses the active wallet for signing transactions.

Supported DEXes

  • BSC: PancakeSwap V2 + V3
  • Ethereum: Uniswap V2 + V3
  • Polygon: QuickSwap V2 + Uniswap V3
  • Arbitrum: Uniswap V2 + V3
  • Optimism: Uniswap V3
  • Base: Uniswap V3

Tools Used

  • swapgetquote - Get best swap quote across V2/V3 with estimated output and price impact
  • swap_execute - Execute the swap (auto-approves token spending if needed)
  • swapcheckallowance - Check if token is already approved for the router
  • swapsupporteddexes - List available DEXes and fee tiers for a network
  • geterc20token_info - Look up token name, symbol, decimals by contract address

Workflow

  1. User requests a swap → call swapgetquote with tokenIn, tokenOut, amountIn
  2. Present quote: input amount, estimated output, minimum output, slippage, DEX name, version
  3. If price impact is high or slippage > 1%, warn the user
  4. Ask user for explicit confirmation before proceeding
  5. Call swap_execute with same parameters

Security Rules

  • ALWAYS show the swap quote before executing
  • ALWAYS warn if estimated output seems low (possible low liquidity)
  • NEVER execute swaps without explicit user confirmation
  • Default slippage: 0.5% — warn if user sets above 3%
  • For large swaps, suggest splitting into multiple smaller trades
  • Run security-check on the target token before executing a swap to detect honeypots and high taxes

V3 Fee Tiers

When using V3, the fee tier affects which liquidity pool is used:

  • 0.01% (100) — stablecoin pairs
  • 0.05% (500) — stable/common pairs
  • 0.3% (3000) — most common, default
  • 1% (10000) — exotic pairs

The tool auto-selects the best fee tier by default.

Example Interactions

User: "Swap 1 BNB for USDT on BSC" → Call swapgetquote with tokenIn="native", tokenOut="0x55d398326f99059fF775485246999027B3197955", amountIn="1" → Show: "PancakeSwap V3: 1 BNB → ~590.23 USDT (min: 587.28 USDT, 0.5% slippage)" → After confirmation: call swap_execute

User: "What would I get for swapping 100 USDT to ETH on Ethereum?" → Call swapgetquote only, display result without executing

User: "What DEXes work on Arbitrum?" → Call swapsupporteddexes with network="arbitrum"