AGENT SKILL

amazon-asin-lookup-api-skill

暂无简介

License 许可
MIT
最近更新
2026-08-23
Stars
★ 1
Forks
0

02 资源文件 2

03 SKILL.md 正文

Amazon ASIN Lookup Skill

? Introduction

This skill utilizes BrowserAct's Amazon ASIN Lookup API template to provide a seamless way to retrieve comprehensive product information from Amazon. By simply providing an ASIN, you can extract structured data including title, price, ratings, brand, and detailed descriptions directly into your application without manual scraping.

✨ Features

  1. No Hallucinations, Reliable Data: Uses a pre-defined workflow to ensure accurate data extraction without AI-generated errors.
  2. No CAPTCHA Challenges: Built-in mechanisms bypass reCAPTCHA and other bot detection systems.
  3. Global Access, No Geo-fencing: Overcomes IP restrictions to ensure stable access from any location.
  4. Fast Execution: More efficient than general-purpose AI browser automation.
  5. Cost-Effective: Reduces data acquisition costs compared to high-token consumption AI models.

? API Key Workflow

Before running the skill, the BROWSERACT_API_KEY environment variable must be checked. If it is not set, do not proceed; instead, request the key from the user. Agent Instruction:

"Since you haven't configured the BrowserAct API Key yet, please go to the BrowserAct Console to get your Key and provide it here."

?️ Input Parameters

The agent should configure the following parameters based on user requirements:

  1. ASIN (Amazon Standard Identification Number)
    • Type: string
    • Description: The unique identifier for the Amazon product.
    • Required: Yes
    • Example: B07TS6R1SF

? Usage (Recommended)

The agent should execute the following script to get results in one command:

# Example Usage
python -u ./.cursor/skills/amazon-asin-lookup-api-skill/scripts/amazon_asin_lookup_api.py "ASIN_VALUE"

⏳ Progress Monitoring

Since this task involves automated browser operations, it may take a few minutes. The script outputs real-time timestamped status logs (e.g., [14:30:05] Task Status: running). Agent Note:

  • Monitor the terminal output while waiting for results.
  • As long as new status logs are appearing, the task is running normally.
  • Only consider retrying if the status remains unchanged for a long period or the script stops without output.

? Output Data Description

Upon success, the script parses and prints the structured product data from the API response, which includes:

  • product_title: Full title of the product.
  • ASIN: The provided ASIN.
  • product_url: URL of the Amazon product page.
  • brand: Brand name.
  • price_current_amount: Current price.
  • price_original_amount: Original price (if applicable).
  • price_discount_amount: Discount amount (if applicable).
  • rating_average: Average star rating.
  • rating_count: Total number of ratings.
  • featured: Badges like "Amazon's Choice".
  • color: Color variant (if applicable).
  • compatible_devices: List of compatible devices (if applicable).
  • product_description: Full product description.
  • special_features: Highlighted features.
  • style: Style attribute (if applicable).
  • material: Material used (if applicable).

⚠️ Error Handling & Retry Mechanism

If an error occurs during execution, the agent should follow this logic:

  1. Check Output:

    • If the output contains "Invalid authorization", the API Key is invalid. Do not retry; ask the user to provide a valid key.
    • If the output does not contain "Invalid authorization" but the task fails (e.g., output starts with Error: or returns empty results), the agent should automatically retry once.
  2. Retry Limit:

    • Automatic retry is limited to once. If it fails again, stop and report the error to the user.

04 同仓库更多 Skills

kbarbel640-del
kbarbel640-del/skills

crowd-prompting

A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.

★ 1
kbarbel640-del
kbarbel640-del/skills

dilemm-ai

Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).

★ 1
kbarbel640-del
kbarbel640-del/skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.

★ 1
kbarbel640-del
kbarbel640-del/skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.

★ 1
kbarbel640-del
kbarbel640-del/skills

git-summary

Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.

★ 1
kbarbel640-del
kbarbel640-del/skills

agent-constitution

Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.

★ 1