Okx Cex Portfolio

Inspect OKX account balances, positions, PnL, bills, fee levels, and related account state on Zo. Use when the user asks about holdings, positions, realized or unrealized PnL, transfers, or account configuration.

46 stars 56 forksFinance & Crypto

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add zocomputer/skills --skill okx-cex-portfolio
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-portfolio ~/.claude/skills/okx-cex-portfolio

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 Portfolio

Inspect OKX account state on Zo, including balances, positions, PnL, bills, fees, and selected account operations.

## 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 account ...` commands
- [Settings > Advanced](/?t=settings&s=advanced) for storing OKX credentials as Zo secrets

## Credential Model

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

If local OKX config is needed, generate it from those secrets on the Zo machine instead of asking the user to paste credentials into chat.

## Prerequisites

1. Install the CLI:

```bash
npm install -g @okx_ai/okx-trade-cli
```

2. Ensure OKX secrets exist in [Settings > Advanced](/?t=settings&s=advanced).

3. Generate local config from Zo secrets if required by the CLI flow:

```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
```

4. Verify configuration status:

```bash
okx config show
```

## Profile Rule

Authenticated commands must always use an explicit profile:
- `demo`
- `live`
Read the full skill on GitHub

Details

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

FAQ

What does the Okx Cex Portfolio skill do?

Inspect OKX account balances, positions, PnL, bills, fee levels, and related account state on Zo. Use when the user asks about holdings, positions, realized or unrealized PnL, transfers, or account configuration.

How do I install the Okx Cex Portfolio skill?

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

Is Okx Cex Portfolio popular?

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

Related skills

Browse the most popular Claude skills, all finance & crypto skills, or write your own with the skills generator.