Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
starchild-ai-agent avatar

Preview Dev

  • 4k installs
  • 18 repo stars
  • Updated July 27, 2026
  • starchild-ai-agent/official-skills

A skill suite that enables agents to perform on-chain operations - read market data, execute trades, manage wallets, scan security risks, and track smart-money activity across 20+ blockchains.

About

OKX OnChainOS is a 16-skill suite for on-chain operations spanning trading, market analytics, DeFi positions, wallet management, security scanning, and payment protocols across Ethereum, Solana, Arbitrum, and 17+ other chains. Agents invoke read-only data (prices, charts, token analytics, portfolio holdings) via sc-proxy without API keys, or use the `onchainos` CLI binary for wallet operations and transaction execution. Key workflows include token research, smart-money signal tracking, portfolio analysis, and swap execution. The CLI ships with sandboxed keys for testing; production requires OKX Web3 API credentials. Signing defaults to the agent's platform wallet via the `wallet` skill. 16 specialized sub-skills: discovery (market data, signals, trenches, social), trading (swap, DeFi invest, gateway), wallet (agentic, portfolio), security, payments, ops Dual auth paths: Path A (sc-proxy, no key, read-only) covers ~80% use cases; Path B (CLI + OKX credentials) for wallet ops and transaction execution Cross-chain support: Ethereum, Solana, XLayer, Base, BSC, Arbitrum, Polygon, Optimism, Avalanche, TRON, and 10+ others via human or numeric chain IDs Pre-built workflows: token researc.

  • 16 specialized sub-skills: discovery (market data, signals, trenches, social), trading (swap, DeFi invest, gateway), wal
  • Dual auth paths: Path A (sc-proxy, no key, read-only) covers ~80% use cases; Path B (CLI + OKX credentials) for wallet o
  • Cross-chain support: Ethereum, Solana, XLayer, Base, BSC, Arbitrum, Polygon, Optimism, Avalanche, TRON, and 10+ others v
  • Pre-built workflows: token research, smart-money signals, new-token screening, wallet analysis, portfolio check, daily b
  • Default to platform Agent Wallet for signing; explicit fallback to OnchainOS TEE wallet only on user request

Preview Dev by the numbers

  • 3,963 all-time installs (skills.sh)
  • Ranked #9 of 483 Web3 & Blockchain skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

preview-dev capabilities & compatibility

Free for sc-proxy Path A (read-only, $0.001/request); OKX API fees for Path B (wallet ops, requires user API key).

Capabilities
real time token pricing and market charts · token search, metadata, and holder analysis · smart money and kol signal tracking · token and dapp security scanning · dex swap routing via 500+ liquidity sources · defi position discovery and portfolio tracking · wallet operations and transaction broadcasting · gas estimation and transaction simulation
Works with
github · openai · anthropic
Use cases
trading · web search · security audit
Platforms
macOS · Linux · Windows
Runs
Local or remote
Pricing
Freemium
npx skills add https://github.com/starchild-ai-agent/official-skills --skill preview-dev

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs4k
repo stars18
Security audit2 / 3 scanners passed
Last updatedJuly 27, 2026
Repositorystarchild-ai-agent/official-skills

What it does

Execute on-chain trading, analyze tokens and wallets, scan security risks, and track smart-money signals across 20+ blockchains via OKX DEX aggregation.

Who is it for?

Agents performing on-chain research, executing DEX swaps, analyzing DeFi positions, monitoring smart-money signals, and managing portfolio analytics across multiple chains.

Skip if: Light Web2 applications, users without blockchain experience, non-trading workflows, or operations requiring private key management outside TEE environments.

When should I use this skill?

Agent needs real-time token prices, market charts, holder analysis, smart-money tracking, DeFi position data, security scans, or to execute trades and wallet operations.

What you get

Agents can autonomously research tokens, execute swaps, manage portfolios, track smart money, and scan for security risks while defaulting to platform-managed wallet signing.

  • Token prices, K-lines, market data
  • Token metadata, holders, analytics, rankings
  • Smart-money signals and leaderboards

By the numbers

  • 16 specialized sub-skills across discovery, trading, wallet, security, payments, and ops categories
  • 20+ supported blockchains including Ethereum, Solana, Arbitrum, Polygon, and others
  • 500+ liquidity sources integrated for DEX aggregation

