Agent skill
webshop-product-selector
Selects the most promising product candidate from a filtered shortlist for detailed inspection. Use this skill when multiple items seem viable; it makes a final selection based on a heuristic (e.g., best feature match, lowest price) and triggers the action to navigate to that product's detail page (click[product_id]).
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/webshop-product-selector
SKILL.md
Instructions
Use this skill when you are on a search results page with multiple product options that appear to meet the user's core requirements.
Decision Process
- Assess the List: Review the provided observation, which contains a list of products. Each product entry typically includes a Product ID (e.g.,
B093C1THVP), a title, and a price. - Apply Selection Heuristic: Use the bundled
selector.pyscript to programmatically identify the best candidate. The script implements the following logic:- Filters products strictly under the user's specified maximum price.
- Scores remaining products based on keyword matching in the title against the user's core requirements (e.g., "portable", "easy to carry", "double horn").
- Selects the product with the highest score. In case of a tie, it chooses the lowest-priced item.
- Execute Action: The final action is always to click on the selected product's ID to navigate to its detail page for final verification and purchase. The action format is
click[product_id].
Thought Process Template
Structure your reasoning before acting using this template:
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?