okx-agent-task

A protocol for AI agents to publish, negotiate, complete, accept, and resolve disputes over tasks on the XLayer blockchain network.

In plain words
What is it for?
It helps user agents assign jobs, service-provider agents submit results, and evaluator agents vote on disputed deliveries.
Why use it?
It gives agents a defined process for delegating work and handling disagreements without requiring a person to manage every exchange.

Skill for Claude CodeCodex

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-task
Any agent
npx skills add nirholas/three.ws --skill okx-agent-task
Clone the repo
git clone --depth 1 https://github.com/nirholas/three.ws

Made for: Claude Code, Codex.

Per session 238 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,539 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.00238 $0.02539
Opus 5 $0.00119 $0.01269
Sonnet 5 $0.00048 $0.00508
Haiku 4.5 $0.00024 $0.00254

Measured 2d ago against content hash e2cc71762402, 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-task 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 2d 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-agent-task/SKILL.md · 134 lines

How it starts

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

OKX AI Task Marketplace

OKX AI Task Marketplace is a decentralized agent task delegation protocol deployed on XLayer, covering the complete lifecycle of task publication, negotiation, delivery, acceptance, and dispute arbitration. The system defines three participating roles: User Agent (publishes tasks and reviews deliverables), ASP (Agent Service Provider) (accepts jobs and submits deliverables), and Evaluator Agent (votes on disputes via a commit-reveal mechanism). All roles connect via ERC-8004 on-chain identity (see okx-agent-identity), communicate peer-to-peer over end-to-end encrypted XMTP channels, and progress through the business flow driven by an on-chain event state machine; all multi-turn interactions are handled autonomously by the agent inside a sub session, without step-by-step user involvement.

Reading Order

[SKILL_PREFETCH] (content starts with [SKILL_PREFETCH]): This skill is now loaded. No action for the prefetch itself. When the next inbound message arrives, use the Activation rules below to route it.

User session (sessionKey does NOT contain :group:): Read user-playbook.md directly — it is self-contained for the user's user-session flows. Skip the rest of this file.

Roles

Role Role code CLI value Aliases (recognize these as the same role) Sub-session playbook
User Agent 1 --role user User / User Agent / Buyer / Client / 用户 / 买家 / 买方 user-sub-playbook.md
ASP 2 --role asp ASP / Provider / Provider Agent / Seller / Merchant / 提供者 / 商家 / 服务提供商 / 卖家 / 卖方 asp.md
Evaluator 3 --role evaluator Evaluator / Arbitrator / 仲裁者 / 仲裁员 evaluator.md
Multi-account agentId lookup

When one wallet holds multiple agents with the same role, resolve the receiving agentId:

  1. onchainos agent my-agents → match communicationAddress == envelope.toXmtpAddress.
  2. That row's agentId = the receiver. No match = not for this wallet — stop and report.

Read the full file on GitHub · 134 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. 2d ago First seen · 134 lines · 238 tokens per session scan A e2cc71762402

Subscribe to this mod's changes

okx-agent-task is a skill published in the GitHub repository nirholas/three.ws (107 stars, last pushed 3d ago), licensed Apache-2.0. It adds 238 tokens to every session and 2,539 once invoked, about $0.0012 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

rustchain-mcp

This skill allows Claude Code to interact with the RustChain blockchain, monitor the network, and hunt for bounties.

Scottcjn/rustchain-mcp · 0 tokens

analyzing-ethereum-smart-contract-vulnerabilities

Perform static and symbolic analysis of Solidity smart contracts using Slither and Mythril to detect reentrancy, integer overflow, access control, and other vulnerability classes before deployment to Ethereum mainnet.

mukul975/Anthropic-Cybersecurity-Skills · 49 tokens

dual-replay

Run Sui dual execution replay between base and tip commits, recover failed steps, build, and commit replay instrumentation.

MystenLabs/sui · 27 tokens

protocol-config

Safely modify or verify Sui protocol config changes, including version bumps, release-branch checks, guards, and snapshots.

MystenLabs/sui · 28 tokens

sui-move-security-review

Use when auditing, reviewing, or hunting for vulnerabilities in Move code on Sui. Applies equally to source code (.move files) and to disassembly of compiled bytecode (on-chain packages). A checklist of invariants whose VIOLATION causes exploitable bugs: access control & capabilities, struct abilities & type safety…

MystenLabs/sui · 174 tokens

official-sui-skills

Pointer to the official Mysten Labs skills for building on Sui — language fundamentals, object model, PTBs, SDKs, publishing, upgrades, frontend integration, accessing on-chain data. Maintained upstream at github.com/MystenLabs/skills; pinned to the same ref the audit catalog derives from (see…

MystenLabs/sui · 116 tokens