three.ws: Skill for Claude Code

.agents/skills/okx-onchain-gateway/SKILL.md

okx-onchain-gateway is a skill for Claude Code, Codex from nirholas/three.ws. It costs 96 tokens per session (2,281 once invoked), scanned A, original, Apache-2.0.

A transaction tool for sending already-signed blockchain transactions and checking their costs, behavior, and status across many networks.

In plain words
What is it for?
Use it to estimate gas, simulate or dry-run a transaction, broadcast signed transaction data, check gas prices, and track transaction status.
Why use it?
It helps you check a transaction before sending it and follow what happens after it is broadcast, without needing separate tools for gas, simulation, and confirmation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is nirholas/three.ws's own configuration. It tells Claude Code and Codex 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 — 43 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-onchain-gateway/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/nirholas/three.ws

Made for: Claude Code, Codex.

Or install three-ws-core, the plugin that ships this one along with the rest of its 43 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-onchain-gateway

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nirholas/three.ws/okx-onchain-gateway"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/okx-onchain-gateway.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,281 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: 1 finding, 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 145
    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.
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.00096 $0.02281
Opus 5 $0.00048 $0.01141
Sonnet 5 $0.00019 $0.00456
Haiku 4.5 $0.00010 $0.00228

Measured 9d ago against content hash 3d84406b5e67, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

okx-onchain-gateway 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 9d 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-onchain-gateway/SKILL.md · 160 lines

How it starts

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

Onchain OS Gateway

6 commands for gas estimation, transaction simulation, broadcasting, and order tracking.

Pre-flight Checks

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

Skill Routing

  • For swap quote and execution → use okx-dex-swap
  • For market prices → use okx-dex-market
  • For token search → use okx-dex-token
  • For wallet balances / portfolio → use okx-wallet-portfolio
  • For transaction broadcasting → use this skill (okx-onchain-gateway)

Keyword Glossary

Users may use Chinese or informal terms. Map them to the correct commands:

Chinese / Slang English Maps To
预估 gas / 估 gas / gas 费多少 estimate gas, gas cost gateway gas or gateway gas-limit
广播交易 / 发送交易 / 发链上 broadcast transaction, send tx on-chain gateway broadcast
模拟交易 / 干跑 simulate transaction, dry-run gateway simulate
交易哈希是否上链 / 是否确认 / 确认状态 / 交易状态 tx hash confirmed, check tx status gateway orders
已签名交易 signed transaction --signed-tx param for gateway broadcast
gas 价格 / 当前 gas current gas price gateway gas
支持哪些链 supported chains for broadcasting gateway chains

Chain Name Support

The CLI accepts human-readable chain names and resolves them automatically.

Chain Name chainIndex
XLayer xlayer 196
Solana solana 501
Ethereum ethereum 1
Base base 8453
BSC bsc 56
Arbitrum arbitrum 42161
Polygon polygon 137

This table is illustrative — the gateway supports 20+ chains. Run onchainos gateway chains for the authoritative list.

Command Index

# Command Description
1 onchainos gateway chains Get supported chains for gateway
2 onchainos gateway gas --chain <chain> Get current gas prices for a chain
3 onchainos gateway gas-limit --from ... --to ... --chain ... Estimate gas limit for a transaction
4 onchainos gateway simulate --from ... --to ... --data ... --chain ... Simulate a transaction (dry-run)
5 onchainos gateway broadcast --signed-tx ... --address ... --chain ... Broadcast a signed transaction
6 onchainos gateway orders --address ... --chain ... Track broadcast order status

Read the full file on GitHub · 160 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. 9d ago First seen · 160 lines · 96 tokens per session scan A 3d84406b5e67

Subscribe to this mod's changes

okx-onchain-gateway is a skill published in the GitHub repository nirholas/three.ws (113 stars, last pushed today), licensed Apache-2.0. It adds 96 tokens to every session and 2,281 once invoked, about $0.0005 per session on Opus 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

Other skills, from other repositories

blockchain-cross-chain

Cross-chain protocols, IBC, LayerZero, Wormhole, Axelar, CCIP, bridges, atomic composability, shared sequencer, cross-chain message passing. Covers trust models (light clients, external validators, ZK proofs), bridge security, token representation (canonical, wrapped, native), relayer economics, and cross-chain…

j4flmao/agent-skills · 108 tokens

blockchain-testing

Use this skill when asked about testing smart contracts, Foundry tests, Hardhat tests, fuzz testing, invariant testing, property-based testing, formal verification, audit preparation, integration testing for dApps, and blockchain testing patterns. Covers Foundry cheatcodes, Echidna fuzzing, Certora verification…

j4flmao/agent-skills · 117 tokens

xpr-network-dev

XPR Network (formerly Proton) blockchain development - proton-tsc smart contracts, @proton CLI and web SDK, RPC and Hyperion queries, DeFi (MetalX, Alcor, LOAN), NFTs, the XPR Agents job board, node and Hyperion operations. Use for anything mentioning XPR, Proton, or @proton packages.

XPRNetwork/xpr-network-dev-skill · 77 tokens

blockchain-management

Use this skill when asked about blockchain project management, DAO governance, multi-sig operations, treasury management, tokenomics design, and web3 project methodology. Languages: Solidity, TypeScript, Python. Covers DAO governance frameworks (Compound Governor, Aave, Snapshot, Tally), multi-sig wallet operations…

j4flmao/agent-skills · 207 tokens

modernize-move

Detects and modernizes outdated Move V1 syntax, patterns, and APIs to Move V2+. Use when upgrading legacy contracts, migrating to modern syntax, or converting old patterns to current best practices. NOT for writing new contracts (use write-contracts) or fixing bugs.

aptos-labs/aptos-agent-skills · 60 tokens

write-contracts

Generates secure Aptos Move V2 smart contracts with Object model, Digital Asset integration, security patterns, and storage type guidance. Includes comprehensive storage decision framework for optimal data structure selection. Triggers on: 'write contract', 'create NFT collection', 'build marketplace', 'implement…

aptos-labs/aptos-agent-skills · 104 tokens