okx-agent-chat

okx-agent-chat is a skill for Claude Code, Codex from nirholas/three.ws. It costs 63 tokens per session (862 once invoked), scanned A, original, Apache-2.0.

A routing helper for OKX agent-to-agent chat and task messages. It sends those messages to the separate task-handling flow and includes a setup helper when the communication system is missing or not ready.

In plain words
What is it for?
Routing agent task messages, checking communication readiness, and helping initialize or troubleshoot the OKX agent communication environment.
Why use it?
It prevents chat messages from being handled by the wrong process. It also provides a path for preparing the communication runtime when setup or sending fails.

Skill for Claude CodeCodex

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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/nirholas/three.ws/okx-agent-chat
Any agent
npx skills add nirholas/three.ws --skill okx-agent-chat
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 42 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-agent-chat

README.md
[![agentmods](https://agentmods.dev/badge/skills/nirholas/three.ws/okx-agent-chat.svg)](https://agentmods.dev/skills/nirholas/three.ws/okx-agent-chat)
Your own site
<a href="https://agentmods.dev/skills/nirholas/three.ws/okx-agent-chat"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/okx-agent-chat.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 862 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00063 $0.00862
Opus 5 $0.00032 $0.00431
Sonnet 5 $0.00013 $0.00172
Haiku 4.5 $0.00006 $0.00086

Measured 4d ago against content hash e1e4196519fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

okx-agent-chat 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 4d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/detect-okx-a2a-runtime.sh, scripts/ensure-okx-a2a-ready.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-agent-chat/SKILL.md · 53 lines

How it starts

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

OKX Agent Chat

🛑 This is a routing stub, not a flow. Any message you landed here for is part of the agent task system (User ↔ ASP ↔ Evaluator).

Read skills/okx-agent-task/SKILL.md now — that file has the routing table, role files (user-sub-playbook.md / asp.md / evaluator.md), and the full state-machine handling.

Do not try to handle the message from this directory — there are no flows here.

Communication Readiness Fallback

This directory does own one bootstrap helper: ensure-okx-a2a-communication-ready.md.

Read and execute that helper when the communication environment appears unavailable or uninitialized, including these cases:

  • okx-a2a is missing, or the non-beta @okxweb3/a2a-node package has not been checked against latest.
  • OpenClaw / Hermes / Node communication runtime or plugin setup appears missing.
  • okx-a2a daemon start, switch-runtime, agent refresh, setup, session create, session send, xmtp-send, or user notify fails with a communication/runtime/plugin initialization error.
  • A task flow needs communication but the user already has an existing User / ASP / Evaluator agent, so normal post-agent-create communication setup may not have run in this environment.

Do not duplicate the install commands here. The helper owns the Node.js check, okx-a2a install/update policy, daemon start/restart policy, runtime switch, agent communication refresh, and final okx-a2a setup --json contract.

When you landed here

You likely matched on one of these inbound shapes:

  • msgType: "a2a-agent-chat" envelope with a non-empty jobId
  • {agentId, message: {source: "system", event, jobId, ...}} chain-event notification
  • Any other agent-to-agent / task-system message

For all of them, the correct entry is skills/okx-agent-task/SKILL.md. After reading SKILL.md:

  • Check sender.role (a2a-agent-chat) or query agent get --agent-ids <agentId> (system envelope) to figure out your own role
  • Then read user-sub-playbook.md / asp.md / evaluator.md accordingly

Read the full file on GitHub · 53 lines

Files

What ships with it

5 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. 4d ago First seen · 53 lines · 63 tokens per session scan A e1e4196519fb

Subscribe to this mod's changes

okx-agent-chat is a skill published in the GitHub repository nirholas/three.ws (110 stars, last pushed today), licensed Apache-2.0. It adds 63 tokens to every session and 862 once invoked, about $0.0003 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

blender-mcp

Drive Blender via the catalog blender MCP, with bpy recipes.

GGbond-bo/MemOmics-Agent · 17 tokens

blender-mcp

Control Blender directly from Gauss via socket connection to the blender-mcp addon. Create 3D objects, materials, animations, and run arbitrary Blender Python (bpy) code. Use when user wants to create or modify anything in Blender.

math-inc/OpenGauss · 54 tokens

blender-mcp

Control Blender directly from Hermes via socket connection to the blender-mcp addon. Create 3D objects, materials, animations, and run arbitrary Blender Python (bpy) code. Use when user wants to create or modify anything in Blender.

raphaelmansuy/edgecrab · 53 tokens

blender-mcp

Control Blender directly from Hermes via socket connection to the blender-mcp addon. Create 3D objects, materials, animations, and run arbitrary Blender Python (bpy) code. Use when user wants to create or modify anything in Blender.

johnson7788/MultiUserClaw · 53 tokens

3d-website-architect

Expert skill for designing, building, and deploying modern premium websites with advanced animations and 3D interactive experiences using Three.js, React Three Fiber, GSAP, and Framer Motion. Use this skill whenever the user wants to build a website with 3D elements, create an immersive web experience, add interactive…

deveshpunjabi/3d-website-skill · 240 tokens

blender-mcp

Control Blender directly from Hermes via socket connection to the blender-mcp addon. Create 3D objects, materials, animations, and run arbitrary Blender Python (bpy) code. Use when user wants to create or modify anything in Blender.

Tommy-yw/RunbookHermes · 53 tokens