Okx Cex Trade

Execute and manage OKX spot, perpetual, futures, and supported options trades on Zo. Use when the user wants to place, cancel, amend, or inspect tradable orders, but require explicit same-thread confirmation before any live execution.

46 stars 56 forksOther

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add zocomputer/skills --skill okx-cex-trade
Manual install
git clone --depth 1 https://github.com/zocomputer/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/Official/zo-okx-cex-trade ~/.claude/skills/okx-cex-trade

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# OKX Trade

Execute OKX trades on Zo with a strict quote, validate, confirm, execute flow.

## Preflight

Before running any OKX command in this session, follow `../_shared/preflight.md`.
Use `metadata.version` from this file as the comparison version for drift checks.

## What Zo Uses

- [Terminal](/?t=terminal) for `okx` trading commands
- [Settings > Advanced](/?t=settings&s=advanced) for OKX credentials stored as Zo secrets

## Credential Model

Zo secrets are the source of truth for:
- `OKX_API_KEY`
- `OKX_SECRET_KEY`
- `OKX_PASSPHRASE`

Generate local OKX config from those secrets if the CLI requires it. Do not ask the user to paste credentials into chat.

If the CLI needs a local config file, generate it from Zo secrets:

```bash
mkdir -p /root/.okx
cat > /root/.okx/config.toml <<EOF
default_profile = "demo"

[profiles.demo]
api_key = "${OKX_API_KEY}"
secret_key = "${OKX_SECRET_KEY}"
passphrase = "${OKX_PASSPHRASE}"
demo = true

[profiles.live]
api_key = "${OKX_API_KEY}"
secret_key = "${OKX_SECRET_KEY}"
passphrase = "${OKX_PASSPHRASE}"
EOF
```

## Non-Negotiable Safety Rules

- Never place a live trade without explicit same-thread confirmation.
- If the user’s profile is ambiguous, default to asking whether they mean `demo` or `live`.
- Always report which profile was executed.
- For derivatives, validate contract value before execution.

## Profiles

- `demo`: simulated funds
- `live`: real funds

If the user has not clearly specified one, ask.
Read the full skill on GitHub

Details

Skill name
okx-cex-trade
Path
Official/zo-okx-cex-trade/SKILL.md
License
MIT
Repo updated
29 July 2026

FAQ

What does the Okx Cex Trade skill do?

Execute and manage OKX spot, perpetual, futures, and supported options trades on Zo. Use when the user wants to place, cancel, amend, or inspect tradable orders, but require explicit same-thread confirmation before any live execution.

How do I install the Okx Cex Trade skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add zocomputer/skills --skill okx-cex-trade. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Okx Cex Trade popular?

It lives in zocomputer/skills, which has 46 GitHub stars and 56 forks.

Related skills

Browse the most popular Claude skills, all other skills, or write your own with the skills generator.