⏳ This skill is pending AI review.

Scores will appear once the review pipeline completes.

v1.4.9

okx-cex-auth

@okx⭐ 194 stars

Use this skill when the user wants to 'login/log in/sign in', 'authenticate', 'authorize', 'connect OKX account', 'set up credentials', 'first time setup', 'configure okx', '登录', '授权', '认证', '连接账户', '首次配置'. Also when any OKX CLI command fails with an auth error: 'Run okx auth login first', 'Session expired', 'not authenticated', 'requires_auth', '401 Unauthorized', 'token expired/not found', 'StorageNotFoundError', '会话过期', '未认证', '需要登录'. Also when the user asks about login status or the login was interrupted. Also when the user wants to install/update/check/remove the okx-auth binary — 'install/update/remove auth', 'download okx-auth', '安装/更新/卸载认证', 'auth binary status', 'Failed to spawn okx-auth'. Also use before using okx-cex-trade/portfolio/earn/bot for the first time. Do NOT use for market data queries (use okx-cex-market).

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

—/10

// RATINGS

⭐GitHub Stars
⭐⭐⭐ 194 on GitHubGitHub ↗

Popular

🟢ProSkills Score
—
📍

Not yet listed on ClawHub or SkillsMP

// README

agent-skills

A collection of AI agent skills for OKX exchange operations. Each skill is a self-contained Markdown file with YAML frontmatter that tells an AI agent when to activate and how to execute tasks via the okx CLI.

Skills

SkillDescriptionAuth Required
okx-cex-authOAuth login / API-key setup, plus install/update/remove of the okx-auth helper binary. Activated on first run or whenever a command returns 401 / session expired.Setup
okx-cex-marketPublic market data: prices, tickers, order books, candles, funding rates, open interest, instruments, stock tokens, metals/forex, and 70+ technical indicators (RSI, MACD, EMA, Bollinger, KDJ, SuperTrend, AHR999, BTC rainbow…).No
okx-cex-tradeOrder management: spot, perpetual swap, dated futures, options, event contracts. TP/SL, trailing stop, iceberg, TWAP, conditional/OCO algo orders.Yes
okx-cex-portfolioAccount operations: balances, positions, P&L, trading fees, account config, fund transfers, position-mode switching.Yes
okx-cex-botGrid bots (spot / USDT-margined / coin-margined contract) and DCA Martingale bots (Spot DCA / Contract DCA). Create, amend, stop, monitor, AI-recommended parameters.Yes
okx-cex-earnSimple Earn (flexible / fixed-term / lending), Flash Earn, On-chain Earn (staking / DeFi), Dual Investment (DCD / 双币赢), AutoEarn (自动赚币).Yes
okx-cex-smartmoneySmart-money analytics: leaderboard traders, position tracking, trade records, consensus signals, signal history.Yes
okx-sentiment-trackerCrypto news, coin-level sentiment analysis, trending coins, social buzz, market mood.Yes
okx-cex-skill-mpOKX Skills Marketplace: search, browse, install, update, remove skill packs.Yes

Requirements

  • okx CLI installed:
    npm install -g @okx_ai/okx-trade-cli
    
  • For authenticated skills, configure credentials by either:
    • OAuth — run the okx-cex-auth skill (recommended for end users)
    • API key — write ~/.okx/config.toml directly:
      okx config init
      

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: MIT
metadata:
  author: okx
  version: "1.3.3"
  homepage: "https://www.okx.com"
  agent:
    requires:
      bins: ["okx"]
    install:
      - id: npm
        kind: node
        package: "@okx_ai/[email protected]"
        bins: ["okx"]
        label: "Install okx CLI (npm)"
---

The description field drives agent routing — it enumerates natural-language phrases and scenarios that should trigger the skill. Skills with a references/ subdirectory use {baseDir} as a runtime-resolved path pointing to the skill's own directory.

Description length limit: Codex CLI enforces a 1024-character maximum on this field. Target ≤ 900 characters to leave headroom for future trigger additions.

Skills may share helpers via the top-level skills/_shared/ directory (e.g. preflight.md for credential / profile checks).

Usage

Skills are loaded by AI coding agents — Claude Code, Cursor, Windsurf, Codex CLI, and any Skills-Plugin-compatible client — to provide contextual instructions for CLI-based OKX operations. The agent reads the skill document at activation time and follows the command examples and operation flows described within.

Contributing

See CONTRIBUTING.md for how to add or improve skills, and REVIEWING.md for review criteria.

Security

Report security issues per SECURITY.md.

License

MIT — see LICENSE.

// HOW IT'S BUILT

KEY FILES

skills/okx-cex-auth/SKILL.mdREADME.md

// REPO STATS

194 stars