← 返回 Skills 市场
gzipped

browse-products

作者 gzipped · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
71
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install browse-products
功能描述
Semantic product search API using vector embeddings. Search products by natural language queries with price filtering, pagination, and relevance scoring. Use...
使用说明 (SKILL.md)

Products Browse Skill

This skill provides access to a semantic product search API that uses vector embeddings to find products by meaning rather than keyword matching.

Prerequisites

  • Valid query text (natural language, max 500 characters)

Quick Start

1. Search for Products

GET https://pbs-search-api-fp45p.ondigitalocean.app/api/v1/products/search?query=\x3Cyour-query>

Example:

GET https://pbs-search-api-fp45p.ondigitalocean.app/api/v1/products/search?query=wireless+bluetooth+headphones

2. Filter by Price Range

GET https://pbs-search-api-fp45p.ondigitalocean.app/api/v1/products/search?query=running+shoes&minPrice=50&maxPrice=200

3. Browse Full API Documentation

See complete API reference for all endpoints, parameters, and response formats.

Search Parameters

Parameter Required Default Description
query Yes Natural language search text (max 500 chars)
minPrice No Minimum price filter
maxPrice No Maximum price filter
page No 1 Page number (1-based)
pageSize No 20 Results per page (max 100)
titleOnly No false Search only product titles
descriptionOnly No false Search only product descriptions
sortBy No relevance Sort: relevance, price, date
sortOrder No desc Order: asc, desc

Bulk Search

For multiple queries in one request:

POST https://pbs-search-api-fp45p.ondigitalocean.app/api/v1/products/search/bulk

Send a JSON array of search requests (max 50 per request).

Best Practices

  1. Write natural queries — Semantic search works best with descriptive phrases (e.g. "comfortable running shoes for marathon" vs "shoes marathon")
  2. Use price filters — Combine minPrice and maxPrice to narrow results
  3. Use titleOnly for precision — When searching for specific product names
  4. Check relevanceScore — Scores closer to 1.0 indicate stronger semantic matches
  5. Paginate wisely — Smaller pages (10-20) are faster than large ones

Displaying Products to the User

When presenting search results to the user, follow these guidelines to ensure a rich and useful experience:

  1. Show product images — Use the imageUrls field from each product to display as many product photos as possible. Visual content is essential for helping users evaluate products.
  2. Always display the price — Show the price field clearly. If priceWithoutDiscount and discountPercent are available, highlight the discount (e.g., strikethrough the original price, show the discount percentage).
  3. Include product links — Every product should have a clickable link (product title or a "View in Store" button) pointing to the product url so the user can navigate directly to the store.
  4. Use a card-based layout — Present each product as a card containing: image(s), title, price, and a link to the store. This creates a clean, scannable browsing experience.
  5. Keep descriptions concise — Show a short product description or key attributes, but prioritize images and pricing for quick scanning.

Response Format

Each search returns:

  • metadata — pagination info, search time, cache status, embedding model
  • results[] — matching products with id, title, description, price, url, relevanceScore, and attributes

For complete response schema, see API reference.

cURL Examples

Single search

curl -G "https://pbs-search-api-fp45p.ondigitalocean.app/api/v1/products/search" \
  -d "query=wireless+bluetooth+headphones" \
  -d "minPrice=50" \
  -d "maxPrice=200" \
  -d "page=1" \
  -d "pageSize=10"

Bulk search

curl -X POST "https://pbs-search-api-fp45p.ondigitalocean.app/api/v1/products/search/bulk" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "query": { "text": "running shoes" },
      "pagination": { "page": 1, "pageSize": 5 }
    },
    {
      "query": { "text": "tennis racket" },
      "pagination": { "page": 1, "pageSize": 5 }
    }
  ]'
安全使用建议
This skill will send user search queries and related parameters to an external service at pbs-search-api-fp45p.ondigitalocean.app. Before installing, verify you trust that endpoint and its owner (no homepage or publisher metadata is provided). Avoid sending sensitive or personally identifiable information in queries, and test with non-sensitive queries first. Consider whether you need an API with explicit authentication or a documented privacy policy if you plan to send customer/product data. Finally, check rate limits and confirm image URLs and product links are safe before rendering them in a production UI.
功能分析
Type: OpenClaw Skill Name: browse-products Version: 1.0.0 The skill provides a standard semantic product search interface via a DigitalOcean-hosted API (pbs-search-api-fp45p.ondigitalocean.app). The instructions in skill.md and reference.md are focused on legitimate product discovery, pagination, and UI formatting for the agent's output, with no evidence of malicious prompt injection, data exfiltration, or unauthorized execution.
能力评估
Purpose & Capability
Name/description describe a semantic product search API and the SKILL.md only documents HTTP endpoints and response formats hosted at a DigitalOcean app — these are exactly what you'd expect for a product-browse skill.
Instruction Scope
Runtime instructions only show how to call the provided GET/POST endpoints, the query parameters, and how to present results. The instructions do not direct reading local files, accessing unrelated environment variables, or transmitting extra system data.
Install Mechanism
No install spec or code is provided (instruction-only), so nothing is written to disk or installed during setup — lowest-risk model for installation.
Credentials
The skill declares no required environment variables or credentials. That is consistent with the public-API usage shown in the instructions. (Note: absence of auth means queries are sent to the external service without per-user credentials.)
Persistence & Privilege
always is false and the skill has no install-time persistence or privileged requests. It does not request persistent system modifications or access to other skills' config.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install browse-products
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /browse-products 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the products-browse-skill. - Provides semantic product search using vector embeddings. - Supports natural language queries with optional price filtering, pagination, and relevance scoring. - Bulk search for multiple queries in a single request. - Clear guidelines included for displaying products: show images, prices, discounts, and store links. - Detailed API usage instructions and best practices provided.
元数据
Slug browse-products
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

browse-products 是什么?

Semantic product search API using vector embeddings. Search products by natural language queries with price filtering, pagination, and relevance scoring. Use... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 71 次。

如何安装 browse-products?

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

browse-products 是免费的吗?

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

browse-products 支持哪些平台?

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

谁开发了 browse-products?

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

💬 留言讨论