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

webshop-variant-chooser

This skill selects a product variant (e.g., size, quantity) from available options on a product detail page. It is triggered when a product page dis…

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

它会碰到什么

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

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

技能内容

Instructions

When to Use

Use this skill when you are on a product detail page and the observation contains a list of variant options (e.g., under a "size" or "quantity" heading). The skill is triggered by the presence of multiple clickable options that represent different configurations of the same product.

Core Decision Logic

  1. Parse the Observation: Identify the list of available variant options from the observation text. These are typically presented as clickable values after a label like "size".
  2. Assess User Needs: Review the original user instruction for any explicit or implicit preferences regarding variant (e.g., budget constraints, desired quantity). If no preference is stated, default logic applies.
  3. Select and Act: Choose the most appropriate variant and execute a click[value] action.
  • If user instruction specifies a constraint (e.g., "price lower than 40.00 dollars"): Ensure the selected variant's price (if displayed) complies.
  • If no user preference is stated: Prefer the standard, single-unit option (e.g., "1.1 pound (pack of 1)" over "pack of 2") as a sensible default.
  • If the choice is ambiguous: You may need to click on a variant to see its updated price/details before finalizing the selection, as shown in the trajectory.

Action Format

Your response must strictly follow this format:

想直接用这个技能?

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