← 返回 Skills 市场
jolestar

OKX Exchange WebSocket Skill

作者 jolestar · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
236
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install okx-exchange-websocket-skill
功能描述
Subscribe to OKX public exchange WebSocket channels through UXC raw WebSocket mode for ticker, trade, book, and candle events with explicit subscribe frames.
安全使用建议
This skill appears to do what it says: start OKX public WebSocket subscriptions using the 'uxc' tool and write NDJSON to a local sink. Before installing, verify you have a trusted 'uxc' binary (or the 'uxc' skill) available and that you are comfortable with the skill writing subscription files under $HOME/.uxc/subscriptions. Note the repository's metadata does not declare required binaries: the runtime expects 'uxc' and the included validation script expects 'rg' (ripgrep). If you plan to run the validate script, ensure 'rg' is installed. Also avoid using this skill with private OKX credentials — it is explicitly for public channels only.
功能分析
Type: OpenClaw Skill Name: okx-exchange-websocket-skill Version: 1.0.0 The skill provides legitimate instructions and configurations for an AI agent to interact with the OKX public WebSocket API using the 'uxc' CLI tool. The commands in SKILL.md and usage-patterns.md are focused on market data (tickers, trades, order books) and use the official OKX endpoint (wss://ws.okx.com:8443/ws/v5/public). No indicators of malicious intent, data exfiltration, or unauthorized execution were found.
能力评估
Purpose & Capability
The SKILL.md, usage examples, and validate script all show the skill's sole purpose is subscribing to OKX public WS channels via 'uxc subscribe'. That purpose matches the code and examples. However, the registry metadata lists no required binaries while the runtime prerequisites and validation script require 'uxc' to be on PATH and 'rg' (ripgrep) for validation. The dependency on the 'uxc' tool is reasonable for the skill's purpose but should be declared.
Instruction Scope
Instructions are narrowly scoped to public OKX WebSocket channels, using explicit subscribe frames and writing NDJSON to a local sink. The SKILL.md explicitly excludes private/login/trading flows and warns not to mix auth flows. It only references local sink paths and the OKX public endpoint; it does not instruct reading arbitrary local files or exfiltrating secrets.
Install Mechanism
There is no install spec (instruction-only), so nothing is downloaded or written by the skill itself. The included validate.sh is a local check script and does not fetch external code. This is a low-risk install footprint.
Credentials
The skill requests no environment variables or credentials, and public OKX channels do not require login. The only runtime requirements are network access to wss://ws.okx.com and a writable sink path; these are proportionate to the stated purpose.
Persistence & Privilege
The skill does not request persistent/autonomous privileges beyond the normal model-invocation default. always is false. It writes its subscription output to a local NDJSON sink (user home under .uxc), which is expected behavior for a streaming subscription skill.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install okx-exchange-websocket-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /okx-exchange-websocket-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of okx-exchange-websocket-skill. - Enables subscribing to OKX public exchange WebSocket channels using UXC raw WebSocket mode. - Supports ticker, trade, book, and candle events with explicit subscribe frames. - Reuses the `uxc` skill for runtime, sink, and event handling. - Only covers public channels; excludes private login, trading, or REST API features.
元数据
Slug okx-exchange-websocket-skill
版本 1.0.0
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 1
常见问题

OKX Exchange WebSocket Skill 是什么?

Subscribe to OKX public exchange WebSocket channels through UXC raw WebSocket mode for ticker, trade, book, and candle events with explicit subscribe frames. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 236 次。

如何安装 OKX Exchange WebSocket Skill?

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

OKX Exchange WebSocket Skill 是免费的吗?

是的,OKX Exchange WebSocket Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

OKX Exchange WebSocket Skill 支持哪些平台?

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

谁开发了 OKX Exchange WebSocket Skill?

由 jolestar(@jolestar)开发并维护,当前版本 v1.0.0。

💬 留言讨论