AgentSkillsCN

webshop-initial-search

根据解析后的用户需求,使用关键词在电商平台进行首次搜索。当用户开始探索产品,或当之前的搜索结果不够充分时,可触发该技能。它会根据筛选条件(如“24瓶装,每瓶7.5盎司,非转基因经典汤力水”)拟定搜索查询,并执行搜索动作,返回初始结果页面。

SKILL.md
--- frontmatter
name: webshop-initial-search
description: Performs the first search on an e-commerce platform using keywords derived from parsed user requirements. Trigger this skill when starting product discovery or when previous search results are insufficient. It formulates a search query from the criteria (e.g., '24 pack of 7.5 ounce bottles of non-gmo classic tonic') and executes the search action, returning the initial result page.

Instructions

  1. Parse Requirements: Extract the core product criteria from the user's instruction. Focus on:

    • Quantity & Packaging: (e.g., "24 pack")
    • Size: (e.g., "7.5 ounce bottles")
    • Key Attributes: (e.g., "non-gmo", "classic tonic")
    • Price Constraint: (e.g., "price lower than 50.00 dollars") - This is for validation later, not for the initial search query.
  2. Formulate Search Query: Combine the extracted criteria into a concise, natural-language search string. Prioritize specificity to filter results effectively.

    • Example: For "i would like to get a 24 pack of 7.5 ounce bottles of non-gmo classic tonic", the query should be: 24 pack of 7.5 ounce bottles of non-gmo classic tonic
    • Do not include the price constraint in the search keywords.
  3. Execute Search: Use the platform's search[<keywords>] action with your formulated query.

    • The action output will be the initial search results page observation.
  4. Next Steps: After executing this skill, proceed to evaluate the search results. The next actions will typically involve clicking on a promising product listing or refining the search.