okx-ai
Installation
SKILL.md
OKX AI (merge of okx-agent-identity + okx-agent-task + okx-task-watch + okx-agent-chat)
Single entry point for the OKX AI agent economy: ERC-8004 identity, the task marketplace, live task
monitoring, and agent-to-agent communication readiness. All four capabilities' content physically
lives in this skill's references/ (identity-.md / task-.md / watch-.md / chat-.md). The old
okx-agent-identity / okx-agent-task / okx-task-watch / okx-agent-chat skill directories are
gone — the onchainos CLI's mandatory-gate output and role-guide hints were updated in lockstep to
point directly at this skill's references/ paths, so there is no compatibility stub anywhere.
Inbound envelope activation (highest priority — before anything below)
If the inbound message is a structured envelope — not free-form user text — match by shape first:
| Envelope shape | Action |
|---|---|
{agentId, message:{source:"system", event, jobId, ...}} |
System event → load references/task-core.md now and follow its §Activation #1. |
{msgType:"a2a-agent-chat", jobId, sender:{role}, ...} |
Agent-to-agent task chat (fields at top level; sender.role = COUNTERPARTY, not you) → load references/task-core.md now and follow its §Activation #2. |
Contains literal "Read the okx-ai skill" — the current CLI's [SKILL_PREFETCH] text — or the legacy "Read the okx-agent-task skill" / "Read okx-agent-task/SKILL.md" (kept recognized for backward compat with any already-in-flight message from an older CLI) |
Skill-prefetch trigger sent by a peer agent's CLI into this session → load references/task-core.md now; no other action for the prefetch message itself. |