PluginBench
Skill
Review
Audit score 70

okx-cex-skill-mp

okx/agent-skills

How to install okx-cex-skill-mp

npx skills add https://github.com/okx/agent-skills --skill okx-cex-skill-mp
Claude Code
Cursor
Windsurf
Cline
Full instructions (SKILL.md)

Source of truth, from okx/agent-skills.


name: okx-cex-skill-mp description: "Use this skill when the user asks to: 'find a trading skill', 'search for skills', 'install a skill', 'add a skill', 'download a skill', 'browse skill marketplace', 'what skills are available', 'update a skill', 'check for skill updates', 'remove a skill', 'uninstall a skill', 'list installed skills', 'show my skills', 'skill categories', or any request to discover, install, update, or manage AI trading skills from the OKX Skills Marketplace. This skill covers searching, browsing categories, installing via CLI, downloading zip packages, checking for updates, and removing installed skills. Requires API credentials for marketplace API access. Do NOT use for placing orders (use okx-cex-trade), market data (use okx-cex-market), or bot management (use okx-cex-bot)." license: MIT metadata: author: okx version: "1.3.2" homepage: "https://www.okx.com" agent: requires: bins: ["okx"] install: - id: npm kind: node package: "@okx_ai/okx-trade-cli@1.3.2" bins: ["okx"] label: "Install okx CLI (npm)"

OKX Skills Marketplace

Browse, search, install, and manage AI trading skills from the OKX Skills Marketplace. Skills are modular AI prompt packages that extend your trading assistant's capabilities — covering market analysis, trade execution, risk management, and portfolio optimization.

⚠️ Third-Party Content Notice Skills available on the OKX Skills Marketplace are created and published by independent third-party developers, not by OKX. OKX does not author, review, endorse, or take responsibility for the content, accuracy, or behavior of any third-party skill. Always review a skill's SKILL.md before use, and only install skills from authors you trust. When a skill is installed via okx skill add, it is downloaded from the marketplace and saved locally to your agent's skill directory (e.g., ~/.agents/skills/<skill-name>/). The skill runs entirely on your local machine with your agent's full permissions — treat it with the same caution as installing any third-party software.

Skill routing

  • Skill marketplace → okx-cex-skill-mp (this skill)
  • Market data / indicators → okx-cex-market
  • Account balance / positions → okx-cex-portfolio
  • Place / cancel orders → okx-cex-trade
  • Grid / DCA bots → okx-cex-bot

Prerequisites

  1. Install okx CLI:
    npm install -g @okx_ai/okx-trade-cli
    
  2. Configure API credentials (required for marketplace access):
    okx config init
    

Installation Strategy

When the user wants to install a skill, follow this order strictly:

  1. Always try okx skill add <name> first — this downloads the skill and installs it to all detected agents (Claude Code, OpenClaw, Cursor, Windsurf, etc.) in one step.
  2. Only if add fails, fall back to manual download:
    • Tell the user why add failed (network error, npx unavailable, permission issue, etc.)
    • Offer okx skill download <name> --dir <path> as an alternative
    • Guide the user to manually unzip and place files in their agent's skill directory

Never skip add and go straight to download unless add has already failed.


Command Reference

#CommandDescription
1okx skill search <keyword>Search marketplace by keyword
2okx skill search --categories <id>Filter skills by category
3okx skill categoriesList all available categories
4okx skill add <name>Download + install to all detected agents
5okx skill download <name> [--dir <path>] [--format zip|skill]Download package (default format: zip)
6okx skill listList locally installed skills
7okx skill check <name>Check if a newer version is available
8okx skill remove <name>Uninstall a skill

Add --json to any command for raw JSON output. Add --env to wrap the output as {"env", "profile", "data"}.


Commands in Detail

1. Search Skills

okx skill search grid

Output:

  NAME              VERSION   DESCRIPTION
  grid-premium      1.2.0     Enhanced grid trading with technical analysis
  grid-dca          1.0.0     Grid strategy combined with DCA

