Developer tools for building on Drift Protocol - Solana's leading perpetual and spot DEX
npx claudepluginhub drift-labs/drift-agent-kitSDK documentation and patterns for building on Drift Protocol with TypeScript, Python, or Rust
MCP server for live Drift Protocol data queries - positions, markets, oracles, and the Data API
Directory of popular Claude Code extensions including development tools, productivity plugins, and MCP integrations
Curated collection of 141 specialized Claude Code subagents organized into 10 focused categories
No description available.
A comprehensive developer tooling suite for Drift Protocol, A perpetual DEX with a best in class cross margining system and novel liquidity mechanisms.
This repository contains:
packages/skill/) - Documentation and patterns for TypeScript, Python, and Rust SDKspackages/mcp-server/) - 🚧 WIP - Read-only live data queries via Model Context ProtocolThe skill provides comprehensive documentation for building on Drift. Install it in your preferred AI assistant:
Option 1: Skills (Recommended)
packages/skill/ as a ZIP fileOption 2: Project Files
packages/skill/ to Project KnowledgeOption 1: Custom GPT
packages/skill/ under KnowledgeOption 2: File Upload
packages/skill/ (e.g., drift-protocol.md, typescript/PATTERNS.md)Option 1: Project Rules (Recommended)
# Copy to your project's .cursor/rules directory
mkdir -p .cursor/rules
cp -r packages/skill/* .cursor/rules/drift-protocol/
Option 2: Global Skills
# Copy to Cursor's global skills directory
cp -r packages/skill ~/.cursor/skills/drift-protocol
Option 1: Plugin Marketplace (Recommended)
Install via the Claude Code plugin marketplace:
# Add the marketplace
/plugin marketplace add drift-labs/drift-agent-kit
# Install the skill plugin (docs, patterns, slash commands)
/plugin install drift-skill@drift-agent-kit
# Install the MCP server plugin (live data queries)
/plugin install drift-mcp@drift-agent-kit
This gives you:
/drift - General Drift help/drift-precision - Quick precision reference/drift-order - How to place orders/drift-setup - SDK setup guidesOption 2: CLAUDE.md
Add to your project's CLAUDE.md:
## Drift Protocol
For Drift development, reference the skill documentation in `docs/drift/` for:
- TypeScript SDK patterns: `docs/drift/drift-typescript.md`
- Python SDK patterns: `docs/drift/drift-python.md`
- Rust SDK patterns: `docs/drift/drift-rust.md`
- Precision constants: `docs/drift/concepts/PRECISION.md` (CRITICAL)
Then copy the skill:
cp -r packages/skill docs/drift
# Copy skill to your project
cp -r packages/skill docs/drift
# Reference in your prompts
codex "Using the Drift docs in docs/drift/, help me place a limit order"
For persistent context, add to your project's instructions file:
echo "Reference docs/drift/ for Drift Protocol SDK patterns" >> .codex/instructions.md
cp -r packages/skill docs/drift
.github/copilot-instructions.md:For Drift Protocol development, reference:
- docs/drift/drift-protocol.md for protocol overview
- docs/drift/drift-typescript.md for TypeScript SDK
- docs/drift/drift-python.md for Python SDK
- docs/drift/drift-rust.md for Rust SDK
- docs/drift/concepts/PRECISION.md for precision constants (CRITICAL)
For any AI assistant that supports file uploads or context:
packages/skill/ directorydrift-protocol.md - Protocol mechanics, architecture, data APIdrift-typescript.md - TypeScript SDK entry pointdrift-python.md - Python SDK entry pointdrift-rust.md - Rust SDK entry pointconcepts/PRECISION.md - Critical precision constants (always include!)Browse the documentation directly in your browser:
packages/skill/drift-protocol.mdpackages/skill/drift-typescript.mdpackages/skill/drift-python.mdpackages/skill/drift-rust.md🚧 Work in Progress - The MCP server for live Drift data queries is under development.
The skill is organized into 4 focused entry points that activate based on context: