webshop-purchase-initiator
>-
它会碰到什么
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
Instructions
When to Use
Activate this skill when:
- A product has been selected from search results.
- All required product options (e.g., size, color, quantity) have been chosen.
- The final displayed price has been verified to be within the user's specified budget.
- The user's instruction implicitly or explicitly indicates readiness to purchase (e.g., "I need to buy...", "I want this one").
Core Action
Execute the click[buy now] action to proceed to checkout.
Verification Logic (Before Clicking)
Before clicking "Buy Now", you must perform these checks:
- Budget Check: Confirm the final displayed
Price:is less than the maximum budget specified in the user's original instruction. If no budget is specified, skip this check. - Option Selection Check: Ensure the required product options (like 'size', 'color') show a selected state or that your previous action has selected the correct option. The observation should reflect the chosen option.
- Product Match Check: Verify the product title and description align with the user's core requirements (e.g., "teeth whitening that also freshens breath").
If any check fails, do not use this skill. Instead, revert to selecting the correct option or searching for a different product.
Example
Instruction: "i need a teeth whitening toothpaste that also freshens breath, and price lower than 15.00 dollars"
Observation: Product page for "Whitening Toothpaste with Breath Freshener" — Price: $12.99, Size: 4oz (selected), Flavor: Mint (selected). Available actions: click[buy now], click[back to search].
Thought: The user needs a teeth whitening toothpaste that freshens breath, under $15. The current product is priced at $12.99 (< $15.00), matches "whitening" and "breath freshener" in the title, and all required options (size, flavor) are selected. All checks pass — proceeding to purchase.
Action: click[buy now]
Error Handling
- If the "Buy Now" button is not present in the list of clickable actions, the action will be invalid. Do not force the action.
- If the price changes after selecting options and exceeds the budget, abort the purchase and inform the user.
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
experiments/src/skills/webshop/webshop-purchase-initiator/SKILL.md同一个仓库里的其他技能
- alfworld-appliance-navigator
- alfworld-appliance-preparer
- alfworld-clean-object
- alfworld-device-operator
- alfworld-environment-scanner
- alfworld-goal-interpreter
- alfworld-heat-object-with-appliance
- alfworld-inventory-management
- alfworld-locate-target-object
- alfworld-location-navigator
- alfworld-navigation-planner
- alfworld-object-cooler