360 Secure SkillHub
360 安全技能中心

CAI: settle-agent-invoice

该 Skill 把长任务收尾的付款流程标准化:提取发票信息(收款方、金额、资产、链),查询钱包余额,由用户确认不可逆转账,解析收款地址后执行转账,再查询转账状态与钱包活动作为凭证;主要依赖 CAI 能力与 openclaw 密钥配置。

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

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add settle-agent-invoice
Metadata
name
settle-agent-invoice
description
Agent settles an invoice at the end of a multi-step task using CAI transfer after user confirms payee and amount. Includes resolve_transfer_recipient and transfer_status proof. Powered by CAI.com. Canonical skill v1.0.15.
metadata
{"version":"1.0.15"}

Settle an agent invoice with CAI

Long-running agents often end with "pay this invoice" — vendor email, PDF, or on-chain address. This skill frames that closing payment as a standard CAI flow: balance check → confirm → transfer → proof.

When to Use

  • "Settle the invoice my agent prepared"
  • "Pay the bill at the end of this task"
  • "Send payment to the address on the invoice"
  • "Complete payment and show me proof"

Task flow (agent-native)

  1. Agent extracts invoice: payee, amount, asset, chain (or asks user to clarify).
  2. wallet_balances.
  3. User confirms irreversible transfer details.
  4. resolve_transfer_recipient for @cai.com payees, else to_address.
  5. transfer after explicit yes.
  6. transfer_status + wallet_activity_list; optional mail summarize for receipt.

Quick Setup

openclaw secrets set CAI_API_KEY "your_dashboard_api_key"

Canonical Reference