drift

drift is a skill for Claude Code, Codex from alsk1992/CloddsBot. It costs 15 tokens per session (300 once invoked), scanned A, original, MIT.

A command tool for trading perpetual futures, spot assets, and prediction markets on Solana, a blockchain network.

In plain words
What is it for?
Opening or closing long and short positions, cancelling orders, checking balances and positions, viewing markets, and setting leverage.
Why use it?
It puts Drift Protocol trading and account checks into chat commands instead of requiring separate screens or manual API calls.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/alsk1992/cloddsbot/drift
Any agent
npx skills add alsk1992/CloddsBot --skill drift
Clone the repo
git clone --depth 1 https://github.com/alsk1992/CloddsBot

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for drift

README.md
[![agentmods](https://agentmods.dev/badge/skills/alsk1992/cloddsbot/drift.svg)](https://agentmods.dev/skills/alsk1992/cloddsbot/drift)
Your own site
<a href="https://agentmods.dev/skills/alsk1992/cloddsbot/drift"><img src="https://agentmods.dev/badge/skills/alsk1992/cloddsbot/drift.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 300 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00015 $0.00300
Opus 5 $0.00008 $0.00150
Sonnet 5 $0.00003 $0.00060
Haiku 4.5 $0.00002 $0.00030

Measured 4d ago against content hash f4496536a8a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

drift scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (index.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/skills/bundled/drift/SKILL.md · 54 lines

What it actually says

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

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 54 lines · 15 tokens per session scan A f4496536a8a6

Subscribe to this mod's changes

drift is a skill published in the GitHub repository alsk1992/CloddsBot (868 stars, last pushed yesterday), licensed MIT. It adds 15 tokens to every session and 300 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

agent-uat

AI 에이전트가 마크다운 시나리오를 읽고 사용자와 인터랙티브하게 실행하여 WAIaaS 기능을 메인넷/테스트넷에서 검증하는 시스템이다.

waiaas/WAIaaS · 0 tokens

0xarchive

Query historical and real-time crypto market data from 0xArchive across two top-level venue APIs: Hyperliquid and Lighter.xyz. HIP-3 builder perps live under the Hyperliquid namespace at /v1/hyperliquid/hip3. HIP-4 outcome markets (binary prediction markets like 'Will BTC be >= X by date Y?') live at…

0xArchiveIO/0xarchive-skill · 310 tokens

CTRL

Build on-chain automation on Base via CTRL - DCA, price-gated swaps, launchpad sniping, or whale-follow that run autonomously after one EIP-5792 wallet signature, bounded by preset caps.

aaronjmars/aeon-agent · 46 tokens

aomi-transact

Build natural-language crypto agents, web3 assistants, and trading bots that read and write EVM chain state. Aomi turns prompts ("swap 1 ETH for USDC", "open a 3x GMX long", "bet $100 on Polymarket") into wallet-signed transactions on Ethereum, Base, Arbitrum, Optimism, Polygon, Linea — non-custodial, fork-simulated.…

aomi-labs/skills · 221 tokens

perp-cli

Multi-DEX perpetual futures trading via the perp-cli command-line tool. Use when user asks to: trade perps, check funding rates, scan/execute arbitrage (perp-perp or spot-perp), run delta-neutral strategies, bridge USDC across chains, manage positions/orders/leverage, deposit/withdraw, hedge spot+perp, trade HIP-3…

hypurrquant/perp-cli · 152 tokens

crypto-report

Analyze cryptocurrency projects with tokenomics, on-chain metrics, and market analysis. Generate comprehensive crypto research reports.

claude-office-skills/skills · 24 tokens