2 skills found (page 1/1). Use `okx skill add <name>` to install.

Search with category filter:

okx skill search --categories trading-strategy

Pagination (response includes totalPage for total pages):

okx skill search grid --page 2 --limit 5
# Output: "3 skills found (page 2/4). Use `okx skill add <name>` to install."

2. Browse Categories

okx skill categories

Output:

  ID                  NAME
  trading-strategy    Trading Strategy
  risk-management     Risk Management
  analysis            Market Analysis

3. Install a Skill

okx skill add grid-premium

Output:

Downloading grid-premium...
Installing to detected agents...
✓ Skill "grid-premium" v1.2.0 installed

What happens under the hood:

  1. Downloads skill zip from OKX marketplace API
  2. Extracts and validates the package (checks SKILL.md exists, reads metadata)
  3. Runs npx skills add to install to all locally detected agents
  4. Records the installation in ~/.okx/skills/registry.json

4. Download Only (No Install)

When add fails or the user wants the raw package:

okx skill download grid-premium --dir ~/Downloads/

Output:

✓ Downloaded grid-premium.zip
  Path: /Users/me/Downloads/grid-premium.zip

To download as .skill format (for agents that recognize the extension):

okx skill download grid-premium --dir ~/Downloads/ --format skill

The zip contains:

  • SKILL.md — the skill's main instruction file
  • _meta.json — metadata (name, version, title, description)
  • reference/ — optional supporting documents

5. List Installed Skills

okx skill list

Output:

  NAME              VERSION   INSTALLED AT
  grid-premium      1.2.0     2026-03-25 10:30:00
  dca-smart         2.1.0     2026-03-20 14:00:00

2 skills installed.

6. Check for Updates

okx skill check grid-premium

Output:

grid-premium: installed v1.0.0 → latest v1.2.0 (update available)
  Use `okx skill add grid-premium` to update.

To update, simply run okx skill add <name> again — it overwrites the previous version.

7. Remove a Skill

okx skill remove grid-premium

Output:

✓ Skill "grid-premium" removed

MCP Tools (Alternative)

When the CLI is unavailable (e.g., Claude Desktop without terminal access), the same marketplace functionality is available via MCP tools:

MCP ToolEquivalent CLIDescription
skills_searchokx skill searchSearch by keyword/category. Response includes totalPage for pagination.
skills_get_categoriesokx skill categoriesList categories
skills_downloadokx skill downloadDownload package to directory (default format: .skill; pass format: "zip" for zip)

Note: MCP tools only support search and download. The full install flow (add) requires CLI access.


Error Handling

ErrorMeaningAction
70002 SKILL_DELETEDSkill has been removed from marketplaceChoose a different skill
70003 NO_APPROVED_VERSIONNo approved version availableSkill is pending review, try later
70030 VERSION_NOT_APPROVEDVersion not yet approved for downloadWait for review or use an older version
50111/50112/50113Authentication errorRun okx config init to set up credentials
npx skills add failsnpx not available or network issueUse okx skill download instead, then manually install

Related skills

More from okx/agent-skills and the wider catalog.

OK

okx-cex-market

okx/agent-skills

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 (top movers, high-volume, newly listed), mark price, index price, recent trades, instrument list, stock tokens, metals prices (gold, XAU, XAG), commodities (oil, OIL), forex rates (EUR/USD, EURUSDT), bond instruments, non-crypto assets, or any technical indicator query (RSI, MACD, EMA, Bollinger Bands, KDJ, SuperTrend, AHR999, BTC rainbow, and 70+ more). All commands are read-only and do NOT require API credentials. Do NOT use for account balance/positions (okx-cex-portfolio), placing/cancelling orders (okx-cex-trade), or bots (okx-cex-bot).

7.8k installs
OK

okx-cex-trade

okx/agent-skills

