
okx/onchainos-skills
22 skills86.5k installs6.2k starsGitHub
Install
npx skills add https://github.com/okx/onchainos-skillsSkills in this repo
1Okx Dex MarketOKX DEX Market is an integration skill for solo builders shipping crypto trading agents, dashboards, or research tools that need OKX OnchainOS market endpoints without memorizing chain indexes. It documents shared chain name resolution, which six networks support wallet address creation, and how to discover the wider supported chain list from the CLI. When Market API free tier limits hit, x402 payments may apply; the skill is the canonical reference for five notification event codes, response shapes, and how companion skills should surface payment prompts consistently. Use it while wiring on-chain market features into Claude Code or Cursor agents that call the onchainos CLI, especially alongside other okx-dex-* skills that import the same notification spec.7.2kinstalls2Okx Wallet PortfolioOKX Wallet Portfolio is an agent skill from the Onchain OS family that helps solo builders wire wallet and portfolio workflows into Claude Code, Cursor, or Codex without memorizing chain indexes. The bundled reference explains how the CLI maps friendly names like ethereum, base, or solana to chainIndex values, which chains support fresh address creation, and how Gas Station covers native and stable gas on major EVM networks. Use it when your agent must fetch holdings, explain chain coverage, or choose the right network before swaps or transfers—not when you only need DEX token screens or WebSocket bots. It pairs naturally with other okx onchainos skills that share preflight and chain tables. Expect CLI-oriented integration: you still configure API keys and wallet permissions in your environment. Prism lists it for builders shipping DeFi dashboards, trading assistants, or treasury tools who want consistent chain vocabulary across skills.7.1kinstalls3Okx Dex TokenOKX DEX Token is an agent skill for solo builders who need token-level market intelligence from OKX Onchain OS without re-reading OpenAPI docs. It covers search and trending lists, liquidity pools, detailed price-info, holder distribution, advanced risk fields, top profitable addresses, trade feeds, and holder cluster concentration—including cluster rug risk and new-wallet percentages. The skill documents preflight checks, chain name support, and how to behave when Market API quota or x402 payment prompts appear. Use it in Claude Code, Cursor, or Codex when the user asks about a specific token’s safety, flow, or leaderboard stats. Do not use it to author WebSocket bots; the skill directs those requests to okx-dex-ws. It suits memecoin research tools, alerting bots, and internal compliance dashboards that need structured CLI responses rather than scraped frontends.7.1kinstalls4Okx Dex Swapokx-dex-swap is an agent skill package for solo and indie builders who want Claude Code, Cursor, or Codex to run token swaps through OKX OnchainOS rather than hand-rolling RPC and router calls. It plugs into the same onchainos command-line workflow as other skills in the okx/onchainos-skills repo, with shared rules for chain naming and a repeatable pre-flight each session: fetch the latest stable release from GitHub, keep the binary current when online, and stay quiet unless install or failure needs a human update. Builders use it when an agent must swap on Ethereum, Base, BSC, Arbitrum, Solana, XLayer, or broader wallet-supported networks after wallet setup. The readme emphasizes operational discipline—correct chain labels, supported address-creation chains, and not echoing noisy CLI output—so swaps stay reliable in automated sessions. Treat it as procedural integration knowledge, not a hosted swap API or MCP server; you still own keys, gas, and slippage choices.7.1kinstalls5Okx Onchain GatewayOKX Onchain Gateway is a shared procedural skill in the OnchainOS stack that ensures the onchainos CLI exists and is reasonably current before any downstream onchain skill issues commands. Solo builders experimenting with OKX onchain products should treat it as session hygiene: fetch the latest GitHub release tag, install or refresh the binary when the twelve-hour cache is stale, and continue with local binaries only when offline rather than blocking entirely. The instructions deliberately suppress noisy routine output while still surfacing install, update, and failure states. It is phase-specific to Build integrations because it does not ship your app by itself—it unlocks wallet, swap, or chain operations that other skills in the same repo orchestrate. Always review OKX terms, API keys, and chain risk yourself; this skill is infrastructure glue, not financial advice. Pair it with the specific onchain task skills in onchainos-skills after pre-flight succeeds.7kinstalls6Okx Dex SignalOKX DEX Signal is an agent skill in the onchainos-skills bundle that guides solo builders to use the OnchainOS CLI for DEX-oriented on-chain workflows, reusing shared documentation for human-readable chain names, wallet-capable networks, and strict pre-flight steps before any command in a session. The skill expects agents to resolve chainIndex values, honor the documented Ethereum, Base, BSC, Arbitrum, Solana, and XLayer wallet-creation support, and quietly verify or install the latest stable CLI release from GitHub while avoiding noisy routine output. Builders automating signals, swaps, or wallet interactions through an agent should treat credentials and mainnet funds as high risk and keep installs current when online. Complexity is advanced due to chain semantics, release versioning, and financial exposure. It complements other onchainos skills that share the same chain and pre-flight files rather than replacing a full trading strategy or custody audit.5kinstalls7Okx Dex Trenchesokx-dex-trenches is a read-only OKX Onchain OS agent skill with seven memepump commands for solo builders and traders who want pump.fun-class alpha before they trade. It answers questions about new meme launches, developer launch counts and rug history, bundle and sniper-wallet analytics (not execution), bonding-curve migration status, similar tokens from the same dev, and wallets that aped the same token. The skill enforces a write-intent gate so purchases, swaps, and snipes route to okx-dapp-discovery while research stays here. It also handles memepump Market API x402 and quota questions. Install it when you need structured on-chain trench research in Claude Code or Cursor instead of brittle web scraping or wrong-tool snipe flows.4.9kinstalls8Okx Agentic WalletOKX Agentic Wallet is a Build-phase integration skill from the OnchainOS skills family. It gives coding agents authoritative reference for chain naming, wallet address creation on seven supported networks, and Gas Station funding rules across eleven EVM chains—so you do not hard-code chain IDs or guess which stablecoins pay gas on Linea versus Sonic. Solo builders shipping crypto-enabled agents or backend automations use it when scaffolding OKX wallet flows, parsing user-facing chain names, or documenting which tokens Gas Station accepts per chainIndex. The excerpt focuses on shared chain tables rather than full transaction recipes, so you should still follow sibling OnchainOS skills for swaps and signing. It is not a substitute for key custody policy or mainnet financial review. Correct tagging yields faster agent responses that align with OKX’s chainIndex contract instead of generic Web3 lore.4.8kinstalls9Okx SecurityOkx-security is the Onchain OS skill for solo builders and small teams who delegate Web3 safety checks to an agent before signing or swapping. It packages five command families: token risk scanning, DApp and URL phishing detection, transaction pre-execution review on EVM and Solana, signature safety for typed and personal_sign flows, and ERC-20 plus Permit2 approval inspection or revocation guidance. Natural language triggers mirror how users actually ask—honeypot checks, scam URLs, risky approvals—so the skill fits agent workflows in Claude Code or Cursor rather than forcing you through a single dashboard. The README draws a hard line against wallet operations like balance or send; those belong to okx-agentic-wallet. Use this during Ship when hardening launch flows, and during Validate when judging whether a token or DApp deserves a prototype integration. Always complete documented pre-flight steps before invoking `onchainos` commands and treat scan output as input to human decisions, not automatic execution.4.6kinstalls10Okx Audit LogOKX Audit Log is a narrow Onchain OS agent skill that tells developers exactly where command and MCP invocation history is written on disk, what each JSON Lines record contains, and how log rotation behaves. Solo builders integrating OKX Web3 CLI or MCP hit opaque failures in swap pipelines or RPC calls; this skill keeps troubleshooting out of the chat by pointing you to ~/.onchainos/audit.jsonl (or ONCHAINOS_HOME) with redacted args and timing fields. It explicitly refuses to read or display log contents in conversation—reducing accidental leakage of sensitive parameters. Version 3.3.9 metadata ties it to the OKX onchain tooling line. Use only when users ask to export audit logs, find log paths, or view command history in Chinese or English phrasing; route wallet, token search, and swap questions to other skills in the same pack.4.6kinstalls11Okx X402 PaymentOKX X402 Payment is a deprecated agent skill stub in the OnchainOS catalog. It exists so older automations that still call `okx-x402-payment` land on an explicit redirect instead of silent failure. The SKILL.md states that x402 and MPP support moved into `okx-agent-payments-protocol`, including Path A for HTTP 402 dispatch and detailed reference files for exact, aggr_deferred, charge, and session flows. Solo builders wiring paid agent APIs should treat this page as a catalog signpost: immediately load the successor skill and follow its payment dispatcher. Do not run payment steps from this stub. Prism lists it for discoverability and migration clarity while production integrations should standardize on the unified protocol skill.4.2kinstalls12Okx Defi Portfoliookx-defi-portfolio is an OKX OnChain OS agent skill that wires natural-language requests—check my DeFi positions, staking, lending, portfolio—into the onchainos CLI for read-only DeFi holdings. Solo and indie builders who already use Claude Code, Cursor, or Codex for Web3 automation install it when they need a protocol-agnostic snapshot across chains without naming a single DApp. The skill covers a positions overview and deeper per-protocol detail, and it deliberately excludes invest actions, plain wallet token balances, DEX spot swaps, and third-party DApp-specific UIs, which are handled by sibling OKX skills. Typical flow: pass --address and --chains to defi positions, interpret the aggregated output in chat, then hand off to okx-defi-invest or discovery skills if the user wants to move funds or drill into one protocol’s native dashboard.3.7kinstalls13Okx Defi InvestOKX DeFi Invest is a command-reference agent skill for the OKX OnChainOS CLI DeFi module. Solo builders shipping crypto dashboards, portfolio bots, or internal research tools use it when they need exact bash invocations, field names, and sample JSON instead of guessing API shapes. The readme walks through support-chains and support-platforms and implies a full set of fifteen DeFi-oriented commands covering discovery, positions, and investment actions. It fits the Build phase integrations subphase: you embed these calls in Node, Python, or shell wrappers after API keys and chain context are decided. It is not a risk engine or custody layer—agents still must handle keys, slippage, and compliance. Pair it with your own validation and transaction-signing flow before anything touches mainnet.3.7kinstalls14Okx Dex Wsokx-dex-ws unifies how solo builders and agent workflows consume OKX Onchain OS DEX data in real time. Use the CLI when you want a background WebSocket session you poll incrementally—ideal for monitoring and agent-driven loops. Write your own client when you need bot-grade control in Python, Node, or Rust. The skill documents session start/stop, channel listing, channel-info, idle-timeout behavior, and the full set of DEX channels named in the skill header. It expects related onchainos-skills packages for protocol details and points to pre-flight checks before credentials or network calls. Triggers include onchainos ws, ws start/poll/stop, WebSocket channels, WS频道, and custom on-chain streaming scripts.3.3kinstalls15Okx Dex Bridgeokx-dex-bridge is an agent skill in the OKX onchainos-skills package that guides your Claude Code, Cursor, or Codex session through cross-chain bridging with the onchainos CLI. It inherits shared behaviors: chain name resolution so you type Ethereum or Base instead of memorizing chain indexes, and a strict pre-flight that checks the latest stable release from GitHub before any command runs. Solo and indie builders use it when a DeFi feature, treasury move, or testnet workflow needs a repeatable bridge path across the multi-chain address set created with `onchainos wallet add`. The skill fits builders who already treat onchainos as their chain control plane and want procedural guardrails instead of ad-hoc curl and copy-paste from docs. It is not a replacement for reading OKX bridge limits, fees, or route availability on each network. Pair it with wallet setup skills in the same repo and verify Security Audits on this catalog page before trusting keys in automation.2.2kinstalls16Okx Dapp Discoveryokx-dapp-discovery is a routing glossary skill for OKX OnchainOS agents: when users ask in Chinese about swaps, lending, or named DeFi protocols, the agent reads keyword mappings before applying English confidence rules in SKILL.md. Solo builders shipping crypto-aware agents use it to avoid misrouting generic verbs like 兑换 or 质押 to the wrong AMM or lending plugin. High-confidence hits come from protocol aliases such as 薄饼 for PancakeSwap or 曲线协议 for Curve, each bound to a specific plugin slug. Generic verbs alone never select a DApp, which reduces accidental wrong-chain or wrong-protocol actions. Pair it with the broader OnchainOS skills when you expose DeFi actions through Claude Code, Cursor, or similar hosts. It is reference material for discovery and disambiguation, not a standalone swap executor.2.1kinstalls17Okx A2a Paymentokx-a2a-payment is a deprecated legacy alias in the OKX OnchainOS skill set. A2A pay support merged into okx-agent-payments-protocol; this stub exists so old skill names in transcripts, scripts, or docs still resolve to a clear redirect. When an agent lands here, it must load okx-agent-payments-protocol via the Skill tool and follow that skill’s dispatcher, especially Path B for paymentId-based flows without HTTP 402. New paymentId, a2a_..., payment-link, and payment-status triggers should route directly to the successor. Solo builders maintaining agent commerce integrations should treat this page as a pointer, not an implementation. Do not run charges or status checks from this file. For actual OKX agent payments, use the unified protocol skill and its a2a_charge reference. Prism lists this entry so discoverability of the old name does not silently break workflows.2kinstalls18Okx Growth CompetitionOKX Growth Competition is a focused agent skill slice for the claim phase of OKX OnchainOS trading or growth competitions. Solo builders shipping crypto-facing agents install it when the product must check whether an account joined an activity, whether a reward is claimable, and then execute an atomic claim or collect contact details for top-tier winners. The workflow centers on onchainos competition user-status with optional activity scoping, then interprets rewardStatus codes: no claim needed, proceed to claim, already claimed, expired, or pending draw with a fixed five-business-day announcement window that agents must not paraphrase. When rewardStatus indicates a win, the skill tells the agent to proactively offer claiming help. It assumes the broader OnchainOS CLI context from the parent skill and is not a general-purpose marketing playbook—it is operational glue for OKX competition APIs exposed through the CLI. Best for agent builders embedding OKX growth programs; not for builders without OnchainOS credentials or non-OKX reward systems.1.7kinstalls19Okx Agent Payments ProtocolOKX Agent Payments Protocol is an agent skill that operationalizes OnchainOS agent-to-agent (a2a) payment links for solo builders experimenting with paid agent workflows. Unlike HTTP 402 payment flows, a2a is name-invoked: sellers generate links with onchainos payment a2a-pay create, buyers complete pay with a paymentId or a2a URL, and both sides rely on an authenticated wallet session first. The skill encodes pre-flight checks, required CLI flags, and the buyer-side trust model where upstream callers delegate signing while the skill submits credentials and polls status. It fits indie developers building agent marketplaces, tool tipping, or machine-to-machine settlement on EVM-compatible assets such as USDT. Expect intermediate familiarity with wallets, addresses, and CLI tooling rather than copy-paste chat payments.1.3kinstalls20Okx Dex Strategyokx-dex-strategy is an agent skill in OKX’s onchainos-skills repository that walks your coding agent through DEX strategy tasks using the onchainos command-line tool. Solo builders experimenting with onchain automation or agent-driven trading research install it during Build when they wire external DeFi APIs and CLIs into their workflow—not as a substitute for compliance, custody, or production risk controls. Every session starts with shared pre-flight steps: fetch the latest stable tag from GitHub releases, install or update the binary if missing or stale, then proceed with strategy commands while avoiding noisy routine output. The skill emphasizes operational hygiene (checksum installers, cache at ~/.onchainos/last_check) so agents do not run expired tooling. Use it when you already accept network access, API keys where required, and the financial risk of live or mainnet-adjacent experimentation. Downstream you should pair with Ship security review and Operate monitoring if anything touches real funds.1.1kinstalls21Okx How To PlayOKX how-to-play is the shared pre-flight ritual for every OnchainOS agent skill in the okx/onchainos-skills bundle. Solo and indie builders who automate trading, wallet, or chain operations through Claude Code, Cursor, or Codex should load it once per session before the first onchainos invocation so the agent resolves the latest stable GitHub release, installs or refreshes the CLI when the 12-hour cache is stale, and only surfaces brief status instead of dumping routine shell output. The flow covers macOS, Linux, and Windows cache paths, checksum-backed installers, and offline fallbacks when rate limits or connectivity block the API but an existing binary remains usable. Treat it as mandatory plumbing—not a feature skill—so downstream OKX playbooks do not fail on missing tooling or version skew during Build-phase integration work.1.1kinstalls22Okx Dex Socialokx-dex-social is part of the OKX OnchainOS skills pack and documents shared chain naming, wallet-capable chains, and mandatory CLI pre-flight steps agents should run before any onchainos command in a session. Solo builders shipping crypto-aware agents or trading assistants use it to avoid wrong chain indexes, stale binaries, and noisy command spam—agents fetch the latest stable release tag, install or update when needed, and only surface brief status to the user. The skill pairs with other onchainos skills for DEX and social flows while keeping chain resolution consistent across Ethereum L2s, Solana, and BSC. It assumes comfort with shell curl to GitHub releases and real funds risk on mainnet; treat permissions and keys as production-sensitive even in prototypes.711installs