CAI: gtrade-with-cai
/install gtrade-with-cai
gTrade with CAI (v1)
CAI E-mode lets an agent open/close gTrade perps on Arbitrum after the user completes one hosted enrollment on cai.com. Trading stays within server caps (DEFI_MAX_TRADE_USD, DEFI_DAILY_USD). There is no per-user limit UI in v1.
When to Use
- "Trade gTrade with my CAI wallet"
- "Enable agent trading on Gains / gTrade"
- "Open a small perp on Arbitrum via CAI"
Task flow (agent-native)
platform_automation_statuswithplatform_slug=gtrade.- If not enrolled:
platform_automation_enroll→ return theurl; user must open/actand confirm (agent must not click for the user). - After
enrolled: true:gtrade_open_tradewithcollateral_amount, optionalpair_index,leverage,buy,intent_usd. - To exit:
gtrade_close_tradewithtrade_index(andpair_indexif required).
Honesty
gap_id: GAP_DEFI_GTRADE_V1—partial_liveuntil your deployment passes enrollment + trade smokes.- v1 enrollment runs
enroll_approveonly (no delegate setup). - Do not use
CAI_EVM_TX_PATHor raw calldata signing — not supported.
Quick Setup
openclaw secrets set CAI_API_KEY "your_dashboard_api_key"
Canonical Reference
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install gtrade-with-cai - After installation, invoke the skill by name or use
/gtrade-with-cai - Provide required inputs per the skill's parameter spec and get structured output
What is CAI: gtrade-with-cai?
Trade on gTrade (Gains Network) via CAI custodial E-mode — platform_automation_enroll, hosted /act confirmation, gtrade_open_trade and gtrade_close_trade wit... It is an AI Agent Skill for Claude Code / OpenClaw, with 31 downloads so far.
How do I install CAI: gtrade-with-cai?
Run "/install gtrade-with-cai" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is CAI: gtrade-with-cai free?
Yes, CAI: gtrade-with-cai is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does CAI: gtrade-with-cai support?
CAI: gtrade-with-cai is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created CAI: gtrade-with-cai?
It is built and maintained by Bernardtai (@bernardtai); the current version is v1.0.15.