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.
- •Use exact or fuzzy matching (see
- •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.