okx-cex-bot

The okx-cex-bot skill manages Grid and DCA (Martingale) trading bots on the OKX exchange. It supports creating, amending, stopping, and monitoring bots, including P&L tracking and parameter adjustments. The skill operates via the okx-trade-cli and requires API credentials or OAuth authentication.

7.8K
Installs
5
Use cases
5/10
Quality

Is okx-cex-bot safe to install?

Review the source first

Review the source first: our audit of okx-cex-bot's source files found 15 shell commands, 0 external URLs, file reads and writes (high risk). Every command and URL listed appears verbatim in the skill's source. The skill executes shell commands to interact with the OKX API, which can result in real financial trades and fund movements. It reads and writes local configuration files via the okx-trade-cli.

How we audit skills: our security review methodology.

Who is this skill for?

Users who want to automate Grid or DCA trading strategies on OKX using a command-line interface.

What can you do with it?

  • Create and manage spot or contract grid bots
  • Create and manage spot or contract DCA (Martingale) bots
  • Monitor bot performance, P&L, and active orders
  • Adjust bot parameters like price range, grid count, and take-profit/stop-loss levels
  • Stop trading bots with specific exit strategies

How good is this skill?

Quality score: 5/10. The skill documentation is comprehensive, providing clear command references, operational workflows, and security warnings. It correctly distinguishes between different bot types and authentication methods.

What does the skill file contain?

SKILL.md
# OKX CEX Bot Trading

Grid and DCA (Spot & Contract Martingale) bot management on OKX. All bots are **native OKX server-side** — they run on OKX and do not require a local process.

## Preflight

Before running any command, follow [`../_shared/preflight.md`](../_shared/preflight.md).
Use `metadata.version` from this file's frontmatter as the reference for Step 2.

## Prerequisites

```bash
npm install -g @okx_ai/okx-trade-cli
okx config init   # select site -> follow browser OAuth flow
```

> **Security**: NEVER accept credentials in chat. Guide users to `okx config init` for setup.

## Crede...

Frequently asked questions

Does this skill run bots locally on my machine?

No. All bots are native OKX server-side bots that run on the OKX exchange infrastructure.

How do I handle authentication errors?

If you encounter a 401 error or session expiration, stop the current process, load the okx-cex-auth skill to re-authenticate, and then retry your command.

What is the difference between algoId and a normal order ID?

The algoId is a unique identifier for the bot strategy itself, whereas a normal order ID refers to individual trades. You must obtain the algoId from the bot list or creation output.

How do I ensure I am trading on the correct environment?

Verify your mode using okx config show --json or okx auth status --json. If the mode is not clear, the skill requires you to explicitly confirm whether you intend to trade on the Live (实盘) or Demo (模拟盘) environment.

Data sourced from okx/agent-skills on GitHub. Install counts from skills.sh. The summary and security audit are derived from the skill's source files: every command and URL listed appears verbatim in the source.

Related skills

find-skills

2.3M

Users seeking to extend agent capabilities with specialized tools, workflows, or knowledge packages

The find-skills skill enables agents to search for, discover, and install modular packages from the open agent skills ecosystem using the Skills CLI.

highclipackage-managervercel-labs

image-to-video

355.0K

Developers and users who need to automate video generation from images using the RunComfy platform

The image-to-video skill routes user requests to specific RunComfy animation models based on intent. It selects HappyHorse 1.0 I2V for general animation, Wan 2.7 for custom-voiceover lip-sync, or Seedance 2.0 Pro for multi-modal composition. The skill executes the RunComfy CLI to process inputs and download generated video files.

highaivideo-generationagentspace-so

video-edit

338.7K

Users of the RunComfy CLI who need to automate video editing tasks like restyling, background swapping, or motion transfer

The video-edit skill acts as a router for the RunComfy CLI, selecting between Wan 2.7 Edit-Video, Kling 2.6 Pro Motion Control, and Lucy Edit Restyle models based on user intent to perform video transformations.

highvideo-editingai-agentagentspace-so

lark-drive

334.8K

Users needing to organize, manage, and govern files, folders, and documents within the Lark Suite or Doubao cloud storage ecosystem

The lark-drive skill provides comprehensive management for Lark Suite (Feishu) cloud storage, including file operations, folder organization, permission governance, and document version control. It handles file imports, exports, and metadata management while integrating with other specialized skills for content-specific tasks.

highlark-suitefile-managementlarksuite