Use this skill when the user asks to 'buy BTC', 'sell ETH', 'place a limit order', 'cancel my order', 'amend my order', 'long BTC perp', 'short ETH swap', 'open a position', 'close a position', 'set TP/SL', 'trailing stop', 'set leverage', 'check my orders', 'fill history', 'buy/sell call/put option', 'option chain', 'implied volatility', 'IV', 'option Greeks (delta/gamma/theta/vega)', 'delta hedge', 'option fills', 'event contract', 'buy Yes/No', 'buy Up/Down', 'BTC above', 'price above', '15min price', 'prediction market', 'browse event contracts', 'list event contracts', 'available prediction markets', or any request to browse, place, cancel, or amend spot, swap, futures, options, or event contract orders on OKX. Covers spot trading, perpetual swap, delivery futures, options (calls/puts, Greeks, IV), event contracts (Yes/No, Up/Down), and algo orders (TP/SL/trailing). Requires API credentials. Do NOT use for market data (okx-cex-market), balances/positions (okx-cex-portfolio), or bots (okx-cex-bot).

7.8k installs
OK

okx-cex-portfolio

okx/agent-skills

This skill should be used when the user asks about 'account balance', 'how much USDT do I have', 'my funding account', 'show my positions', 'open positions', 'position P&L', 'unrealized PnL', 'closed positions', 'position history', 'realized PnL', 'account bills', 'transaction history', 'trading fees', 'fee tier', 'account config', 'max order size', 'how much can I buy', 'withdrawable amount', 'transfer funds', 'move USDT to trading account', or 'switch position mode'. Also use for '总资产', 'full balance', 'all assets', 'total holdings', 'net worth', 'how much do I have in total', 'show all my balances', 'all account balances', 'asset overview'. Requires API credentials. Do NOT use for market prices (use okx-cex-market), placing/cancelling orders (use okx-cex-trade), or grid/DCA bots (use okx-cex-bot).

7.6k installs
OK

okx-cex-bot

okx/agent-skills

Manage Grid bots (spot/contract/coin-margined) and DCA Martingale bots (Spot DCA 现货马丁 / Contract DCA 合约马丁) on OKX. Covers create, stop, amend, monitor P&L, TP/SL, margin/investment adjustment, and AI-recommended parameters. Requires API credentials. Not for regular orders (okx-cex-trade), market data (okx-cex-market), or account info (okx-cex-portfolio).

7.5k installs
OK

okx-cex-earn

okx/agent-skills

Manages OKX Simple Earn (flexible savings/lending), Flash Earn, On-chain Earn (staking/DeFi), Dual Investment (DCD/双币赢), and AutoEarn (自动赚币) via the okx CLI. Use this skill whenever the user wants to check earn balances, browse flash-earn projects, subscribe or redeem earn products, view or set lending rates, monitor on-chain staking orders, interact with dual investment structured products, or manage auto-earn — even if phrased casually as 活期赚币, 定期赚币, 闪赚, 赚币, 申购, 赎回, 链上赚币, 质押, 理财, 双币赢, 双币理财, 双币申购, 高卖, 低买, dual investment, DCD, flash earn, buy low, sell high structured product, earn with target price, 目标价, 自动赚币, auto earn, auto-earn, 自动借出, 自动质押, auto lend, auto staking, USDG earn, USDG 赚币, 闲置资金自动理财, fixed earn, fixed deposit, term deposit, 定期理财, 定期. Also use when the user asks about idle funds and whether to earn on them.

6.9k installs
OK

okx-sentiment-tracker

okx/agent-skills

Use this skill when the user asks about: 'any crypto news', 'latest news', 'market update', 'daily briefing', 'BTC news', 'ETH news', 'news on SOL', 'search SEC ETF', 'regulation news', 'Bitcoin halving', 'is BTC bullish or bearish', 'coin sentiment', 'sentiment trend', 'trending coins', 'top bullish coins', 'bearish sentiment', 'social buzz', 'market mood', 'fear and greed', 'full article', 'read more', or any request for crypto news, market intelligence, sentiment analysis, or social trend data. Requires API credentials. Do NOT use for market prices/candles (okx-cex-market), placing orders (okx-cex-trade), or account info (okx-cex-portfolio).

5.1k installs