okx-cex-portfolio

Plug-and-play AI agent skills for OKX — letting any LLM agent trade, manage portfolios, query live market data, and run grid/DCA bots through a single okx CLI, no API wiring required.

インストール
CLI
npx skills add https://github.com/okx/agent-skills --skill okx-cex-portfolio

CLI を使用してこのスキルをインストールし、ワークスペースで SKILL.md ワークフローの使用を開始します。

最終更新日: 6/13/2026

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.