← 返回
未分类 中文

lumenshop-deals

Search Shopify products (shoes, clothes, bags) and present results as beautiful image+text product cards. Use this skill whenever the user wants to buy somet...
搜索 Shopify 商品(鞋、服装、包)并以精美的图文产品卡片展示。当用户想购买某物时使用此技能。
carlos-zen
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 295
下载
💾 0
安装
1
版本
#latest

概述

Overview

Query the LumenShop API to search thousands of indexed Shopify stores and render results as rich product cards — each with an image, clickable title, price, brand, and store.


Workflow

Step 1 — Understand the request

Extract from the user's message:

  • Search term: a specific keyword (preferred), or a category (shoes, clothes, bags, all)
  • Price range: budget ceiling or floor, if mentioned
  • Quantity: default to 12 items; honor explicit requests for more

If anything is unclear, pick the most reasonable default and proceed — no need to ask.

Step 2 — Run the script

The script is at scripts/skill.sh, run it from the skill directory:

# Keyword search (preferred)
bash scripts/skill.sh --query "blue sneakers" --limit 12

# Category search
bash scripts/skill.sh --category shoes --limit 12

# With price filter
bash scripts/skill.sh --query "skirt" --price-max 50 --limit 12

The script outputs raw JSON — parse it in the next step.

Step 3 — Parse the JSON response

Response structure:

{
  "hits": {
    "total": { "value": <total_count> },
    "hits": [
      {
        "_source": {
          "title":     "Product Name",
          "brand":     "Brand",
          "url":       "https://...",
          "gallery":   [{ "url": "https://cdn.shopify.com/..." }, ...],
          "prices":    [{ "currency": "USD", "price": 29.99 }],
          "hostnames": ["store.myshopify.com"]
        }
      }
    ]
  }
}

Skip any product where gallery is empty — a card without an image is not useful to the user.

Step 4 — Render product cards

Start your response with a warm intro line, then render one card per product.

Opening line (always include this at the top):

✨ LumenShop has found the best products just for you!

Card template (repeat for each product):

---
### [Product Title](product_url)

![Product Title](gallery[0].url)

💰 **$XX.XX** · 🏷️ Brand · 🏪 store_hostname

Full output structure:

✨ LumenShop has found the best products just for you!

## Found X items for you (Y total)

---
### [Product Title](url)

![Product Title](image_url)

💰 **$XX.XX** · 🏷️ Brand · 🏪 store.com

---
### [Next Product](url)

![Next Product](image_url)

💰 **$XX.XX** · 🏷️ Brand · 🏪 store.com

---

Step 5 — Offer to refine

After the cards, add a short follow-up prompt:

> Want to refine by keyword, price range, or category?


Script options

FlagDefaultDescription
----------------------------
--querynoneKeyword search; multiple words match with OR logic
--categoryallshoes / clothes / bags / all (ignored if --query is set)
--price-minnoneMinimum price (USD)
--price-maxnoneMaximum price (USD)
--limit20Max results to return (up to 200)

Category keyword mapping

--categoryEquivalent --query
-----------------------------------
shoesshoe sneaker boot sandal
clothesshirt jacket dress hoodie pants skirt
bagsbag backpack purse tote
allall of the above

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 18:41 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,210 📥 266,137
ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,055 📥 795,764
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,349 📥 317,690