1. Habit
  2. Skills
  3. OKX CEX Bot skill
okx · 10K installs

OKX CEX Bot skill
Runs by itself, every morning.

Your OKX bots, checked daily.

Install the OKX CEX Bot skill and make it a habit: follow https://gethabit.dev/skills/okx/okx-cex-bot.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

10K installs194 starsMIT licenceSource on GitHub ↗

OKX CEX Bot

by okx · 10K installs

The skill

The okx cex bot skill lets an agent create, stop, amend and monitor Grid, DCA Martingale and Smart Portfolio bots on OKX through the okx CLI, for traders who want bot control from chat.

Only when you ask.

The habit

Your OKX bots, checked daily.

↻ Runs by itselfevery morning

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after one pass over all running bots and at most 3 confirmed write commands per run.

  1. 01

    Check login

    Run okx config show --json and okx auth status --json; if not logged in, hand over to the okx-cex-auth skill.

  2. 02

    Confirm mode

    Use live or demo as you set it, and ask once if it is not clear.

  3. 03

    List bots

    Run the orders commands for grid, dca and smart-portfolio to get each algoId.

  4. 04

    Read details

    Run details for each bot and note P&L and positions in the log.

  5. 05

    Propose changes

    Suggest a stop, amend or margin change and run it only after you confirm.

  6. 06

    Verify writes

    Run orders, details or orders --history to confirm each change took effect.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the OKX CEX Bot skill helps.

Use it when

  • ✓ You run Grid or DCA bots on OKX
  • ✓ You want daily bot P&L checks
  • ✓ You want to amend TP/SL from chat

Skip it when

  • – You place regular spot or swap orders
  • – You only need market prices

Questions

OKX CEX Bot skill, answered.

Does the loop move money on its own?

No. The skill never moves funds by itself, and every write command needs your OK first.

Do the bots stop when the agent stops?

No. The bots run on OKX servers, so the loop only watches and adjusts them.

Can I try it without real funds?

Yes. Pick demo mode and the commands run against simulated trading.

How do I install the OKX CEX Bot skill?

Copy the prompt at the top into your agent. It installs the skill from okx/agent-skills and sets up the habit. Or run npx skills add okx/agent-skills --skill okx-cex-bot.

Is the OKX CEX Bot skill free?

Yes. It is published under MIT. Habit is free too.

OKX CEX Bot. Now as a habit.

Install the OKX CEX Bot skill and make it a habit: follow https://gethabit.dev/skills/okx/okx-cex-bot.md

  • Free
  • No account
  • Undo in one line

All okx skills →More ops skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by okx, published under MIT. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.