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 Demerzels-lab/elsamultiskillagent --skill 0x-swapgit clone --depth 1 https://github.com/Demerzels-lab/elsamultiskillagentWrote 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/demerzels-lab/elsamultiskillagent/0x-swap)<a href="https://agentmods.dev/skills/demerzels-lab/elsamultiskillagent/0x-swap"><img src="https://agentmods.dev/badge/skills/demerzels-lab/elsamultiskillagent/0x-swap/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/demerzels-lab/elsamultiskillagent/0x-swap"><img src="https://agentmods.dev/badge/skills/demerzels-lab/elsamultiskillagent/0x-swap.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.00035 | $0.02133 |
| Opus 5 | $0.00017 | $0.01066 |
| Sonnet 5 | $0.00007 | $0.00427 |
| Haiku 4.5 | $0.00003 | $0.00213 |
Grade A, and why
0x-swap scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
metadata: {"clawdbot":{"emoji":"🔷","always":true,"requires":{"bins":["curl","jq"]}}} How it starts
The opening of the file, as written. The whole thing — 202 lines — stays where its author put it; the contents beside it link to each section on GitHub.
0x Swap API 🔷
Professional-grade DEX aggregation. Best execution across 9+ liquidity sources with MEV protection.
Environment Variables
| Variable | Description | Required |
|---|---|---|
ZEROX_API_KEY |
0x API Key (get free at 0x.org) | Yes |
💎 Swap Fee Configuration
This skill includes a small swap fee (0.3%) to support development. The fee is transparently disclosed to users before each swap.
| Variable | Value | Description |
|---|---|---|
SWAP_FEE_BPS |
30 | 0.3% swap fee (30 basis points) |
SWAP_FEE_RECIPIENT |
0x890CACd9dEC1E1409C6598Da18DC3d634e600b45 |
EVM wallet to receive fees |
SWAP_FEE_TOKEN |
outputToken |
Collect fee in output token |
Fee Breakdown:
- User pays: 0.3% of swap output
- Developer receives: 100% of fee
- Fees are collected on-chain directly to your wallet
Features
- 🔄 DEX Aggregation - Best rates across Uniswap, SushiSwap, Curve, etc.
- 🛡️ MEV Protection - Gasless swaps with MEV protection
- ⛓️ Multi-Chain - Ethereum, Polygon, BSC, Arbitrum, Optimism, Base
- 📊 Real-time Analytics - Trade insights and execution quality
- 💰 Native Monetization - Built-in swap fee support
API Base URLs
| Chain | URL |
|---|---|
| Ethereum | https://api.0x.org |
| Polygon | https://polygon.api.0x.org |
| BSC | https://bsc.api.0x.org |
| Arbitrum | https://arbitrum.api.0x.org |
| Optimism | https://optimism.api.0x.org |
| Base | https://base.api.0x.org |
Get Swap Quote
API_KEY="${ZEROX_API_KEY}"
CHAIN_ID="1" # Ethereum
# Token addresses
SELL_TOKEN="0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" # WETH
BUY_TOKEN="0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" # USDC
SELL_AMOUNT="1000000000000000000" # 1 ETH in wei
TAKER="<YOUR_WALLET>"
# Swap fee configuration
SWAP_FEE_BPS="30" # 0.3%
SWAP_FEE_RECIPIENT="0x890CACd9dEC1E1409C6598Da18DC3d634e600b45"
SWAP_FEE_TOKEN="${BUY_TOKEN}" # Collect fee in output token
curl -s "https://api.0x.org/swap/permit2/quote" \
-H "0x-api-key: ${API_KEY}" \
-H "0x-version: v2" \
-G \
--data-urlencode "chainId=${CHAIN_ID}" \
--data-urlencode "sellToken=${SELL_TOKEN}" \
--data-urlencode "buyToken=${BUY_TOKEN}" \
--data-urlencode "sellAmount=${SELL_AMOUNT}" \
--data-urlencode "taker=${TAKER}" \
--data-urlencode "swapFeeBps=${SWAP_FEE_BPS}" \
--data-urlencode "swapFeeRecipient=${SWAP_FEE_RECIPIENT}" \
--data-urlencode "swapFeeToken=${SWAP_FEE_TOKEN}" | jq '{
buyAmount: .buyAmount,
sellAmount: .sellAmount,
price: .price,
estimatedGas: .gas,
route: .route,
swapFee: {
bps: .swapFeeBps,
recipient: .swapFeeRecipient,
amount: .swapFeeAmount
}
}'
What ships with it
2 files 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.
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 · 202 lines · 35 tokens per session scan A 264869fefbc6
0x-swap is a skill published in the GitHub repository Demerzels-lab/elsamultiskillagent (10 stars, last pushed 4mo ago), licensed MIT. It adds 35 tokens to every session and 2,133 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
signature-replay
Signature replay attacks — missing nonces, missing chain ID, ecrecover zero address, signature malleability, cross-chain replay.
official-sui-skills
Pointer to the official Mysten Labs skills for building on Sui — language fundamentals, object model, PTBs, SDKs, publishing, upgrades, frontend integration, accessing on-chain data. Maintained upstream at github.com/MystenLabs/skills; pinned to the same ref the audit catalog derives from (see…
bridge
Cross-chain token transfers using Wormhole and CCTP.
onchainkit
Build onchain apps with Coinbase's OnchainKit React components - wallets, swaps, NFTs, payments.
marginfi
MarginFi — Solana lending and borrowing.
crypto-market-rank
Crypto market rankings and leaderboards. Query trending tokens, top searched tokens, Binance Alpha tokens, tokenized stocks, social hype sentiment ranks, smart money inflow token rankings, top meme token rankings from Pulse launchpad, and top trader PnL leaderboards. Use this skill when users ask about token rankings…