Agent skill · AI & Agents

webshop-option-selector

This skill selects product options or variants (such as size, color, or quantity) on a product detail page based on user preferences or cost optimization. It should be triggered when a product page displays configurable options. The skill evaluates available choices (e.g., 1pcs vs 2pcs) and selects the one that best aligns with the user's constraints, such as minimizing cost.

zjunlpgithub.com/zjunlpGitHub ↗
claude-codeMIT
Install
npx skills add zjunlp/SkillNet --skill webshop-option-selector --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 2 KB
Bundled scripts: none
Path: experiments/src/skills/webshop/webshop-option-selector/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,117
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Skill: WebShop Option Selector ## Trigger Condition Activate this skill when the observation from the WebShop environment contains: 1. A product detail page (indicated by the presence of a "Price:" field and product title). 2. One or more configurable option categories (e.g., "size:", "color:", "quantity:") with clickable values listed beneath them. ## Core Logic 1. **Parse the Observation:** Identify all configurable option categories and their available values from the current page state. 2. **Apply Selection Strategy:** By default, implement a **cost-minimization strategy**. For each option category, select the value that results in the lowest final price while still meeting any explicit user constraints from the original instruction (e.g., "price lower than 40.00 dollars"). 3. **Execute Selection:** Perform a `click[value]` action for the chosen option value. If multiple categories exist, they should be selected in the order they appear on the page. ## Important Notes - The skill assumes the displayed price updates (or is representative) after an option is selected. Your action should be based on the currently displayed information. - If the user's instruction contains specif

What's inside
Steps it walks through
  1. Trigger Condition
  2. Core Logic
  3. Important Notes
  4. Example from Trajectory
Ships with 1 file
  • references/strategy_docs.md
More from SkillNet
All skills →
About this skill
What does the webshop-option-selector skill do?

This skill selects product options or variants (such as size, color, or quantity) on a product detail page based on user preferences or cost optimization. It should be triggered when a product page displays configurable options. The skill evaluates available choices (e.g., 1pcs vs 2pcs) and selects the one that best aligns with the user's constraints, such as minimizing cost.

How do I install it?

Run `npx skills add zjunlp/SkillNet --skill webshop-option-selector --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From zjunlp/SkillNet, a repository with 1,117 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going