OpenParable
Skip to content
← Back to skills

Webshop Purchase Executor

Apps & Automation
webshop-purchase-executor

Webshop Purchase Executor 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.

Executes the purchase action for a confirmed suitable product on an e-commerce page. Use when a product has been verified against the user's requirements (price, attributes) and the decision is to buy. Performs a click[Buy Now] action on the purchase button to complete the transaction.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/zjunlp/SkillNet/blob/HEAD/experiments/src/skills/webshop/webshop-purchase-executor/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/webshop-purchase-executor, 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.

Skill: webshop-purchase-executor

Purpose

Execute the final purchase transaction for a verified product on an e-commerce platform. This skill is the terminal action in a shopping workflow, initiated only after a product has been confirmed to meet the user's criteria (e.g., price, description).

When to Use

  • Trigger: You are on a product detail page.
  • Prerequisite: The product has been verified against the user's requirements (e.g., price < $40.00, "natural looking").
  • User Intent: The user has made a decision to buy the product.
  • Available Action: A purchase button (e.g., "Buy Now") is present in the list of clickable elements.

Core Action

Perform a click action on the purchase button.

Execution Logic

  1. Locate Purchase Button: Identify the purchase button from the available actions. Common identifiers include:
    • buy now
    • add to cart (if the instruction implies immediate purchase)
    • purchase
  2. Validate Context: Ensure you are on a product page and the prior verification step is logically complete.
  3. Execute Click: Perform the click[purchase_button_value] action using the exact value from the available actions list.

Important Notes

  • Do not use this skill for browsing, searching, or product comparison.
  • The skill assumes price and specification validation occurred in a previous step.
  • If multiple purchase options exist (e.g., "Buy Now", "Add to Cart & Checkout"), prefer the most direct path to complete the transaction, typically "Buy Now".

Example

Scenario: The user wants a natural-looking wig priced under $40.00. You are on a product detail page for "Natural Looking Human Hair Wig - $34.99" and have verified it meets all criteria.

Thought: The product matches the user's requirements (natural looking, price $34.99 < $40.00). I should proceed with the purchase.

Action: click[Buy Now]

Observation: The purchase is confirmed and the transaction is complete.