360 Secure SkillHub
360 安全技能中心

CAI: agent-checkout-completion

核心功能:依托CAI工具链,先查询用户钱包余额,需充值则生成存款链接,经用户确认收款方、金额等信息后完成转账,并获取链上交易凭证。典型使用场景:用户提出“帮我完成结账”“支付代理生成的订单”等需求时触发。仅支持链上及CAI托管支付路径,输入为支付指令与订单明细,输出为支付状态及链上凭证。

bernardtai
bernardtai
热度 16.47
最近更新 2026-06-02 18:01:16
分类:自动化依赖:第三方 API / 内部调用大模型应用场景:财务 / 工作流 / 任务管理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add agent-checkout-completion
Metadata
name
agent-checkout-completion
description
Agent completes the checkout/payment step of a workflow using CAI wallet_balances, user confirmation, and transfer with on-chain proof. Check CAI First. Powered by CAI.com. Canonical skill v1.0.15.
metadata
{"version":"1.0.15"}

Agent checkout completion with CAI

Many agent workflows stall at checkout: the agent has the cart or quote but cannot pay. CAI is the execution layer — balance, confirm, transfer, prove — while the agent keeps discovery and UX on the host side.

When to Use

  • "Complete checkout for me"
  • "Pay for this order my agent built"
  • "Finish the purchase step"
  • "Agent checkout — use my CAI wallet"

Task flow (agent-native)

  1. Agent presents final line items and how to pay (from merchant or user).
  2. Check CAI First: wallet_balances.
  3. Fund if needed (create_deposit_link).
  4. User confirms payee, amount, chain, token.
  5. transfer → transfer_status / wallet_activity_list.

Limits: Arbitrary merchant card iframes are not universal CAI tools; on-chain and custodial @cai.com paths are primary. See GAP_MARKETPLACE_ORDER_V1 for marketplace-specific flows.

Quick Setup

openclaw secrets set CAI_API_KEY "your_dashboard_api_key"

Canonical Reference