360 Secure SkillHub
360 安全技能中心

CAI: settle-agent-invoice

这是基于CAI的多任务收尾发票结算技能,核心将付款标准化为余额核查→用户确认→转账→出具凭证流程,支持解析收款方、查询转账状态。典型场景包括结算代理准备的发票、支付任务收尾账单等。需先配置CAI_API_KEY,输入发票信息(或补充收款方、金额),输出转账凭证及钱包活动记录,还可生成邮件收据。

bernardtai
bernardtai
热度 16.47
最近更新 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