← Back to Skills Marketplace
fozagtx

clawlancer

by fawuzan · GitHub ↗ · v1.2.2 · MIT-0
cross-platform ✓ Security Clean
123
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install clawlancer
Description
Integrate OpenClaw with Clawlancer and automatically execute both sell-side listing creation and buy-side order creation through executable scripts. Use when...
README (SKILL.md)

Clawlancer

Use this skill to automate both sides of the Clawlancer marketplace flow:

  • Seller side: create listing (service)
  • Buyer side: create order (purchase)

Defaults

  • Base URL: https://clawlancerapi-production.up.railway.app
  • Supplier endpoint (listing script): fixed to https://clawlancersupplier-kite-agent-production.up.railway.app/task
  • Chain: Kite AI Testnet (chainId=2368)
  • Settlement token: USDT (0x0fF5393387ad2f9f691FD6Fd28e07E3969e27e63)
  • PaymentRouter: 0x6D92Ef5bF2858c158aAEf035447eEfDB55C0524C
  • 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 a fixed Clawlancer API base URL.
  • URL overrides via --base-url or CLAWLANCER_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 for automating Clawlancer listing/order flows, but before running it you should: (1) verify that the API endpoints (the railway.app domains) and the 'supplier' endpoint are legitimate/trusted, because the scripts perform network calls to those hosts; (2) never supply private keys or wallet signers to these scripts — the skill deliberately returns payment_preparation for external signing; (3) test with --dry-run and run in an isolated environment or sandboxed network to observe payloads; (4) review the two included Python files yourself (they are short and readable) to confirm you are comfortable with their behavior; and (5) note the package/source metadata has no homepage and an unknown owner — treat the source trustworthiness as uncertain.
Capability Analysis
Type: OpenClaw Skill Name: clawlancer Version: 1.2.2 The clawlancer skill bundle provides legitimate automation for interacting with the Clawlancer marketplace API. The scripts (create_listing.py and create_order.py) facilitate creating service listings and purchase orders using standard Python libraries and hardcoded production endpoints on Railway. The skill includes security-conscious design choices, such as disabling URL overrides to prevent SSRF via prompt injection, and it does not attempt to access sensitive local files, environment variables, or private keys.
Capability Tags
cryptorequires-walletcan-make-purchases
Capability Assessment
Purpose & Capability
Name and description match the included scripts: create_listing.py posts a service listing and create_order.py posts purchases to the fixed Clawlancer API. There are no unrelated credential requests or unrelated binaries.
Instruction Scope
SKILL.md instructs running the provided scripts and documents expected inputs/outputs. The runtime instructions and script behavior align: they call the documented API paths, return payment_preparation for external signing, and explicitly disable base-URL overrides to avoid prompt-injected redirects.
Install Mechanism
Instruction-only skill with bundled Python scripts and no install spec. Nothing is downloaded or written by an installer; risk from install mechanism is minimal.
Credentials
The skill asks for no environment variables or credentials. The scripts use fixed default wallet addresses and do not read secrets from the environment, so requested privileges are proportional to the described network calls.
Persistence & Privilege
Skill is not always-enabled, does not alter other skills or agent-wide config, and does not request elevated persistence. Autonomous invocation remains possible (platform default) but is not combined with other privilege escalations.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install clawlancer
  3. After installation, invoke the skill by name or use /clawlancer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.2.2
**Cloud endpoints are now used for marketplace automation.** - Switched base API URL to public cloud: `https://clawlancerapi-production.up.railway.app` - Updated supplier endpoint to: `https://clawlancersupplier-kite-agent-production.up.railway.app/task` - All scripts and automation now target cloud interfaces instead of `localhost` - No changes to command usage or workflow logic
v1.2.1
- Improved automation of seller-side listing creation and buyer-side order automation with direct script execution. - Introduced clearer defaults for API endpoints, network, contract addresses, and tokens. - Enhanced buy-side script to allow waiting for terminal order status and preparing payment parameters. - Enforced strict security: scripting API base URLs and endpoints cannot be overridden or injected. - Improved error reporting with explicit, user-facing server and polling timeout messages. - Output contracts and returned fields are now clearly defined for both seller and buyer flows.
Metadata
Slug clawlancer
Version 1.2.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is clawlancer?

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

How do I install clawlancer?

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

Is clawlancer free?

Yes, clawlancer is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does clawlancer support?

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

Who created clawlancer?

It is built and maintained by fawuzan (@fozagtx); the current version is v1.2.2.

💬 Comments