drift
Read live Drift Protocol mainnet data — Solana's largest non-custodial perps DEX.
Skill by jiayaoqijia
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jiayaoqijia-drift
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data, finance
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/drift
What's inside
- Skill 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.
- License
- AGPL-3.0
- Instructions
- 77 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: "drift" does not match folder "chaingpt-org-official-drift"
Files (4)
- LICENSE
- SKILL.md
- SOURCE.md
- TRUST.auto.yaml
SKILL.md (first lines)
# 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`From jiayaoqijia/cryptoskill, AGPL-3.0.
More from jiayaoqijia/cryptoskill
- 0.635score
coinpilot-hyperliquid-copy-trade
jiayaoqijia
Automate copy trading on Hyperliquid via Coinpilot to discover, investigate, and mirror top on-chain traders in real time with low execution latency.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
bittensor-sdk
taoli
Complete Bittensor SDK reference — Subtensor, AsyncSubtensor, Metagraph, Axon, Dendrite, Synapse, chain_data models, extrinsics (sync + async), extras…
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
agent-wallet
jiayaoqijia
Give the AI agent its own EVM wallet with admin-controlled policies the agent CANNOT bypass even under prompt injection.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
bridge
jiayaoqijia
Cross-chain bridging via the ChainGPT plugin.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
tron
jiayaoqijia
Tron (TVM) support via the ChainGPT plugin — at parity with the EVM + Solana surfaces.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
update
jiayaoqijia
Check for and apply updates to the ChainGPT skill.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
playground
jiayaoqijia
Interactively test any ChainGPT API endpoint.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
dashboard
jiayaoqijia
Open the ChainGPT marketplace dashboard — a localhost web UI with six read-only panels (Overview, Wallet, Skills, Activity, Health, About).
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
debug
jiayaoqijia
Troubleshoot ChainGPT API errors and issues.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
defi
jiayaoqijia
Interact with DeFi protocols on MAINNET via the ChainGPT plugin.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
deploy
jiayaoqijia
Deploy Solidity contracts to MAINNET (or testnet) safely via the ChainGPT plugin.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
hackathon
jiayaoqijia
Scaffold a complete hackathon project using ChainGPT APIs in 60 seconds.
SkillBFreshness: B★ 75Claude Code +9
Signals
- Stars
- 75
- Forks
- 17
- Open issues
- 34
- Last commit (this folder)
- Sep 9, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- AGPL-3.0
- Repository
- github.com/jiayaoqijia/cryptoskill
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from jiayaoqijia
- 0.635score
coinpilot-hyperliquid-copy-trade
jiayaoqijia
Automate copy trading on Hyperliquid via Coinpilot to discover, investigate, and mirror top on-chain traders in real time with low execution latency.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
agent-wallet
jiayaoqijia
Give the AI agent its own EVM wallet with admin-controlled policies the agent CANNOT bypass even under prompt injection.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
playground
jiayaoqijia
Interactively test any ChainGPT API endpoint.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
dashboard
jiayaoqijia
Open the ChainGPT marketplace dashboard — a localhost web UI with six read-only panels (Overview, Wallet, Skills, Activity, Health, About).
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
debug
jiayaoqijia
Troubleshoot ChainGPT API errors and issues.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
defi
jiayaoqijia
Interact with DeFi protocols on MAINNET via the ChainGPT plugin.
SkillBFreshness: B★ 75Claude Code +9
Cite this page
drift skill. Agent Mart. https://agentmart.dev/skills/jiayaoqijia-drift (last updated 2026-10-24)