drift
Skill6 starsChanged 3 months agoMITView on GitHub
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.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- cyb3rcricket/cricket-modetheir own version, first seen Sep 26, 2026
- jorekai/skillstheir own version, first seen Sep 7, 2026
- Surfrrosa/claude-skillstheir own version, first seen Jun 25, 2026
- laurensvandijk/vault-introspection-skillstheir own version, first seen Jun 17, 2026
- rainday/smart-blog-skillstheir own version, first seen May 15, 2026
- mbwsims/claude-universetheir own version, first seen Apr 14, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- mbwsims/claude-universe★ 72same name
- rainday/smart-blog-skills★ 35same name
- block/drift★ 29same name
- laurensvandijk/vault-introspection-skills★ 1same name
- Surfrrosa/claude-skills★ 1same name
- cyb3rcricket/cricket-mode★ 0same name
- jorekai/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository23 other files it gives its agents.
- aaSkill
- agent-walletSkill
- baseSkill
- bridgeSkill
- chaingptSkill
- dashboardSkill
- debugSkill
- defiSkill
- deploySkill
- hackathonSkill
- hyperliquidSkill
- playgroundSkill
- polymarketSkill
- researchSkill
- scheduled-autonomySkill
- securitySkill
- solanaSkill
- strategySkill
- tradeSkill
- tronSkill
- trustless-agentsSkill
- updateSkill
- x402Skill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 73
All Drift tools cost 0 ChainGPT credits.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
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 landedFunding-rate arb workflow
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_quotefor 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
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

