跳到主要内容
知仓学习社ZHICANG

webshop-purchase-initiator

>-

不碰外部(只输出文字)无严重或高危命中zjunlp/SkillNet

它会碰到什么

扫了多少2 个文本文件,4 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Instructions

When to Use

Activate this skill when:

  1. A product has been selected from search results.
  2. All required product options (e.g., size, color, quantity) have been chosen.
  3. The final displayed price has been verified to be within the user's specified budget.
  4. 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:

  1. 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.
  2. 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.
  3. 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 拉。许可未声明的技能只给原始仓库链接,不打包。