Files

SKILL.mdMarkdownGitHub ↗

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 16 specialized sub-skills covering on-chain trading, market analytics, smart-money signals, DeFi investing & positions, wallet ops, security scanning, payment protocols, 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-skills

Each 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-skills

CLI 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 | iex

---

Wallet — 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:

1. Apply at web3.okx.com → Build → Dev Portal 2. Set env vars (or a .env in the project root — never commit it):

   export OKX_API_KEY=<your key>
   export OKX_SECRET_KEY=<your secret>
   export OKX_PASSPHRASE=<your passphrase>

3. 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 (7)

Sub-skillUse for
okx-dex-marketReal-time prices, K-line charts, index prices, wallet PnL analysis, address tracker activities
okx-dex-tokenToken search, metadata, market cap, rankings, liquidity pools, hot tokens, advanced info, holder analysis, top traders, trade history, holder cluster analysis
okx-dex-signalSmart money / whale / KOL signal tracking, leaderboard rankings
okx-dex-trenchesMeme pump/trenches token scanning, dev reputation, bundle detection, aped wallets
okx-dex-socialCrypto news (latest, by symbol, search, detail, source platforms), market-wide sentiment ranking + per-coin sentiment with trend, per-token vibe timeline + TOP50 KOL leaderboard
okx-defi-portfolioDeFi positions and holdings overview across protocols and chains
okx-dapp-discoveryThird-party DApp discovery and direct plugin routing — currently supports Polymarket, Aave V3, Hyperliquid, PancakeSwap V3 AMM, Morpho V1 Optimizer

🔄 Trading & Execution (3)

Sub-skillUse for
okx-dex-swapToken swap via DEX aggregation (500+ liquidity sources)
okx-defi-investDeFi product discovery, deposit, withdraw, claim rewards across Aave, Lido, PancakeSwap, Kamino, NAVI and more
okx-onchain-gatewayGas estimation, transaction simulation, broadcasting, order tracking

💼 Wallet (2)

Sub-skillUse for
okx-agentic-walletWallet lifecycle: auth, balance, portfolio PnL, send, tx history, contract call
okx-wallet-portfolioPublic address balance, token holdings, portfolio value

🔐 Security (1)

Sub-skillUse for
okx-securitySecurity scanning: token risk, DApp phishing, tx pre-execution, signature safety, approval management

💸 Payments (1)

Sub-skillUse for
okx-agent-payments-protocolUnified 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.

🛠️ Ops (2)

Sub-skillUse for
okx-growth-competitionAgentic Wallet exclusive trading competitions: list, join, view leaderboard, claim rewards
okx-audit-logAudit log export and troubleshooting

---

Quick task → sub-skill map

I want to…Sub-skillSuggested path
Check a token price or chartokx-dex-marketA (no key)
Search / analyze a token's holdersokx-dex-tokenA (no key)
Follow smart money buysokx-dex-signalA (no key)
Scan new meme launchesokx-dex-trenchesA (no key)
Look at any public walletokx-wallet-portfolioA (no key)
Scan a token / dApp for riskokx-securityA (no key)
Estimate gas / simulate a txokx-onchain-gatewayA or B
Manage / send from my own walletokx-agentic-walletB (requires login)
Swap tokensokx-dex-swap REST + sign with the wallet skill (Agent Wallet)
Find best DeFi yield (any protocol)okx-defi-investB (signing)
View my DeFi positionsokx-defi-portfolioA (no key)
Use a specific DApp (Aave, Polymarket, …)okx-dapp-discoveryB (full DApp flow)
Pay an x402 / MPP / a2a-pay gated resourceokx-agent-payments-protocolB (signing)
Join a trading competitionokx-growth-competitionB (wallet required)
Debug a CLI failureokx-audit-logB (local CLI logs)

---

Workflows — pre-built multi-skill orchestrations

Beyond individual sub-skills, the repo ships workflow orchestrations under workflows/ that compose several skills into one complete operation. The agent reads workflows/INDEX.md to route a request, then follows the step-by-step instructions in the matched workflow file.

