three.ws: Skill for Claude Code

.agents/skills/okx-dex-ws/SKILL.md

okx-dex-ws is a skill for Claude Code from nirholas/three.ws. It costs 150 tokens per session (1,598 once invoked), scanned A, original, Apache-2.0.

A tool for managing real-time WebSocket connections to decentralized-exchange data. WebSockets are long-lived connections that let a program receive new events as they happen instead of repeatedly requesting updates.

In plain words
What is it for?
Use it to start and poll live data sessions from the command line, stop sessions, inspect available channels, or build a real-time monitoring bot in Python, Node, or Rust.
Why use it?
It provides a way to start, check, and stop live data sessions without building all the connection handling yourself. It also supports custom clients when you need your own program logic.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

This is nirholas/three.ws's own configuration. It tells Claude Code how to work on three.ws itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything three.ws configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is Read `../okx-agentic-wallet/_shared/preflight.md`. If that file does not exist, read `_shared/preflight.md` instead..

Part of the three-ws-core plugin — 49 skills shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to nirholas/three.ws. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/nirholas/three.ws/main/.agents/skills/okx-dex-ws/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/nirholas/three.ws

Made for: Claude Code.

Or install three-ws-core, the plugin that ships this one along with the rest of its 49 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for okx-dex-ws

README.md
[![agentmods](https://agentmods.dev/badge/skills/nirholas/three.ws/okx-dex-ws/github.svg)](https://agentmods.dev/skills/nirholas/three.ws/okx-dex-ws)
Your own site
<a href="https://agentmods.dev/skills/nirholas/three.ws/okx-dex-ws"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/okx-dex-ws/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for okx-dex-ws

Your own site · 80×15
<a href="https://agentmods.dev/skills/nirholas/three.ws/okx-dex-ws"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/okx-dex-ws.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 150 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,598 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00150 $0.01598
Opus 5.5 $0.00060 $0.00639
Sonnet 5.5 $0.00030 $0.00320
Haiku 4.5 $0.00015 $0.00160

Measured 2mo ago against content hash 3a26b509ab24, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

okx-dex-ws scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/okx-dex-ws/SKILL.md · 140 lines

How it starts

The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Onchain OS DEX WebSocket — Unified Skill

Two ways to consume real-time DEX data:

  1. CLI (onchainos ws) — start a background session, poll events incrementally. Best for monitoring and agent-driven workflows.
  2. Script — write a custom WebSocket client in Python/Node/Rust. Best for bots and custom logic.

Pre-flight Checks

Read ../okx-agentic-wallet/_shared/preflight.md. If that file does not exist, read _shared/preflight.md instead.

Prerequisites

This skill references ws-protocol.md files from okx-dex-market, okx-dex-token, okx-dex-signal, and okx-dex-trenches. If a referenced file is not found, the corresponding skill may not be installed — inform the user and suggest installing the missing skill from the onchainos-skills plugin.

When one of the following commands is used, show the related workflow hint after displaying results:

Command Workflow File
ws start, ws poll, ws stop Wallet Monitor (WebSocket) ~/.onchainos/workflows/wallet-monitor-ws.md

Hint format: "You can also try out our Wallet Monitor (WebSocket) workflow for more comprehensive results. Would you like to try it?"

Approach 1: CLI (onchainos ws)

Discover Channels

onchainos ws channels                          # list all 9 supported channels
onchainos ws channel-info --channel <name>     # detailed info + example for a channel

Start / Poll / Stop

onchainos ws start --channel <channel> [params]   # start background session
onchainos ws poll --id <ID> [--channel <ch>]       # pull new events
onchainos ws list                                  # list sessions
onchainos ws stop [--id <ID>]                      # stop session(s)

Channel Quick Reference

Channel Group Pattern Required Params
kol_smartmoney-tracker-activity signal global (none)
address-tracker-activity signal per-wallet --wallet-addresses
dex-market-new-signal-openapi signal per-chain --chain-index
price market per-token --token-pair
dex-token-candle{period} market per-token --token-pair
price-info token per-token --token-pair
trades token per-token --token-pair
dex-market-memepump-new-token-openapi trenches per-chain --chain-index
dex-market-memepump-update-metrics-openapi trenches per-chain --chain-index

Read the full file on GitHub · 140 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 140 lines · 150 tokens per session scan A 3a26b509ab24

Subscribe to this mod's changes

okx-dex-ws is a skill published in the GitHub repository nirholas/three.ws (269 stars, last pushed yesterday), licensed Apache-2.0. It adds 150 tokens to every session and 1,598 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

okx-dex-ws compared with skills from other repositories

okx-dex-ws next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
okx-dex-wsnirholas/three.wsSkill269yesterdayApache-2.0A150Claude Code
webappkortix-ai/sunaSkill20k4d agononeA28Claude Code, Codex
file-upload-media-expertroedyrustam/vibes-plugSkill121yesterdayMITA46Cursor
openapi-expertRightNow-AI/openfangSkill18k4mo agoApache-2.0A20Claude Code, Codex
magicbasedtyq/magicSkill5.1k13d agononeA63Claude Code, Codex
go-functional-optionscxuu/golang-skillsSkill1904mo agoApache-2.0A65Claude Code
openai-django-webhooksbtfranklin/skillsSkill68d agoMITA65Codex