PlugWiki

okx-cex-market Skill (OKX) for Claude: What It Does and How to Install It

Lets Claude look up OKX market data: prices, order books, candles, funding rates and technical indicators, with no OKX account needed.

Installs
10.6K
on skills.sh
Stars
200
on GitHub
Files
5
besides SKILL.md
Updated
Oct 2026
last repo commit

Ask Claude for a price, order book, candle chart, funding rate or a technical indicator like RSI, MACD or Bollinger Bands, and it runs the matching okx CLI command. SKILL.md lists over 70 indicators and covers crypto, stock tokens, metals, commodities, forex and bond instruments that OKX lists.

Every command here is read-only and needs no OKX API key or login. The skill tells Claude to route balance, order and bot questions to the sibling okx-cex-portfolio, okx-cex-trade and okx-cex-bot skills instead.

Good for

  • Traders who want live OKX prices and indicators in chat
  • Anyone screening for top movers or newly listed instruments
  • Developers scripting market checks through the okx CLI
  • People checking metals, forex or stock-token prices OKX lists

Install okx-cex-market

Claude Code

  1. 1

    Copy this prompt.

    Install the okx-cex-market skill in Claude Code. Run this command:
    
    npm install -g @okx_ai/okx-trade-cli
    
    Then check that it loaded and tell me how to use it.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js.

This skill does nothing without the okx CLI, so install it first. It reads public market data and needs no OKX account or API key.

From the project README. Source.

What's in the skill

When it loads

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). Do NOT use when the user wants to TRADE a directional view as an event contract — that is okx-cex-trade. Merely ASKING which way an asset's price is moving is a market-data question and belongs here.

Sections in SKILL.md

  1. Preflight
  2. Install
  3. Command Index
  4. Operation Flow
  5. Step 1 — Identify data type and load reference
  6. Step 2 — Run commands immediately
  7. Step 3 — No writes, no verification needed
  8. Edge Cases
  9. Global Notes

Key facts

License
MIT
Installs on skills.sh
10,580 (Nov 2, 2026)
Last repo commit
Oct 28, 2026

What it includes

  • Spot and derivative prices, mark and index price

    Current price, ticker and mark/index price for any OKX instrument.

    Try: “What is the current price and funding rate for BTC-USDT-SWAP?”

    Network · Prices and tickers

  • Depth and recent trades

    Order book snapshots and recent trade history for an instrument.

    Network · Order books and trades

  • Historical candlestick data

    OHLCV candles for charting and backtests.

    Network · Candles and OHLCV

  • Perpetual swap funding and OI, plus an OI change scanner

    Funding rate, open interest, and a scanner for OI changes across instruments.

    Network · Funding rate and open interest

  • Top movers, high-volume and newly listed instruments

    Screens the market by volume, price move or listing date.

    Network · Market screener

  • All tradable instruments on OKX

    Lists spot, swap, futures, options and event-contract instruments.

    Network · Instrument list

  • Non-crypto assets OKX lists

    Stock tokens, gold/silver (XAU/XAG), oil, and forex pairs like EUR/USD.

    Network · Stock tokens, metals and forex

  • RSI, MACD, EMA, Bollinger, KDJ, SuperTrend, AHR999, BTC rainbow and more

    Computes technical indicators from OKX market data on request.

    Try: “Show me the RSI and MACD for ETH on the 4-hour chart.”

    Network · 70+ technical indicators

From the official docs

Permissions

Low risk

This skill's commands only read public market data and need no account. The install step runs a global npm package install, and the shared preflight runs okx upgrade and lists your okx credential profiles, so review those like any other third-party code on your machine.

What it can do

Watch out for

  • Preflight upgrades the CLI and reads your credential setup

    SKILL.md tells the agent to follow the shared preflight.md before any command. It runs `okx upgrade`, which installs newer @okx_ai/okx-trade-mcp and @okx_ai/okx-trade-cli packages from npm when it finds one (checked at most every 12 hours, writing ~/.okx/last_check), then `okx config show --json` and `okx auth status --json`, which list your API-key profiles and OAuth state. github.com

  • Installs a global npm package

    The prerequisite step runs npm install -g @okx_ai/okx-trade-cli, a global install. Review the package before running it. github.com

Security advisories

No published security advisories as of Nov 2, 2026.

Technical details
Turning on read-onlyEvery command this skill runs is read-only by design; there is no write mode to turn off.
Talks toOKX market-data endpoints, through the okx CLI
Sign-in and keysThis skill's commands need no account or key. The okx CLI itself can hold credentials for other OKX skills in ~/.okx/config.toml or its own OAuth state, and the shared preflight lists them (okx config show --json, okx auth status --json).
Scopes
  • Reads public OKX market data, no account access for the commands in this skill

  • Shared preflight also runs okx upgrade and reads your okx credential config listing

Questions

What does the okx-cex-market skill do?

It makes Claude fetch OKX market data (prices, order books, candles, funding rates, and technical indicators) through the okx command-line tool.

How do I install it?

Use the install box at the top of this page. Install the okx CLI first, then add the skill.

Does it need an OKX account or API key?

No. SKILL.md says all its commands are read-only and do not require API credentials.

Is it by OKX?

Yes. It is in OKX's own repo (github.com/okx/agent-skills), SKILL.md lists okx as the author, and the okx CLI it drives is published on npm as @okx_ai/okx-trade-cli.

Can it place a trade?

No. SKILL.md says to use the sibling okx-cex-trade skill for orders; this skill covers data only.

Is it safe?

The market commands read public data and need no account or key. Two things to know: the npm install step is a global package install, and the shared preflight runs okx upgrade (installs newer CLI packages from npm) and lists your okx credential profiles. Review both like any global npm package.

Which other OKX skills exist?

The README lists okx-cex-trade, okx-cex-portfolio and okx-cex-bot for trading and account actions, okx-cex-auth for login, and others for earn products and sentiment, all needing the same okx CLI.

Information

updated Nov 2, 2026

Folder
skills/okx-cex-market

okx/agent-skillsskills.sh

Sources

Docs, issue trackers and discussions this page is built from.

Show all 3
  1. okx-cex-market SKILL.md · github.com
  2. okx/agent-skills README · github.com
  3. OKX CLI preflight · github.com

Updated Nov 2, 2026.