Skip to content
Skills Library
Finance & accounting · Analysis

drift

/drift

Read live Drift Protocol mainnet data — Solana's largest non-custodial perps DEX. Use for market scanning, funding analysis, orderbook depth, and user position auditing. The Solana-native alternative to Hyperliquid: same custody-free model (on-chain collateral, user-held keys), different blockchain. Read-only in this release — trading on Drift requires Solana program instructions + Ed25519 signing, which is deferred. Triggers: drift, drift protocol, solana perps, SOL-PERP, BONK-PERP, WIF-PERP, drift funding, perps on solana, app.drift.trade.

Licence
MIT
Last repository change
08.09.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
4
Deprecation

No signals detected. Repository changed on 08.09.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Read live Drift Protocol mainnet data — Solana's largest non-custodial perps DEX. Use for market scanning, funding analysis, orderbook depth, and user position auditing. The Solana-native alternative to Hyperliquid: same custody-free model (on-chain collateral, user-held keys), different blockchain. Read-only in this release — trading on Drift requires Solana program instructions + Ed25519 signing, which is deferred. Triggers: drift, drift protocol, solana perps, SOL-PERP, BONK-PERP, WIF-PERP, drift funding, perps on solana, app.drift.trade.

Original author description

Read live Drift Protocol mainnet data — Solana's largest non-custodial perps DEX. Use for market scanning, funding analysis, orderbook depth, and user position auditing. The Solana-native alternative to Hyperliquid: same custody-free model (on-chain collateral, user-held keys), different blockchain. Read-only in this release — trading on Drift requires Solana program instructions + Ed25519 signing, which is deferred. Triggers: drift, drift protocol, solana perps, SOL-PERP, BONK-PERP, WIF-PERP, drift funding, perps on solana, app.drift.trade.

How it works

  1. Tools
  2. When to use Drift over Hyperliquid
  3. When Hyperliquid is the right call
  4. Typical pipeline
  5. Funding-rate arb workflow
  6. What this skill does NOT do
  7. Credit accounting
  8. Reference
Original SKILL.md headings · 77 lines, 505 words
SKILL.md preview
---
name: drift
description: "Read live Drift Protocol mainnet data — Solana's largest non-custodial perps DEX. Use for market scanning, funding analysis, orderbook depth, and user position auditing. The Solana-native alternative to Hyperliquid: same custody-free model (on-chain collateral, user-held keys), different blockchain. Read-only in this release — trading on Drift requires Solana program instructions + Ed25519 signing, which is deferred. Triggers: drift, drift protocol, solana perps, SOL-PERP, BONK-PERP, WIF-PERP, drift funding, perps on solana, app.drift.trade."
---

# ChainGPT Drift Skill

You read live Drift Protocol data on behalf of the user. Drift is Solana's dominant perpetuals DEX — same non-custodial model as Hyperliquid (user keeps the keys, the on-chain program holds collateral), running on Solana mainnet instead of an app-chain.

**This release is read-only.** Trading on Drift requires constructing Solana program instructions (Anchor IDL) and signing with the user's Solana keypair (Ed25519) — a different signing flow than the EVM-only path the rest of this plugin uses. Deferred to a follow-up.

## Tools

| Tool | Purpose |
|---|---|
| `chaingpt_drift_markets` | Enumerate all perp markets sorted by volume / OI / funding |
| `chaingpt_drift_market` | One-market detail: mark, oracle, funding, max leverage |
| `chaingpt_drift_orderbook` | L2 orderbook depth for sizing trades |
| `chaingpt_drift_funding` | Historical funding rates (24h / 7d) with annualized avg |
| `chaingpt_drift_user` | Account state: collateral, positions, leverage, open orders |

## When to use Drift over Hyperliquid

- The user is already on Solana and doesn't want to bridge to Hyperliquid's L1.
- The user wants to trade Solana-native memecoin perps (BONK, WIF, POPCAT, etc.) which Drift lists earlier and more aggressively than Hyperliquid.
- The user is running a Solana-side funding-rate arb (long spot on Jupiter, short perp on Drift) where keeping everything on one chain saves rent + transfer time.
- Composition with other Solana protocols (Kamino, marginfi) for delta-neutral yield strategies.

