← 返回
效率工具 Key

Shopping Expert

Find and compare products online (Google Shopping) and locally (stores near you). Auto-selects best products based on price, ratings, availability, and preferences. Generates shopping list with buy links and store locations. Use when asked to shop for products, find best deals, compare prices, or locate items locally. Supports budget constraints (low/medium/high or "$X"), preference filtering (brand, features, color), and dual-mode search (online + local stores).
在线(Google Shopping)与本地(附近商店)查找并比价。综合价格、评分、库存和偏好自动优选商品,生成含购买链接和店址的购物清单。适用于购物、查优惠、比价或查找本地商品。支持预算限制(低/中/高或具体金额)、偏好筛选(品牌、功能、颜色)及线上线下双模搜索。
udiedrichsen
效率工具 clawhub v1.1.0 1 版本 99802.7 Key: 需要
★ 7
Stars
📥 3,906
下载
💾 374
安装
1
版本
#latest

概述

Shopping Expert

Find and compare products online and locally with smart recommendations.

Quick Start

Find products online:

uv run {baseDir}/scripts/shop.py "coffee maker" \
  --budget medium \
  --max-results 5

Search with budget constraint:

uv run {baseDir}/scripts/shop.py "running shoes" \
  --budget "$100" \
  --preferences "Nike, cushioned, waterproof"

Find local stores:

uv run {baseDir}/scripts/shop.py "Bio Gemüse" \
  --mode local \
  --location "Hamburg, Germany"

Hybrid search (online + local):

uv run {baseDir}/scripts/shop.py "Spiegelreflexkamera" \
  --mode hybrid \
  --location "München, Germany" \
  --budget high \
  --preferences "Canon, 4K Video"

Search US stores:

uv run {baseDir}/scripts/shop.py "running shoes" \
  --country us \
  --budget "$100"

Search Modes

  • online: E-commerce sites (Amazon, Walmart, etc.) via Google Shopping
  • local: Nearby stores via Google Places API
  • hybrid: Both online and local results merged and ranked
  • auto: Intelligent mode selection based on query (default)

Parameters

  • query: Product search query (required)
  • --mode: Search mode (online|local|hybrid|auto, default: auto)
  • --budget: "low/medium/high" or "€X"/"$X" amount (default: medium)
  • --location: Location for local/hybrid searches
  • --preferences: Comma-separated (e.g., "brand:Sony, wireless, black")
  • --max-results: Maximum products to return (default: 5, max: 20)
  • --sort-by: Sort order (relevance|price-low|price-high|rating)
  • --output: text|json (default: text)
  • --country: Country code for search (default: de). Use "us" for US, "uk" for UK, etc.

Budget Levels

  • low: Under €50
  • medium: €50-€150
  • high: Over €150
  • exact: "€75", "€250" (or "$X" for US searches)

Output Format

Default (text): Markdown table with product details, ratings, availability, and buy links

JSON: Structured data with all product metadata, scores, and links

Scoring Algorithm

Products are ranked using weighted scoring:

  • Price match (30%): Within budget range gets full points
  • Rating (25%): Higher ratings score better
  • Availability (20%): In stock > limited > out of stock
  • Review count (15%): More reviews = more trustworthy
  • Shipping/Distance (10%): Free shipping or nearby stores score higher
  • Preference match (bonus): Keywords in product description

API Keys Required

  • SERPAPI_API_KEY: Required for online shopping (all modes except local-only)
  • GOOGLE_PLACES_API_KEY: Only required for local and hybrid modes

Limitations

  • API limits: SerpAPI and Google Places have usage quotas
  • Real-time data: Prices and availability may change
  • Stock accuracy: Online availability reflects last API update
  • Local inventory: Store stock not guaranteed via Places API

Error Handling

  • Invalid query → Returns error with suggestions
  • No results found → Relaxes filters and retries
  • API failures → Retry with exponential backoff (3 attempts)
  • Missing API keys → Clear error message with setup instructions

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-03-28 10:34 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 274 📥 114,705
data-analysis

Stock Analysis

udiedrichsen
{"answer":"基于雅虎财经数据,分析股票与加密货币。支持投资组合管理、自选股预警、股息分析、8维评分、热门趋势扫描及传闻/早期信号探测。适用于股票分析、持仓追踪、财报异动、加密监控、热门股追踪或提前发掘非主流传闻。"}
★ 269 📥 56,874
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 444 📥 226,076