360 Secure SkillHub
360 安全技能中心

Send USD Skill

该 Skill 通过 from_agent、to_agent、amount、memo 参数在两个 agent 之间发起 USD 转账,返回 success、transaction_id 与 message,并定义了 INSUFFICIENT_FUNDS、INVALID_RECIPIENT 等错误码;材料未说明支付后端地址、鉴权方式与限额实现。

afeef23
afeef23
热度 71.90
最近更新 2026-05-18 11:57:23
分类:自动化依赖:代码执行应用场景:财务 / 工作流

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add send-usd
Metadata
name
send-usd
description
Send USD from one agent to another.
version
0.1.0
tags
["payment","transfer","usd","money","finance","agent-to-agent"]

Send USD Skill

This skill initiates a USD transfer between two agents.

Input

  • from_agent: string - The sender agent identifier
  • to_agent: string - The recipient agent identifier
  • amount: number - Amount in USD to transfer (default: 1.00)
  • memo: string (optional) - Transaction note

Output

  • success: boolean - Whether the transfer succeeded
  • transaction_id: string - Unique transaction identifier
  • message: string - Status message

Example

Input:

{
  "from_agent": "agentA",
  "to_agent": "agentB",
  "amount": 1.00,
  "memo": "Payment for services"
}

Output (success):

{
  "success": true,
  "transaction_id": "txn_abc123",
  "message": "Successfully transferred $1.00 USD from agentA to agentB"
}

Output (failure):

{
  "success": false,
  "transaction_id": null,
  "message": "Insufficient funds"
}

Error Codes

  • INSUFFICIENT_FUNDS - Not enough balance to complete transfer
  • INVALID_RECIPIENT - Recipient agent not found
  • INVALID_AMOUNT - Amount must be positive and at least $0.01
  • RATE_LIMITED - Too many requests, try again later

Security Notes

  • All transfers require authentication
  • Transactions are logged and auditable
  • Daily transfer limits may apply