Drift Protocol SDK Guide
Reference guide and code patterns for the Drift Protocol perp/spot/vault SDK on Solana.
Test report
- Verdict
- Tested · Works
- Score
- Tested
- Jul 16, 2026
- Environment
- Claude Code 2.x (agent harness)
- Upstream re-checked
- Jul 18, 2026 · 73cc9da
Cross-checked the documented npm packages against the live registry -- @drift-labs/sdk and @coral-xyz/anchor are real, actively-published packages (unlike a sibling skill's broken pinned version) -- and every one of the 14 files the SKILL.md's own 'Skill Structure' tree lists (4 resources, 3 docs, 6 example READMEs, 1 template) actually exists in the repo.
Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works
- Installs cleanly 5/5
- Triggers reliably 5/5
- Output vs. baseline 8/10
- Docs & honesty 5/5
What Drift Protocol SDK Guide does
Documents the @drift-labs/sdk (TypeScript) and driftpy (Python) APIs for building on Drift Protocol -- client setup, order types, deposits/withdrawals, position/margin queries, PnL, Jupiter swaps, vaults, and events -- with a full method reference and a copy-paste trading-bot template. Triggers when a user is building a Solana perp/spot trading bot, integrating Drift markets, or managing Drift positions/vaults.
How to install Drift Protocol SDK Guide
git clone https://github.com/eugenepyvovarov/mcpbundler-agent-skills-marketplace.git
mkdir -p ~/.claude/skills
cp -r mcpbundler-agent-skills-marketplace/drift-protocol ~/.claude/skills/drift-protocol
Skills live in ~/.claude/skills/ (global) or .claude/skills/
(per-project). Restart Claude Code after installing.
Commands — how to trigger Drift Protocol SDK Guide
-
/drift-protocolReference guide and code patterns for the Drift Protocol perp/spot/vault SDK on Solana.
It also activates on plain-language prompts like these:
-
Help me build a trading bot on Drift Protocol for perpetual futures -
How do I place a stop-loss order using the Drift SDK on Solana? -
I'm integrating Drift vaults into my Solana DeFi app, walk me through it
Frequently asked questions
- Is the Drift Protocol SDK Guide skill free?
- Yes. The skill itself is free from eugenepyvovarov/mcpbundler-agent-skills-marketplace. SkillProof publishes the install command and an independent test verdict at no cost.
- Does Drift Protocol SDK Guide work with Claude Code?
- We tested it with Claude Code 2.x (agent harness) on Jul 16, 2026. Verdict: Tested · Works. Cross-checked the documented npm packages against the live registry -- @drift-labs/sdk and @coral-xyz/anchor are real, actively-published packages (unlike a sibling skill's broken pinned version) -- and every one of the 14 files the SKILL.md's own 'Skill Structure' tree lists (4 resources, 3 docs, 6 example READMEs, 1 template) actually exists in the repo.
- What is the Drift Protocol SDK Guide SkillProof Score?
- 9.2/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 8/10, docs & honesty 5/5.
- How do I install Drift Protocol SDK Guide?
- Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
- Can I use Drift Protocol SDK Guide with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
- The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.