← Back to Skills Marketplace
danielw8088

Agos Marketplace

by DanielW8088 · GitHub ↗ · v1.2.1
cross-platform ✓ Security Clean
976
Downloads
0
Stars
0
Active Installs
4
Versions
Install in OpenClaw
/install agos-marketplace
Description
Integrate OpenClaw with Agos Marketplace and automatically execute both sell-side listing creation and buy-side order creation through executable scripts. Us...
README (SKILL.md)

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:

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 -> 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.
Usage Guidance
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 payloads first and test in a safe environment. 4) Because the agent can invoke skills autonomously by default, avoid granting it unattended access to run these scripts if you don't want automatic marketplace actions. 5) If you need custom endpoints or overrides, note the scripts intentionally hardcode the API base URL (no override) to avoid SSRF; update code only if you understand the security implications.
Capability Analysis
Type: OpenClaw Skill Name: agos-marketplace Version: 1.2.1 The OpenClaw AgentSkills bundle is designed to automate interactions with the Agos Marketplace API at `https://market.agos.fun`. Both `create_listing.py` and `create_order.py` scripts hardcode the API base URL and critical endpoints, explicitly disabling URL overrides via arguments or environment variables, as stated in `SKILL.md`. This measure effectively prevents prompt-injection leading to Server-Side Request Forgery (SSRF) or unauthorized network calls. The scripts handle JSON inputs as data, not executable code, and there is no evidence of data exfiltration, malicious execution, persistence mechanisms, or obfuscation. The overall design prioritizes security by restricting network communication to the intended domain and purpose.
Capability Assessment
Purpose & Capability
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.
Instruction Scope
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.
Install Mechanism
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.
Credentials
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.
Persistence & Privilege
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install agos-marketplace
  3. After installation, invoke the skill by name or use /agos-marketplace
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.2.1
Security hardening: fixed API base URL, removed URL override flags, disabled endpoint override to mitigate SSRF risk.
v1.2.0
Add automatic seller listing script and dual buy/sell automation workflow.
v1.1.0
Add automatic order creation script and default automation workflow for OpenClaw.
v1.0.0
Initial release: OpenClaw integration workflow for listings, purchases, payment preparation, and status tracking.
Metadata
Slug agos-marketplace
Version 1.2.1
License
All-time Installs 0
Active Installs 0
Total Versions 4
Frequently Asked Questions

What is Agos Marketplace?

Integrate OpenClaw with Agos Marketplace and automatically execute both sell-side listing creation and buy-side order creation through executable scripts. Us... It is an AI Agent Skill for Claude Code / OpenClaw, with 976 downloads so far.

How do I install Agos Marketplace?

Run "/install agos-marketplace" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Agos Marketplace free?

Yes, Agos Marketplace is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Agos Marketplace support?

Agos Marketplace is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Agos Marketplace?

It is built and maintained by DanielW8088 (@danielw8088); the current version is v1.2.1.

💬 Comments