跳到主要内容
知仓学习社ZHICANG

webshop-product-selector

>-

不碰外部(只输出文字)无严重或高危命中zjunlp/SkillNet

它会碰到什么

扫了多少2 个文本文件,4 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Instructions

Use this skill when you are on a search results page with multiple product options that appear to meet the user's core requirements.

Decision Process

  1. Assess the List: Review the provided observation, which contains a list of products. Each product entry typically includes a Product ID (e.g., B093C1THVP), a title, and a price.
  2. Apply Selection Heuristic: Use the bundled selector.py script to programmatically identify the best candidate. The script implements the following logic:
  • Filters products strictly under the user's specified maximum price.
  • Scores remaining products based on keyword matching in the title against the user's core requirements (e.g., "portable", "easy to carry", "double horn").
  • Selects the product with the highest score. In case of a tie, it chooses the lowest-priced item.
  1. Execute Action: The final action is always to click on the selected product's ID to navigate to its detail page for final verification and purchase. The action format is click[product_id].

Thought Process Template

Structure your reasoning before acting using this template:

Thought: [List the user's requirements, evaluate each candidate product against them, explain why the selected product is the best match.]

Action: click[<product_id>]

Example

Instruction: "i need a portable double horn bluetooth speaker that is easy to carry, and price lower than 50.00 dollars"

Observation (Search Results):

  • B093C1THVP: "Portable Double Horn Bluetooth Speaker — Compact & Easy to Carry" — $32.99
  • B08XYZ1234: "Double Horn Wireless Speaker — Premium Sound" — $55.00
  • B07ABC5678: "Mini Portable Bluetooth Speaker" — $19.99

Thought: The user needs a portable, double horn bluetooth speaker that is easy to carry, under $50. B093C1THVP at $32.99 matches "portable", "double horn", and "easy to carry" — all keywords present in the title. B08XYZ1234 exceeds the $50 budget. B07ABC5678 is within budget but lacks "double horn". Selecting B093C1THVP as the best match.

Action: click[B093C1THVP]

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。