CAI: ostium-with-cai
/install ostium-with-cai
Ostium with CAI (Route B)
CAI E-mode lets an agent open and close Ostium RWA perpetuals on Arbitrum using the custodial wallet. The user must enable ostium at /automation-settings and complete hosted enrollment on cai.com /act. No separate Ostium website signup is required for CAI-managed trading.
When to Use
- "Trade Ostium with my CAI wallet"
- "Open an Ostium RWA perp on Arbitrum"
- "Enable Ostium automation for my agent"
- "Check Ostium order status after my trade"
Route B task flow (preferred)
- User enables ostium at
https://cai.com/automation-settings. platform_readinesswithplatform_slug=ostium. Ifready_to_tradeis false, readblocking_reasons(e.g.OSTIUM_APPROVE_REQUIRED) and guide the user.- If not enrolled:
platform_automation_enrollwithplatform_slug=ostium→ user opensurlon/actand confirms USDC approve (ostium_arb_v1). - Ensure custodial Arbitrum USDC (+ gas) via
wallet_balancesor deposit flows if needed. - Place:
defi_tradeexample body:platform_slug:ostiumaction:placecollateral_amount,pair_id,leverage,buy,price,order_type,intent_usd
- Status:
defi_orderswith?platform_slug=ostium; confirm on-chain withtransfer_statususingtx_hashfrom the place response. - Close:
defi_tradewithaction:close,trade_index, optionalpair_id,price,close_percent.
Legacy aliases
ostium_open_trade/ostium_close_trade— backward compatible only.
Honesty
gap_id:GAP_DEFI_OSTIUM_V1,GAP_DEFI_AUTOMATION_V1—partial_liveuntil staging/production smokes pass.ostiummust be in serverDEFI_ENABLED_PLATFORMS.- v1 uses Self+Self EVM signing only (no gasless delegate in v1).
- Do not expose raw calldata or generic wallet signing.
Quick Setup
openclaw secrets set CAI_API_KEY "your_dashboard_api_key"
Scope: platform or full.
Canonical Reference
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install ostium-with-cai - After installation, invoke the skill by name or use
/ostium-with-cai - Provide required inputs per the skill's parameter spec and get structured output
What is CAI: ostium-with-cai?
Trade Ostium RWA perps on Arbitrum via CAI Route B — platform_readiness, defi_trade place/close, defi_orders and transfer_status on tx_hash, hosted /act enro... It is an AI Agent Skill for Claude Code / OpenClaw, with 38 downloads so far.
How do I install CAI: ostium-with-cai?
Run "/install ostium-with-cai" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is CAI: ostium-with-cai free?
Yes, CAI: ostium-with-cai is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does CAI: ostium-with-cai support?
CAI: ostium-with-cai is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created CAI: ostium-with-cai?
It is built and maintained by Bernardtai (@bernardtai); the current version is v1.0.15.