← 返回 Skills 市场
ok-james-01

Okx Dex Market

作者 ok-james-01 · GitHub ↗ · v2.6.0 · MIT-0
cross-platform ⚠ suspicious
740
总下载
0
收藏
8
当前安装
8
版本数
在 OpenClaw 中安装
/install 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...
安全使用建议
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.
功能分析
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.
能力标签
cryptorequires-walletcan-make-purchasesrequires-sensitive-credentials
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install okx-dex-market
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /okx-dex-market 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug okx-dex-market
版本 2.6.0
许可证 MIT-0
累计安装 9
当前安装数 8
历史版本数 8
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 740 次。

如何安装 Okx Dex Market?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install okx-dex-market」即可一键安装,无需额外配置。

Okx Dex Market 是免费的吗?

是的,Okx Dex Market 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Okx Dex Market 支持哪些平台?

Okx Dex Market 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Okx Dex Market?

由 ok-james-01(@ok-james-01)开发并维护,当前版本 v2.6.0。

💬 留言讨论