WorkflowWhat it doesCLI command
Token ResearchPrice, security, holders, cluster, smart-money signals, optional launchpad deep-diveonchainos workflow token-research --address <addr>
Daily BriefMarket pulse + smart money + new-token activity + portfolio alerts
Smart Money SignalsSM signal list aggregated by token + per-token due diligenceonchainos workflow smart-money
New Token ScreeningMIGRATED launchpad scan + safety & dev enrichment for top 10onchainos workflow new-tokens
Wallet Analysis7d/30d PnL, trading behaviour, recent on-chain activityonchainos workflow wallet-analysis --address <addr>
Portfolio CheckBalances, total value, 30d PnL overviewonchainos workflow portfolio --address <addr>
Wallet MonitorIn-session polling — alert on new trades from watched wallets
Wallet Monitor (WS)Background WebSocket session for offline wallet monitoring

Composite CLI commands

Single commands that replace multiple individual tool calls:

# Token report: info + price + advanced-info + security scan (parallel)
onchainos token report --address <addr> --chain solana

# Full workflow commands
onchainos workflow token-research --address <addr> [--chain solana]
onchainos workflow smart-money [--chain solana]
onchainos workflow new-tokens [--chain solana] [--stage MIGRATED]
onchainos workflow wallet-analysis --address <addr> [--chain ethereum]
onchainos workflow portfolio --address <addr> [--chains ethereum,solana]

Typical skill flows

  • Search & buy: okx-dex-token (find token) → okx-wallet-portfolio (check funds) → okx-dex-swap (execute trade)
  • Portfolio overview: okx-wallet-portfolio (holdings) → okx-dex-token (enrich with analytics) → okx-dex-market (price charts)
  • Market research: okx-dex-token (trending/rankings) → okx-dex-market (candles/history) → okx-dex-swap (trade)
  • Swap & broadcast: okx-dex-swap (get tx data) → sign locally → okx-onchain-gateway (broadcast → track order)
  • Pre-flight check: okx-onchain-gateway (estimate gas → simulate → broadcast → track order)
  • Full trading flow: okx-dex-token (search) → okx-dex-market (price/chart) → okx-wallet-portfolio (check balance) → okx-dex-swap (get tx) → okx-onchain-gateway (simulate + broadcast + track)
  • Leaderboard → research → trade: okx-dex-signal (top traders by PnL/win rate) → okx-dex-token (token analytics) → okx-dex-swap (execute trade)
  • Follow smart money: okx-dex-signal (KOL/smart money buys) → okx-dex-token (details + holder cluster) → okx-dex-market (price chart) → okx-dex-swap (trade)

---

MCP server

The onchainos CLI doubles as a native MCP server, exposing its tools to any MCP-compatible client. Start it with:

onchainos mcp

---

Important notes

  • Chain identifiers: both human names (ethereum, solana, xlayer) and

numeric IDs are accepted. Run onchainos swap chains or onchainos gateway chains for the full list.

  • Read-only ops (market data, signals, security scan, public-address

portfolios) work via Path A without any user-supplied API Key.

  • Trading & sending default to the user's Agent Wallet via the wallet

skill. Only fall back to onchainos wallet login when the user asks.

  • Security gate: when okx-security reports a fail, the calling agent

MUST block the related operation rather than proceed.

---

Resources

Related skills

How it compares

Unlike 1inch or 0x (swap-only), OKX OnChainOS bundles trading, analytics, DeFi positions, security scanning, and smart-money tracking in one suite. Unlike Aave (single protocol), it spans 20+ chains and 500+ liquidity so

FAQ

Do I need an OKX API key to use this skill?

No for read-only operations (prices, charts, holder analysis, security scans) via sc-proxy Path A. Yes for wallet ops and trading via CLI Path B; use built-in sandbox keys for testing only.

Which wallet should I use for signing transactions?

Default to the platform Agent Wallet via the `wallet` skill. Only use OnchainOS TEE wallet (`onchainos wallet login <email>`) if the user explicitly requests it.

What chains are supported?

20+ chains including Ethereum, Solana, XLayer, Base, BSC, Arbitrum, Polygon, Optimism, Avalanche, TRON. Run `onchainos swap chains` for the full list.

Is Preview Dev safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Web3 & Blockchainagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.