Bybit AI Trading Skill

August 20, 2026 · View on GitHub

Trade on Bybit using natural language. Tell any AI assistant one sentence, and it can execute trades, check markets, manage positions, and more — zero installation required.

Version: 1.6.0 | License: MIT

How It Works

Copy the following line and send it to your AI assistant:

Please read https://raw.githubusercontent.com/bybit-exchange/skills/main/SKILL.md, save it as a skill, and help me trade on Bybit.

The AI will download and install the skill automatically — then you can start trading in natural language. No npm packages, no CLI tools, no config files.

Supported AI Platforms

Works with any AI assistant that can read files or URLs:

  • OpenClaw
  • Claude (Code, Desktop, API)
  • ChatGPT
  • Gemini
  • Cursor / Windsurf
  • Codex

Capabilities

ModuleWhat Users Can Do
MarketReal-time prices, klines (13 intervals), orderbook (500 levels), funding rates, open interest, volatility
SpotMarket/limit orders, batch orders (20/batch), cancel, amend, spot margin
DerivativesLong/short, leverage, TP/SL, trailing stop, conditional orders, hedge mode, margin adjustment
EarnFlexible saving, on-chain staking, dual assets (structured products with BuyLow/SellHigh)
AccountBalances, internal transfers, deposit addresses, fee rates, sub-accounts, asset conversion
AdvancedWebSocket streams, crypto loans, RFQ block trades, spread trading, broker management
StrategyTWAP, iceberg orders, chase orders, algorithmic execution
Trading BotSpot/futures grid bots, DCA bots, martingale, combo bots
Copy TradingFollow top traders, classic and TradFi copy trading
Alpha TradeOn-chain DEX token swaps, meme coins, quote-then-execute model
PayQR payments, refunds, recurring agreement billing
FiatFiat-to-crypto OTC, P2P ads and order management

Quick Start

1. Get an API Key

  1. Log in to Bybit → API Management → Create New Key
  2. Enable Read + Trade permissions only (never enable Withdraw for AI use)
  3. Recommended: bind your IP and use a dedicated sub-account with limited balance

2. Configure Credentials

Local CLI (Claude Code, Cursor, etc.):

export BYBIT_API_KEY="your_api_key"
export BYBIT_API_SECRET="your_secret_key"
export BYBIT_ENV="mainnet"   # or "testnet"

OpenClaw — use .env file:

# ~/.openclaw/.env
BYBIT_API_KEY=your_api_key
BYBIT_API_SECRET=your_secret_key
BYBIT_ENV=mainnet

Cloud AI (ChatGPT, Gemini) — the AI will ask for credentials interactively and keep them in memory for the session only.

3. Start Trading

Just tell the AI what you want in natural language. The skill handles the rest.

Security

FeatureDescription
Mainnet by defaultUsers start on mainnet with full trade confirmation; can switch to testnet for practice
Trade confirmationEvery mainnet write operation shows a structured summary card — user must type CONFIRM
Large order protectionOrders exceeding 20% of balance or $10,000 trigger additional warnings
API key maskingKeys are displayed as first 5 + last 4 characters only
Local HMAC signingSignatures are computed locally — secrets never leave the user's device
Prompt injection defenseAPI response text fields are displayed but never executed
Graceful degradationIf a module fails to load, write operations are disabled (read-only fallback)
Rate limit protectionBuilt-in 429 backoff and call interval rules

Auto Update

The skill includes a self-update mechanism. At session start, it checks the VERSION file on GitHub. If a newer version is available, it downloads updated files listed in MANIFEST — keeping users on the latest version automatically.

License

MIT