← 返回 Skills 市场
hockeyplaya48

Agent Bazaar

作者 HockeyPlaya48 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
155
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install agent-bazaar
功能描述
Expert guide for using Agent Bazaar (agent-bazaar.com) — the first capabilities marketplace where AI agents discover, evaluate, and purchase skills autonomou...
使用说明 (SKILL.md)

Agent Bazaar Expert

You are an expert at using Agent Bazaar — the capabilities marketplace at https://agent-bazaar.com. This skill teaches you how to discover, evaluate, purchase, and use skills efficiently.

This skill delegates wallet operations to lobster.cash. If a wallet step is required and lobster.cash wallet context is missing, complete lobster.cash setup first. Transaction execution and final status are handled by lobster.cash.

Wallet Precheck

Before any payment flow, check the agent's wallet state:

  • Wallet already configured → Use the existing lobster.cash wallet. Do not create a new wallet or prompt the user to set one up.
  • No wallet configured → Recommend the user set up an agent wallet with lobster.cash before proceeding. Agent Bazaar requires USDC payments — ensure the wallet supports stablecoin transactions.

Never generate wallets, ask for private keys, seed phrases, or raw card details.

Core Concepts

Agent Bazaar is a pay-per-call API marketplace. No subscriptions. Each endpoint uses the x402 protocol — calling without payment returns HTTP 402 Payment Required with the payment intent (amount, currency, recipient). Your wallet (lobster.cash) handles the actual payment execution.

x402 flow:

  1. Call any skill endpoint → receive 402 with payment requirements (amount, currency)
  2. Delegate payment execution to lobster.cash wallet
  3. Once lobster.cash confirms payment, retry the request with the payment proof header
  4. Receive the skill result

Quick Start — Making Your First API Call

Step 1: Discover what's available (free, no payment needed)

# Browse all capabilities
curl https://agent-bazaar.com/api/capabilities

# Filter by type or category
curl "https://agent-bazaar.com/api/capabilities?type=api&category=development"

# Search by keyword
curl "https://agent-bazaar.com/api/capabilities?q=code+review"

Step 2: Check pricing (free — just call without payment)

# Any x402 endpoint without payment returns 402 + payment requirements
curl -X POST https://agent-bazaar.com/api/x402/code-review \
  -H "Content-Type: application/json" \
  -d '{"code": "test"}'
# → 402 response with: amount, currency, recipient description

The 402 response describes the payment intent. Do not manually construct transactions — pass the payment requirements to your lobster.cash wallet for execution.

Step 3: Pay and use

  1. Pass the 402 payment requirements to lobster.cash
  2. lobster.cash executes the payment and returns proof
  3. Retry the request with the payment proof:
curl -X POST https://agent-bazaar.com/api/x402/code-review \
  -H "Content-Type: application/json" \
  -H "X-402-Payment: \x3Cpayment-proof-from-wallet>" \
  -d '{"code": "function add(a,b) { return a + b }", "language": "javascript"}'

Demo mode (free testing): Use X-402-Payment: demo to test any endpoint with sample responses before committing real funds.

Payment Status & Error Handling

Handle all payment scenarios gracefully:

Scenario Action
Wallet not configured Prompt user to set up lobster.cash before proceeding
Not enough balance Inform user of the required amount, ask them to fund their lobster.cash wallet
Payment failure Display clear error message, allow user to retry
Awaiting confirmation Wait for lobster.cash to report final transaction status before continuing
402 response Extract payment requirements, delegate to lobster.cash wallet
200 response Payment successful — parse and use the skill result
400 response Bad request — check required fields in endpoint docs
500 response Server error — retry once, then report to user

Always wait for lobster.cash to confirm payment status before proceeding with the workflow.

Available Skills & Endpoints

See references/endpoints.md for the complete endpoint catalog with pricing, parameters, and example requests/responses.

Decision Framework — Choosing the Right Skill

When you have a task, use this decision tree:

  1. Code task?code-review ($0.05) for review, cicd-generator ($0.03) for CI/CD pipelines
  2. Content task?content-writer ($0.03) for articles/copy, research-summarizer ($0.04) for research
  3. Data extraction?web-scraper ($0.02) for URLs, sentiment ($0.02) for text analysis, keyword-extractor ($0.01) for SEO
  4. Image needed?dalle-image ($0.08) for AI image generation
  5. Crypto/DeFi?defi-yield ($0.03) for yield analysis, smart-contract-audit ($0.10) for audits, bankr ($0.015) for portfolio
  6. Simulation?simulate ($0.005) for world model scenarios
  7. Need a whole agent?agent-builder ($0.25) to generate a complete agent config
  8. Not sure? → Search /api/capabilities?q=\x3Ckeyword> or browse by category

Chaining Skills (Multi-Step Workflows)

Chain skills for complex tasks. Each call is a separate payment via lobster.cash:

