drift-sdk SKILL.md skillA

drift-sdk from alsk1992/cloddsbot is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add alsk1992/cloddsbot/drift-sdk@git:20260131.11703da

Pins git:20260131.11703da in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
alsk1992/cloddsbot
Path
src/skills/bundled/drift-sdk/SKILL.md
Versions recorded
1
Latest version
git:20260131.11703da, committed Jan 31, 2026
Size
2,500 bytes
Repository stars
3,076
License
MIT

Drift Protocol perpetual futures trading on Solana (direct SDK).

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Drift Protocol SDK

Direct SDK-based trading on Drift Protocol, Solana's leading perpetual futures DEX. Bypass the gateway requirement with native SDK integration.

## Quick Start

```bash
# Set credentials
export DRIFT_PRIVATE_KEY="your-solana-private-key"
export SOLANA_RPC_URL="https://api.mainnet-beta.solana.com"

# Check balance
/drift balance

# Open a position
/drift long BTC 0.1
/drift short ETH 1 2500

# Close position
/drift close BTC
```

## Commands

### Trading

| Command | Description |
|---------|-------------|
| `/drift long <coin> <size> [price]` | Open long position |
| `/drift short <coin> <size> [price]` | Open short position |
| `/drift close <coin>` | Close position at market |
| `/drift closeall` | Close all positions |
| `/drift leverage <coin> <1-20>` | Set leverage |

**Examples:**
```bash
/drift long BTC 0.1           # Market buy 0.1 BTC
/drift short ETH 1 2500       # Limit sell 1 ETH at $2500
/drift leverage SOL 5         # Set SOL leverage to 5x
```

### Orders

| Command | Description |
|---------|-------------|
| `/drift orders` | List open orders |
| `/drift cancel <orderId>` | Cancel order by ID |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add alsk1992/cloddsbot/drift-sdk@sha256:c50c24664789107e

The line at the top of this page pins the label git:20260131.11703da, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_7lu7qlveidcechoi.svg)](https://markdownregistry.com/a/art_7lu7qlveidcechoi)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Jan 31, 2026.

versioncommittedcommitsizeaudit
git:20260131.11703da latest2026-01-31 11703da 2,500 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2500 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

alsk1992/cloddsbot · 3,076 stars · license MIT · pushed 2026-10-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_7lu7qlveidcechoi
GET https://markdownregistry.com/api/v1/resolve?ref=alsk1992/cloddsbot/drift-sdk
GET https://markdownregistry.com/api/v1/blob/c50c24664789107e64d2b27a43f5b4c1800ca826d1d423b29e785660b07b9fe4

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from alsk1992/cloddsbot

public SKILL.md skill
alsk1992/cloddsbot · public/SKILL.md
git:20260212.cef4916 · audit C · 3,076 stars
acp SKILL.md skill
alsk1992/cloddsbot · src/skills/bundled/acp/SKILL.md
git:20260202.77a3ed3 · audit C · 3,076 stars
agentbets SKILL.md skill
alsk1992/cloddsbot · src/skills/bundled/agentbets/SKILL.md · AgentBets - AI-native prediction markets on Solana
git:20260210.897a90c · audit A · 3,076 stars
ai-strategy SKILL.md skill
alsk1992/cloddsbot · src/skills/bundled/ai-strategy/SKILL.md · AI Strategy - natural language to trades
git:20260202.18c4c43 · audit A · 3,076 stars
alerts SKILL.md skill
alsk1992/cloddsbot · src/skills/bundled/alerts/SKILL.md · Create and manage price alerts for prediction markets
git:20260130.ae698b3 · audit A · 3,076 stars
analytics SKILL.md skill
alsk1992/cloddsbot · src/skills/bundled/analytics/SKILL.md · Performance attribution, trade analytics, and strategy optimization
git:20260130.78e49cb · audit A · 3,076 stars
arbitrage SKILL.md skill
alsk1992/cloddsbot · src/skills/bundled/arbitrage/SKILL.md · Automated cross-platform arbitrage detection and monitoring
git:20260130.78e49cb · audit A · 3,076 stars
auto-reply SKILL.md skill
alsk1992/cloddsbot · src/skills/bundled/auto-reply/SKILL.md · Automatic response rules, patterns, and scheduled messages
git:20260210.cd0fc2e · audit A · 3,076 stars
automation SKILL.md skill
alsk1992/cloddsbot · src/skills/bundled/automation/SKILL.md · Schedule cron jobs and automate recurring tasks
git:20260210.cd0fc2e · audit A · 3,076 stars
backtest SKILL.md skill
alsk1992/cloddsbot · src/skills/bundled/backtest/SKILL.md · Test trading strategies on historical data with Monte Carlo simulation
git:20260210.cd0fc2e · audit A · 3,076 stars
bags SKILL.md skill
alsk1992/cloddsbot · src/skills/bundled/bags/SKILL.md · Bags.fm - Complete Solana token launchpad with creator monetization
git:20260205.a76643d · audit A · 3,076 stars
bankr SKILL.md skill
alsk1992/cloddsbot · src/skills/bundled/bankr/SKILL.md · AI-powered crypto trading via natural language through Bankr API
git:20260202.691f0f8 · audit A · 3,076 stars

Every file in alsk1992/cloddsbot

Browse by kind, by grade A, or by owner.