
okx/agent-skills
9 skills48.9k installs1.2k starsGitHub
Install
npx skills add https://github.com/okx/agent-skillsSkills in this repo
1Okx Cex Tradeokx-cex-trade packages OKX centralized-exchange trading commands for agent-driven workflows. Solo builders automating discretionary or semi-systematic strategies use it when natural-language intents like market or limit orders, perp long/short, options legs, or event-contract Yes/No buys must become audited CLI calls instead of manual clicks. The skill scopes strictly to trade lifecycle actions—place, cancel, amend, leverage, STP modes, auto-cancel on close, and advanced execution styles—while steering portfolio and pure market-data tasks to sibling OKX skills. Installation expects the published npm okx binary and live API keys with permissions appropriate to trading. Because mistakes move real capital, the SKILL.md positions credentials as mandatory and separates this skill from bot orchestration. It is intermediate complexity due to instrument diversity and algo parameter surfaces.7.1kinstalls2Okx Cex MarketOKX CEX Market is an agent skill that documents and drives OKX CLI market commands for derivatives and contract data—chiefly perpetual funding rates and mark prices. Solo and indie builders who trade or build crypto tooling install it when they want funding carry, liquidation fairness, or fair-value marks without maintaining bespoke OKX REST clients. The skill emphasizes correct instrument IDs (perpetual IDs must end in `-SWAP`), optional historical funding tables, and JSON output for agents. It fits agents running in Claude Code, Cursor, or Codex that need procedural knowledge of `okx market funding-rate` and `okx market mark-price` rather than guessing API shapes. Use it while wiring exchange data into research bots, risk dashboards, or validation scripts; it does not replace account trading, custody, or compliance review. Pair it with your own API key handling and rate-limit discipline on the host environment.7.1kinstalls3Okx Cex PortfolioOKX CEX Portfolio is an agent skill that wires your coding agent to the OKX trade CLI for read-mostly account intelligence and controlled fund moves. Solo and indie builders who already trade or automate on OKX use it when they need grounded answers about how much USDT they hold, where it sits, what positions are open, how P&L looks, what fees apply, and how much they can withdraw or buy—not when they only want ticker prices or to submit orders. The skill documents preflight against metadata version 1.3.2, MIT licensing, and npm install of the okx binary. It is intentionally narrow: portfolio and account surfaces only, with sibling skills for market, trade execution, and bots. That separation keeps agents from hallucinating balances or mixing unsafe write operations into a portfolio read session.6.9kinstalls4Okx Cex Botokx-cex-bot is an agent skill for solo builders and indie traders who want Claude Code, Cursor, or similar agents to manage automated strategies on OKX through the official okx trade CLI. It covers Grid trading across spot, contract, and coin-margined modes plus Spot and Contract DCA Martingale bots, including creation, shutdown, amendments, take-profit and stop-loss, margin or investment changes, and AI-suggested parameters. Bots execute on OKX infrastructure, so you do not run a local bot process—your agent issues CLI commands after npm install and browser OAuth via okx config init. Use it when you are operating live or paper-connected bot positions and need structured commands instead of ad-hoc REST snippets. It is not a substitute for one-off spot orders, quote feeds, or portfolio summaries; pair those with the sibling okx-cex skills when needed. Follow the shared preflight doc and metadata version 1.3.2 before authenticated calls.6.8kinstalls5Okx Cex Earnokx-cex-earn is an agent skill that documents OKX CLI AutoEarn (自动赚币) commands for solo builders and small teams who keep USDT, SOL, USDG, or other supported assets on OKX and want agent-assisted yield management without guessing flags. It walks through status queries (all currencies or a single ccy via positional or --ccy), turning AutoEarn on with inferred earnType, and turning it off with the hard 24-hour restriction called out up front. The skill emphasizes operational safety: verify support and current state with JSON, present a confirmation summary, warn that disable is blocked for 24 hours after enable, and only proceed after explicit user confirmation—making it suitable for treasury tuning in Claude Code, Cursor, or Codex rather than silent automation. Use it when you need citable field semantics (invested, matched, apr) and repeatable CLI patterns for live profiles.6.2kinstalls6Okx Cex Skill MpOKX CEX skill marketplace is an agent skill that teaches assistants how to discover, install, update, and remove AI trading skills from the OKX Skills Marketplace using the okx CLI. Solo builders automating crypto workflows with Claude Code or similar agents use it when they ask to find trading skills, browse categories, download packages, or manage what is already installed—without conflating that with placing trades or pulling market feeds. The skill documents MIT-licensed OKX tooling (v1.3.2), npm install of @okx_ai/okx-trade-cli, and the requirement for API credentials for marketplace API access. It is integration-focused for build phase agent stacks in finance-adjacent products. Third-party marketplace content means you should treat installs as untrusted prompt extensions until reviewed.5.1kinstalls7Okx Sentiment Trackerokx-sentiment-tracker is an OKX agent-skills package focused on news sentiment, trending mentions, and intraday sentiment movement for major coins. Indie builders and solo traders wiring Claude Code or Codex to CEX workflows use it to aggregate bullish/bearish snapshots, high-impact headlines, and sentiment-rank leaders without placing trades. The SKILL.md emphasizes cross-skill recipes: combine this skill’s okx news commands with okx-cex-market for price, volume, and funding context, and run parallel calls for a disciplined daily briefing bounded to today’s window. It suits monitoring and narrative context during Grow, and early Idea research when validating whether attention and sentiment support a thesis.4.4kinstalls8Okx Cex Authokx-cex-auth is an agent skill for solo builders wiring the official OKX CLI into local agent workflows. It walks through OAuth 2.0 device authorization, first-time credential storage, re-login when sessions expire, and logout—covering both global and EEA endpoints. Triggers include natural-language login requests, auth binary maintenance, and any CLI failure that mentions missing tokens, StorageNotFoundError, or requires_auth. The skill expects the okx binary from @okx_ai/okx-trade-cli and npm install paths documented in metadata. It does not replace market quotes; use the dedicated market skill for read-only data. For indie traders automating OKX from Claude Code or Cursor, this is the mandatory gate before portfolio or trading skills touch live accounts.2.7kinstalls9Okx Cex SmartmoneyThe okx-cex-smartmoney skill documents OKX Exchange smart-money signal commands for agents and solo builders automating crypto research or execution workflows. It centers on the consensus signal endpoint that rolls up vetted pool traders’ positions for a single currency or instrument—surfacing long/short ratio, weighted ratio, average entry, capital flow, trend deltas, and surrounding market context. Install it when you are wiring Claude Code, Cursor, or Codex to OKX’s journal API rather than guessing query parameters from scattered docs. You must supply at least one of `--instId` (recommended, e.g. `BTC-USDT-SWAP`) or `--instCcy`, and at least one of `--ts` (ms UTC, e.g. latest via shell date) or `--dataVersion` for replay. Optional filters narrow the candidate pool by performance tiers and size up to 500 authors. The skill fits multi-phase use: Validate prototype signal dashboards, Build CLI or bot integrations, and Grow with recurring analytics. Intermediate complexity—OKX API keys, rate limits, and responsible trading disclaimers apply.2.7kinstalls