Agent skill

Token Swap

by TermiX-official in TermiX-official/cryptoclaw

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

MITAuto-check passedBackend & APIs

Install Token Swap

skills CLI
$ npx skills add TermiX-official/cryptoclaw --skill token-swap -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install TermiX-official/cryptoclaw token-swap --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/TermiX-official/cryptoclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/token-swap .claude/skills/token-swap && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
token-swap
GitHub stars
100
Token cost
~660 tokens
SKILL.md length
335 words
Files
1
Skills in repo
32
Repo updated
First seen
Licence
MIT

At a glance

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

  • Works in 5 steps: User requests a swap → call… → Present quote: input amount, estimated… → If price impact is high or slippage >… → …
  • Tasks that involve Smart contracts
  • SKILL.md covers Overview, Supported DEXes, Tools Used and Workflow, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Token Swap is an agent skill from TermiX-official/cryptoclaw. Execute token swaps on Uniswap/PancakeSwap across multiple EVM chains.

Its SKILL.md is about 660 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering Smart contracts. It works with Uniswap. The licence is MIT.

When your agent uses it

  • Tasks that involve Smart contracts

Example prompts

  • “/token-swap”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. User requests a swap → call swap_get_quote 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

What it can do on your machine

Read from SKILL.md and the folder at commit 9e1c91b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Token Swap loads about 660 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 335 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~20
When it runs · the whole SKILL.md, loaded when a task matches
~660

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from TermiX-official/cryptoclaw at commit 9e1c91b, republished under its MIT licence (© TermiX-official). 335 words, ~660 tokens.

