Skip to content
Back to skills

Drift

ASecurity

Drift Protocol - perpetuals and prediction markets on Solana

  • 2,496 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 10, 2026
blockchain

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add alsk1992/CloddsBot --skill drift --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Drift?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Drift
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/alsk1992-drift/badge)](https://www.skillsdirectory.com/skills/alsk1992-drift)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.md1.2 KB
  • index.ts14 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.