smart-order-router

smart-order-router is a skill for Claude Code, Codex from kayzaa/k.i.t.-bot. It costs 15 tokens per session (827 once invoked), scanned A, a copy of smart-order-router, MIT.

An order-routing tool that compares prices, fees, liquidity, and expected slippage across centralised exchanges, decentralised exchanges, and blockchains. A decentralised exchange, or DEX, lets trades happen through blockchain contracts rather than a traditional exchange operator.

In plain words
What is it for?
It is for routing trades across multiple venues, splitting large orders over time or into visible chunks, optimising DEX gas costs, and reviewing execution quality afterward.
Why use it?
It removes much of the manual work involved in choosing where and how to place a trade, especially when a large order could move the market.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit It is for routing trades across multiple venues, splitting large orders over time or into visible chunks, optimising DEX gas costs, and reviewing execution quality afterward.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kayzaa/k.i.t.-bot/smart-order-router
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add kayzaa/k.i.t.-bot --skill smart-order-router
Clone the repo
git clone --depth 1 https://github.com/kayzaa/k.i.t.-bot

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for smart-order-router

README.md
[![agentmods](https://agentmods.dev/badge/skills/kayzaa/k.i.t.-bot/smart-order-router/github.svg)](https://agentmods.dev/skills/kayzaa/k.i.t.-bot/smart-order-router)
Your own site
<a href="https://agentmods.dev/skills/kayzaa/k.i.t.-bot/smart-order-router"><img src="https://agentmods.dev/badge/skills/kayzaa/k.i.t.-bot/smart-order-router/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for smart-order-router

Your own site · 80×15
<a href="https://agentmods.dev/skills/kayzaa/k.i.t.-bot/smart-order-router"><img src="https://agentmods.dev/badge/skills/kayzaa/k.i.t.-bot/smart-order-router.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 827 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.00827
Opus 5 $0.00008 $0.00413
Sonnet 5 $0.00003 $0.00165
Haiku 4.5 $0.00002 $0.00083

Measured 7d ago against content hash 4660b6f0b649, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

smart-order-router scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (handler.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to smart-order-router — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/smart-order-router/SKILL.md · 122 lines

How it starts

The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Smart Order Router (SOR)

Optimizes trade execution by routing orders across multiple venues to achieve best price, lowest fees, and minimal slippage.

Features

Multi-Venue Routing

  • CEX Aggregation: Route across Binance, Coinbase, Kraken, OKX, Bybit
  • DEX Aggregation: 1inch, Jupiter, Uniswap, SushiSwap, Curve
  • Cross-chain: Seamlessly route between chains (ETH, BSC, Arbitrum, Solana)

Execution Strategies

  • TWAP (Time-Weighted Average Price): Split large orders over time
  • VWAP (Volume-Weighted Average Price): Execute proportional to volume
  • Iceberg: Hide large order size with visible chunks
  • Sniper: Rapid execution for time-sensitive trades

Price Optimization

  • Real-time spread analysis across venues
  • Fee-adjusted best price calculation
  • Slippage prediction based on order book depth
  • Gas cost optimization for DEX routes

Execution Analytics

  • Fill rate tracking
  • Execution quality scoring
  • Venue performance comparison
  • Post-trade analysis reports

Usage

Basic Order

Route 1 ETH buy order across best venues

With Strategy

Execute $50k BTC buy using TWAP over 2 hours

DEX Only

Swap 10,000 USDC to ETH on DEXs only, max 0.5% slippage

Cross-Chain

Route 5 ETH from Ethereum to Arbitrum via best bridge

Configuration

{
  "sor": {
    "venues": {
      "cex": ["binance", "coinbase", "kraken"],
      "dex": ["1inch", "uniswap"],
      "enabled": true
    },
    "defaults": {
      "strategy": "best-price",
      "maxSlippage": 0.5,
      "splitThreshold": 10000,
      "gasBuffer": 1.2
    },
    "analytics": {
      "trackFills": true,
      "compareVenues": true
    }
  }
}

Strategies

Strategy Best For Description
best-price Small orders Route to single venue with best price
split Medium orders Distribute across venues for better fill
twap Large orders Time-weighted execution over duration
vwap Market hours Volume-weighted to minimize impact
iceberg Whale orders Hide size, execute in chunks
sniper Time-sensitive Fastest execution, accept higher cost

Read the full file on GitHub · 122 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 122 lines · 15 tokens per session scan A 4660b6f0b649

Subscribe to this mod's changes

smart-order-router is a skill published in the GitHub repository kayzaa/k.i.t.-bot (5 stars, last pushed 6mo ago), licensed MIT. It adds 15 tokens to every session and 827 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to smart-order-router, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

smart-order-router

Intelligent order routing to get best execution across multiple exchanges.

Signal-Execution-Labs/forex-trading-ai-agent · 15 tokens

crypto-defi-trading

Crypto and DeFi trading: DEX analysis (Uniswap, SushiSwap, Curve), on-chain analytics, MEV detection, impermanent loss, yield farming metrics, DeFi risk analysis, token metrics, liquidity pool analysis, whale tracking, exchange netflow. USE FOR: crypto, defi, dex, uniswap, sushiswap, curve, impermanent loss, yield…

mahmoud20138/Tradecraft · 107 tokens

BytesAgain Crypto Toolkit — 200+ Technical Indicators, Real-Time Market Data

Use when you need real-time crypto prices, technical indicators (RSI, MACD, Bollinger, 50+), market rankings, on-chain data, or trading signals. Zero API key required.

bytesagain/ai-skills · 57 tokens

stablecoin-yield-radar

Query real-time stablecoin supply APY from Barker's yield index — 500+ protocols and 20+ CEX. Returns ranked APY, TVL, protocol, chain, asset. Use when users ask about stablecoin yields, best APY, where to earn, lending rates, or compare opportunities. Powered by Barker (https://barker.money) — Yield Primitive for the…

okx/plugin-store · 88 tokens

crypto-token-analysis

Deep-dive framework for analyzing crypto tokens — market data, liquidity health, tokenomics, unlock schedules, and risk assessment. Combines on-chain data, API queries, and multi-source validation to generate actionable investment verdicts.

kevinnft/ai-agent-skills · 49 tokens

stablecoin-yield-radar

Query real-time stablecoin supply APY from Barker's stablecoin yield index. Returns ranked APY, TVL, protocol, chain, asset. Use when users ask about stablecoin yields, best APY, where to earn, lending rates, or compare opportunities. Also for treasury and idle-balance yield — payment companies, wallets, and funds…

barkermoney/barker-mcp · 116 tokens