using-delta-lab
How to use the Delta Lab client (DELTA_LAB_CLIENT) for basis APY discovery, delta-neutral pair finding, lending/perp/price screening, time-series, and opportunity analysis across protocols. TRIGGER when the user asks about yields, APYs, basis, funding, delta-neutral, top-apy, lending rates, perp funding, borrow routes, or opportunity screening; OR when writing/editing a script that imports `DELTA_LAB_CLIENT` or uses `research_*` MCP tools; OR before any yield/basis/funding research. The MCP surface is intentionally narrow (snapshots only) — anything time-series, by-asset-id, plotting, or bulk requires the Python client documented here.
Best use case
using-delta-lab is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
How to use the Delta Lab client (DELTA_LAB_CLIENT) for basis APY discovery, delta-neutral pair finding, lending/perp/price screening, time-series, and opportunity analysis across protocols. TRIGGER when the user asks about yields, APYs, basis, funding, delta-neutral, top-apy, lending rates, perp funding, borrow routes, or opportunity screening; OR when writing/editing a script that imports `DELTA_LAB_CLIENT` or uses `research_*` MCP tools; OR before any yield/basis/funding research. The MCP surface is intentionally narrow (snapshots only) — anything time-series, by-asset-id, plotting, or bulk requires the Python client documented here.
Teams using using-delta-lab should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/using-delta-lab/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How using-delta-lab Compares
| Feature / Agent | using-delta-lab | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
How to use the Delta Lab client (DELTA_LAB_CLIENT) for basis APY discovery, delta-neutral pair finding, lending/perp/price screening, time-series, and opportunity analysis across protocols. TRIGGER when the user asks about yields, APYs, basis, funding, delta-neutral, top-apy, lending rates, perp funding, borrow routes, or opportunity screening; OR when writing/editing a script that imports `DELTA_LAB_CLIENT` or uses `research_*` MCP tools; OR before any yield/basis/funding research. The MCP surface is intentionally narrow (snapshots only) — anything time-series, by-asset-id, plotting, or bulk requires the Python client documented here.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
## What you need to know (TL;DR) **Delta Lab = Multi-protocol APY discovery tool** ```python from wayfinder_paths.core.clients.DeltaLabClient import DELTA_LAB_CLIENT # Core discovery await DELTA_LAB_CLIENT.get_basis_apy_sources(basis_symbol="BTC", lookback_days=7) # analytic opps await DELTA_LAB_CLIENT.get_best_delta_neutral_pairs(basis_symbol="ETH", limit=20) # v2 surface (also on DELTA_LAB_CLIENT — see rules/v2-surface.md for the full list) await DELTA_LAB_CLIENT.search_opportunities(basis_root="ETH", side="LONG", limit=25) # discovery shape await DELTA_LAB_CLIENT.get_asset_price_latest(asset_id=2) # typed: PriceLatest | None await DELTA_LAB_CLIENT.get_market_lending_latest(market_id=912, asset_id=2) # full screen record await DELTA_LAB_CLIENT.explore(symbol="ETH", relations_depth=1) # one-shot bundle # Typed error envelope from wayfinder_paths.core.clients.delta_lab_types import DeltaLabAPIError ``` **Critical gotchas:** - Use uppercase symbols: `"BTC"` not `"bitcoin"` or `"btc"` - APY can be `null` - always filter: `[o for o in opps if o["apy"]["value"] is not None]` - Delta Lab is **read-only** (no execution, just discovery) - Two "opportunity" shapes: `search_opportunities` = trimmed discovery (~14 fields, scan); `get_basis_apy_sources` = enriched analytic (apy/risk/summary, decide). Don't mix them up. - `*_latest(...)` returns `None` on sparse-data 404 (not an error). Use `DeltaLabAPIError` for real failures. - Default `limit=25` on search/list/opportunity calls keeps agent context under 10 KB. `get_basis_apy_sources(limit=500)` is 1.3 MB — cap low. - For stable yield: use `research_search_lending(..., basis="USD")` for lending-only; use `research_get_basis_apy_sources(basis_symbol="USD", limit="100")` for broad cross-instrument APY and bucket by `instrument_type`. ## When to use Use this skill when you are: - Discovering basis opportunities for a given asset (BTC, ETH, etc.) - Finding best delta-neutral pair candidates - Analyzing APY sources across different protocols and venues - Understanding risk metrics and carry/hedge leg compositions - Comparing rates across Hyperliquid, Moonwell, Boros, Pendle, etc. ## How to use - [rules/what-is-delta-lab.md](rules/what-is-delta-lab.md) - Mental model: what Delta Lab is, basis symbols, and data sources - [rules/high-value-reads.md](rules/high-value-reads.md) - Core queries: APY sources, delta-neutral pairs, asset lookups - [rules/response-structures.md](rules/response-structures.md) - Understanding opportunities, APY components, and risk metrics - [rules/gotchas.md](rules/gotchas.md) - Common mistakes, symbol resolution, and filtering - [rules/v2-surface.md](rules/v2-surface.md) - Expanded client: entity / catalog / graph / search / TS+latest / bulk / `explore` + `fetch_backtest_bundle`. Typed records, error class, context-size guardrails.
Related Skills
using-visual-chart-annotations
How to read Wayfinder Shells frontend state, create chart panes, and add TradingView annotations or overlays to the default live chart or agent-created workspace charts.
using-uniswap-adapter
How to use the Uniswap V3 adapter for concentrated liquidity on Base/Arbitrum/Ethereum (LP provisioning, position management, tick math, and common gotchas).
using-sparklend-adapter
How to use the SparkLend adapter for the functionality implemented in this repo (market reads, user state, supply/withdraw, borrow/repay, collateral, rewards, and native-token flows).
using-polymarket-adapter
How to use the Polymarket adapter in Wayfinder Paths for market discovery (Gamma), orderbooks/prices/history (CLOB), user positions/activity (Data API), and execution (buy/sell + redeem) using pUSD collateral on Polygon (including deposit / withdraw preparation flows).
using-pendle-adapter
How to use the Pendle adapter in Wayfinder Paths for PTs (Principal Tokens), YTs (Yield Tokens), and Pendle limit orders: market discovery, historical data, Hosted SDK swap tx building, taker fills, maker orders, inputs/outputs, chain IDs, unit handling, and approvals.
using-notification-send
How to email or text the Wayfinder Shells instance owner from agents/scripts via the notify MCP tool or NotifyClient (Markdown body rendered to themed HTML for email, throttled).
using-morpho-adapter
How to use the Morpho adapter for Morpho Blue markets + MetaMorpho vaults (market discovery, positions, collateral ops, rewards, and common gotchas).
using-moonwell-adapter
How to use the Moonwell adapter for lending/borrowing on Base (market discovery, APYs, collateral management, and common gotchas).
using-hyperliquid-adapter
How to use Hyperliquid adapter data (meta, funding, candles, orderbooks) and execution surfaces (orders/transfers) in Wayfinder Paths, including required executor wiring.
using-hyperlend-adapter
How to read Hyperlend markets/time-series and execute lend/withdraw flows in Wayfinder Paths (inputs/outputs, unit handling, and safety).
using-euler-v2-adapter
How to use the Euler v2 (EVK / eVault) adapter for vault market discovery, APYs, positions, and EVC-batched lend/borrow flows.
using-etherfi-adapter
How to use the ether.fi adapter for ETH liquid restaking on Ethereum mainnet (stake ETH→eETH, wrap/unwrap weETH, async withdraw requests, and position reads).