← 返回 Skills 市场
harrylabsj

China Shopping

作者 haidong · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ✓ 安全检测通过
329
总下载
0
收藏
1
当前安装
5
版本数
在 OpenClaw 中安装
/install china-shopping
功能描述
Recommend suitable Chinese shopping platforms for a user-provided product type, product name, or shopping need. Use when the user asks where to buy something...
使用说明 (SKILL.md)

China Shopping

Recommend suitable Chinese shopping platforms based on product category and shopping intent.

This is a lightweight Python-backed skill. It uses a local Python script plus bundled JSON data to map product names to shopping categories and recommend suitable Chinese e-commerce platforms.

It does not perform live browsing, real-time price checks, or seller verification. For live page inspection, real-time pricing, or store-level comparison, switch to browser-based workflows instead of pretending this skill does live retrieval.

Runtime requirement

Require:

  • python3

Do not require:

  • jq
  • shell helper scripts
  • install scripts
  • writable config or log paths
  • credentials or API keys

Files used by this skill

  • china-shopping.py — local CLI implementation
  • data/categories.json — category and platform recommendation data
  • data/product_mapping.json — product keyword mapping
  • data/general_fallback.json — fallback recommendations

Read these references as needed:

  • references/category-guide.md for category-to-platform guidance
  • references/output-patterns.md for answer structure

Workflow

  1. Identify the product category or shopping intent.

    • Accept a product type, shopping need, or product name.
    • If the request is too broad, ask one short clarifying question.
  2. Use the local Python implementation when execution is appropriate.

    • Run python3 china-shopping.py recommend "\x3Cproduct>" for the default recommendation flow.
    • Use python3 china-shopping.py categories when the user wants to inspect supported categories.
  3. Explain the recommendation.

    • Say why the recommended platforms fit.
    • Mention meaningful trade-offs when useful.
  4. Add practical guidance.

    • Suggest what the user should check next, such as official stores, seller reputation, user reviews, authenticity, or delivery terms.

Output

Use this structure unless the user asks for something else:

Recommended Platforms

List the most suitable 2-4 platforms.

Why

Explain why each platform fits the product or need.

Best Choice

State which platform is the strongest default recommendation.

Caveats

Mention important cautions, such as seller quality differences, authenticity risk, or category-specific trade-offs.

Final Advice

Give a practical buying suggestion in plain language.

Quality bar

Do:

  • recommend platforms by category fit
  • explain trade-offs clearly
  • mention official stores or trusted sellers when relevant
  • stay honest about not doing real-time price retrieval

Do not:

  • pretend to check live listings or prices
  • claim a platform is cheapest without real-time evidence
  • suggest weak-fit platforms just because they are famous
安全使用建议
This skill appears to be what it claims: a local, offline recommender that reads bundled data and prints suggestions. It does not request credentials or make network calls. Before installing, consider: (1) review the bundled data files if you need to ensure recommendations match your expectations (there are duplicate/unused data files present), (2) the code is local Python — run it in a safe environment if you want to validate outputs, and (3) the SKILL.md and code have minor maintenance mismatches (unused JSON files and duplicated mappings) but nothing indicating exfiltration or malicious behavior.
功能分析
Type: OpenClaw Skill Name: china-shopping Version: 1.1.0 The 'china-shopping' skill is a legitimate recommendation tool for Chinese e-commerce platforms. The core logic in 'china-shopping.py' is well-implemented with explicit input validation against shell-injection characters and length limits, and it operates entirely on local JSON data files without any network or sensitive file access.
能力评估
Purpose & Capability
Name/description match the actual implementation. The skill only requires python3 and the included data files to map product names to categories and recommend platforms — all appropriate for a shopping-recommendation skill.
Instruction Scope
SKILL.md instructs the agent to run the local CLI (python3 china-shopping.py ...), which matches the code. Minor inconsistencies: the README and SKILL.md list data/product_mapping.json and data/general_fallback.json as used files, but the CLI loads data/categories.json and uses an internal PRODUCT_KEYWORDS table; product_mapping.json and general_fallback.json are present but not actually read by the code. This is a coherence/maintenance issue but not a security risk. The instructions do not direct reading unrelated system files or environment variables.
Install Mechanism
No install spec; this is instruction-only with a bundled Python script and local JSON files. Nothing is downloaded or executed from external URLs at install time.
Credentials
The skill requests no environment variables, no credentials, and no config paths. This is proportionate to its stated function.
Persistence & Privilege
always:false and no requests to modify other skills or system configuration. The skill runs only when invoked and does not demand elevated persistence.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install china-shopping
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /china-shopping 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
Rework as a compliant Python-backed tool skill: restore local Python CLI and bundled JSON data, remove shell/jq dual-runtime ambiguity, and declare python3 requirement explicitly.
v1.0.2
Clarify as instruction-only skill; remove bundled runtime code and undeclared dependency/install artifacts; keep category-based platform recommendation guidance only.
v0.1.0
Browser-commerce workflow upgrade: unified OpenClaw browser profile selection, snapshot/re-snapshot rules, commerce extraction order, and platform-specific live-page guidance.
v1.0.1
Security fix: Fixed command injection vulnerabilities, added input validation
v1.0.0
Initial release of China Shopping skill. - Recommends top Chinese shopping websites based on user-input product categories. - Supports both CLI commands and natural language triggers. - Covers popular product types such as electronics, clothing, and groceries. - Requires no external dependencies; uses built-in data files for categories and recommendations. - Provides clear, user-friendly output with buying tips. - No configuration needed for usage.
元数据
Slug china-shopping
版本 1.1.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 5
常见问题

China Shopping 是什么?

Recommend suitable Chinese shopping platforms for a user-provided product type, product name, or shopping need. Use when the user asks where to buy something... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 329 次。

如何安装 China Shopping?

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

China Shopping 是免费的吗?

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

China Shopping 支持哪些平台?

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

谁开发了 China Shopping?

由 haidong(@harrylabsj)开发并维护,当前版本 v1.1.0。

💬 留言讨论