← Back to Skills Marketplace
137
Downloads
1
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install bupahua-store
Description
不怕花商城商品搜索。支持按关键词搜索商品、查看价格和库存。 Use when: 用户问"有XXX吗"、"XXX多少钱"、"搜索XXX"、"不怕花有XXX吗"、"活力28"等商品名称。 NOT for: 订单查询、售后咨询、跨平台比价、非商品类问题。 微信搜索 "不怕花" 小程序获取API KEY → 进入小程序后...
README (SKILL.md)
\r \r
不怕花商城 - 商品搜索助手\r
\r
版本信息\r
- 当前版本: 1.0.1\r
- 更新日期: 2026-04-04\r
- 兼容性: OpenClaw 2026.3.0+\r
- 仓库地址: https://github.com/285984303/bupahua-store\r \r
商城信息\r
- 商城名称:不怕花\r
- 定位:精选好物,放心买,不怕花\r
- 口号:不怕花,花得值\r
- 官网:https://bupahua.com\r
- QQ群:654050824\r
- 在线客服:微信搜索 "不怕花" 小程序\r \r ---\r \r
When to Run\r
\r
触发条件\r
当用户消息包含以下任一关键词时触发:\r
- "不怕花" + 商品名(如"不怕花有手机吗")\r
- "搜索" + 商品名(如"搜一下活力28")\r
- "有XXX吗"(如"有活力28吗")\r
- "XXX多少钱"(如"自然堂多少钱")\r
- "XXX有货吗"(如"洁面乳有货吗")\r
- 直接说商品名且上下文与购物相关\r \r
不适用场景\r
- 用户要查订单 → 不处理\r
- 用户要售后咨询 → 不处理\r
- 用户要对比外部平台 → 不处理\r
- 非商品类问题 → 不处理\r \r ---\r \r
Workflow\r
\r
步骤 1:提取搜索关键词\r
从用户输入中提取商品关键词:\r
- "不怕花有活力28吗?" → 关键词:活力28\r
- "自然堂男士洁面乳多少钱" → 关键词:自然堂男士洁面乳\r
- "搜一下管道疏通剂" → 关键词:管道疏通剂\r \r
步骤 2:调用搜索脚本\r
python3 /home/node/.openclaw/skills/bupahua-store/scripts/search.py --keyword "{keyword}"\r
```\r
\r
### 步骤 3:处理搜索结果\r
根据脚本返回的结果格式化输出。\r
\r
---\r
\r
## 输出格式\r
\r
### 有搜索结果时:\r
```\r
🛍️ 不怕花商城\r
\r
🔍 为您找到 "{keyword}" 相关商品 {count} 件:\r
\r
1. {商品名}\r
💰 ¥{价格}\r
📦 {库存状态}\r
🔗 [查看详情](https://bupahua.com/product/{id})\r
\r
2. {商品名}\r
💰 ¥{价格}\r
📦 {库存状态}\r
🔗 [查看详情](https://bupahua.com/product/{id})\r
\r
💡 不怕花,花得值!需要查看更多商品吗?\r
```\r
\r
### 无搜索结果时:\r
```\r
🛍️ 不怕花商城\r
\r
🔍 抱歉,没有找到 "{keyword}" 相关商品\r
\r
💡 试试这些:\r
- 换个关键词试试看\r
- 逛逛热销好物:https://bupahua.com/hot\r
- 联系客服咨询:微信搜索 "不怕花" 小程序\r
\r
不怕花,花得值!下次再来逛逛吧~\r
```\r
\r
### API 错误时:\r
```\r
🛍️ 不怕花商城\r
\r
❌ 暂时无法搜索商品,请稍后再试\r
\r
如有问题,请联系客服:微信搜索 "不怕花" 小程序\r
或访问官网:https://bupahua.com\r
```\r
\r
---\r
\r
## 示例对话\r
\r
### 示例 1:搜索商品\r
**用户**:不怕花有活力28吗?\r
\r
**AI**:\r
```\r
🛍️ 不怕花商城\r
\r
🔍 为您找到 "活力28" 相关商品 3 件:\r
\r
1. 活力28花香型洗手液500g大瓶*1\r
💰 ¥1.00\r
📦 ⚠️ 仅剩 20 件\r
🔗 [查看详情](https://bupahua.com/product/595)\r
\r
2. 活力28 原生木浆面巾【400张X4包】\r
💰 ¥1.00\r
📦 ⚠️ 仅剩 10 件\r
🔗 [查看详情](https://bupahua.com/product/550)\r
\r
3. 活力28 管道疏通剂600g*2瓶装\r
💰 ¥13.80\r
📦 ❌ 缺货\r
🔗 [查看详情](https://bupahua.com/product/428)\r
\r
💡 不怕花,花得值!需要查看更多商品吗?\r
```\r
\r
### 示例 2:查询价格\r
**用户**:自然堂男士洁面乳多少钱?\r
\r
**AI**:\r
```\r
🛍️ 不怕花商城\r
\r
🔍 为您找到 "自然堂" 相关商品 1 件:\r
\r
1. 自然堂男士咖啡因活力氨基酸洁面乳120g\r
💰 ¥108.00 (原价 ¥90.00)\r
📦 ❌ 缺货\r
🔗 [查看详情](https://bupahua.com/product/677)\r
\r
💡 不怕花,花得值!需要查看更多商品吗?\r
```\r
\r
### 示例 3:无结果\r
**用户**:不怕花有电视机吗?\r
\r
**AI**:\r
```\r
🛍️ 不怕花商城\r
\r
🔍 抱歉,没有找到 "电视机" 相关商品\r
\r
💡 试试这些:\r
- 换个关键词试试看\r
- 逛逛热销好物:https://bupahua.com/hot\r
- 联系客服咨询:微信搜索 "不怕花" 小程序\r
\r
不怕花,花得值!下次再来逛逛吧~\r
```\r
\r
---\r
\r
## 配置说明\r
\r
### 环境变量(.env 文件)\r
API KEY 通过微信 "不怕花" 小程序获取 → 进入小程序后点击右下角 "我的" → "个人资料" → "API KEY" → 复制粘贴到 .env 文件中\r
技能需要以下配置,放在 `~/.openclaw/skills/bupahua-store/.env`:\r
\r
```env\r
# 不怕花商城 API 配置\r
STORE_API_URL=https://bupahua.com/Api/Search/searches\r
STORE_API_KEY=\r
STORE_NAME=不怕花\r
USE_REAL_API=true\r
```\r
\r
### 配置文件位置\r
- 技能目录:`~/.openclaw/skills/bupahua-store/`\r
- 搜索脚本:`scripts/search.py`\r
- 配置文件:`.env`\r
\r
---\r
\r
## 注意事项\r
\r
1. **关键词提取**:尽可能准确提取商品名称,去除无关词语\r
2. **库存状态**:\r
- 库存 > 50:✅ 充足\r
- 库存 1-50:⚠️ 仅剩 X 件\r
- 库存 = 0:❌ 缺货\r
3. **价格显示**:优先显示优惠价,如有原价则一并显示\r
4. **链接生成**:商品详情页链接为 `https://bupahua.com/product/{id}`\r
5. **错误处理**:API 调用失败时显示友好提示\r
\r
---\r
\r
## 故障排查\r
\r
### 技能未触发\r
- 确保消息包含"不怕花"或明确的商品名\r
- 检查技能是否正确安装:`openclaw skills list`\r
\r
### 搜索无结果\r
- 检查网络连接\r
- 确认 API 地址正确\r
- 查看日志:`openclaw logs --tail 50`\r
\r
### 脚本执行失败\r
- 确认 Python 路径:`which python3`\r
- 测试脚本:`python3 scripts/search.py --keyword "测试"`\r
- 检查 .env 配置是否正确\r
```\r
\r
---\r
Usage Guidance
This skill appears to implement the advertised store search and only contacts the bupahua.com domain, but there are a couple of issues to consider before installing:
- Metadata mismatch: the skill listing does not declare any required environment variables, yet SKILL.md and the script expect STORE_API_KEY (and related config) in ~/.openclaw/skills/bupahua-store/.env or as environment variables. Treat the API key as sensitive and only provide it if you trust the skill and source.
- Inspect local config usage: the script will read ~/.openclaw/bupahua-config.json if present and will load ~/.openclaw/skills/bupahua-store/.env into the process environment. Ensure those files do not contain unrelated secrets you care about.
- Review the included script (scripts/search.py) yourself: it is short and readable; confirm network calls target only bupahua.com and that Authorization is only used if you set STORE_API_KEY.
- If you are unsure about the origin (source is 'unknown' and homepage missing), prefer using USE_REAL_API=false for testing, or run the script manually with a throwaway/non-sensitive API key first.
Given the metadata omission and the script's reading of per-user config, proceed cautiously — the issue may be sloppy packaging rather than malicious intent, but verify before supplying real credentials.
Capability Analysis
Type: OpenClaw Skill
Name: bupahua-store
Version: 1.0.1
The skill is a legitimate product search tool for the 'Bupahua' store. The Python script (scripts/search.py) performs standard API requests using the built-in urllib library to fetch product data based on user keywords. It handles configuration through environment variables and a local .env file, and lacks any indicators of malicious intent, such as data exfiltration, unauthorized command execution, or prompt injection.
Capability Assessment
Purpose & Capability
Name/description claim a product search for the 不怕花 store and the included script and SKILL.md implement exactly that: calling the store API, formatting results, and providing mock data when USE_REAL_API is false. The network host is the store's domain (bupahua.com), which fits the stated purpose.
Instruction Scope
SKILL.md instructs the agent to run the included Python script and to place an .env in the skill directory containing STORE_API_URL/STORE_API_KEY/USE_REAL_API. The runtime script follows those instructions and only sends HTTP requests to bupahua.com. It does read the skill .env and an optional ~/.openclaw/bupahua-config.json — reading a per-user config file is reasonable for configuration but is broader than what the SKILL.md metadata declared.
Install Mechanism
There is no install spec and included code is instruction-only plus a local script. Nothing is downloaded or extracted at install time, and no third‑party packages are pulled in by an install step.
Credentials
Skill metadata declares no required environment variables, but SKILL.md and scripts expect STORE_API_URL, STORE_API_KEY, STORE_NAME and USE_REAL_API (via a .env or environment). The omission in metadata is an incoherence that reduces visibility for users and reviewers. The script does not request unrelated credentials, but it will read/accept an API key which is sensitive.
Persistence & Privilege
always is false and the skill does not request elevated or persistent platform privileges. It does not modify other skills or system-wide configuration beyond reading its own .env and an optional per-user config file.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install bupahua-store - After installation, invoke the skill by name or use
/bupahua-store - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
bupahua-store 1.0.1
- 新增仓库地址说明
- 增加QQ群联系方式
- 更新版本和发布日期信息
- 其他说明文档版面优化,无功能变更
v1.0.0
bupahua-store 1.0.0
- Initial release of the 不怕花商城商品搜索 skill.
- Supports searching for products by keyword, viewing prices, and checking inventory.
- Triggers on shopping-related queries mentioning goods or prices.
- Not designed for order queries, after-sales, cross-platform comparison, or non-product questions.
- Provides formatted search results, no-result suggestions, and error handling messages.
- Requires API KEY obtained via the "不怕花" WeChat mini program.
Metadata
Frequently Asked Questions
What is Bupahua Store?
不怕花商城商品搜索。支持按关键词搜索商品、查看价格和库存。 Use when: 用户问"有XXX吗"、"XXX多少钱"、"搜索XXX"、"不怕花有XXX吗"、"活力28"等商品名称。 NOT for: 订单查询、售后咨询、跨平台比价、非商品类问题。 微信搜索 "不怕花" 小程序获取API KEY → 进入小程序后... It is an AI Agent Skill for Claude Code / OpenClaw, with 137 downloads so far.
How do I install Bupahua Store?
Run "/install bupahua-store" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Bupahua Store free?
Yes, Bupahua Store is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Bupahua Store support?
Bupahua Store is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Bupahua Store?
It is built and maintained by ricky he (@285984303); the current version is v1.0.1.
More Skills