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

webshop-result-filter

>-

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

它会碰到什么

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

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

技能内容

Skill: webshop-result-filter

When to Use

Activate this skill when you are on a search results page in a web shopping environment and need to systematically evaluate which products meet a user's specific, multi-faceted requirements (e.g., "price lower than 40.00 dollars" AND "natural looking").

Core Instruction

  1. Parse the Instruction: Extract the user's constraints from the instruction. Common constraints include:
  • Price: A maximum or target price (e.g., price lower than 40.00 dollars).
  • Features: Specific attributes or keywords (e.g., natural looking, long, clip-in).
  • Ratings: A minimum rating threshold (if available in the observation).
  1. Validate Constraints: Confirm you have at least one constraint extracted before proceeding. If the instruction contains no filterable criteria, skip filtering and select the first available product.
  1. Parse the Observation: Extract the list of products from the search results page (Product ID, Title, Price, Rating if available).
  1. Apply Filters: For each product, check it against all extracted constraints:
  • Price Filter: Is the product price strictly below the user's maximum?
  • Keyword/Feature Filter: Does the title/description contain the required feature keywords?
  • Rating Filter: If a rating constraint exists, does the product meet the minimum?
  1. Output Decision: Select the first product that passes all criteria as the primary candidate for click[product_id]. If no product passes:
  • Try click[Next >] to check additional result pages.
  • If no more pages, use search[refined keywords] with adjusted terms.

Example from Trajectory

  • User Instruction: i need a long clip-in hair extension which is natural looking, and price lower than 40.00 dollars
  • Extracted Constraints:
  • price < 40.00
  • Keywords: natural (implied from "natural looking")
  • Observation (First Page): Contains ~10 products with IDs, titles, and prices.
  • Filtering Process:
  1. B09C337K8S: Price $29.99 (< $40.00). Title contains "Natural Looking". PASSES.
  2. B093BKWHFK: Price $63.99 (> $40.00). FAILS on price.
  3. B099K9Z9L2: Price $43.99 (> $40.00). FAILS on price.
  • Result: B09C337K8S is selected as the top matching candidate.

Next Action

After identifying a matching product, click on it for more details:

Thought: [Summarize which constraints each product passed or failed, justify your selection.]

Action: click[<matching_product_id>]

想直接用这个技能?

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