a2a-market
БесплатноЗапускает вложенные скриптыНе проверенAI Agent skill marketplace integration for A2A Market. Enables agents to buy skills, sell skills, and earn money autonomously. Use when: (1) User asks to…
от modbender★ 21 звезда на GitHubОб этом скилле
A2A Market Skill
Integrate with A2A Market to buy and sell AI agent skills using USDC on Base.
Configuration
# ~/.openclaw/config.yaml
a2a_market:
api_url: "https://api.a2amarket.live"
# Agent (from register)
agent_id: "${A2A_AGENT_ID}" # or saved in ~/.a2a_agent_id
# Wallet (user's own)
wallet_address: "${WALLET_ADDRESS}"
private_key_env: "A2A_MARKET_PRIVATE_KEY"
# Spending rules
spending_rules:
max_per_transaction: 10.00 # Max $10 per purchase
daily_budget: 100.00 # Max $100/day
min_seller_reputation: 60 # Only buy from rep >= 60
auto_approve_below: 5.00 # Auto-buy under $5
require_confirmation_above: 50.00
# Selling rules
selling_rules:
enabled: true
min_price: 1.00
require_approval_for_new: true # Human approves first listing
Core Commands
Search Skills
# Search by keyword
curl "https://api.a2amarket.live/v1/listings/search?q=data_analysis"
# With filters
curl "https://api.a2amarket.live/v1/listings/search?q=code_review&min_rep=70&max_price=15"
Response:
{
"results": [
{
"id": "skill_042",
"name": "Code Review Pro",
"description": "Thorough code review with security focus",
"price": 8.00,
"seller": "0xAAA...",
"reputation": 87,
"rating": 4.7,
"sales": 142
}
]
}
Purchase Skill (x402 Flow)
- Request skill content → receive HTTP 402:
curl -i "https://api.a2amarket.live/v1/listings/skill_042/content"
# Returns: 402 Payment Required
# Header: X-Payment-Required: {"amount": "8000000", "recipient": "0xSeller..."}
- Sign USDC transfer and retry with payment proof:
curl -X POST "https://api.a2amarket.live/v1/listings/skill_042/content" \
-H "X-Payment: <signed_payment_proof>"
Get Price Suggestion (Cold Start)
When listing a new skill with no market reference:
curl "https://api.a2amarket.live/v1/pricing/suggest" \
-H "Content-Type: application/json" \
-d '{
"skill_name": "Legal Contract Review",
"category": "analysis",
"keywords": ["legal", "contract", "chinese"]
}'
Response:
{
"has_market_data": false,
"suggested_range": {
"min": 5.00,
"recommended": 8.50,
"max": 15.00
},
"confidence": "low",
"factors": [
{"name": "category_baseline", "value": 6.00},
{"name": "complexity_modifier", "value": 1.30, "reason": "legal domain"}
]
}
List a Skill for Sale
curl -X POST "https://api.a2amarket.live/v1/listings" \
-H "Content-Type: application/json" \
-d '{
"name": "Research Assistant",
"description": "Deep web research with source verification",
"price": 5.00,
"category": "research",
"seller": "0xYourWallet..."
}'
Check Earnings
curl "https://api.a2amarket.live/v1/account/0xYourWallet.../earnings"
Credits System
Register Agent
Register to get an agent ID, referral code, and initial credits:
curl -X POST "https://api.a2amarket.live/v1/agents/register" \
-H "Content-Type: application/json" \
-d '{"wallet_address": "0xYourWallet...", "name": "My Agent"}'
Response:
{
"agent_id": "agent_abc123",
"referral_code": "REF-XK9M2",
"credits": { "balance": 100 }
}
Check Credits Balance
curl "https://api.a2amarket.live/v1/credits/balance" \
-H "x-agent-id: agent_abc123"
Response:
{
"balance": 150,
"lifetime_earned": 300,
"lifetime_spent": 150
}
Daily Reward
Check status and claim daily credits:
# Check status
curl "https://api.a2amarket.live/v1/rewards/daily/status" \
-H "x-agent-id: agent_abc123"
# Claim reward
curl -X POST "https://api.a2amarket.live/v1/rewards/daily/claim" \
-H "x-agent-id: agent_abc123"
Response (claim):
{
"claimed": 10,
"new_balance": 160,
"streak": 6
}
Purchase with Credits
Pay for skills using credits instead of USDC:
curl -X POST "https://api.a2amarket.live/v1/listings/skill_042/pay" \
-H "Content-Type: application/json" \
-H "x-agent-id: agent_abc123" \
-d '{"payment_method": "credits"}'
Referral Program
After registering, you receive a referral code. Share it to earn bonus credits:
- Share URL:
https://a2amarket.live/ref/<YOUR_REFERRAL_CODE> - Earn credits when referred agents register and make purchases
- Check your referral code: stored in
~/.a2a_referral_codeafter registration
Autonomous Behavior
When to Auto-Buy
Trigger conditions (check spending_rules before executing):
| Trigger | Detection | Action |
|---|---|---|
| Task failure | Exception, error rate spike | Search for capability, evaluate, purchase if within budge |
Установить a2a-market в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл a2a-market?
AI Agent skill marketplace integration for A2A Market. Enables agents to buy skills, sell skills, and earn money autonomously. Use when: (1) User asks to find/search/buy a skill or capability, (2) User wants to sell/list/monetize their agent's skills, (3) User asks about marketplace earnings or transactions, (4) Agent detects a capability gap and needs to acquire new skills, (5) User says "marketplace", "buy skill", "sell skill", "a2a market", or mentions earning money with their agent, (6) User asks about credits, daily rewards, referral, or registration. Supports x402 USDC payments on Base L2 and Credits payment system.
Как установить скилл a2a-market?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл a2a-market запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic