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…
它会碰到什么
扫了多少1 个文本文件,2 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
Instructions
When to Use
Activate this skill when ALL of the following are true:
- You are on a product detail page (not a search results page).
- The observation contains configurable product options (e.g., "flavor", "size") listed as available actions.
- 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
- Parse Requirements: From the user's instruction, extract the required attribute values (e.g., target flavor, size, dietary feature).
- 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.pyfor 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.
- Execute Selection: For each identified attribute option, perform a
click[value]action, wherevalueis the exact text of the matching clickable. - 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 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
星标★ 1,263
本站分层T1
该仓技能数122
原文件路径
experiments/src/skills/webshop/webshop-attribute-selector/SKILL.md同一个仓库里的其他技能
- alfworld-appliance-navigator
- alfworld-appliance-preparer
- alfworld-clean-object
- alfworld-device-operator
- alfworld-environment-scanner
- alfworld-goal-interpreter
- alfworld-heat-object-with-appliance
- alfworld-inventory-management
- alfworld-locate-target-object
- alfworld-location-navigator
- alfworld-navigation-planner
- alfworld-object-cooler