three.ws: Skill for Claude Code

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

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

A trading tool for price-triggered limit orders on the OKX Agentic Wallet. A limit order is an instruction to buy or sell only when a chosen price condition is reached.

In plain words
What is it for?
Use it to create, cancel, list, and resume limit orders, including buy-the-dip, take-profit, stop-loss, and buy-above strategies.
Why use it?
It lets you prepare dip buys, profit-taking orders, stop losses, or buys above a target without watching prices continuously. It also helps manage orders that are pending, completed, cancelled, or suspended.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument; 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, fall back to `_shared/preflight.md`. Strategy endpoints require an authenticated.

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-strategy/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-strategy

README.md
[![agentmods](https://agentmods.dev/badge/skills/nirholas/three.ws/okx-dex-strategy/github.svg)](https://agentmods.dev/skills/nirholas/three.ws/okx-dex-strategy)
Your own site
<a href="https://agentmods.dev/skills/nirholas/three.ws/okx-dex-strategy"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/okx-dex-strategy/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-strategy

Your own site · 80×15
<a href="https://agentmods.dev/skills/nirholas/three.ws/okx-dex-strategy"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/okx-dex-strategy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 184 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,093 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 warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high System Prompt Leakage · line 180
    Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
    Fix: Remove any instructions that reveal, print, or output system prompts or internal rules. System instructions should never be exposed to end users.
  • high System Prompt Leakage · line 191
    Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
    Fix: Remove any instructions that reveal, print, or output system prompts or internal rules. System instructions should never be exposed to end users.
  • medium Excessive Agency · line 435
    Skill allows unbounded resource consumption (API calls, storage, compute). Without rate limits or quotas, a compromised or misbehaving agent can cause denial-of-service or cost overruns.
    Fix: Set explicit rate limits, timeouts, and resource quotas for API calls, file operations, and compute. Implement circuit breakers for runaway loops.
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.00184 $0.08093
Opus 5.5 $0.00074 $0.03237
Sonnet 5.5 $0.00037 $0.01619
Haiku 4.5 $0.00018 $0.00809

Measured 2mo ago against content hash c10e84baef9c, 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-strategy 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-strategy/SKILL.md · 456 lines

How it starts

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

Onchain OS DEX Strategy

4 subcommands that wrap the Agentic Wallet limit-order surface — create-limit, cancel, list, resume. SA activation (Trader Mode upgrade / re-upgrade) is performed transparently by the CLI when the BE returns UPGRADE_REQUIRED; the skill does not need to expose that detail.

Pre-flight Checks

Read ../okx-agentic-wallet/_shared/preflight.md. If that file does not exist, fall back to _shared/preflight.md. Strategy endpoints require an authenticated Agentic Wallet session — confirm login before running any subcommand.

Display labels & output language (single source of truth)

This section is the canonical rule for user-facing strings. Every other section in this skill defers to it.

Canonical Display labels — the only strings the agent may surface to the user. The CLI returns these directly (statusLabel) for status; for strategyType the agent looks them up from the §strategyType and §status tables below.

Surface Canonical EN Display labels
strategyType (4 values) Buy Dip / Take Profit / Stop Loss / Buy Above
status (9 values) Expired / Cancelling / Cancelled / Failed / Trading / Completed / Creating / Active / Suspended

Translation rule — match the user's conversation language. Display labels above are canonical English. When the user converses in another language, the agent translates the label at output time to match the conversation language.

Never (these rules apply everywhere in this skill):

  • mix two languages in one label (pick one — never render the English label and a translation side by side),
  • expose the underlying enum name (BUY_DIP, CHASE_HIGH, COMPLETED, …) to the user,
  • expose the underlying CLI flag value (buy_dip, chase_high, completed, cancelled, …) to the user,
  • pass through the CLI's raw statusLabel verbatim when the user is conversing in a non-English language — translate it.

Notes:

  • CHASE_HIGH renders as Buy Above in English (not "Chase High").
  • SPEEDING_UP (-4) is not a valid filter or display value.

Read the full file on GitHub · 456 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 456 lines · 184 tokens per session scan A c10e84baef9c

Subscribe to this mod's changes

okx-dex-strategy is a skill published in the GitHub repository nirholas/three.ws (269 stars, last pushed yesterday), licensed Apache-2.0. It adds 184 tokens to every session and 8,093 once invoked, about $0.0007 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-strategy compared with skills from other repositories

okx-dex-strategy next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
okx-dex-strategynirholas/three.wsSkill269yesterdayApache-2.0A184Claude Code
evmNousResearch/hermes-agentSkill261kyesterdayMITA19Claude Code, Codex
hyperliquidNousResearch/hermes-agentSkill261kyesterdayMITA16Claude Code, Codex
solanaNousResearch/hermes-agentSkill261kyesterdayMITA18Claude Code, Codex
crypto-dataBlockRunAI/blockrun-mcpSkill389yesterdayMITA194Claude Code, Codex
polymarket-tradingBlockRunAI/blockrun-mcpSkill389yesterdayMITA72Claude Code, Codex
surfBlockRunAI/blockrun-mcpSkill389yesterdayMITA110Claude Code, Codex