Agos Marketplace
/install agos-marketplace
Agos Marketplace
Use this skill to automate both sides of AGOS marketplace flow:
- Seller side: create listing (service)
- Buyer side: create order (purchase)
Defaults
- Base URL:
https://market.agos.fun - Supplier endpoint (listing script): fixed to
https://market.agos.fun/v1/openclaw/supplier-task - Chain:
BNB Chain(chainId=56) - Settlement token:
USDT - APIs:
- Seller:
/v1/services - Buyer:
/v1/openclaw/purchases*
- Seller:
Scripts
scripts/create_listing.py: auto-create seller listingscripts/create_order.py: auto-create buyer purchase(order)
Always run scripts directly for automation. Do not ask users to manually craft curl unless debugging.
Sell-Side Automation (Create Listing)
Create listing with generated service id:
python3 scripts/create_listing.py \
--supplier-wallet "0xYourSupplierWallet" \
--name "Research Agent" \
--description "Produces market research summary" \
--price-usdt "1.5"
Create listing with fixed service id:
python3 scripts/create_listing.py \
--service-id "svc_research_agent_v1" \
--supplier-wallet "0xYourSupplierWallet"
Dry-run payload:
python3 scripts/create_listing.py --dry-run
Buy-Side Automation (Create Order)
Auto-select first active listing and create order:
python3 scripts/create_order.py \
--buyer-wallet "0xYourBuyerWallet" \
--input-json '{"task":"auto order"}'
Create order for specific listing and prepare payment params:
python3 scripts/create_order.py \
--listing-id "svc_research_agent_v1" \
--buyer-wallet "0xYourBuyerWallet" \
--input-json '{"task":"full report"}' \
--prepare-payment
Create order and wait until terminal status:
python3 scripts/create_order.py \
--listing-id "svc_research_agent_v1" \
--buyer-wallet "0xYourBuyerWallet" \
--input-json '{"task":"full report"}' \
--prepare-payment \
--wait \
--timeout-sec 180 \
--interval-sec 3
Payment Mapping
Use payment_preparation fields to call PaymentRouter.payForService(orderId, serviceId, supplier, token, amount):
purchase_id_hex->orderIdlisting_id_hex->serviceIdsupplier_wallet->suppliertoken_address->tokenamount_atomic->amountpayment_router_address-> target contract
Wallet Responsibility
This skill automates listing and order creation via HTTP APIs.
Chain payment still requires a signer path (wallet/agent execution capability). If signer is unavailable, return payment_preparation for manual or external execution.
Security Constraints
create_listing.pyandcreate_order.pyuse fixed AGOS API base URL.- URL overrides via
--base-urlorAGOS_API_BASEare intentionally disabled. - Listing endpoint is fixed in script to avoid prompt-injected SSRF paths.
Output Contract
For seller flow return:
service_idservice
For buyer flow return:
purchaseselected_listing_idpayment_preparation(when requested)final_state(when requested)
Error Rules
- If no active listing exists and listing-id is not provided, fail with clear message.
- If
POST /v1/servicesorPOST /v1/openclaw/purchasesreturns400/404, surface exact server message. - If status polling times out, return last known state.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install agos-marketplace - 安装完成后,直接呼叫该 Skill 的名称或使用
/agos-marketplace触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Agos Marketplace 是什么?
Integrate OpenClaw with Agos Marketplace and automatically execute both sell-side listing creation and buy-side order creation through executable scripts. Us... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 976 次。
如何安装 Agos Marketplace?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install agos-marketplace」即可一键安装,无需额外配置。
Agos Marketplace 是免费的吗?
是的,Agos Marketplace 完全免费(开源免费),可自由下载、安装和使用。
Agos Marketplace 支持哪些平台?
Agos Marketplace 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Agos Marketplace?
由 DanielW8088(@danielw8088)开发并维护,当前版本 v1.2.1。