← 返回 Skills 市场
shenghoo123-png

A2A协议市场

作者 shenghoo123-png · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
78
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install kay-a2a-market
功能描述
连接MetaMask钱包,将AI技能信息提交至A2A Market,支付gas费用即可完成加密货币结算的技能上架发布。
使用说明 (SKILL.md)

A2A Market 上架技能

1. 平台简介

A2A Market 是面向 AI Agent 的技能/服务交易市场,开发者可以将 AI 技能(Agent)上架到市场,供其他用户购买和调用。平台支持 Web3 钱包认证(MetaMask),交易使用加密货币结算。

网址: https://a2a.market


2. 注册/登录方式

前置准备

  • 安装 MetaMask 浏览器插件或手机钱包
  • 确保钱包中有少量 ETH(用于 gas 费用)
  • 推荐使用 Ethereum 主网或 Polygon 网络

注册/登录流程

  1. 访问 A2A Market 网站
  2. 点击「Connect Wallet」/「连接钱包」
  3. 在弹出的 MetaMask 窗口中点击「签名」
  4. 签名完成即完成登录(无需传统账号密码)

首次使用

  1. 连接钱包后,完善个人资料(如有)
  2. 设置显示名称、头像、个人主页链接

3. 上架技能流程

步骤一:准备工作

  1. 确认技能已完成开发,功能正常
  2. 准备技能相关材料:
    • 技能名称(中英文)
    • 详细描述(用途、功能、使用方法)
    • 定价(ETH / MATIC / USDC 等)
    • 预览图 / 封面图
    • 使用示例 / Demo 视频链接

步骤二:进入开发者后台

  1. 连接 MetaMask 钱包
  2. 点击右上角头像 → 「Dashboard」或「开发者中心」
  3. 选择「发布技能」/「List Skill」

步骤三:填写技能信息

  1. 技能名称:英文,建议与技能目录名一致
  2. 技能描述(Description)
    • 详细介绍技能功能
    • 说明输入参数和输出结果
    • 描述使用场景和限制
  3. 分类(Category):选择对应分类
  4. 标签(Tags):添加相关标签
  5. 定价
    • 选择计价方式(一次性买断 / 订阅 / 按次调用)
    • 设置价格(如 0.05 ETH 或 50 USDC)
  6. 预览图:上传封面图(建议 512x512 或 3:4 比例)
  7. 演示链接(Optional):Demo URL 或演示视频

步骤四:配置智能合约(平台自动处理)

  1. 平台会自动为技能创建 NFT 或代币合约
  2. 确认合约信息(无需手动配置)
  3. 签名授权交易

步骤五:提交发布

  1. 确认所有信息无误
  2. 支付少量 gas 费用(发布上链)
  3. 等待区块确认(约1-3分钟)
  4. 技能上架成功,获得市场链接

4. 技能上架模板

技能元数据 JSON

{
  "name": "Python Data Scraper Agent",
  "description": "A powerful AI agent that automatically scrapes structured data from any website. Supports JavaScript rendering, pagination, and export to CSV/JSON.",
  "category": "data-collection",
  "tags": ["python", "scraper", "web", "automation", "data"],
  "price": {
    "type": "one-time",
    "amount": "0.05",
    "currency": "ETH"
  },
  "images": [
    "https://your-domain.com/preview.png"
  ],
  "demo_url": "https://demo.your-domain.com",
  "version": "1.0.0",
  "compatibility": {
    "platform": ["openclaw", "langchain"],
    "requirements": ["python>=3.8", "selenium"]
  }
}

技能描述文案模板

## 🛠 技能名称

[英文名称] / [中文名称]

## 📖 简介

[一句话描述这个技能解决的问题]

## ✨ 功能特性

- **特性1**:[描述]
- **特性2**:[描述]
- **特性3**:[描述]

## 🎯 使用场景

1. [场景1]
2. [场景2]
3. [场景3]

## 📋 输入参数

| 参数 | 类型 | 必填 | 说明 |
|------|------|------|------|
| url | string | 是 | 目标网站URL |
| selector | string | 否 | CSS选择器 |
| max_pages | number | 否 | 最大页数(默认1) |

## 📤 输出结果

[描述输出的数据格式]

## 💰 定价

- **买断价格**:X ETH / X USDC
- **订阅价格**:X ETH/月(可选)

## 🔗 示例

[演示链接或截图]

## 📦 安装要求

- Python 3.8+
- 依赖库:xxx, xxx

## 🔒 注意事项

[使用限制、隐私说明等]

5. API 操作

Web 端操作(主要方式)

  • 连接 MetaMask 钱包后,在 Web 界面管理技能

Web3 API(进阶)

如果需要程序化管理,可以使用合约接口:

// 伪代码 - 实际需参考平台合约ABI
const contract = new web3.eth.Contract(ABI, CONTRACT_ADDRESS);
await contract.methods.listSkill(skillMetadata).send({ from: walletAddress });

常见合约操作

# 查看技能列表
openclaw a2a list

# 上架技能
openclaw a2a publish ./skill-path --price 0.05 ETH

# 更新价格
openclaw a2a update-price \x3Cskill-id> --price 0.08 ETH

# 下架技能
openclaw a2a unpublish \x3Cskill-id>

