← Back to Skills Marketplace
skyfile

online-shopping-discount

by wuweizhen · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ⚠ suspicious
303
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install online-shopping-discount
Description
在有购物需求的情况下,提供查找优惠商品信息、生成优惠建议和优惠链接的能力。支持商品搜索、价格比较、优惠推荐和链接生成。
Usage Guidance
Before installing or invoking this skill, consider the following: - The scripts contact a custom remote API (default: https://online-shopping-discount.io.mlj130.com). If you don't trust that domain, do not run the scripts. Prefer skills that use official, documented APIs or well-known providers. - register.sh attempts to read device identifiers (macOS IOPlatformUUID, /sys/class/dmi/id/product_uuid, /etc/machine-id, Windows CIM UUID). These hardware IDs may be sent to the remote service as the username. If you are uncomfortable with exposing hardware identifiers, do not run register.sh or override the username with --username, or set SHOPPING_API_ENDPOINT to a proxy you control for inspection. - The scripts cache credentials locally in scripts/.credential_cache (mode 600). Even though permissions are restricted, the cached credential will persist across sessions and may be automatically refreshed, causing subsequent network calls. Remove or inspect the cache if you stop using the skill. - If you want to test safely: run the scripts in an isolated environment (throwaway VM or container), or set SHOPPING_API_ENDPOINT to a local/controlled endpoint to observe what data is transmitted before using on a real machine. - If you need similar functionality but want lower risk, prefer tools that call official public APIs (with documented client keys you control) or require explicit, user-provided credentials rather than auto-registering with a third‑party service. If you want, I can list the exact lines that read device identifiers and the default endpoints the scripts use so you can review them or create safe overrides.
Capability Analysis
Type: OpenClaw Skill Name: online-shopping-discount Version: 1.0.2 The skill bundle is classified as suspicious primarily due to the behavior of `scripts/register.sh`, which performs hardware fingerprinting by collecting unique system identifiers (macOS IOPlatformUUID, Linux product_uuid/machine-id, and Windows Win32_ComputerSystemProduct UUID) and sending them to a remote endpoint (online-shopping-discount.io.mlj130.com). While this behavior is disclosed in the documentation as a registration mechanism, collecting persistent hardware-level identifiers is excessive for a shopping discount tool and poses a privacy risk. The remaining scripts for searching and link generation appear to follow their stated purpose without obvious malicious logic.
Capability Assessment
Purpose & Capability
The skill's code (register/search/generate scripts) aligns with the described functionality (registration, product queries, link generation). However, the registration script collects machine identifiers (device UUID, /etc/machine-id, Windows CIM UUID) and will use them as the username when available. Collecting hardware IDs is not necessary for a straightforward product search/link generator and is disproportionate to the stated purpose.
Instruction Scope
SKILL.md instructs the agent to run the included scripts (register.sh, search_products.sh, generate_link.sh). The scripts perform network requests to a remote API, read local system identifiers, write a local credential cache file, and automatically refresh credentials close to expiry. The instructions give the agent freedom to call register (which may transmit device identifiers) and to reuse cached credentials across sessions; this expands the data the skill reads/sends beyond typical shopping queries.
Install Mechanism
There is no install spec (instruction-only), so nothing is automatically written during install. But the included scripts contact a default remote API endpoint: https://online-shopping-discount.io.mlj130.com — a custom domain (not a well-known vendor or GitHub release). Network calls to that endpoint occur at runtime (registration, search, getLink). That runtime contact to an unknown third‑party increases risk even though no package install is required.
Credentials
The skill declares no required environment variables, but the scripts accept and use optional env vars (SHOPPING_API_ENDPOINT, SHOPPING_API_TIMEOUT, SHOPPING_DEFAULT_PLATFORM). More importantly, the registration process will send a username which may be the machine's hardware UUID (collected from /sys/class/dmi/id/product_uuid, /etc/machine-id, macOS IOPlatformUUID, or Windows CIM). Transmitting such device identifiers to the default remote service is not justified by the stated feature set and is potentially sensitive.
Persistence & Privilege
always:false and no special platform privileges are requested. The scripts create a local credential cache file (scripts/.credential_cache) with mode 600 and automatically refresh credentials close to expiry, which means the skill can make network calls in future sessions if invoked. Autonomous invocation of the skill (the platform default) combined with automatic refresh could cause background network activity, but the skill is not force-enabled system‑wide.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install online-shopping-discount
  3. After installation, invoke the skill by name or use /online-shopping-discount
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
- No code or documentation changes in this version; behavior remains the same. - No file changes detected.
v1.0.1
- No functional or documentation changes; version bump only.
v1.0.0
online-shopping-discount v1.0.0 - Initial release: enables users to find discounted products, compare prices, generate promo links, and receive smart shopping suggestions for Taobao and JD. - Supports product search by keywords, platform preference, and price range filtering. - Guides user interaction: requests platform preference, shows detailed product info and recommendations, and only generates purchase links after user confirmation. - Emphasizes security (credential protection) and compliance with platform rules.
Metadata
Slug online-shopping-discount
Version 1.0.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is online-shopping-discount?

在有购物需求的情况下,提供查找优惠商品信息、生成优惠建议和优惠链接的能力。支持商品搜索、价格比较、优惠推荐和链接生成。 It is an AI Agent Skill for Claude Code / OpenClaw, with 303 downloads so far.

How do I install online-shopping-discount?

Run "/install online-shopping-discount" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is online-shopping-discount free?

Yes, online-shopping-discount is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does online-shopping-discount support?

online-shopping-discount is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created online-shopping-discount?

It is built and maintained by wuweizhen (@skyfile); the current version is v1.0.2.

💬 Comments