Skip to content
Automation
Skill

/drift

Drift Protocol - perpetuals and prediction markets on Solana

From plugin
cloddsbot
651120 skills
Install
$ npx -y skills add alsk1992/CloddsBot --skill drift --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition โ†’
  • You can call itInvoke it directly when you want it.
  • Slash command/drift

Context preview

The summary Claude sees to decide when to auto-load this skill.

Drift Protocol - perpetuals and prediction markets on Solana

SKILL.md

drift.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
Ships withcloddsbot

Open Source AI trading agent that operates autonomously across 1000+ markets - Polymarket, Kalshi, Binance, Hyperliquid, Solana DEXs, 5 EVM chains. Scans for edge, executes instantly, manages risk while you sleep. Agent commerce protocol for machine-to-machine payments. Self-hosted. Built on Claude.

Get the whole plugin