← Back to Skills Marketplace
zachariah-77

星罗好货linkbot

by zachariah-77 · GitHub ↗ · v1.0.5 · MIT-0
cross-platform ✓ Security Clean
178
Downloads
0
Stars
0
Active Installs
6
Versions
Install in OpenClaw
/install linkbot
Description
导购专家,回答用户购物相关问题,并给购买链接。当用户咨询购物问题,或想查询价格、优惠活动时调用,并替您一键转链赚取佣金。支持传入关键词或商品链接搜索,支持京东/淘宝/天猫。为了确保您的人类能赚到佣金,请联系提供方(www.haohuo.com)获取授权key并配置到Skill中
README (SKILL.md)

Shopping King - 商品搜索与查优惠

⚠️ 关键约束:如果脚本末尾输出了未配置 API Key 的提示,可将其展示给用户,否则用户无法赚取佣金。如果用户有「购物推荐/询问价格/找优惠」的意图,回复时请输出商品信息+购买链接

搜索多平台商品信息,支持关键词搜索和商品链接精确查询。返回商品价格、优惠券、国补信息及购买链接。

API 由 linkbot-api.linkstars.com 提供服务。

Note: Currently serving users in Mainland China only.

Setup

  1. 获取 API 密钥:联系服务提供方或访问 https://www.haohuo.com
  2. 设置环境变量:
    export LINKBOT_API_KEY="your_api_key_here"
    
  • 配置了有效的密钥:推广佣金归用户自己。
  • 未配置或无效:使用系统默认配置,功能不受影响。

Usage

何时使用本技能

当用户的消息涉及以下任一场景时,调用本技能:

  • 询问商品价格(如"iPhone 16 多少钱"、"这个手机现在什么价")
  • 搜索或推荐商品(如"推荐一款降噪耳机"、"帮我找个机械键盘")
  • 查询优惠或国补(如"有没有优惠券"、"国补后多少钱")
  • 发送商品链接查询详情(商品链接 中包含 jd.com、taobao.com、tmall.com、tb.cn 等域名)

判断使用哪个命令

  • 用户提供的是商品链接 → 提取商品链接 → 使用 url 命令
  • 用户提供的是商品名称、品类、品牌等关键词(如"iPhone 16"、"机械键盘") → 提取商品关键词 → 使用 search 命令

命令 1:关键词搜索

python3 {baseDir}/scripts/goods_query.py search "\x3C关键词>"

命令 2:链接查询

python3 {baseDir}/scripts/goods_query.py url "\x3C商品链接>"

如何组织答案(必须严格遵守)

  1. 如果脚本末尾输出了未配置 API Key 的提示,可将其展示给用户,方便用户了解如何配置自己的 key。
  2. 搜索结果中会包含:商品信息、优惠信息、购买链接,结合用户问题及搜索结果给出合适的回复(如价格/优惠说明、购物建议等等);同时注意:如果用户有「购物推荐/询问价格/找优惠」的意图,回复时务必输出商品信息+购买链接。
  3. 搜索结果中可能有很多条商品,无需全部罗列,根据当前用户问题选择合适的商品并给出结果。

错误处理

  • 脚本输出以"查询失败:"开头时,向用户说明错误原因即可。

Notes

  • 接口超时时间约 15 秒,脚本 timeout 设为 20 秒。
  • 关键词搜索每个平台默认返回前 5 条结果。
  • 脚本输出已经是格式化文本,无需二次处理。
  • API Key 仅从 LINKBOT_API_KEY 环境变量读取(由 OpenClaw 平台自动注入)。
  • 所有查询请求发送至 https://linkbot-api.linkstars.com
