okx-cex-skill-mp
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseOKX Skills Marketplace
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.
Skill routing
- Skill marketplace → (this skill)
okx-cex-skill-mp - Market data / indicators →
okx-cex-market - Account balance / positions →
okx-cex-portfolio - Place / cancel orders →
okx-cex-trade - Grid / DCA bots →
okx-cex-bot
浏览、搜索、安装并管理OKX Skills Marketplace中的AI交易skill。Skill是模块化的AI提示词包,可以扩展你的交易助手能力,覆盖市场分析、交易执行、风险管理和投资组合优化等场景。
Skill路由规则
- 技能市场 → (即当前skill)
okx-cex-skill-mp - 市场数据/指标 →
okx-cex-market - 账户余额/持仓 →
okx-cex-portfolio - 下单/撤单 →
okx-cex-trade - 网格/DCA机器人 →
okx-cex-bot
Prerequisites
前置要求
- Install CLI:
okxbashnpm install -g @okx_ai/okx-trade-cli - Configure API credentials (required for marketplace access):
bash
okx config init
- 安装CLI:
okxbashnpm install -g @okx_ai/okx-trade-cli - 配置API凭证(访问市场必须):
bash
okx config init
Installation Strategy
安装策略
When the user wants to install a skill, follow this order strictly:
- Always try first — this downloads the skill and installs it to all detected agents (Claude Code, OpenClaw, Cursor, Windsurf, etc.) in one step.
okx skill add <name> - Only if fails, fall back to manual download:
add- Tell the user why failed (network error, npx unavailable, permission issue, etc.)
add - Offer as an alternative
okx skill download <name> --dir <path> - Guide the user to manually unzip and place files in their agent's skill directory
- Tell the user why
Never skip and go straight to unless has already failed.
adddownloadadd当用户想要安装skill时,请严格遵循以下顺序:
- 始终优先尝试第一 —— 该命令会一键下载skill并安装到所有检测到的Agent(Claude Code、OpenClaw、Cursor、Windsurf等)中。
okx skill add <name> - 仅当命令失败时,才回退到手动下载方案:
add- 告知用户失败的原因(网络错误、npx不可用、权限问题等)
add - 提供替代方案
okx skill download <name> --dir <path> - 引导用户手动解压并将文件放置到其Agent的skill目录下
- 告知用户
除非已经失败,否则永远不要跳过直接使用。
addadddownloadCommand Reference
命令参考
| # | Command | Description |
|---|---|---|
| 1 | | Search marketplace by keyword |
| 2 | | Filter skills by category |
| 3 | | List all available categories |
| 4 | | Download + install to all detected agents |
| 5 | | Download zip only (default: current dir) |
| 6 | | List locally installed skills |
| 7 | | Check if a newer version is available |
| 8 | | Uninstall a skill |
Add to any command for raw JSON output.
--json| # | Command | 描述 |
|---|---|---|
| 1 | | 按关键词搜索技能市场 |
| 2 | | 按分类筛选skill |
| 3 | | 列出所有可用分类 |
| 4 | | 下载并安装到所有检测到的Agent |
| 5 | | 仅下载zip压缩包(默认保存到当前目录) |
| 6 | | 列出本地已安装的skill |
| 7 | | 检查是否有可用的新版本 |
| 8 | | 卸载某个skill |
任意命令后添加可获取原始JSON格式输出。
--jsonCommands in Detail
命令详情
1. Search Skills
1. 搜索Skill
bash
okx skill search gridOutput:
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:
bash
okx skill search --categories trading-strategyPagination (response includes for total pages):
totalPagebash
okx skill search grid --page 2 --limit 5bash
okx skill search grid输出:
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.按分类筛选搜索:
bash
okx skill search --categories trading-strategy分页(响应中包含表示总页数):
totalPagebash
okx skill search grid --page 2 --limit 5Output: "3 skills found (page 2/4). Use okx skill add <name>
to install."
okx skill add <name>输出: "3 skills found (page 2/4). Use okx skill add <name>
to install."
okx skill add <name>undefinedundefined2. Browse Categories
2. 浏览分类
bash
okx skill categoriesOutput:
ID NAME
trading-strategy Trading Strategy
risk-management Risk Management
analysis Market Analysisbash
okx skill categories输出:
ID NAME
trading-strategy Trading Strategy
risk-management Risk Management
analysis Market Analysis3. Install a Skill
3. 安装Skill
bash
okx skill add grid-premiumOutput:
Downloading grid-premium...
Installing to detected agents...
✓ Skill "grid-premium" v1.2.0 installedWhat happens under the hood:
- Downloads skill zip from OKX marketplace API
- Extracts and validates the package (checks SKILL.md exists, reads metadata)
- Runs to install to all locally detected agents
npx skills add - Records the installation in
~/.okx/skills/registry.json
bash
okx skill add grid-premium输出:
Downloading grid-premium...
Installing to detected agents...
✓ Skill "grid-premium" v1.2.0 installed底层执行逻辑:
- 从OKX市场API下载skill压缩包
- 解压并验证包(检查SKILL.md是否存在、读取元数据)
- 运行安装到所有本地检测到的Agent
npx skills add - 将安装记录写入
~/.okx/skills/registry.json
4. Download Only (No Install)
4. 仅下载(不安装)
When fails or the user wants the raw package:
addbash
okx skill download grid-premium --dir ~/Downloads/Output:
✓ Downloaded grid-premium.zip
Path: /Users/me/Downloads/grid-premium.zipThe zip contains:
- — the skill's main instruction file
SKILL.md - — metadata (name, version, title, description)
_meta.json - — optional supporting documents
reference/
当命令失败或用户想要原始安装包时使用:
addbash
okx skill download grid-premium --dir ~/Downloads/输出:
✓ Downloaded grid-premium.zip
Path: /Users/me/Downloads/grid-premium.zip压缩包包含:
- —— skill的主说明文件
SKILL.md - —— 元数据(名称、版本、标题、描述)
_meta.json - —— 可选的辅助文档
reference/
5. List Installed Skills
5. 列出已安装的Skill
bash
okx skill listOutput:
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.bash
okx skill list输出:
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
6. 检查更新
bash
okx skill check grid-premiumOutput:
grid-premium: installed v1.0.0 → latest v1.2.0 (update available)
Use `okx skill add grid-premium` to update.To update, simply run again — it overwrites the previous version.
okx skill add <name>bash
okx skill check grid-premium输出:
grid-premium: installed v1.0.0 → latest v1.2.0 (update available)
Use `okx skill add <name>` to update.如需更新,只需再次执行即可,它会覆盖旧版本。
okx skill add <name>7. Remove a Skill
7. 移除Skill
bash
okx skill remove grid-premiumOutput:
✓ Skill "grid-premium" removedbash
okx skill remove grid-premium输出:
✓ Skill "grid-premium" removedMCP Tools (Alternative)
MCP Tools(替代方案)
When the CLI is unavailable (e.g., Claude Desktop without terminal access), the same marketplace functionality is available via MCP tools:
| MCP Tool | Equivalent CLI | Description |
|---|---|---|
| | Search by keyword/category. Response includes |
| | List categories |
| | Download zip to directory |
Note: MCP tools only support search and download. The full install flow () requires CLI access.
add当CLI不可用时(例如没有终端访问权限的Claude Desktop),可以通过MCP工具使用相同的市场功能:
| MCP Tool | 等效CLI命令 | 描述 |
|---|---|---|
| | 按关键词/分类搜索,响应中包含 |
| | 列出分类 |
| | 下载zip压缩包到指定目录 |
注意:MCP工具仅支持搜索和下载,完整的安装流程(命令)需要CLI访问权限。
addError Handling
错误处理
| Error | Meaning | Action |
|---|---|---|
| Skill has been removed from marketplace | Choose a different skill |
| No approved version available | Skill is pending review, try later |
| Version not yet approved for download | Wait for review or use an older version |
| Authentication error | Run |
| npx not available or network issue | Use |
| 错误码 | 含义 | 处理方案 |
|---|---|---|
| 该skill已从技能市场下架 | 选择其他skill |
| 无可用的已审核版本 | Skill正在审核中,请稍后再试 |
| 对应版本尚未通过审核,无法下载 | 等待审核完成或使用旧版本 |
| 认证错误 | 执行 |
| npx不可用或网络问题 | 改用 |