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

webshop-attribute-selector

Selects specific product attributes (e.g., flavor, size) on a product detail page to match user requirements. Triggered when a product page presents…

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

它会碰到什么

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

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

技能内容

Instructions

When to Use

Activate this skill when ALL of the following are true:

  1. You are on a product detail page (not a search results page).
  2. The observation contains configurable product options (e.g., "flavor", "size") listed as available actions.
  3. The user's instruction specifies required values for one or more of these attributes (e.g., "gluten free", "4 ounce (pack of 2)", "smoked peppered bacon").

Core Process

  1. Parse Requirements: From the user's instruction, extract the required attribute values (e.g., target flavor, size, dietary feature).
  2. Map to Options: Examine the list of available actions (clickables). Identify which clickable text corresponds to each required attribute value.
  • Use exact or fuzzy matching (see scripts/match_attribute.py for logic).
  • Prioritize exact matches. For dietary features like "gluten free" or "vegetarian," the product title or description may already confirm this; your goal is to select the correct flavor/size.
  1. Execute Selection: For each identified attribute option, perform a click[value] action, where value is the exact text of the matching clickable.
  2. Finalize: After all required attributes are selected, if a "Buy Now" or similar action is available and the instruction implies a purchase, you may proceed to click it.

Important Notes

  • Do not use this skill on search results pages. Use search actions there.
  • If a required attribute cannot be matched to any available clickable, do not click. Re-evaluate the instruction or consider a different product.
  • The observation may refresh after each click, showing the same page with selected options highlighted. Continue until all specified attributes are satisfied.

想直接用这个技能?

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