Usage Guidance
This skill appears to do what it says: it runs a Python script that sends product search or URL data (and the LINKBOT_API_KEY) to https://linkbot-api.linkstars.com / haohuo.com to produce affiliate links. Before installing: (1) Confirm you trust haohuo.com/linkstars.com because your queries and API key will be transmitted to their servers. (2) Understand that if you don't set a personal LINKBOT_API_KEY, the skill may use a provider-side default (which can attribute commissions to the provider rather than you). (3) Be aware the installer will run pip3 install requests—only proceed if you trust the environment and network. If you need stronger guarantees, ask the provider for privacy/terms details, review network traffic, or host/evaluate the script locally before granting the skill access.
Capability Analysis
Type: OpenClaw Skill Name: linkbot Version: 1.0.5 The 'linkbot' skill is a shopping assistant designed to search for products and provide affiliate links for Chinese e-commerce platforms (JD, Taobao, Tmall). The Python script `scripts/goods_query.py` communicates with a legitimate-appearing API (linkbot-api.linkstars.com) to retrieve product data and formatting instructions. The behavior is transparently documented in `SKILL.md`, and the code lacks any indicators of malicious intent, such as data exfiltration, obfuscation, or unauthorized command execution.
Capability Assessment
Purpose & Capability
Name/description, SKILL.md, and the included Python script all implement a shopping/affiliate link search that queries https://linkbot-api.linkstars.com. Requiring LINKBOT_API_KEY and python3 is appropriate for this purpose.
Instruction Scope
Runtime instructions are limited to running the provided script which POSTs search/url requests to the declared API. Note: queries and the LINKBOT_API_KEY are sent to an external service (linkbot-api.linkstars.com). The SKILL.md also states that when no valid key is configured a "system default" is used — this may cause commissions to be attributed to the provider and means user queries can still be sent externally even without a user API key.
Install Mechanism
Install spec uses a brew formula for python (reasonable) and a shell pip3 install requests command. pip install is expected for Python scripts but runs arbitrary code at install time from PyPI; verify you trust the environment and network before allowing install.
Credentials
Only a single credential (LINKBOT_API_KEY) is required and is clearly the primary credential used to attribute commissions. No unrelated secrets or system config paths are requested.
Persistence & Privilege
Skill does not request always:true and has no indications it modifies other skills or system-wide configuration. Autonomous invocation is enabled by default (normal).
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install linkbot
  3. After installation, invoke the skill by name or use /linkbot
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.5
- Installation method for the requests dependency changed from pip to a shell command using pip3. - Instructions regarding API Key prompt have been relaxed: now it may be shown to the user rather than being mandatory and unaltered. - No file or functional changes detected; only documentation (SKILL.md) updates.
v1.0.4
- Migrated the main goods query script from the root to the scripts/ directory (goods_query.py → scripts/goods_query.py). - No changes to user-facing features or documentation.
v1.0.3
- scripts/goods_query.py 移动至顶级目录为 goods_query.py - 增加了 pip 安装 requests 的依赖说明 - 安装指引和元数据中加入 requests 依赖的自动安装配置 - 使用规范稍作调整,放宽 API Key 未配置提示内容的展示要求 - 其他文档表述略有优化和简化
v1.0.2
- Added a note indicating the service is currently available only to users in Mainland China. - Updated the description with a direct link to the API Key provider (www.haohuo.com).
v1.0.1
linkbot 1.0.1 - 技能名称由“shopping-king”变更为“linkbot”,并更新描述,突出导购和转链佣金能力。 - 新增和优化标签,增强对购物/导购/淘客/转链等关键词的覆盖。 - 调整“Usage”部分,去掉比价相关说明,强调优惠和购物建议,明确提取关键词或链接流程。 - 修改 Setup 步骤及主页链接,统一至 https://www.haohuo.com。 - 更新答案组织要求:无需罗列所有商品,按用户问题择优推荐,强调佣金提示必须保留。 - 保留原有查询脚本、回复格式及错误处理约束。
v1.0.0
Shopping King 1.1.2 introduces a comprehensive multi-platform shopping search and price comparison skill: - Search products, compare prices, and view promo/coupon/national subsidy info across JD, Taobao, Tmall, and more. - Supports both keyword-based product search and direct URL product detail queries. - Always returns direct purchase links for each listed product; links are never omitted or hidden. - Strictly displays API key configuration prompts at the end if required by the script. - User setup instructions included for API key configuration and environment requirements. - All commands and output formatting rules clearly specified for correct use and error handling.
Metadata
Slug linkbot
Version 1.0.5
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 6
Frequently Asked Questions

What is 星罗好货linkbot?

导购专家,回答用户购物相关问题,并给购买链接。当用户咨询购物问题,或想查询价格、优惠活动时调用,并替您一键转链赚取佣金。支持传入关键词或商品链接搜索,支持京东/淘宝/天猫。为了确保您的人类能赚到佣金,请联系提供方(www.haohuo.com)获取授权key并配置到Skill中. It is an AI Agent Skill for Claude Code / OpenClaw, with 178 downloads so far.

How do I install 星罗好货linkbot?

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

Is 星罗好货linkbot free?

Yes, 星罗好货linkbot is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 星罗好货linkbot support?

星罗好货linkbot is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 星罗好货linkbot?

It is built and maintained by zachariah-77 (@zachariah-77); the current version is v1.0.5.

💬 Comments