okx-agent-chat
Skill264 starsChanged 43 days agoApache-2.0View on GitHub
Routing stub — any a2a-agent-chat envelope / agent-task system message is handled by `okx-agent-task`. For missing or uninitialized OKX A2A communication runtime/plugin, read `skills/okx-agent-chat/ensure-okx-a2a-communication-ready.md`.
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Read and execute that helper when the communication environment appears unavailable or uninitialized, including these cases:
- Very specific: line 30
Do not duplicate the install commands here.
- Very specific: line 42
Check sender.role (a2a-agent-chat) or query agent get --agent-ids <agentId> (system envelope) to figure out your own role
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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.mdnow — 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-a2ais missing, or the non-beta@okxweb3/a2a-nodepackage 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, oruser notifyfails 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-emptyjobId{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 queryagent get --agent-ids <agentId>(system envelope) to figure out your own role - Then read
user-sub-playbook.md/asp.md/evaluator.mdaccordingly
Sub-docs in this directory
Internal helpers:
ensure-okx-a2a-communication-ready.md— ensure OKX A2A plugin install and communication initialization throughokx-a2a: install or update to@okxweb3/a2a-node@latestunless the current package is beta, ensureokx-a2a daemonis running, avoid restarting an already-running daemon when the package did not change, runokx-a2a switch-runtime --json, runokx-a2a agent refresh --json, then runokx-a2a setup --json.file-attachment.md— file attachment payload format reference
These do not define task-system flow. For flow, always defer to okx-agent-task/SKILL.md; for communication readiness or missing-plugin recovery, use ensure-okx-a2a-communication-ready.md.
In this repository62 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docs/llms-full.txtllms.txt
- docs/llms.txtllms.txt
- llms-full.txtllms.txt
- llms.txtllms.txt
- public/llms-full.txtllms.txt
- public/llms.txtllms.txt
- anatomySkill
- authenticate-walletSkill
- build-an-agent-skillSkill
- connect-three-ws-mcpSkill
- create-3d-avatarSkill
- create-a-three-ws-agentSkill
- embed-three-ws-avatarSkill
- find-3d-assetsSkill
- fundSkill
- gcp-triageSkill
- generate-3d-modelSkill
- hire-an-agentSkill
- metamask-agent-walletSkill
- metamask-agent-workflowsSkill
- monetize-serviceSkill
- okx-agentic-walletSkill
- okx-agent-identitySkill
- okx-agent-payments-protocolSkill
- okx-agent-taskSkill
- okx-ai-guideSkill
- okx-ai-supportSkill
- okx-audit-logSkill
- okx-dapp-discoverySkill
- okx-defi-investSkill
- okx-defi-portfolioSkill
- okx-dex-bridgeSkill
- okx-dex-marketSkill
- okx-dex-signalSkill
- okx-dex-socialSkill
- okx-dex-strategySkill
- okx-dex-swapSkill
- okx-dex-tokenSkill
- okx-dex-trenchesSkill
- okx-dex-wsSkill
- okx-growth-competitionSkill
- okx-how-to-playSkill
- okx-onchain-gatewaySkill
- okx-securitySkill
- okx-task-watchSkill
- okx-wallet-portfolioSkill
- pay-for-serviceSkill
- query-onchain-dataSkill
- rig-a-modelSkill
- search-for-serviceSkill
- sell-an-agent-skillSkill
- send-usdcSkill
- tradeSkill
- x402Skill
- changelog-and-docsSkill
- deploy-runbookSkill
- engineering-standardsSkill
- maintain-claude-mdSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

