NAME
agent-skills — Plug-and-play AI agent skills for OKX — letting any LLM agent trade, manage portfolios, query live market data, and…
SYNOPSIS
npm install -g @okx_ai/okx-trade-cliINFO
DESCRIPTION
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.
README
agent-skills
A collection of AI agent skills for OKX exchange operations. Each skill is a self-contained Markdown file that tells an AI agent how to use the okx CLI to perform a specific category of tasks — market data queries, portfolio management, trading, and bot automation.
Skills
| Skill | Description | Auth Required |
|---|---|---|
okx-cex-market | Public market data: prices, order books, candles, funding rates, open interest, instruments | No |
okx-cex-trade | Order management: spot, perpetual swap, delivery futures, options, TP/SL and trailing stop algo orders | Yes |
okx-cex-portfolio | Account operations: balances, positions, P&L, fees, fund transfers | Yes |
okx-cex-bot | Automated strategies: spot/contract grid bots and DCA bots | Yes |
Requirements
okxCLI installed:npm install -g @okx_ai/okx-trade-cli- For authenticated skills: OKX API credentials configured in
~/.okx/config.toml
Skill Format
Each skill is a Markdown file with a YAML frontmatter header:
---
name: skill-name
description: "Trigger description for the AI agent routing system."
license: Apache-2.0
metadata:
author: okx
version: "1.0.0"
agent:
requires:
bins: ["okx"]
---
The description field is used by the agent to decide when to activate the skill. It should enumerate the natural-language phrases and scenarios that the skill handles.
Usage
Skills are loaded by AI agents to provide contextual instructions for CLI-based tasks. The agent reads the skill document and follows the command examples and operation flows described within.
Contributing
See CONTRIBUTING.md for how to add or improve skills.
License
MIT — see LICENSE.