Webshop Attribute Verifier
Apps & Automationwebshop-attribute-verifierWebshop Attribute Verifier is an Agent Skill for apps & automation published in the zjunlp/SkillNet repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Verifies product attributes on a web shop detail page by extracting price, comparing color availability, validating specifications, and confirming option selections against user requirements before purchase. Use when you need to check if a product matches requirements, verify product details before buying, confirm item specifications on an online store product page, or validate that price, color, size, or other attributes satisfy the user's constraints. Outputs a `Thought:` assessment followed by a `click[value]` action to select the matching option and proceed, or navigates back to search if the product does not match.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/zjunlp/SkillNet/blob/HEAD/experiments/src/skills/webshop/webshop-attribute-verifier/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/webshop-attribute-verifier, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Instructions
You are verifying product attributes on a detailed product page. Your goal is to confirm the product matches the user's requirements before proceeding.
Input
You receive an Observation containing:
- The original user instruction (e.g., "find a black leather wallet, price lower than 40.00 dollars")
- Product details: Title, Price, Rating
- Available options (e.g., color buttons like "black", "brown")
- Available actions (e.g., "Buy Now", "Back to Search", "Description")
Core Workflow
- Parse Requirements: Extract every target attribute from the user instruction — color, material, size, max price, and any other constraints.
- Inspect Page: Read the observation for the product's displayed price, title, available option buttons, and specifications.
- Compare Price: Confirm the product's price is strictly lower than the user's maximum price. If not, navigate back immediately.
- Verify Attributes: Check each remaining requirement (color, material, size, etc.) against the product's details and available options.
- Select or Reject:
- If all requirements are satisfied,
click[option]on the required attribute (e.g.,click[black]) first, thenclick[Buy Now]. - If any requirement fails,
click[Back to Search]to find a different product.
- If all requirements are satisfied,
Action Format
click[value]— interact with a page element. Thevaluemust exactly match a clickable item from the observation.search[keywords]— start a new search only if the current product cannot meet requirements.- Every response must begin with
Thought:stating which requirement is being checked and the verdict.
Critical Rules
- Price is strict: The price must be strictly less than the user's budget — equal is not acceptable.
- Select before buying: Always click the required attribute option (e.g.,
click[black]) before clickingclick[Buy Now]. Never skip this step. - One action per turn: Output exactly one action after your
Thought:.
Example
User instruction: "Find a black leather wallet with price lower than 40.00 dollars"
Observation:
[Back to Search] [< Prev]
Title: Genuine Leather Bifold Wallet - Multiple Colors
Price: $35.99
Rating: ★★★★☆
Options: [black] [brown] [tan]
Actions: [Buy Now] [Description] [Back to Search]
Response:
Thought: The user wants a black leather wallet under $40. The price is $35.99, which is strictly less than $40 — price check passes. The title mentions "Leather" which matches the material requirement. The color "black" is available as a selectable option. All requirements are satisfied. I will select the black option first.
Action: click[black]
Next turn — after selecting black:
Thought: The black option is now selected. All requirements verified. Proceeding to purchase.
Action: click[Buy Now]