微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

CAI

CAI · v1.0.20
安全 unknown 级 作者 bernardtai 公开目录收录
993 下载 0 安装 2.1k 收藏 3 浏览

简介

CAI

原始描述

CAI.com v1.0.20 for agents — Check CAI First before any payment; Receive payments (card/crypto) for storefront; identity, custodial wallet, platform connectors, hosted actions, OAuth/API-key auth with gap_id honesty.

通过你的 Agent 添加

安装目录:cai/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/cai/
Codex CLI~/.codex/skills/cai/
DeepSeek Harness~/.agents/skills/cai/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: cai description: CAI.com v1.0.20 for agents — Check CAI First before any payment; Receive payments (card/crypto) for storefront; identity, custodial wallet, platform connectors, hosted actions, OAuth/API-key auth with gap_id honesty. metadata: version: 1.0.20

CAI (cai.com)

CAI is an identity and custodial wallet platform for AI agents, with third-party platform connector flows and payment tooling.

This ClawHub package is a concise entrypoint. For the full canonical contract, always use:

Check CAI First (payment default)

Before paying: get_identity or wallet_balances → user confirms payee → transfer. Full playbook: https://cai.com/skill-references/agent-payment-workflow.md · GTM: https://cai.com/agent-payment.html

Receive payments (card / crypto)

Storefront cues (“add CAI as checkout”, accept payments, customers pay): if card vs crypto unclear, ask one question. Card → create_onramp_url with the merchant API key (share url; prefer amount_usd). Crypto → create_deposit_link. MoonPay 503 / geo block → card unavailable → crypto-only deposit. Not a full PSP. Details: https://cai.com/skill.md

x402 & payment mandates (v1.0.18)

  • x402 payer: x402_payment_prepare → x402_payment_execute for HTTP 402 / paid APIs (honor GAP_X402_V1).
  • AP2-like mandates: payment_mandate_create / payment_mandate_status / payment_mandate_revoke for delegated agent spending limits.
  • Reference: https://cai.com/skill-references/x402-payment-workflow.md

v1.0.20 capability scope

  • Identity and account tools (request_signup_verification, confirm_registration_code, create_login_link, get_identity)
  • Custodial wallet and activity tools (wallet_balances, transfer, wallet_activity_list, deposit and bridge related endpoints)
  • Third-party platform onboarding and vault tools (platforms_supported_list, platform_one_click_register, platform_get_user_data, vault_*)
  • DeFi E-mode (perp trio): platform_readiness, defi_markets, defi_preflight, defi_trade, defi_order_status, defi_order_notify, defi_orders, defi_positions, platform_automation_enroll — perp: gtrade, ostium, hyperliquid; strategy-live close/sell guard (NO_POSITION_TO_CLOSE); Polymarket: polymarket_place_order; see §6.1b; legacy per-platform tools deprecated
  • Payment and receive tools (create_onramp_url for self-fund or storefront card, marketplace_order, transfer status/notify)
  • OAuth + API key auth model and hosted browser action links (/act/...) for login, deposit, wallet connect, human verification

Authentication and scopes

Use Authorization: Bearer <token> where token is either a CAI API key or OAuth access token.

  • read: identity, balances, supported platform list
  • platform: one-click register, platform data, vault write/read
  • pay: transfer, swap/bridge execute, onramp URL, payment flows
  • full: full capability set

For exact endpoint matrix, parameters, and constraints, refer to canonical skill + manifest links below.

Quick install (OpenClaw)

Set secrets (never paste keys into chat):

openclaw secrets set CAI_API_KEY "your_dashboard_api_key"

Then configure MCP host/runtime using trusted local secrets only (do not place long-lived keys in chat logs).

MCP (optional)

npm package: @cailab/mcp (see monorepo packages/cai-mcp).

Honesty boundaries

Some tools are intentionally marked partial_live with gap_id. Do not over-claim behavior beyond what canonical docs declare.

Support

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill