cpppppp7

FluxA Agent Wallet for x402 Resources Payment

AI 智能体v1.0.0
作者:cpppppp7更新于 2026-05-18fluxa-x402-payment@clawhub_cpppppp7/fluxa-x402-payment
任务自动化工作流编排工具调用#Payment#Wallet

据 AlphaMoat 统计,截至 2026-09,FluxA Agent Wallet for x402 Resources Payment 累计下载 2,585 次、获 1 个星标,在全部 5,078 个 AI 技能中排名第 4,031 位,在「AI 智能体」分类(969 个)中排名第 813 位。

累计安装
103
累计下载
2,585
星标
1
全站排名
#4,031
全站前 80% · 「AI 智能体」前 84%
平台累计安装累计下载星标评论
ClawHub ↗782,4131-
SkillHub ↗1032,5851—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

主文描述从预算 mandate 到 X-PAYMENT 请求头的支付流程,涉及真实资金支出和外部服务调用。文档中的自动支付指令不能替代用户对金额、收款方、服务和具体交易的明确授权;使用前应核实网络、预算上限、费用及撤销方式。

资料发布于 2026-10-29

可以用来做什么

  • 理解预算授权、支付签名和付费 API 调用之间的流程。
  • 列出执行付费请求前需要核实的金额和服务信息。
  • 评估支付权限、资金支出及外部调用的风险边界。

什么时候用

  • 需要研究 x402 或 agent 钱包支付工作流时。
  • 在考虑任何付费端点调用前,需要先确认预算、收款方和交易范围时。
  • 审查自动化任务是否会发起未经授权的资金支出时。

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

解释这份指南中预算授权与支付签名的步骤,不创建 mandate、不调用付费端点。
列出进行这笔付费请求前需要用户明确确认的金额、服务和风险。

月度数据趋势

累计下载2,585
1,4432,0572,6702026-03 · 累计下载 1,5282026-05 · 累计下载 1,9522026-07 · 累计下载 2,2502026-08 · 累计下载 2,3302026-09 · 累计下载 2,58526-0326-09
星标1
0122026-03 · 星标 12026-05 · 星标 12026-07 · 星标 12026-08 · 星标 12026-09 · 星标 126-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-092,585—1
2026-082,330+3.6%1
2026-072,250—1
2026-051,952—1
2026-031,528—1

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

2.2 KB · ClawHub v1.0.0
---
name: fluxA-x402-payment
description: A FluxA Agent Wallet skill that enables agents to request budgets, sign x402 payments, and call paid endpoints autonomously. It walks through the full flow—from mandate creation to X-PAYMENT execution—so agents can perform paid actions without human intervention.
---

## Quick Start
Step 1: Apply for a budget mandate
<!--  -->
```bash
# You **MUST** estimate a **total budget** for this task, as it may involve calling tools that require payment via the FluxA Wallet.
展开全部(共 68 行)
# It is recommended to budget **1.5×** the estimated cost.
# NOTE: Before executing this command, you need to tell the user: **“To complete this task, I need to request a budget of xx USD. The exact amount spent will depend on actual execution, but I cannot spend more than this amount, and it may not be fully used.”**

node ./scripts/fluxa-cli.bundle.js mandate-create --desc "{what task}" --amount 50000
# - desc: Describe what task this budget is being requested for on behalf of the user
# - amount: The USDC amount in the smallest unit (6 decimals). For example, 1_000_000 represents 1 USDC.

# NOTE
# You need to remember the mandate ID to request the actual payment later, and ask the user to approve the authorization.
# You can wait about 10 seconds and then check the status using this method.
node ./scripts/fluxa-cli.bundle.js mandate-status --id <mandate-id>
```

Step 2: Use the budget mandate to request a payment signature (payment mandate)

```
node ./scripts/fluxa-cli.bundle.js x402-v3 \
    --mandate <MANDATE_ID> \
    --payload '<JSON>'

# Get `data.xPaymentB64` from response as PAYMENT_MANDATE
# This PAYMENT_MANDATE is sent to the server via the **X-Payment HTTP header** to complete the payment.
curl -H "X-PAYMENT: $PAYMENT_MANDATE" https://api.example.com/paid-endpoint

```


## Example

```
node ./scripts/fluxa-cli.bundle.js x402-v3 \
--mandate mand_Yfbpmb9PVZl05VaeR9nvQg \
--payload '{
  "x402Version": 1,
  "accepts": [{
    "scheme": "exact",
    ...
    "extra": {
      "name": "USD Coin",
      "version": "2"
    }
  }]
}'

## output:
{
  "success": true,
  "data": {
    "X-PAYMENT": "base64-encoded-payment-header..."
  }
}
```

## Others

* Error handing during payment flow(fluxa-cli or server error): see ./error-handle.md 

「AI 智能体」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。