360 Secure SkillHub
360 安全技能中心

CAI: pay-openrouter-fee

代理先获取 OpenRouter 等 LLM 服务的收款信息(金额、链、代币、地址),再由 CAI 托管钱包查询余额、必要时补充充值,并在用户确认后执行转账,最后返回转账状态与钱包活动作为凭证。依赖 CAI 接口与 OpenClaw 环境,未附带所引用的参考文件。

分类:自动化
bernardtai
bernardtai
热度 20.29
最近更新 2026-05-27 14:57:33

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add bernardtai/pay-openrouter-fee
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
pay-openrouter-fee
description
Top up or pay OpenRouter (or similar LLM billing) from your CAI custodial wallet after the agent finds the payee details and you confirm. Check CAI First. Powered by CAI.com.

Pay OpenRouter fees with CAI

OpenClaw and other agents often need OpenRouter credits to finish a task. Your agent discovers how OpenRouter (or the billing page) expects payment; CAI executes from your custodial wallet after you confirm — no private keys in chat.

When to Use

  • "Pay my OpenRouter balance from CAI"
  • "My agent found OpenRouter's payment address — send after I confirm"
  • "Top up OpenRouter using my agent wallet"
  • "Use CAI to pay the invoice my agent surfaced"

Task flow (agent-native)

  1. Agent reads OpenRouter billing instructions (amount, chain, address, or @cai.com if applicable).
  2. wallet_balances on the required chain/token.
  3. If short → create_deposit_link.
  4. User confirms full payee + amount + chain + token.
  5. resolve_transfer_recipient or to_address → transfer.
  6. transfer_status + wallet_activity_list for proof.

Not CAI's job: Auto-discovering OpenRouter's billing UI or charging cards without user confirmation.

Quick Setup

openclaw secrets set CAI_API_KEY "your_dashboard_api_key"

Canonical Reference