- Skill ID
- starchild-ai-agent/official-skills/okx
- Publisher
- starchild-ai-agent
- Repository
- official-skills
- Installs
- 0
- Files
- 2
- Synced
- Sep 23, 2026
Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.
starchild-ai-agent/official-skills/okxInstalls these files- SKILL.md
- logo.png
What this skill tells the agent
OKX OnChainOS — Skills Directory
What this file is: a directory page that points to OKX's official onchainos-skills repo. It contains no logic of its own — every sub-skill below lives upstream at `okx/onchainos-skills` and is fetched fresh on install, so you always get the latest version.OKX OnChainOS is a suite of 8 specialized sub-skills covering on-chain trading, market analytics, smart-money signals, DeFi investing & positions, wallet ops, security scanning, payment protocols, agent identity & task marketplace, and crypto news & sentiment across 20+ blockchains (Ethereum, Solana, XLayer, Base, BSC, Arbitrum, Polygon, Optimism, Avalanche, TRON, …).
Most sub-skills drive a single binary, onchainos, which is downloaded on first use. A subset of capabilities (read-only data) can also be accessed without the binary, via Starchild's sc-proxy — see Authentication options below.
How install actually works
# Install one sub-skill (recommended — pulls just what you need)
npx skills add okx/onchainos-skills@<sub-skill-name>
# Or via long form
npx skills add https://github.com/okx/onchainos-skills --skill <sub-skill-name>
# Install everything (auto-detects your environment and installs accordingly)
npx skills add okx/onchainos-skillsEach sub-skill ships its own SKILL.md + reference docs + trigger phrases, so you can pull just what you need.
Plugin marketplace (alternative):
/plugin marketplace add okx/onchainos-skills
/plugin install onchainos-skillsCLI install (the onchainos binary — auto-detects platform, verifies SHA256, installs to ~/.local/bin or %USERPROFILE%\.local\bin):
# macOS / Linux
curl -sSL https://raw.githubusercontent.com/okx/onchainos-skills/main/install.sh | sh
# add `-s -- --beta` for the latest pre-release (opt-in only; never downgrades)# Windows
irm https://raw.githubusercontent.com/okx/onchainos-skills/main/install.ps1 | iexWallet — default to the user's Agent Wallet
Use the platform wallet skill for signing and broadcasting. OKX DEX endpoints return unsigned calldata ({to, value, data, ...}); feed it to wallet_transfer(data=<calldata>) and you're done. No separate OKX wallet needed.
Only use the OnchainOS TEE wallet (onchainos wallet login <email>) when the user explicitly asks for it.
Authentication options (read this before invoking anything)
There are two distinct paths. Pick based on what the agent needs to do:
Path A — Direct HTTP via Starchild sc-proxy (no API Key needed)
For read-only data lookups (prices, K-line, smart-money signals, token analytics, security checks, public-address portfolios — ≈ 80 % of OnchainOS capabilities), the agent can skip the CLI entirely and call https://web3.okx.com/... directly through sc-proxy:
from core.http_client import proxied_get
r = proxied_get(
"https://web3.okx.com/api/v6/dex/aggregator/supported/chain",
headers={"SC-CALLER-ID": f"chat:{thread_id}"},
)sc-proxy auto-injects platform OKX credentials, signs each request with HMAC-SHA256, and bills the caller's Starchild credits.
- Cost: $0.001 / request
- Rate limit: 60 req/min
- Setup: none
- Limits: data only — cannot send transactions or manage wallets
Path B — onchainos CLI with your own OKX Web3 API Key
For wallet ops (wallet login, wallet send, wallet contract-call), DEX swaps that need execution, payments, and any other CLI-driven workflow.
The onchainos CLI ships with built-in sandbox API keys that work out of the box for local testing — no setup required. These keys are shared, rate-limited, and for evaluation only: do NOT use them in production or with real assets. Any failures or losses from using the built-in keys are the caller's responsibility.
For production, bring your own credentials:
- Apply at web3.okx.com → OnchainOS → Dev Portal
- Set env vars (or a
.envin the project root — never commit it): ``bash export OKX_API_KEY=<your key> export OKX_SECRET_KEY=<your secret> export OKX_PASSPHRASE=<your passphrase>`` - Run any sub-skill's CLI commands.
Why the CLI can't use sc-proxy
The onchainos binary uses Rust's rustls TLS stack with bundled `webpki-roots` — a compile-time copy of the Mozilla root CA list. It ignores the system trust store, ignores SSL_CERT_FILE, and has no documented env override. As a result, sc-proxy's MITM CA is rejected as UnknownIssuer, and the CLI cannot be transparently proxied. Path A (direct HTTP from agent scripts) is the only way to use platform credentials with OnchainOS today.
Wallet creation (onchainos wallet login <email>) gives you a fresh TEE-managed account — it does NOT import your existing OKX App / extension wallet.
Sub-skills by category
📊 Discovery & Market Data (2)
| Sub-skill | Use for |
|---|---|
okx-dex-market | Read-only on-chain DEX data: real-time prices / K-line / index / wallet PnL, address tracker activities, smart money / whale / KOL signal tracking + leaderboard rankings, token search / metadata / market cap / rankings / liquidity / hot tokens / holder & cluster analysis / top traders / trade history, crypto news / sentiment / vibe / KOL leaderboard, meme pump / trenches scanning / dev reputation / bundle detection, and WS/script real-time streaming |
okx-dapp-discovery | Third-party DApp discovery and direct plugin routing — currently supports Polymarket, Aave V3, Hyperliquid, PancakeSwap V3 AMM, Morpho V1 Optimizer |
💼 Wallet, Trading & Security (1)
| Sub-skill | Use for |
|---|---|
okx-agentic-wallet | Wallet lifecycle (auth, balance, portfolio PnL, send, tx history, contract call), Gas Station, DEX swap, cross-chain bridge, limit-order strategy, transaction gateway (gas / simulate / broadcast / track order), public-address portfolio, security scanning (token risk, DApp phishing, tx & signature checks, approvals), audit log |
🏦 DeFi (1)
| Sub-skill | Use for |
|---|---|
okx-defi | OKX-aggregated DeFi: product discovery, deposit, withdraw, claim rewards across Aave, Lido, PancakeSwap, Kamino, NAVI and more, plus positions and holdings overview across protocols and chains |
💸 Payments (1)
| Sub-skill | Use for |
|---|---|
okx-agent-payments-protocol | Unified payment dispatcher across x402 (exact / aggr_deferred schemes — TEE or local-key sign), MPP (charge / session intents — open / voucher / topUp / close, transaction or hash mode), and a2a-pay (paymentId-based create / pay / status). Routes to per-scheme/intent references. |
🤖 Agent & AI (2)
| Sub-skill | Use for |
|---|---|
okx-ai | ERC-8004 on-chain Agent identity (register / update / search / rate / service-list) + agent task marketplace (publish / accept / deliver / dispute) + live task-progress monitor |
okx-guide | Onboarding & guide hub: Onchain OS onboarding + welcome banner, OKX.AI intro & role-registration routing, customer-support / Help Center guidance |
🛠️ Ops (1)
| Sub-skill | Use for |
|---|---|
okx-growth-competition | Agentic Wallet exclusive trading competitions: list, join, view leaderboard, claim rewards |
Quick task → sub-skill map
| I want to… | Sub-skill | Suggested path |
|---|---|---|
| Check a token price or chart | okx-dex-market | A (no key) |
| Search / analyze a token's holders | okx-dex-market | A (no key) |
| Follow smart money buys | okx-dex-market | A (no key) |
| Scan new meme launches | okx-dex-market | A (no key) |
| Look at any public wallet | okx-agentic-wallet (public-address portfolio) | A (no key) |
| Scan a token / dApp for risk | okx-agentic-wallet (security scanning) | A (no key) |
| Estimate gas / simulate a tx | okx-agentic-wallet (gateway) | A or B |
More from starchild-ai-agent
Use this skill in a project
Open any RiverX project, search the Skills panel for starchild-ai-agent/official-skills/okx, and install it in one click.