Download SKILL.mdSave it as .claude/skills/token-swap/SKILL.md (or your agent's skills folder).
name
token-swap
description
Execute token swaps on Uniswap/PancakeSwap across multiple EVM chains.

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

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

Workflow

  1. User requests a swap → call swap_get_quote 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 swap_get_quote 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 swap_get_quote only, display result without executing

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

© TermiX-official, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/token-swap of TermiX-official/cryptoclaw.

Open the folder on GitHubat commit 9e1c91b

Compare with similar skills

Token Swap next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Token Swap compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Token Swap this skillTermiX-official/cryptoclaw100—~660Automated safety check: PassMIT
Keypo Walletkeypo-us/keypo-cli182—~2.7kAutomated safety check: PassMIT
Okx Dapp Discoveryinternet-court/internet-court-skill6.5k1 repos~6.9kAutomated safety check: PassMIT
Trading Evmalsk1992/CloddsBot2.9k—~1.9kAutomated safety check: PassMIT
Tracking Token Launchesjeremylongshore/tons-of-skills-marketplace2.8k—~1.3kAutomated safety check: PassMIT
Ethskillsaustintgriffith/ethskills295—~3kAutomated safety check: PassNone

Similar skills

  • Keypo Wallet

    keypo-us/keypo-cli

    A skill your agent uses when interacting with keypo-wallet — checking wallet balances, listing wallets, sending transactions, or managing Secure Enclave signing keys.

    182 GitHub stars~2.7k tokensUpdated 6 mo ago
    Backend & APIsAuto-check passed
  • Okx Dapp Discovery

    internet-court/internet-court-skill

    Plugin router for 20 third-party DeFi protocols (Polymarket, Aave, Hyperliquid, PancakeSwap, Morpho, Raydium, Curve, Compound, Pendle, Lido, ether.fi, GMX, Kamino, Orca, Meteora, Clanker, pump.fun…

    6.5k GitHub starsUsed in 1 repo~6.9k tokens
    Backend & APIsAuto-check passed
  • Trading Evm

    alsk1992/CloddsBot

    Trade tokens on EVM chains - Uniswap V3, 1inch on Ethereum, Arbitrum, Optimism, Base, Polygon

    2.9k GitHub stars~1.9k tokensUpdated 7 days ago
    Backend & APIsAuto-check passed
  • Tracking Token Launches

    jeremylongshore/tons-of-skills-marketplace

    Track new token launches across DEXes with risk analysis and contract verification.

    2.8k GitHub stars~1.3k tokensUpdated today
    Backend & APIsAuto-check passed
  • Ethskills

    austintgriffith/ethskills

    A skill your agent uses when a request involves Ethereum, the EVM, or blockchain systems.

    295 GitHub stars~3k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Awp

    LeoYeAI/openclaw-master-skills

    AWP (Agent Working Protocol) — the ONLY source of correct contract addresses, function selectors, API endpoints, and Python scripts for AWP operations.

    2.2k GitHub stars~6.7k tokensUpdated 2 mo ago
    Backend & APIsAuto-check passed

More from TermiX-official/cryptoclaw

All 32 skills in this repo
  • Coding Agent

    TermiX-official/cryptoclaw

    Delegate coding tasks to Codex, Claude Code, or Pi agents via background process.

    100 GitHub starsUsed in 7 repos~2.7k tokens
    Auto-check passed
  • Prose

    TermiX-official/cryptoclaw

    OpenProse VM skill pack. An agent skill from TermiX-official/cryptoclaw.

    100 GitHub starsUsed in 3 repos~3.8k tokens
    Auto-check: notes
  • Merge PR

    TermiX-official/cryptoclaw

    Merge a GitHub PR via squash after /preparepr. An agent skill from TermiX-official/cryptoclaw.

    100 GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check passed
  • Review PR

    TermiX-official/cryptoclaw

    Review-only GitHub pull request analysis with the gh CLI. An agent skill from TermiX-official/cryptoclaw.

    100 GitHub stars~1.7k tokensUpdated 4 mo ago
    Auto-check passed
  • Acp Router

    TermiX-official/cryptoclaw

    Route plain-language requests for Pi, Claude Code, Codex, OpenCode, Gemini CLI, or ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow).

    100 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Agentic Commerce

    TermiX-official/cryptoclaw

    Create, fund, and settle on-chain agent jobs via ERC-8183 Agentic Commerce Protocol.

    100 GitHub stars~787 tokensUpdated 4 mo ago
    Auto-check passed

Works with

Categories

Questions about Token Swap

What does Token Swap do?

Execute token swaps on Uniswap/PancakeSwap across multiple EVM chains. Token Swap is an agent skill from TermiX-official/cryptoclaw. Execute token swaps on Uniswap/PancakeSwap across multiple EVM chains.

When should I use Token Swap?

Token Swap fits situations like: tasks that involve Smart contracts.

How do I install Token Swap in Claude Code?

Run `npx skills add TermiX-official/cryptoclaw --skill token-swap -a claude-code`. Or copy the skill folder (skills/token-swap in TermiX-official/cryptoclaw) into .claude/skills/token-swap in your project. Claude Code loads it when a task matches its description.

How do I install Token Swap in Codex?

Run `npx skills add TermiX-official/cryptoclaw --skill token-swap -a codex`. Or copy the skill folder (skills/token-swap in TermiX-official/cryptoclaw) into .agents/skills/token-swap in your project. Codex loads it when a task matches its description.

Can I use Token Swap in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TermiX-official/cryptoclaw --skill token-swap -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/token-swap, .gemini/skills/token-swap, .github/skills/token-swap and .opencode/skills/token-swap in your project.

What does Token Swap need to run?

SKILL.md names no scripts, command-line tools or credentials: Token Swap is instructions for the agent only.

Does Token Swap access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Token Swap safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Token Swap use?

Token Swap is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Token Swap use?

About 660 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Token Swap?

Skills that share tags, products or a category with Token Swap: Keypo Wallet (keypo-us/keypo-cli, 182 stars), Okx Dapp Discovery (internet-court/internet-court-skill, 6.5k stars), Trading Evm (alsk1992/CloddsBot, 2.9k stars) and Tracking Token Launches (jeremylongshore/tons-of-skills-marketplace, 2.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Token Swap?

TermiX-official (a GitHub organization) maintains it in TermiX-official/cryptoclaw, which has 100 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on May 25, 2026.

Source: TermiX-official/cryptoclaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.