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.
npx skills add mahmoud20138/Tradecraft --skill cow-protocol-sdkgit clone --depth 1 https://github.com/mahmoud20138/TradecraftWrote 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.
[](https://agentmods.dev/skills/mahmoud20138/tradecraft/cow-protocol-sdk)<a href="https://agentmods.dev/skills/mahmoud20138/tradecraft/cow-protocol-sdk"><img src="https://agentmods.dev/badge/skills/mahmoud20138/tradecraft/cow-protocol-sdk/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.
<a href="https://agentmods.dev/skills/mahmoud20138/tradecraft/cow-protocol-sdk"><img src="https://agentmods.dev/badge/skills/mahmoud20138/tradecraft/cow-protocol-sdk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00063 | $0.01853 |
| Opus 5 | $0.00032 | $0.00927 |
| Sonnet 5 | $0.00013 | $0.00371 |
| Haiku 4.5 | $0.00006 | $0.00185 |
Grade A, and why
cow-protocol-sdk 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 12d ago.
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.
How it starts
The opening of the file, as written. The whole thing — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.
cow-protocol-sdk
USE FOR:
- "CoW Protocol / CoW Swap integration"
- "MEV-protected DeFi trading"
- "intent-based DEX order"
- "TWAP on-chain order"
- "limit order on DEX (crypto)"
- "cross-chain swap / bridge"
- "batch auction solver trading"
- "TypeScript DeFi trading SDK" tags: [CoW-Protocol, DeFi, DEX, MEV-protection, TWAP, limit-order, intent-based, Ethereum, TypeScript, solver, batch-auction] kind: sdk category: crypto-defi-trading
What Is CoW Protocol?
Intent-based trading protocol with MEV protection via batch auctions and solver network.
- Repo: https://github.com/cowprotocol/cow-sdk
- Docs: docs.cow.fi
- Interface: swap.cow.fi (CoW Swap)
- Model: Coincidence of Wants — direct peer-to-peer matching when possible
How CoW Works
User submits signed intent (not on-chain tx)
↓
Solver network competes to find best execution:
Option A: CoW match → peer-to-peer, no AMM needed (best price)
Option B: AMM route → Uniswap/Curve/etc. (fallback)
Option C: Aggregator → 1inch/Paraswap route
↓
Best solver wins batch auction → executes on-chain
User gets guaranteed price or better (surplus → user)
MEV Protection: Orders are signed intents, not on-chain txs → front-running impossible. Surplus: Any price improvement beyond quoted amount goes back to the user.
Supported Networks
Ethereum · BNB Chain · Gnosis Chain · Polygon · Base · Arbitrum One · Avalanche · Linea · Ink · Sepolia (testnet)
Package Architecture (14 packages)
| Package | Purpose |
|---|---|
@cowprotocol/cow-sdk |
Main entry point (re-exports all) |
@cowprotocol/sdk-trading |
High-level: quote → sign → post |
@cowprotocol/sdk-order-book |
OrderBook API client (get/post orders) |
@cowprotocol/sdk-order-signing |
Cryptographic signing utilities |
@cowprotocol/sdk-composable |
Programmatic orders: TWAP, conditional |
@cowprotocol/sdk-bridging |
Cross-chain token transfers |
@cowprotocol/sdk-cow-shed |
Account abstraction support |
@cowprotocol/sdk-viem-adapter |
Viem provider adapter |
@cowprotocol/sdk-ethers-v6-adapter |
Ethers v6 adapter |
@cowprotocol/sdk-ethers-v5-adapter |
Ethers v5 adapter |
@cowprotocol/sdk-app-data |
Order metadata / app data |
@cowprotocol/sdk-config |
Chain/environment config |
@cowprotocol/sdk-contracts-ts |
Type-safe contract ABIs |
@cowprotocol/sdk-subgraph |
GraphQL subgraph queries |
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.
- 12d ago First seen · 229 lines · 0 tokens per session scan A 2e7d7e00e6c4
cow-protocol-sdk is a skill published in the GitHub repository mahmoud20138/Tradecraft (15 stars, last pushed 4mo ago), licensed MIT. It adds 63 tokens to every session and 1,853 once invoked, about $0.0003 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-08-30.
Other skills, from other repositories
metengine-data-agent
Real-time smart money analytics API for Polymarket prediction markets, Hyperliquid perpetual futures, and Meteora Solana LP/AMM pools. 63 endpoints. Pay-per-request via x402 on Solana Mainnet USDC. No API keys.
meteora
Complete Meteora DeFi SDK suite for building liquidity pools, AMMs, bonding curves, vaults, token launches, and zap operations on Solana. Use when integrating DLMM, DAMM v2, DAMM v1, Dynamic Bonding Curves, Alpha Vaults, Zap, or Stake-for-Fee functionality.
kamino
Complete guide for Kamino Finance - Solana's leading DeFi protocol for lending, borrowing, liquidity management, and leverage trading. Covers klend-sdk (lending), kliquidity-sdk (automated liquidity strategies), scope-sdk (oracle aggregator), multiply/leverage operations, vaults, and obligation orders.
coingecko
Complete CoinGecko Solana API integration for token prices, DEX pool data, OHLCV charts, trades, and market analytics. Use for building trading bots, portfolio trackers, price feeds, and on-chain data applications.
dflow
Complete DFlow trading protocol SDK - the single source of truth for integrating DFlow on Solana. Covers spot trading, prediction markets, Swap API, Metadata API, WebSocket streaming, and all DFlow tools.
lulo
Complete guide for Lulo - Solana's premier lending aggregator. Covers API integration for deposits, withdrawals, balance queries, Protected/Boosted deposits, Custom deposits, and automated yield optimization across Kamino, Drift, MarginFi, and Jupiter.