OKX Agent Skills

License: MIT

English | 中文

Pre-built skill packs that teach AI agents (Claude, Cursor, Codex, …) when to activate and how to operate OKX through the okx CLI.

Each skill is a self-contained Markdown file with YAML frontmatter — drop it into your agent's skill directory and the agent will route matching natural-language requests to it automatically.

The runtime (CLI / MCP server) lives in a separate repo, okx/agent-tradekit. This repository ships only the skill packs.

Skills

Skill Description Auth
okx-cex-auth OAuth login / logout / session-expired recovery
okx-cex-market Public market data: prices, candles, orderbook, funding rate, open interest, technical indicators (70+) No
okx-cex-trade Order management: spot, perpetual swap, delivery futures, options, TP/SL and trailing-stop algo orders Yes
okx-cex-portfolio Account: balances, positions, P&L, fees, fund transfers Yes
okx-cex-bot Trading bots: spot/contract grid and DCA bots Yes
okx-cex-earn Earn: Simple Earn, on-chain staking, Dual Investment (双币赢), AutoEarn Yes
okx-cex-smartmoney Smart Money: leaderboard traders, positions, consensus signals Yes
okx-sentiment-tracker Crypto news aggregation and coin sentiment analysis Yes
okx-cex-skill-mp Skills marketplace: discover, install, update, remove third-party skills Yes

Quick Start

Prerequisites: Node.js >= 18

# 1. Install the CLI
npm install -g @okx_ai/okx-trade-cli

# 2. Configure OKX API credentials
okx config init

Then drop the skill folders you need from skills/ into your agent's skill directory (path varies by client). See skills/README.md for the format spec and routing details.

Documentation

Document Description
Skills Skill format, routing, and contribution rules
Contributing Branch and PR conventions
Reviewing Skill review checklist
Security Vulnerability reporting

License

MIT — see LICENSE.

S
Description
okx-cex-market: Use this skill when the user asks for: price of any asset, ticker, order book, candles, OHLCV, funding rate, open interest, OI change scanner, market screener…; okx-cex-trade: Use when the user asks to 'buy BTC', 'sell ETH', 'place a limit order', 'place a market order', 'cancel my order', 'amend my order', 'long BTC perp', 'short…; okx-cex-portfolio: This skill should be used when the user asks about 'account balance', 'how much USDT do I have', 'my funding account', 'show my p…
Readme MIT 818 KiB
Languages
Shell 100%