← Back to Skills Marketplace
Okx Dex Market
by
ok-james-01
· GitHub ↗
· v2.6.0
· MIT-0
740
Downloads
0
Stars
8
Active Installs
8
Versions
Install in OpenClaw
/install okx-dex-market
Description
HARD BLOCK — NEVER use this skill for prediction-market / Polymarket UpDown queries. Route to okx-dapp-discovery when (a) a named DApp (Polymarket/Aave/Hyper...
Usage Guidance
This skill is coherent for a CLI-based market data integration, but note three practical risks: (1) the preflight instructs downloading and executing an installer from GitHub — review or run the installer manually if you prefer; (2) the skill reads/writes files under ~/.onchainos and can persist a payment default via `onchainos payment default set` (this enables future auto-signing of market API charges once you confirm a payment option), so only confirm payments you understand; (3) if you use the WebSocket features you will need to provide API Key/Secret/Passphrase — never share those unless you trust the environment. If you want higher assurance, ask for the onchainos install script/source repo URL and inspect the installer or install onchainos yourself before using the skill.
Capability Analysis
Type: OpenClaw Skill
Name: okx-dex-market
Version: 2.6.0
The skill bundle provides tools for DEX market data and wallet PnL analysis but includes high-risk behaviors in its shared files. Specifically, `_shared/preflight.md` utilizes a `curl | sh` pattern to install and update the `onchainos` CLI from GitHub (okx/onchainos-skills), which presents a significant remote code execution (RCE) risk despite the inclusion of checksum verification. Furthermore, `_shared/payment-notifications.md` contains complex instructions for the agent to automatically handle x402 payment flows and modify CLI settings via `onchainos payment default set`. While these features appear aligned with the stated purpose of the OKX DEX integration, the reliance on remote script execution and automated configuration management is inherently risky.
Capability Tags
Capability Assessment
Purpose & Capability
Name/description (DEX market, prices, K-line, wallet PnL) matches the actions in SKILL.md and the included CLI reference: it calls onchainos market commands, resolves token addresses, and routes prediction-market queries elsewhere. No unrelated credentials, binaries, or config paths are demanded.
Instruction Scope
The runtime instructions go beyond simple formatting: they require installing/updating the onchainos CLI (network fetch + run installer), reading/writing user-local files under ~/.onchainos, and interactive handling of payment notifications (including prompting the user and then running `onchainos payment default set`). All of this is within the skill's stated purpose, but it does grant the skill the ability to change CLI state and persist a payment default when the user confirms.
Install Mechanism
There is no explicit install spec in the registry, but the shared preflight tells the agent to fetch an installer script from GitHub (raw.githubusercontent.com / GitHub releases) and execute it after verifying checksums. Using GitHub releases is reasonable, and the doc requires checksum verification, but executing a downloaded installer is a non-trivial, higher-risk operation — users should review the installer or install onchainos manually if uncomfortable.
Credentials
The skill declares no required environment variables and asks for no unrelated secrets. The WebSocket reference documents how a user-supplied API key/secret would be used if they choose to use the WS interface — that is expected for a market data skill. Nothing here asks for unrelated service credentials.
Persistence & Privilege
The skill will read and write files under ~/.onchainos (version/cache/payment_cache.json) and instruct the agent to run `onchainos payment default set` to persist a user-chosen payment asset. Persisting a payment default can cause future payment auto-signing by the CLI (the doc describes that behavior). The skill does not request always:true and requires explicit user confirmation before creating the payment default according to its procedure.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install okx-dex-market - After installation, invoke the skill by name or use
/okx-dex-market - Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.6.0
**okx-dex-market 2.6.0 Changelog**
- Added hard block/routing logic for Polymarket/prediction-market "updown" queries (to okx-dapp-discovery).
- Clarified default triggers: kline commands require explicit chart/candle mention (not just a timeframe).
- Skill now owns and handles all Market API payment notification logic (route all market API 402/payment/notification cases here; see new `_shared/payment-notifications.md`).
- Introduced new user guidance on related workflows (Daily Brief, Wallet Analysis, Portfolio Check) after certain commands.
- Updated description and keyword guidance for stricter intent handling and routing.
- Version bump and other documentation clarifications for usage boundaries and payment scenarios.
v2.4.0
Version 2.4.0
- Metadata version updated to 2.4.0.
- No code or documentation content changes detected.
v2.2.10
- Added data freshness guidance: display the `requestTime` field (Unix ms) with results to show when data was fetched.
- Recommend using the most recent response's `requestTime` as the reference time for subsequent/chained command parameters, instead of using the current wall clock time.
- Bumped version to 2.2.10; no file changes detected beyond documentation update.
v2.2.7
Version 2.2.7
- Added detailed markdown references: chain support, preflight checks, keyword glossary, and WebSocket protocol.
- Updated instructions to reference shared chain and preflight docs for maintainability.
- Clarified the use of "index price"; only use `market index` for explicit user requests for aggregate/cross-exchange prices.
- Defined Chinese keyword mapping to commands via a new glossary file.
- Streamlined edge case, error handling, and regional restriction documentation.
- Added note to use wSOL address for Solana SOL price queries; clarified difference from swap operations.
v2.0.0
Version 2.0.0 of okx-dex-market is a major redesign, clarifying command scope and tightening its skill boundaries.
- Refined the skill’s domain to focus only on token market data, price charts/K-line, index prices, and wallet PnL analysis.
- Removed support for signal tracking, meme/pump detection, and smart money analytics from this skill—these now require other dedicated skills.
- Updated routing instructions and glossary for more accurate command mapping and error prevention.
- Switched license to MIT and updated metadata to reflect the new version.
- Added a new wallet tips feature that displays one helpful tip per session after a wallet action.
- Overhauled pre-flight checks for installer and binary integrity, including release/tag-based verification and better error reporting.
v1.0.2
- Expanded the skill description to clarify supported Chinese crypto slang, new protocol/platform names, and user intents (“扫链/trenches,golden dog, alpha, pump fun”).
- Added a Keyword Glossary mapping commonly used Chinese and English crypto terms and platform names to their corresponding commands.
- Specified that protocol names (like "pumpfun") must be looked up via `memepump-chains` and passed as IDs, not as token names.
- Added guidance for translating JSON field names into user-friendly language when showing `memepump-token-details` or dev info.
- Noted to use meme pump commands (not signals) for "trenches"/"扫链" scenarios.
- Minor improvements to .env credential comments and skill routing documentation.
v1.0.1
**Expanded to support CLI and advanced onchain market data.**
- Adds CLI workflow: all market features now accessible via `onchainos` commands (e.g., price, candles, trades, index price, batch queries).
- New support for smart money, whale, KOL signal scanning and signal-enabled chain queries.
- Adds complete meme token analysis: dev reputation, rug pull check, bundle/sniper detection, similar tokens, and meme token listings.
- Updated boundary with okx-dex-token; this skill now covers market feeds, signal data, meme token safety, and dev analytics.
- Includes explicit pre-checks for installation and updates of CLI tooling.
- Revised command & chain index documentation for quick start.
v1.0.0
- Initial release of okx-dex-market skill (v1.0.0).
- Provides on-chain price feeds, candlestick charts (K-line), recent trade logs, and index price data across 20+ blockchains.
- Supports real-time price queries, historical price trends, trade history, and multi-source aggregate prices.
- Clearly distinguishes use cases from okx-dex-token (analytics, search, market cap).
- Includes developer setup details, authentication guides, main endpoints, and quickstart code samples.
- Offers cross-skill workflow recommendations for research and price monitoring scenarios.
Metadata
Frequently Asked Questions
What is Okx Dex Market?
HARD BLOCK — NEVER use this skill for prediction-market / Polymarket UpDown queries. Route to okx-dapp-discovery when (a) a named DApp (Polymarket/Aave/Hyper... It is an AI Agent Skill for Claude Code / OpenClaw, with 740 downloads so far.
How do I install Okx Dex Market?
Run "/install okx-dex-market" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Okx Dex Market free?
Yes, Okx Dex Market is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Okx Dex Market support?
Okx Dex Market is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Okx Dex Market?
It is built and maintained by ok-james-01 (@ok-james-01); the current version is v2.6.0.
More Skills