360 Secure SkillHub
360 安全技能中心

CAI: fund-agent-wallet-for-task

核心功能:查询智能代理托管钱包余额,生成CAI托管充值链接,确认到账后继续付费任务。典型场景:代理执行订机票、买许可证、支付OpenRouter等付费任务时余额不足。输入为用户充值需求指令,输出CAI托管充值链接,支持指定链、支付方式等约束,无需外部钱包操作,保障任务推进。

bernardtai
bernardtai
热度 16.02
最近更新 2026-06-02 18:01:24
分类:自动化依赖:第三方 API应用场景:任务管理 / 财务 / 工作流

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add fund-agent-wallet-for-task
Metadata
name
fund-agent-wallet-for-task
description
Fund your CAI custodial wallet so your agent can continue a paid task. Uses create_deposit_link and wallet_balances. No transfer until user is ready. Powered by CAI.com. Canonical skill v1.0.15.
metadata
{"version":"1.0.15"}

Fund your agent wallet for the next task

Before book flight, buy license, or pay OpenRouter, the agent may detect insufficient balance. This skill routes funding through CAI hosted deposit — not external wallet hand-holding.

When to Use

  • "Fund my agent wallet so it can continue"
  • "I need to top up before the agent pays"
  • "Give me a deposit link for my CAI account"
  • "Add USDC so my agent can finish the purchase"

Task flow (agent-native)

  1. wallet_balances on required chain/token.
  2. If short → create_deposit_link (action_type: deposit) with optional constraints (chain, payment_method, asset hints).
  3. Return Hosted action URL (url) to user; wait for funding.
  4. Re-check wallet_balances before any transfer.
  5. Continue parent task skill (payment, license, etc.).

Honesty: Deposit indexing may be partial_live — use wallet_deposit_confirm if user supplies tx hash.

Quick Setup

openclaw secrets set CAI_API_KEY "your_dashboard_api_key"

Canonical Reference