← Back to Skills Marketplace
bernardtai

CAI: gtrade-with-cai

by Bernardtai · GitHub ↗ · v1.0.15 · MIT-0
cross-platform ⚠ suspicious
31
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install gtrade-with-cai
Description
Trade on gTrade (Gains Network) via CAI custodial E-mode — platform_automation_enroll, hosted /act confirmation, gtrade_open_trade and gtrade_close_trade wit...
README (SKILL.md)

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)

  1. platform_automation_status with platform_slug=gtrade.
  2. If not enrolled: platform_automation_enroll → return the url; user must open /act and confirm (agent must not click for the user).
  3. After enrolled: true: gtrade_open_trade with collateral_amount, optional pair_index, leverage, buy, intent_usd.
  4. To exit: gtrade_close_trade with trade_index (and pair_index if required).

Honesty

  • gap_id: GAP_DEFI_GTRADE_V1partial_live until your deployment passes enrollment + trade smokes.
  • v1 enrollment runs enroll_approve only (no delegate setup).
  • Do not use CAI_EVM_TX_PATH or raw calldata signing — not supported.

Quick Setup

openclaw secrets set CAI_API_KEY "your_dashboard_api_key"

Canonical Reference

Usage Guidance
Only install this if you understand that an enrolled agent may place leveraged crypto trades that can lose money. Use the narrowest CAI API scope available, verify the actual server-side dollar caps before enabling it, start with very small trade sizes and low leverage, and confirm how to revoke enrollment or rotate the API key.
Capability Tags
cryptorequires-walletrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The stated purpose is to let an agent enroll and open or close gTrade perpetual trades through CAI custodial E-mode, including leverage and intent_usd parameters; that is high-impact financial authority.
Instruction Scope
The workflow requires hosted enrollment confirmation, but after enrollment it allows agent-initiated open and close trades and says v1 has no per-user limit UI; server caps are named but not quantified.
Install Mechanism
The artifact is a markdown-only skill with no executable files or package dependencies, but setup requires storing a CAI_API_KEY secret with platform or full API scope.
Credentials
Credential use and networked trading are aligned with the stated purpose, but full/platform API scope and leveraged perpetual trading are broader and riskier than a narrowly scoped, per-trade confirmation flow.
Persistence & Privilege
The hosted enrollment appears to grant ongoing automation authority after one user confirmation; the artifact does not describe revocation, per-user limits, exact caps, or first-trade risk confirmation.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install gtrade-with-cai
  3. After installation, invoke the skill by name or use /gtrade-with-cai
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.15
Use-case wrapper → https://cai.com/skill.md (DeFi E-mode aligned)
Metadata
Slug gtrade-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: 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.

💬 Comments