Back to skills
SKILL.md
Drift
ASecurityDrift Protocol - perpetuals and prediction markets on Solana
- 2,496 stars
- 0 votes
- 0 copies
- 1 view
- Added February 10, 2026
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add alsk1992/CloddsBot --skill drift --agent claude-codeAre you the author of Drift?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/alsk1992-drift)---
name: drift
description: "Drift Protocol - perpetuals and prediction markets on Solana"
command: drift
emoji: "π"
gates:
envs:
- SOLANA_PRIVATE_KEY
---
# Drift Protocol
Drift is a Solana DEX for perpetual futures and prediction markets.
## Commands
### Trading
```
/drift long <market> <size> [price] Open long position
/drift short <market> <size> [price] Open short position
/drift close <market> Close position
/drift cancel [orderId] Cancel order(s)
```
### Positions & Orders
```
/drift positions View open positions
/drift orders View open orders
/drift balance Check account balance
```
### Market Info
```
/drift markets List available markets
/drift market <index> Get market details
/drift leverage <market> <amount> Set leverage
```
## Examples
```
/drift long SOL-PERP 0.5
/drift short BTC-PERP 0.01 95000
/drift positions
/drift balance
/drift leverage SOL-PERP 5
```
## Market Types
- **perp**: Perpetual futures (SOL-PERP, BTC-PERP, ETH-PERP)
- **spot**: Spot markets
- **prediction**: Prediction markets
Files in this skill
- SKILL.md
- index.ts
Attribution
Comments
Loading commentsβ¦
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.