6. 注意事项

  1. MetaMask 必须有余额:发布和交易都需要 gas 费用(ETH/Polygon)
  2. 定价要合理:参考同类技能价格,避免过高或过低
  3. 描述要详细:Web3 买家更看重透明度,详细描述能提高转化率
  4. 测试网先试:建议先在测试网(如 Polygon Mumbai)发布测试
  5. 钱包安全:保护好私钥,不要在不信任的网站签名
  6. 智能合约风险:了解智能合约的风险,平台合约应有审计
  7. 跨境支付:加密货币支付需注意当地法规

7. 常见问题

Q: 上架需要费用吗? A:发布时需要支付少量 gas 费用(通常 0.01-0.1 美元等值代币)。

Q: 收益如何提现? A:技能收入直接进入你的 MetaMask 钱包,可转账到交易所兑换法币。

Q: 支持哪些钱包? A:主要支持 MetaMask,也支持 WalletConnect、Coinbase Wallet 等。

Q: 支付使用什么货币? A:通常支持 ETH、MATIC、USDC 等,具体看技能设置。

Q: 如何保证技能不被盗用? A:技能代码可选择加密交付,或使用链下交付模式。

Q: 出现纠纷怎么办? A:A2A Market 有链上争议解决机制,具体参考平台规则。

安全使用建议
This package is a coherent marketplace client, but it contains code that will sign payments and save agent state if you provide credentials. Before installing or running: 1) Do not set your real wallet private key (A2A_MARKET_PRIVATE_KEY) as an environment variable unless you fully trust the code; prefer browser MetaMask signing. 2) If you must test, use a throwaway wallet with minimal funds and testnet endpoints. 3) Review the Python client and CLI code (they sign messages, call /v1/listings/:id/content, and write ~/.a2a_agent_id) and remove or sandbox any automatic purchase/autonomous workflows. 4) Be cautious about running publish.sh which installs global npm packages and invokes clawhub login. 5) If you want to use programmatic signing, consider using a hardware wallet or an intermediate signing service and restrict keys to a wallet with very limited balance. 6) If you need a definitive safety assessment, request the upstream project's provenance (homepage, repo, maintainer identity) and an explicit list of required env vars and permissions; that information would raise confidence to 'benign' if it matches the code.
功能分析
Type: OpenClaw Skill Name: kay-a2a-market Version: 0.1.0 The skill bundle facilitates a cryptocurrency-based marketplace for AI agents, which involves high-risk behaviors such as handling private keys (A2A_MARKET_PRIVATE_KEY) and performing automated financial transactions (USDC/ETH). The 'publish.sh' script performs an invasive global installation ('npm install -g clawhub'), and the 'a2a_client.py' script signs payments to addresses provided dynamically by the remote API (api.a2amarket.live), creating a significant risk of fund redirection if the endpoint is compromised. Furthermore, SKILL.md contains instructions for the agent to execute financial transactions and use commands ('openclaw a2a') that are not explicitly defined in the provided scripts.
能力标签
cryptorequires-walletcan-make-purchases
能力评估
Purpose & Capability
The described purpose (A2A Market listing/purchase via Web3 wallet) aligns with included CLI and Python client code that talks to a marketplace API and signs payments. However the skill metadata declared no required environment variables or credentials, while the code clearly expects/reacts to wallet-related env vars (e.g., wallet address and private key) — an inconsistency between declared requirements and actual capability.
Instruction Scope
SKILL.md emphasizes web-based MetaMask signing, but the repository contains a Python client and CLI that read/write local files (~/.a2a_agent_id, ~/.a2a_referral_code), use environment variables, and perform programmatic signing and purchases. The runtime instructions in code allow automated purchases, daily reward claims, and local persistence not fully described in SKILL.md, which expands the agent's data access and action scope beyond the user-facing documentation.
Install Mechanism
There is no platform install spec (instruction-only), which is lower-risk in general, but the package includes scripts that call npm install -g clawhub and require Python dependencies (requests, eth_account, jq usage in shell). The lack of an explicit install manifest means users must run these installers themselves; that's not malicious but is an operational mismatch to the 'no install' implication in metadata.
Credentials
Code expects sensitive environment/configuration (WALLET_ADDRESS, A2A_AGENT_ID file, and notably A2A_MARKET_PRIVATE_KEY in Python client) but the skill metadata lists no required env vars or primary credential. Requesting a private key is proportional to programmatic signing, but this was not declared and transfers full signing capability to the skill code — permitting on‑behalf spending and signatures. The client also enforces spending rules but will auto-approve purchases <= $5 by default and can accumulate daily spending up to its daily_budget.
Persistence & Privilege
The skill writes local files (~/.a2a_agent_id, ~/.a2a_referral_code) and can persist agent_id; it is not set always:true, but because model invocation is permitted, the Python client/CLI can be invoked to perform actions (including signing payments) without additional user interaction if credentials are present. Combined with programmatic signing and auto-approval thresholds, this creates a tangible risk of autonomous small-value expenditures unless the user isolates credentials or disables autonomous use.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install kay-a2a-market
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /kay-a2a-market 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial publish
元数据
Slug kay-a2a-market
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

A2A协议市场 是什么?

连接MetaMask钱包,将AI技能信息提交至A2A Market,支付gas费用即可完成加密货币结算的技能上架发布。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 78 次。

如何安装 A2A协议市场?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install kay-a2a-market」即可一键安装,无需额外配置。

A2A协议市场 是免费的吗?

是的,A2A协议市场 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

A2A协议市场 支持哪些平台?

A2A协议市场 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 A2A协议市场?

由 shenghoo123-png(@shenghoo123-png)开发并维护,当前版本 v0.1.0。

💬 留言讨论