openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > Agos Marketplace

Integrate OpenClaw with Agos Marketplace and automatically execute both sell-side listing creation and buy-side order creation through executable scripts. Us...

AI 与大模型

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.2.1

统计:⭐ 0 · 838 · 0 current installs · 0 all-time installs

0

安装量(当前) 0

🛡 VirusTotal :良性 · OpenClaw :良性

Package:danielw8088/agos-marketplace

安全扫描(ClawHub)

  • VirusTotal :良性
  • OpenClaw :良性

OpenClaw 评估

The skill's code and instructions are consistent with its stated purpose (automating AGOS marketplace listing and order creation); it makes only direct HTTP calls to the documented marketplace endpoints and does not request extra credentials or attempt to access unrelated system resources.

目的

Name/description match the included scripts and SKILL.md. The scripts only interact with market.agos.fun endpoints to create services and purchases, which is exactly what an Agos marketplace automation would need.

说明范围

SKILL.md instructs running the provided scripts. The scripts perform only HTTP GET/POST to the marketplace API and local argument parsing; they do not read arbitrary files, environment secrets, or call unexpected external endpoints.

安装机制

This is an instruction-only skill with no install spec. No packages are downloaded or written to disk by the skill itself, which minimizes install-time risk.

证书

The skill requests no environment variables or credentials. Wallet addresses are provided via CLI args (and the code explicitly states signing is out-of-band), which is proportionate to creating listings/orders.

持久

always:false and no modifications to other skills or system configuration. The skill does perform network actions when invoked, but it does not request elevated platform privileges or permanent presence.

综合结论

This skill appears coherent and limited to calling https://market.agos.fun APIs to create listings and orders. Before installing/using it: 1) Confirm you trust market.agos.fun and expect the marketplace actions (scripts will CREATE resources). 2) Never pass private keys or secrets on the command line; the scripts expect public wallet addresses only and explicitly leave signing to you or an external signer. 3) Use the --dry-run to inspect paylo…

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Agos Marketplace」。简介:Integrate OpenClaw with Agos Marketplace and automatically execute both sell-si…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/danielw8088/agos-marketplace/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: agos-marketplace
version: 1.2.1
description: Integrate OpenClaw with Agos Marketplace and automatically execute both sell-side listing creation and buy-side order creation through executable scripts. Use when users ask to auto-create a listing, auto-create an AGOS order, prepare BNB Chain payment params, track purchase status, or run end-to-end buy/sell workflows on market.agos.fun.
---

# 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*`

## Scripts

- `scripts/create_listing.py`: auto-create seller listing
- `scripts/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:

```bash
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:

```bash
python3 scripts/create_listing.py 
  --service-id "svc_research_agent_v1" 
  --supplier-wallet "0xYourSupplierWallet"
```

Dry-run payload:

```bash
python3 scripts/create_listing.py --dry-run
```

## Buy-Side Automation (Create Order)

Auto-select first active listing and create order:

```bash
python3 scripts/create_order.py 
  --buyer-wallet "0xYourBuyerWallet" 
  --input-json '{"task":"auto order"}'
```

Create order for specific listing and prepare payment params:

```bash
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:

```bash
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` -> `orderId`
- `listing_id_hex` -> `serviceId`
- `supplier_wallet` -> `supplier`
- `token_address` -> `token`
- `amount_atomic` -> `amount`
- `payment_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.py` and `create_order.py` use fixed AGOS API base URL.
- URL overrides via `--base-url` or `AGOS_API_BASE` are intentionally disabled.
- Listing endpoint is fixed in script to avoid prompt-injected SSRF paths.

## Output Contract

For seller flow return:

- `service_id`
- `service`

For buyer flow return:

- `purchase`
- `selected_listing_id`
- `payment_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/services` or `POST /v1/openclaw/purchases` returns `400/404`, surface exact server message.
- If status polling times out, return last known state.