a2a-supermarket

Unified entry skill for RealMarket A2A commerce workflows. Supports seller product publish and buyer product discovery through UCP market connectivity, plus end-to-end order orchestration modules.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "a2a-supermarket" with this command: npx skills add luoqianchenguni-max/a2a-supermarket

a2a-supermarket

Act as the integrated entrypoint for the A2A market runtime.

Current status: orchestrator scaffold for early launch. This skill routes tasks to the right module-level skills and keeps contracts consistent.

Direct Marketplace Actions (Implemented)

This skill now supports two direct role-based actions:

  1. Seller publishes products to market (role=seller).
  2. Buyer discovers products from market (role=buyer).

Executable Entrypoint

Run from skill directory:

node src/cli/index.js --role seller --domain 127.0.0.1:3456 --name "Skill Chair" --price-minor-units 12999 --category Furniture
node src/cli/index.js --role buyer --domain 127.0.0.1:3456 --query chair --limit 10
node src/cli/index.js --role buyer --domain 127.0.0.1:3456 --all true

The CLI also accepts stdin JSON with the same fields. Output is JSON only:

  • seller: publish result (mode=seller_publish)
  • buyer: discovery result (mode=buyer_discover, supports all/listAll for full listing)

Routing Map

  • Identity and login: route to a2a-market-google-oauth.
  • Intent broadcast and node response: route to a2a-market-ucp-broadcast.
  • Stake lock and penalty policy: route to a2a-market-stake-freeze.
  • Multi-round negotiation: route to a2a-market-acp-lite-negotiation.
  • Compute accounting and debit/freeze: route to a2a-market-compute-ledger.
  • Payment authorization and capture: route to a2a-market-stripe-payment.
  • Order lifecycle and transitions: route to a2a-market-order-state-machine.
  • Realtime event fanout: route to a2a-market-websocket-realtime.

End-to-End Flow (MVP)

  1. Authenticate actor and create session.
  2. Build buyer intent and broadcast via UCP.
  3. Collect quotes and start ACP-lite negotiation.
  4. Freeze stake and reserve compute budget before commit.
  5. Create order and payment intent.
  6. Capture payment after final acceptance.
  7. Transition order through fulfillment to completion.
  8. Emit events to websocket, billing, reputation, and logs.

Canonical Event Backbone

  • INTENT_CREATED
  • INTENT_BROADCASTED
  • NODE_RESPONDED
  • QUOTE_RECEIVED
  • NEGOTIATION_STARTED
  • RISK_FLAGGED
  • ORDER_CREATED
  • PAYMENT_SUCCEEDED
  • ORDER_COMPLETED
  • REPUTATION_UPDATED

Interface Contracts

  • Keep request and event payloads versioned.
  • Enforce idempotency keys on write operations.
  • Use deterministic timestamps and correlation ids.
  • Propagate a single trace_id across all modules.

Coordination Rules

  • Prefer module skill execution for domain-specific logic.
  • Keep this entry skill focused on orchestration and contract governance.
  • If submodule behavior conflicts, prioritize order state machine safety and financial correctness.

Implementation Backlog

  • Add global policy engine for cross-module risk checks.
  • Add replay/debug mode for full transaction traces.
  • Add SLA dashboard hooks for timeouts and retries.

Runtime Implementation

  • Status: implemented in local runtime package.
  • Primary code paths:
  • runtime/src/application/market-agent.js
  • runtime/src/cli/index.js
  • runtime/tests/market-agent.e2e.test.js
  • a2a-supermarket/src/cli/index.js
  • Validation: covered by runtime/tests and npm test in runtime/.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Stigmem

Persistent federated memory for OpenClaw agents — boot handshake, handoff, decision, and escalation surfaces backed by a Stigmem node.

Registry SourceRecently Updated
Automation

Huo15 Wecom Plugin

火一五·企业微信(WeCom)OpenClaw 插件 v2.8.19 — 默认走 Bot WebSocket(响应快、配置简单),自带加密媒体解密 / Agent 主动发消息 / 微信客服三通道接入 / 多账号切换。v2.8.19 重点:outbound.sendText 实装 'MEDIA: <path>' 单...

Registry SourceRecently Updated
Automation

Huo15 Wecom Plugin

火一五·企业微信(WeCom)OpenClaw 插件 v2.8.19 — 默认走 Bot WebSocket(响应快、配置简单),自带加密媒体解密 / Agent 主动发消息 / 微信客服三通道接入 / 多账号切换。v2.8.19 重点:outbound.sendText 实装 'MEDIA: <path>' 单...

Registry SourceRecently Updated
Automation

Boheng Investment Workflow

投资研究多智能体决策系统 - 8位专业分析师并行研究,加权投票给出投资建议。支持A股股票/基金/ETF/可转债。支持真实财报数据(baostock)或基础行情数据。⚠️ 风险提示:分析结果仅供学习参考,不构成投资建议。

Registry SourceRecently Updated