← Back to Skills Marketplace
bernardtai

CAI: ostium-with-cai

by Bernardtai · GitHub ↗ · v1.0.15 · MIT-0
cross-platform ✓ Security Clean
38
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install ostium-with-cai
Description
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...
README (SKILL.md)

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)

  1. User enables ostium at https://cai.com/automation-settings.
  2. platform_readiness with platform_slug=ostium. If ready_to_trade is false, read blocking_reasons (e.g. OSTIUM_APPROVE_REQUIRED) and guide the user.
  3. If not enrolled: platform_automation_enroll with platform_slug=ostium → user opens url on /act and confirms USDC approve (ostium_arb_v1).
  4. Ensure custodial Arbitrum USDC (+ gas) via wallet_balances or deposit flows if needed.
  5. Place: defi_trade example body:
    • platform_slug: ostium
    • action: place
    • collateral_amount, pair_id, leverage, buy, price, order_type, intent_usd
  6. Status: defi_orders with ?platform_slug=ostium; confirm on-chain with transfer_status using tx_hash from the place response.
  7. Close: defi_trade with action: close, trade_index, optional pair_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_V1partial_live until staging/production smokes pass.
  • ostium must be in server DEFI_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

Usage Guidance
Install only if you intend to let an agent use your CAI account for live Ostium trading. Use the narrowest CAI API scope available, understand that leveraged perps can lose funds and incur fees or gas costs, and require explicit confirmation before any place or close trade action.
Capability Tags
cryptorequires-walletrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The skill's stated purpose is to trade Ostium RWA perpetuals through CAI, and its documented capabilities match that purpose: readiness checks, enrollment, balance checks, order placement, order status, and close actions.
Instruction Scope
Instructions are focused on CAI/Ostium Route B trading and explicitly mention custodial wallet use, Arbitrum USDC, gas, leverage, platform/full API scope, and place/close trading actions. The main gap is that financial-loss risk and explicit pre-trade confirmation are not prominently stated.
Install Mechanism
The artifact contains only a markdown SKILL.md file, no executable scripts, no declared dependencies, and no package-install or background setup behavior.
Credentials
Requiring a CAI API key and platform or full scope is proportionate to custodial trading, but full scope is broad and users should prefer the narrowest scope that supports the intended workflow.
Persistence & Privilege
No persistence, background workers, local indexing, credential harvesting, or privilege escalation behavior is present in the artifact; secrets are configured through the normal openclaw secrets command.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ostium-with-cai
  3. After installation, invoke the skill by name or use /ostium-with-cai
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.15
Route B: defi_trade + defi_orders (canonical cai.com/skill.md §6.1b)
Metadata
Slug ostium-with-cai
Version 1.0.15
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

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.

💬 Comments