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.
Install
npx skills add zocomputer/skills --skill okx-cex-portfoliogit 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-portfolioPersonal 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`Details
- Skill name
okx-cex-portfolio- Repository
- zocomputer/skills
- 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
Add Flashcards
46zocomputer/skills
Converts webpages, articles, or documents into study flashcards that you can review with spaced repetition
Blog Site
46zocomputer/skills
Build a blog or newsletter to share your thoughts.
Blogwatcher
46zocomputer/skills
Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
Portfolio Site
46zocomputer/skills
Build a personal portfolio to showcase your work and resume.
Okx Cex Market
46zocomputer/skills
Query OKX market data on Zo, including prices, candles, order books, funding rates, open interest, instruments, and technical indicators. Use for read-only market questions and never for account or trading actions.
Drpc Rpc
23drpcorg/drpc-agent-skills
Use when the user needs blockchain data (balances, transactions, blocks, gas prices, contract reads), wants to set up blockchain RPC access, or mentions DRPC, Web3, or Ethereum RPC. Also triggers on specific method names like eth_getBalance, eth_call, eth_getLogs.
Browse the most popular Claude skills, all finance & crypto skills, or write your own with the skills generator.