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 san-npm/skills-ws --skill defi-integrationgit clone --depth 1 https://github.com/san-npm/skills-wsWrote 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/san-npm/skills-ws/defi-integration)<a href="https://agentmods.dev/skills/san-npm/skills-ws/defi-integration"><img src="https://agentmods.dev/badge/skills/san-npm/skills-ws/defi-integration/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/san-npm/skills-ws/defi-integration"><img src="https://agentmods.dev/badge/skills/san-npm/skills-ws/defi-integration.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.00096 | $0.00698 |
| Opus 5 | $0.00048 | $0.00349 |
| Sonnet 5 | $0.00019 | $0.00140 |
| Haiku 4.5 | $0.00010 | $0.00070 |
Grade A, and why
defi-integration 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 — 25 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DeFi Protocol Integration
SAFETY — read first. Every contract in this skill is an unaudited teaching template, not production code. Before any mainnet use you MUST: (1) add slippage bounds derived from a live quote/oracle (never
0/1), (2) set realdeadlines, (3) add reentrancy protection (ReentrancyGuard/ checks-effects-interactions) on any function that calls external contracts and moves funds, (4) useSafeERC20for all token transfers/approvals, (5) dry-run via a fork or Tenderly simulation, (6) verify every address against the official deployment registry for the target chain, and (7) get an independent security audit. Do not broadcast a money-moving transaction without explicit user confirmation. See §7 (Slippage & MEV) and §11 (Pre-flight Safety Checklist).
Reference guide
Read only the references needed for the current request:
- 1. Uniswap Integration: references/1-uniswap-integration.md
- 2. Aave V3: references/2-aave-v3.md
- 3. Compound V3 (Comet): references/3-compound-v3-comet.md
- 4. Curve Finance: references/4-curve-finance.md
- 5. DEX Aggregator Integration: references/5-dex-aggregator-integration.md
- 6. Flash Loan Arbitrage Template: references/6-flash-loan-arbitrage-template.md
- 7. Slippage & MEV Protection: references/7-slippage-mev-protection.md
- 8. Yield Strategy Patterns: references/8-yield-strategy-patterns.md
- 9. Protocol Fee Reference: references/9-protocol-fee-reference.md
- 10. Fork Testing DeFi: references/10-fork-testing-defi.md
- 11. Pre-flight Safety Checklist (money-moving transactions): references/11-pre-flight-safety-checklist-money-moving-transactions.md
- Related skills: references/related-skills.md
What ships with it
13 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.
- agents/openai.yaml 182 B
- references/1-uniswap-integration.md 12 KB
- references/10-fork-testing-defi.md 2.7 KB
- references/11-pre-flight-safety-checklist-money-moving-transactions.md 3.0 KB
- references/2-aave-v3.md 4.3 KB
- references/3-compound-v3-comet.md 2.6 KB
- references/4-curve-finance.md 1.8 KB
- references/5-dex-aggregator-integration.md 2.8 KB
- references/6-flash-loan-arbitrage-template.md 3.5 KB
- references/7-slippage-mev-protection.md 2.3 KB
- references/8-yield-strategy-patterns.md 2.8 KB
- references/9-protocol-fee-reference.md 767 B
- references/related-skills.md 242 B
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 · 25 lines · 96 tokens per session scan A 628d6da928d0
defi-integration is a skill published in the GitHub repository san-npm/skills-ws (2 stars, last pushed 5d ago), licensed MIT. It adds 96 tokens to every session and 698 once invoked, about $0.0005 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-31.
Other skills, from other repositories
bridge
Cross-chain token transfers using Wormhole and CCTP.
hyperliquid
Hyperliquid L1 perps DEX (69% market share).
mpp-agent
Pay HTTP 402 APIs via Machine Payments Protocol (MPP).
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…
trading-signal
Subscribe and retrieve on-chain Smart Money signals. Monitor trading activities of smart money addresses, including buy/sell signals, trigger price, current price, max gain, and exit rate. Use this skill when users are looking for investment opportunities — smart money signals can serve as valuable references for…