## When Hyperliquid is the right call

- Higher liquidity / tighter spreads on majors (BTC, ETH, SOL).
- Deeper orderbooks for large size.
- The user already has USDC on Hyperliquid's L1 and doesn't want to bridge to Solana.

## Typical pipeline

```text
chaingpt_drift_markets sortBy=volume           # scan top markets
       │  (user picks a candidate)
       ▼
chaingpt_drift_market marketIndex=0            # confirm mark/oracle/funding
chaingpt_drift_funding marketIndex=0 window=24h  # check recent funding trend
chaingpt_drift_orderbook marketIndex=0 depth=10  # check size vs liquidity
       │
       ▼
[user trades via https://app.drift.trade]
       │
       ▼
chaingpt_drift_user authority=<solana-pubkey>  # confirm fill landed
```

## Funding-rate arb workflow

```text
chaingpt_drift_markets sortBy=funding         # surface markets with extreme funding
       │  (positive funding = longs pay shorts; short the perp, long the spot)
       ▼
chaingpt_drift_funding marketIndex=<idx>      # is the funding skew persistent or one-spike?
chaingpt_dex_jupiter_quote                    # cost to acquire the spot leg
       │
       ▼
[execute: long spot on Jupiter + short perp on Drift via app.drift.trade]
```

## What this skill does NOT do

- Execute trades. The Solana signing flow is intentionally not wired here.
- Calculate liquidation prices. Drift's cross-margin model with multiple collateral types makes this nontrivial — surface raw collateral + leverage and let the user inspect on the official UI for liquidation.
- Cross-chain bridging into Solana — use `chaingpt_bridge_quote` for EVM↔EVM only. For EVM→Solana, suggest Wormhole / deBridge separately.

## Credit accounting

All Drift tools cost **0 ChainGPT credits**. The credit funnel comes from upstream tools the user calls before deciding to trade (`chaingpt_research_token`, `chaingpt_news_fetch`, etc.).

## Reference

- Drift docs: https://docs.drift.trade
- Public DLOB API: https://dlob.drift.trade
- Data API: https://data.api.drift.trade
- Drift v2 program id: `dRiftyHA39MWEi3m9aunc5MzRF1JYuBsbn6VPcn33UH`

Versions

RepositoryScoreLicence
This page · chaingpt-org/chaingpt-claude-skill100MIT
l3digitalnet/claude-code-plugins100MIT

Database snapshot: 13.11.2026 · package version a08b8e901210 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100hyperliquid
    Read live Hyperliquid mainnet data via the ChainGPT plugin. Markets / mids / orderbook / wallet account state / fills / funding-rate history. Use for perp position monitoring, market scanning, account auditing, and funding-rate analysis. Read-only in v1.6 — signed order…
  • 95ranger-finance
    Ranger Finance SDK for building perpetual futures trading applications on Solana. The first Solana Perps Aggregator - aggregates liquidity across multiple perp protocols (Drift, Flash, Adrena, Jupiter). Use when integrating perps trading, smart order routing, position…
  • 95perp-cli
    Multi-DEX perpetual futures trading via the perp-cli command-line tool. Use when user asks to: trade perps, check funding rates, scan/execute arbitrage (perp-perp or spot-perp), run delta-neutral strategies, bridge USDC across chains, manage positions/orders/leverage,…
  • 100nansen-trading
    Execute DEX swaps on Solana or Base (including cross-chain bridges) and Hyperliquid perpetual trades. Use when buying or selling a token, getting a swap quote, executing a trade, or opening/closing/managing a perp position.
  • 100hyperliquid-reader
    Read Hyperliquid (app.hyperliquid.xyz) perp and spot market data through opencli and Hyperliquid's public info API: mark, oracle, and mid prices, 24h change, funding rates (hourly and annualized APR), open interest, volume, the L2 order book, OHLCV candles, funding history, and…
  • 100hyperliquid-market-data
    Read live Hyperliquid market data from the desk computer with curl or the Python SDK - mid, mark and oracle prices, order book depth, funding (current, predicted, historical), open interest, volume, candles, perp and spot metadata, margin tiers, and how to save datasets for the…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.