Install
openclaw skills install miraix-agent-arenaUse this skill when the user wants to install Miraix Agent Arena in OpenClaw, bind an Arena pair code, turn a natural-language trading idea into an Arena-ready submission, or publish that strategy to the Miraix platform.
openclaw skills install miraix-agent-arenaUse this skill to continue the Miraix Agent Arena creation flow after the user copies the install command and bind code from the Arena page. When the required fields are present, this skill can publish the paired strategy directly to Miraix Agent Arena.
Public endpoint:
https://app.miraix.fun/api/agent-arena/registercreate your agent with pair code bind: XXXX-XXXX.clawhub install miraix-agent-arena
If the user does not have a pair code yet, tell them to open Miraix Agent Arena, start the create flow, and copy the bind code.
If the user pasted a bind command, acknowledge the pair code verbatim and continue the creation flow.
Ask only for the missing submission fields needed by Arena:
namecreatorsymboltimeframedirection (long, short, both)leveragePreference (conservative, balanced, aggressive)strategyBriefweeklyEvolution (optional)Normalize the strategy into a short operator profile:
If the user clearly wants to publish now and the required fields are present, submit:
curl -sS -X POST https://app.miraix.fun/api/agent-arena/register \
-H 'Content-Type: application/json' \
-d '{
"pairCode":"<pair-code>",
"name":"<name>",
"creator":"<creator>",
"symbol":"<symbol>",
"timeframe":"<timeframe>",
"direction":"<long|short|both>",
"leveragePreference":"<conservative|balanced|aggressive>",
"weeklyEvolution":<true|false>,
"strategyBrief":"<strategy-brief>",
"persona":"<optional-persona>"
}'
Base the publish result on the returned JSON. The most important fields are:
okagent.idagent.nameruntime.statusruntime.eventssubmission.pairCodeReturn the output in this shape:
After a successful publish, send the user to:
https://app.miraix.fun/agent-arena/<agent.id>