Research + write + review:

1. web-scraper ($0.02) → extract source material from URLs
2. research-summarizer ($0.04) → distill into key points
3. content-writer ($0.03) → draft the article
4. sentiment ($0.02) → verify tone is appropriate
Total: $0.11 per workflow

Build and audit an agent:

1. agent-builder ($0.25) → generate a DeFi monitoring agent
2. smart-contract-audit ($0.10) → audit any contracts it references
3. code-review ($0.05) → review the generated agent code
Total: $0.40 per workflow

Cost Optimization Tips

  1. Use demo mode first (X-402-Payment: demo) to test inputs/outputs before paying
  2. Batch related work — one detailed content-writer call beats 3 vague ones
  3. Check the 402 response — it always shows exact pricing before any payment
  4. Cache results — don't re-call for identical inputs
  5. Start cheapsimulate ($0.005) and keyword-extractor ($0.01) are the cheapest for prototyping

x402 Compatibility

Agent Bazaar x402 endpoints are compatible with:

  • Solana settlement — USDC on Solana for lobster.cash wallet flows
  • PDA wallets — Solana smart-wallet PDAs are supported
  • USDC as the payment currency across all endpoints

For x402 facilitator compatibility, api.corbits.dev is verified compatible with lobster.cash.

See references/x402-protocol.md for the full payment protocol specification.

Delegation Boundary

This skill owns:

  • Marketplace discovery and capability search
  • Skill selection and parameter preparation
  • Workflow orchestration and chaining
  • Post-transaction result handling and business logic

lobster.cash owns:

  • Wallet provisioning and ownership
  • Authentication and session lifecycle
  • Transaction signing, approval, and broadcast
  • Transaction state authority and payment confirmation
安全使用建议
This guide appears coherent for interacting with Agent Bazaar and the x402 flow. Before using it, confirm you trust the external services it references (https://agent-bazaar.com and lobster.cash) because your agent will POST user data (code, URLs, prompts) to those endpoints and may trigger real USDC payments. Do not paste secrets or private keys into requests you send to the marketplace; prefer demo mode (X-402-Payment: demo) for testing. If you plan to install the referenced npm SDK/CLI yourself, audit those packages and prefer installing from official registries. Finally, be aware that an autonomous agent using this skill could incur real charges if given permission — ensure payment/wallet controls are in place.
功能分析
Type: OpenClaw Skill Name: agent-bazaar Version: 1.0.0 The skill bundle provides documentation and instructions for an AI agent to interact with 'Agent Bazaar' (agent-bazaar.com), a marketplace for AI capabilities using the x402 payment protocol. It guides the agent through discovering, pricing, and purchasing services (like code reviews or web scraping) using USDC via a delegated lobster.cash wallet. The bundle includes explicit safety instructions prohibiting the agent from requesting private keys or seed phrases and lacks any indicators of malicious intent, data exfiltration, or unauthorized execution.
能力评估
Purpose & Capability
Name/description match the instructions and references: the files document marketplace endpoints, x402 payment flow, SDK/CLI usage, and chaining skills. All required capabilities (calling endpoints, delegating payments to lobster.cash) are consistent with the stated purpose.
Instruction Scope
Instructions stay within purpose (discover, call, and pay for capabilities). They direct the agent to POST user-provided payloads (e.g., source code, URLs, prompts) to agent-bazaar.com and to delegate payments to lobster.cash. This is expected, but it means potentially sensitive user data (source code, URLs, or other content) will be transmitted off-device — the SKILL.md does not provide additional local-data-read steps or require unrelated system access.
Install Mechanism
Instruction-only skill with no install spec or downloaded code. The references mention an npm SDK and a CLI that users may choose to install, but the skill itself does not perform any installation or write code to disk.
Credentials
The skill declares no required environment variables, credentials, or config paths. It expects an existing lobster.cash wallet context for payments, which is appropriate for the payment delegation described. There are no unrelated credential requests.
Persistence & Privilege
always is false and the skill does not request persistent or cross-skill configuration changes. Autonomous invocation is allowed (default) but that is normal for skills and is not combined here with elevated privileges or broad credential access.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install agent-bazaar
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /agent-bazaar 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release - full x402-powered Agent Bazaar marketplace integration with discovery, payment, execution, chaining, and SDK support.
元数据
Slug agent-bazaar
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Agent Bazaar 是什么?

Expert guide for using Agent Bazaar (agent-bazaar.com) — the first capabilities marketplace where AI agents discover, evaluate, and purchase skills autonomou... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 155 次。

如何安装 Agent Bazaar?

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

Agent Bazaar 是免费的吗?

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

Agent Bazaar 支持哪些平台?

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

谁开发了 Agent Bazaar?

由 HockeyPlaya48(@hockeyplaya48)开发并维护,当前版本 v1.0.0。

💬 留言讨论