Individual skill
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 displays multiple choices, assessing the options (like '1.1 pound (pack of 1)' or 'pack of 2') and selecting one that aligns with user needs, often defaulting to a standard single unit if unspecified.
experiments/src/skills/webshop/webshop-variant-chooser/SKILL.md
Source commit edfbda23ac2108b59579300d050218558d20f6a6
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- Yes
- Observed behavior
- Not checked yet
- Last checked
- Nov 7, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 1,450
- Repository last updated
- Nov 2, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai-agents Repository topic
- ai-skills Repository topic
- artificial-intelligence Repository topic
- knowledge-graph Repository topic
- large-language-models Repository topic
- natural-language-processing Repository topic
- openkg Repository topic
- skills Repository topic
- skillnet Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 1,785 bytesreferences/trajectory.mddoc · 267 bytes
Read excerpt
# 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: