← 返回 Skills 市场
bernardtai

CAI: gtrade-with-cai

作者 Bernardtai · GitHub ↗ · v1.0.15 · MIT-0
cross-platform ⚠ suspicious
31
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (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

安全使用建议
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.
能力标签
cryptorequires-walletrequires-sensitive-credentials
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gtrade-with-cai
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gtrade-with-cai 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.15
Use-case wrapper → https://cai.com/skill.md (DeFi E-mode aligned)
元数据
Slug gtrade-with-cai
版本 1.0.15
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 31 次。

如何安装 CAI: gtrade-with-cai?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install gtrade-with-cai」即可一键安装,无需额外配置。

CAI: gtrade-with-cai 是免费的吗?

是的,CAI: gtrade-with-cai 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

CAI: gtrade-with-cai 支持哪些平台?

CAI: gtrade-with-cai 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 CAI: gtrade-with-cai?

由 Bernardtai(@bernardtai)开发并维护,当前版本 v1.0.15。

💬 留言讨论