@349/okx-onchainos-suite
Unified wrapper for OKX OnchainOS capabilities (wallet, market, token, signal, trenches, swap, gateway, security, portfolio, audit log). Use when users want any OKX OnchainOS workflow without installing many separate skills.
- License 许可
- MIT
- 最近更新
- 2026-08-25
- Stars
- ★ 1
- Forks
- 2
01 前言 Front Matter
- name
- @349/okx-onchainos-suite
- tags
- [ "okx", "onchainos", "dex", "wallet", "swap", "market-data" ]
- author
- starchild-agent
- license
- MIT
- version
- 1.0.0
- metadata
- { "starchild": { "emoji": "⚡", "requires": { "env": [ "OKX_API_KEY", "OKX_SECRET_KEY", "OKX_PASSPHRASE" ], "anyBins": [ "onchainos" ] }, "skillKey": "okx-onchainos-suite" } }
- description
- Unified wrapper for OKX OnchainOS capabilities (wallet, market, token, signal, trenches, swap, gateway, security, portfolio, audit log). Use when users want any OKX OnchainOS workflow without installing many separate skills.
- user-invocable
- true
02 资源文件 2
- 参考文档references/ai-patterns-dictionary.md8.0 KB
- 参考文档references/voices.md6.7 KB
03 SKILL.md 正文
OKX OnchainOS Suite (Unified)
This is a consolidated wrapper skill for the full OKX OnchainOS package.
Why this exists
The upstream package contains many individual skills. This wrapper keeps the top-level skills/ directory clean by grouping all module skills under:
skills/okx-onchainos-suite/modules/
Included modules:
- okx-agentic-wallet
- okx-audit-log
- okx-dex-market
- okx-dex-signal
- okx-dex-swap
- okx-dex-token
- okx-dex-trenches
- okx-onchain-gateway
- okx-security
- okx-wallet-portfolio
How to use
Use this skill as the single entrypoint for all OnchainOS requests.
Intent routing:
- Wallet login/balance/send/history → agentic-wallet
- Public address portfolio lookup → wallet-portfolio
- Token price/K-line/PnL → dex-market
- Token discovery/holder distribution/honeypot → dex-token
- Smart money/whale/KOL buys → dex-signal
- New meme launches/dev reputation/bundler → dex-trenches
- Swap quote/approve/execute → dex-swap
- Gas estimate/simulation/broadcast/status → onchain-gateway
- Tx/signature/DApp security & approvals → security
- Export command logs/audit history → audit-log
Runtime
onchainos CLI should be installed and available in PATH.
Required environment variables for authenticated calls:
OKX_API_KEYOKX_SECRET_KEYOKX_PASSPHRASE
Notes
- This is a workspace consolidation wrapper.
- Original module files are preserved under
modules/for reference and maintenance.
04 同仓库更多 Skills
okx-wallet-portfolio
Use this skill when the user provides a specific wallet address and wants to check its balance, token holdings, portfolio value, or DeFi positions. Typical triggers: 'check balance of 0xAbc...', 'show tokens in this address', 'what tokens does 0xAbc hold', 'portfolio value of this address', address portfolio value, multi-chain balance lookup for a given address. Supports XLayer, Solana, Ethereum, Base, BSC, Arbitrum, Polygon, and 20+ other chains. Do NOT use when the user asks about their own wallet without providing an address (e.g., 'check my wallet balance', 'show my assets', '查看我的余额') — use okx-agentic-wallet instead, which queries the logged-in wallet. Do NOT use for PnL analysis, DEX history, realized/unrealized profit — use okx-dex-market. Do NOT use for signal tracking — use okx-dex-signal. Do NOT use for meme scanning — use okx-dex-trenches. Do NOT use for programming questions about balance APIs or integration.
okx-security
Use this skill for security scanning: check transaction safety, is this transaction safe, pre-execution check, security scan, token risk scanning, honeypot detection, DApp/URL phishing detection, message signature safety, malicious transaction detection, approval safety checks, token approval management. Triggers: 'is this token safe', 'check token security', 'honeypot check', 'scan this tx', 'scan this swap tx', 'tx risk check', 'is this URL a scam', 'check if this dapp is safe', 'phishing site check', 'is this signature safe', 'check this signing request', 'check my approvals', 'show risky approvals', 'revoke approval', 'check if this approve is safe', token authorization, ERC20 allowance, Permit2. Covers token-scan, dapp-scan, tx-scan (EVM+Solana pre-execution), sig-scan (EIP-712/personal_sign), approvals (ERC-20/Permit2). Chinese: 安全扫描, 代币安全, 蜜罐检测, 貔貅盘, 钓鱼网站, 交易安全, 签名安全, 代币风险, 授权管理, 授权查询, 风险授权, 代币授权. Do NOT use for wallet balance/send/history — use okx-agentic-wallet.
okx-onchain-gateway
Use this skill to 'broadcast transaction', 'send tx', 'estimate gas', 'simulate transaction', 'check tx status', 'track my transaction', 'get gas price', 'gas limit', 'broadcast signed tx', 'transaction hash confirmed on-chain', '交易哈希是否上链', '是否确认', or mentions broadcasting transactions, sending transactions on-chain, gas estimation, transaction simulation, tracking broadcast orders, or checking transaction status. Covers gas price, gas limit estimation, transaction simulation, transaction broadcasting, and order tracking across XLayer, Solana, Ethereum, Base, BSC, Arbitrum, Polygon, and 20+ other chains. Do NOT use for swap quote or execution - use okx-dex-swap instead. Do NOT use for general programming questions about transaction handling. Do NOT use when the user says only a single word like 'gas' or 'broadcast' without specifying a chain, transaction, or any other context.
okx-dex-trenches
Use this skill for meme/打狗/alpha token research on pump.fun and similar launchpads: scanning new token launches, checking developer reputation/开发者信息 and past rug pull history, bundle/sniper detection/捆绑狙击, bonding curve status, finding similar tokens by the same dev, and wallets that co-invested (同车/aped) into a token. Use when the user asks about 'new meme coins', 'pump.fun launches', 'trenches', 'trench', 'scan trenches/扫链', 'check dev reputation', 'bundler analysis', 'who else bought this token', '打狗', '新盘', or '开发者信息'. Do NOT use for market-wide whale/smart-money signals — use okx-dex-signal. Do NOT use for per-token holder distribution or honeypot checks — use okx-dex-token.
okx-dex-token
Use this skill for token-level data: search and discover tokens, browse trending/hot tokens (热门, 代币榜单, by trending score or Twitter/X mentions), get liquidity pool info, view holder distribution by tag (whale/巨鲸, smart money, KOL, sniper, sniper holding percentage, sniper percent, bundler percent), check token safety and honeypot risk (貔貅盘, 'is this token a honeypot', 'can I sell this', 'check token safety'), see who created a token and their history, view recent buy/sell trade activity for a token, find top profit addresses, or filter trade history by wallet type. This skill can be invoked on user intent; the specific token address can be provided after. Do NOT use for cross-market whale/signal tracking — use okx-dex-signal. Do NOT use for meme/pump.fun launch scanning, dev reputation, or bundle detection — use okx-dex-trenches. Do NOT use for personal DEX trade history or price charts — use okx-dex-market.
okx-dex-swap
Use this skill to 'swap tokens', 'trade OKB for USDC', 'buy tokens', 'sell tokens', 'exchange crypto', 'convert tokens', 'swap SOL for USDC', 'get a swap quote', 'execute a trade', 'find the best swap route', 'cheapest way to swap', 'optimal swap', 'compare swap rates', '换币', '买币', '卖币', '兑换', '交易', '代币兑换', '最优路径', '滑点', or mentions swapping, trading, buying, selling, or exchanging tokens on XLayer, Solana, Ethereum, Base, BSC, Arbitrum, Polygon, or any of 20+ supported chains. Aggregates liquidity from 500+ DEX sources for optimal routing and price. Supports slippage control, price impact protection, and cross-DEX route optimization. Do NOT use for questions about HOW TO implement, code, or integrate swaps into an application — only for actually executing swap operations. Do NOT use for analytical questions about historical swap volume. Do NOT use when the user says only a single word like 'swap' or 'trade' without specifying tokens, amounts, or any other context.