swap-build

Installation
SKILL.md

KyberSwap Build Skill

Build swap transactions using the KyberSwap Aggregator. Given a token pair, amount, and sender address, fetch the best route and generate encoded calldata ready for on-chain submission.

This is a three-step process:

  1. GET the optimal route (same as the quote skill)
  2. Show quote details and ask for user confirmation
  3. POST to build the encoded transaction calldata

Input Parsing

The user will provide input like:

  • 100 USDC to ETH on arbitrum from 0xAbc123...
  • 1 ETH to USDC on ethereum from 0xAbc123... slippage 100
  • 0.5 WBTC to DAI on polygon from 0xAbc123... to 0xDef456...

Extract these fields:

  • amount — the human-readable amount to swap
  • tokenIn — the input token symbol
Related skills

More from kybernetwork/kyberswap-skills

Installs
16
GitHub Stars
5
First Seen
Mar 1, 2026