smart-order-router

smart-order-router is a skill for Claude Code, Codex from Signal-Execution-Labs/forex-trading-ai-agent. It costs 15 tokens per session (827 once invoked), scanned A, original, MIT.

A trading tool that compares exchanges and decentralised exchanges (DEXs) before sending an order where the overall price and costs are best.

In plain words
What is it for?
Route trades across centralised exchanges, DEXs, and blockchains. Split large orders over time or into smaller visible parts using methods such as TWAP, VWAP, or iceberg orders.
Why use it?
It reduces the need to check each marketplace yourself and helps limit fees, price movement, and slippage—the gap between the expected and actual trade price.

Skill for Claude CodeCodex

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

Good fit Route trades across centralised exchanges, DEXs, and blockchains. Split large orders over time or into smaller visible parts using methods such as TWAP, VWAP, or iceberg orders.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/signal-execution-labs/forex-trading-ai-agent/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 Signal-Execution-Labs/forex-trading-ai-agent --skill smart-order-router
Clone the repo
git clone --depth 1 https://github.com/Signal-Execution-Labs/forex-trading-ai-agent

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/signal-execution-labs/forex-trading-ai-agent/smart-order-router/github.svg)](https://agentmods.dev/skills/signal-execution-labs/forex-trading-ai-agent/smart-order-router)
Your own site
<a href="https://agentmods.dev/skills/signal-execution-labs/forex-trading-ai-agent/smart-order-router"><img src="https://agentmods.dev/badge/skills/signal-execution-labs/forex-trading-ai-agent/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/signal-execution-labs/forex-trading-ai-agent/smart-order-router"><img src="https://agentmods.dev/badge/skills/signal-execution-labs/forex-trading-ai-agent/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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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 9d ago against content hash 4660b6f0b649, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 9d 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

Copies of this mod

1 near-identical copy found in the catalogue:

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. 9d 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 Signal-Execution-Labs/forex-trading-ai-agent (136 stars, last pushed 9d 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. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

smart-order-router

Intelligent order routing to get best execution across multiple exchanges.

kayzaa/k.i.t.-bot · 15 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

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

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

hyperliquid-plugin

Hyperliquid DEX — trade perps & spot, deposit from Arbitrum, withdraw to Arbitrum, transfer between perp and spot accounts, manage gas on HyperEVM.

okx/plugin-store · 43 tokens

dex-pools

Solana DEX liquidity, OHLCV candles, and venue discovery for any token/pool via GeckoTerminal (keyless). Use to sanity-check swap slippage, find the deepest venue, and read price history.

Clawpump/agents-skills · 48 tokens