sap-defi

sap-defi is a skill for Claude Code, Codex from OOBE-PROTOCOL/sap-mcp. It costs 0 tokens per session (2,659 once invoked), scanned A, original, MIT.

A set of tools for Solana financial services, including token swaps, recurring purchases, limit orders, lending, trading, staking, and bridges between networks. DeFi means financial services that run through blockchain protocols.

In plain words
What is it for?
Getting swap quotes, trading or scheduling token purchases, creating and managing orders, analyzing charts and markets, using lending or staking services, and moving assets between networks.
Why use it?
It helps an agent obtain market data, plan transactions, and manage orders or positions across several Solana protocols.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Getting swap quotes, trading or scheduling token purchases, creating and managing orders, analyzing charts and markets, using lending or staking services, and moving assets between networks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oobe-protocol/sap-mcp/sap-defi
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 OOBE-PROTOCOL/sap-mcp --skill sap-defi
Clone the repo
git clone --depth 1 https://github.com/OOBE-PROTOCOL/sap-mcp

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 sap-defi

README.md
[![agentmods](https://agentmods.dev/badge/skills/oobe-protocol/sap-mcp/sap-defi/github.svg)](https://agentmods.dev/skills/oobe-protocol/sap-mcp/sap-defi)
Your own site
<a href="https://agentmods.dev/skills/oobe-protocol/sap-mcp/sap-defi"><img src="https://agentmods.dev/badge/skills/oobe-protocol/sap-mcp/sap-defi/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 sap-defi

Your own site · 80×15
<a href="https://agentmods.dev/skills/oobe-protocol/sap-mcp/sap-defi"><img src="https://agentmods.dev/badge/skills/oobe-protocol/sap-mcp/sap-defi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,659 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 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.00000 $0.02659
Opus 5 $0.00000 $0.01329
Sonnet 5 $0.00000 $0.00532
Haiku 4.5 $0.00000 $0.00266

Measured 8d ago against content hash 4915f6e3fdeb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

sap-defi 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 8d 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.

skills/sap-defi/SKILL.md · 224 lines

How it starts

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

SAP DeFi

Use this skill for Jupiter swaps, DCA, limit orders, perps planning, chart analysis, Lulo, Raydium, Orca, Meteora, OpenBook, Manifest, Pump.fun, Jito, bridges, and staking protocols.

Jupiter

  • jupiter_getQuote
  • jupiter_smartSwap
  • jupiter_swap
  • jupiter_swapInstructions
  • jupiter_getOrder
  • jupiter_executeOrder
  • jupiter_createLimitOrder
  • jupiter_executeTrigger
  • jupiter_cancelLimitOrder
  • jupiter_cancelLimitOrders
  • jupiter_getLimitOrders
  • jupiter_createDCA
  • jupiter_executeDCA
  • jupiter_cancelDCA
  • jupiter_getDCAOrders

Protocol Tools

  • sap_perp_trade_plan
  • sap_perp_markets
  • sap_perp_position_info
  • sap_perp_funding_history
  • sap_perp_liquidation_zones
  • sap_perp_builder_status
  • sap_chart_ohlc
  • sap_chart_long_term
  • sap_chart_volume_profile
  • lulo_*
  • raydium-pools_*
  • orca_*
  • meteora_*
  • openbook_*
  • manifest_*
  • pump_*
  • jito_*
  • bridging_*
  • staking_*

Adrena Perps Protocol (32 tools)

Current SAP MCP builds include a full native Adrena integration: local unsigned transaction builders for every Adrena operation plus a REST Data API client. All builders use the vendored official Adrena IDL (release/39) via @coral-xyz/anchor and produce unsigned base64 transactions for local signing via sap_payments_finalize_transaction.

Trading Builders

  • sap_adrena_build_open_long — Open/increase a long perp position. Optional stopLossPriceUsd for policy compliance
  • sap_adrena_build_open_short — Open/increase a short perp position. Optional stopLossPriceUsd for policy compliance
  • sap_adrena_build_position_package — Open + set SL + set TP atomically in one transaction (1 payment, 1 signing, 1 submit). Preferred over separate open + SL + TP calls
  • sap_adrena_build_close_long — Close a long perp position
  • sap_adrena_build_close_short — Close a short perp position
  • sap_adrena_build_set_stop_loss — Set stop loss on an existing position
  • sap_adrena_build_set_take_profit — Set take profit on an existing position
  • sap_adrena_build_cancel_stop_loss — Cancel stop loss
  • sap_adrena_build_cancel_take_profit — Cancel take profit
  • sap_adrena_build_add_limit_order — Place a limit order
  • sap_adrena_build_cancel_limit_order — Cancel a limit order

Read the full file on GitHub · 224 lines

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. 8d ago First seen · 224 lines · 0 tokens per session scan A 4915f6e3fdeb

Subscribe to this mod's changes

sap-defi is a skill published in the GitHub repository OOBE-PROTOCOL/sap-mcp (3 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,659 tokens. 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.