shaolong.wang@okg.com 0551bb6996 Merge branch 'dsw/feat/stock-optimize' into 'master'
feat: add stock token support to market and trade skills

See merge request retail-ai/agent-skills!25
2026-03-13 11:30:28 +00:00
2026-03-09 14:23:47 +08:00
2026-03-09 14:23:47 +08:00
2026-03-09 14:23:47 +08:00

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

  • okx CLI 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.

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%