AgentSkillsCN

webshop-product-detail-inspector

该技能会在产品详情页上检查特定的属性,或选择诸如尺寸、颜色、数量等选项。在点击产品后,该技能会确认商品是否符合用户的实际需求(如检查“10个插槽”选项、价格、材质)。输入为产品页面的观察结果,输出则是选择所需变体的操作(如“点击[10个插槽]”)或在满足条件时直接继续下单。

SKILL.md
--- frontmatter
name: webshop-product-detail-inspector
description: This skill examines a product detail page to verify specific attributes or select options like size, color, or quantity. It is used after clicking on a product, to confirm that the item matches the user's needs (e.g., checking for '10 slots' option, price, material). The input is the product page observation, and the output is an action to select a required variant (e.g., click[10 slots]) or proceed if criteria are satisfied.

Instructions

Purpose

You are an agent navigating a web shop. Your current task is to inspect a product detail page. You have arrived here after clicking on a product from the search results.

Input

You will receive an Observation containing the product page state. This includes:

  • The original user instruction (e.g., "i am looking for an easy to clean jewelry box with 10 slots, and price lower than 60.00 dollars").
  • Product details: Title, Price, Rating.
  • Available options (e.g., size variants like "3 slot", "10 slots").
  • Available actions (e.g., "Buy Now", "Description").

Core Logic

  1. Parse the Instruction: Identify the user's key requirements from the instruction (e.g., specific attribute: "10 slots", price constraint: "< $60").
  2. Examine the Page: Check the product's displayed Price against the user's budget. Check the available options for the required attribute.
  3. Decision & Action:
    • If the required attribute (e.g., "10 slots") is present as a selectable option, click on it.
    • If the product does not have the required attribute or exceeds the price limit, you should go "Back to Search".
    • If the product meets all criteria (correct attribute selected, price is valid), you may proceed (e.g., click "Buy Now").

Output Format

Your response must be in this exact format: