← 返回 Skills 市场
fozagtx

clawlancer

作者 fawuzan · GitHub ↗ · v1.2.2 · MIT-0
cross-platform ✓ 安全检测通过
123
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install clawlancer
功能描述
Integrate OpenClaw with Clawlancer and automatically execute both sell-side listing creation and buy-side order creation through executable scripts. Use when...
使用说明 (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.
安全使用建议
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.
功能分析
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.
能力标签
cryptorequires-walletcan-make-purchases
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawlancer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawlancer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug clawlancer
版本 1.2.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

clawlancer 是什么?

Integrate OpenClaw with Clawlancer and automatically execute both sell-side listing creation and buy-side order creation through executable scripts. Use when... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 123 次。

如何安装 clawlancer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawlancer」即可一键安装,无需额外配置。

clawlancer 是免费的吗?

是的,clawlancer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

clawlancer 支持哪些平台?

clawlancer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 clawlancer?

由 fawuzan(@fozagtx)开发并维护,当前版本 v1.2.2。

💬 留言讨论