Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

amazon-search亚马逊搜索

Agent Skill

amazon-search 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,864

周安装

117

GitHub Stars

公开资料未说明

下载量

917
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:amazon-search(亚马逊搜索)
来源仓库:https://github.com/mikehankk/amazon-search
安装命令:
openclaw skills install amazon-search
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install amazon-search

简介

在亚马逊商品列表中按关键字检索并返回结构化结果。

  • 利用ASIN缓存机制提升增量搜索效率与一致性。
  • 自动保存搜索结果便于后续比对与追踪变化。amazon-search 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 安装命令:openclaw skills install amazon-search。
  • 单次请求返回数量有限制,大批量需分页处理。

SKILL.md

name
amazon-search
description
Search Amazon product listings for a keyword and return structured JSON results. Results are cached by ASIN/uuid for incremental searches and saved automatically to results/.
env

Amazon Search Skill

Search Amazon for products matching a keyword query and return structured JSON results.

Prerequisites

Install Bun runtime:

curl -fsSL https://bun.sh/install | bash

Install skill dependencies:

cd skills/amazon-search
bun install

Install Playwright browsers (required for Amazon search):

cd skills/amazon-search/scripts
npm install
npx playwright install chromium

Cookie

This skill uses Playwright to search Amazon directly in a headless browser. No manual cookie management is required.

Playwright Prerequisites

Install npm dependencies and Playwright browsers:

cd skills/amazon-search/scripts
npm install
npx playwright install chromium

Inputs

ParameterTypeDescription
keywordstringSearch keywords (e.g. "t-shirt")
proxystringOptional proxy URL. Can be set as argument value or via --proxy flag / T2P_PROXY env var. Supports HTTP/HTTPS and SOCKS5 proxies.
price_minnumberOptional minimum price filter. Mapped to Amazon low-price.
price_maxnumberOptional maximum price filter. Mapped to Amazon high-price.
--pagesnumberMax number of pages to fetch (default: 1). Each page has ~20-60 results.
--num-productsnumberMax number of products to fetch. Stops when limit is reached, even if more pages available.
--incrementalflagOnly output new results that haven't been cached before.
--clear-cacheflagClear cache for this keyword before searching.
--outputstringCustom output directory for results (default: results/).
--downloadflagDownload product images after search using @t2p/image-cache.

Output Format

Returns a JSON object containing search metadata and an array of Amazon product objects.

Results are automatically saved to results/<keyword>_<timestamp>_<count>.json.

{
  "keyword": "shirt",
  "timestamp": "2026-04-06T12:34:56.789Z",
  "count": 10,
  "items": [
    {
      "id_": "B09TPN9NJ6",
      "uuid": "418e2c7d-ccaa-4ca3-9d1b-6b4f3bd406b0",
      "original_image_url": "https://m.media-amazon.com/images/I/91YprRrDB4L._AC_UL960_FMwebp_QL65_.jpg",
      "title": "Amazon Essentials Men's Slim-Fit Crewneck T-Shirts, Short Sleeve",
      "item_page": "https://www.amazon.com/dp/B09TPN9NJ6",
      "rating": 4.4,
      "review_count": 1787,
      "price": "$19.99",
      "description": "Amazon Essentials Men's Slim-Fit Crewneck T-Shirts, Short Sleeve"
    }
  ]
}

Item Fields

FieldTypeDescription
id_stringAmazon ASIN (Amazon Standard Identification Number)
uuidstringUnique identifier from Amazon's data attributes
original_image_urlstringProduct image URL (highest resolution from srcset)
titlestringProduct title
item_pagestringFull URL to the product page
ratingnumberAverage rating (1-5)
review_countnumberNumber of reviews
pricestringPrice as displayed on Amazon (includes currency)
descriptionstringProduct description (may be same as title if no separate description)

Execution

Use the script at scripts/amazon_search.ts.

All TypeScript files must be run with Bun:

# Simple search
bun run scripts/amazon_search.ts "shirt"

Configuration Tool

Use scripts/configure.ts to generate environment variable commands and manage cache:

# Generate proxy setting command (copy and run the output)
bun run scripts/configure.ts proxy "http://127.0.0.1:7890"

# List cache files
bun run scripts/configure.ts listcache

# Clear cache for specific keyword
bun run scripts/configure.ts clearcache "shirt"

# Clear all caches
bun run scripts/configure.ts clearcache --all

Usage Notes

  • Runtime: All TypeScript files must be run with bun run
  • Search Method: Uses Playwright to search Amazon directly in a headless browser (no manual cookie management needed)
  • Proxy Support: Proxy is read from T2P_PROXY environment variable (or --proxy CLI flag). Supports both HTTP/HTTPS and SOCKS5 proxies (e.g., socks5://127.0.0.1:1080).
  • Cache & Deduplication: Search results are cached to resultscache/<sanitizedQuery>_cache.md. Each line is an ASIN/uuid used for deduplication.
  • Incremental Mode: Use --incremental to output only items not present in the cache.
  • Clear Cache: Use --clear-cache to delete this keyword cache before searching, or use scripts/configure.ts clearcache.
  • Custom Output: Use --output=/path/to/dir to save results to a custom directory.
  • Download Images: Use --download to automatically download product images using @t2p/image-cache after search completes.

Example

All commands use bun run:

# Simple search
bun run scripts/amazon_search.ts "t-shirt"

# Incremental search - only output new results not in cache
bun run scripts/amazon_search.ts "t-shirt" --incremental

# Clear cache before searching
bun run scripts/amazon_search.ts "t-shirt" --clear-cache --incremental

# Use proxy
bun run scripts/amazon_search.ts "t-shirt" --incremental --proxy "http://127.0.0.1:10809"

# Multi-page search (fetch 2 pages, ~40-120 results)
bun run scripts/amazon_search.ts "t-shirt" --pages=2

# Multi-page + incremental (only new items from all pages)
bun run scripts/amazon_search.ts "t-shirt" --pages=2 --incremental

# Limit to specific number of products (stops early if limit reached)
bun run scripts/amazon_search.ts "t-shirt" --pages=5 --num-products=50

# Specify custom output directory
bun run scripts/amazon_search.ts "t-shirt" --output=/path/to/custom/results

# Download images after search
bun run scripts/amazon_search.ts "t-shirt" --download

# Combined: search with download and custom output
bun run scripts/amazon_search.ts "t-shirt" --download --output=/path/to/results

Error Handling

SituationWhat to do
HTTP 4xx/5xx / Search blockedAmazon may be rate-limiting; try again later with a different proxy, or wait before retrying
Parse errors / empty resultsPage layout may have changed; try different keywords, pages, or filters
Playwright launch errorsEnsure Playwright browsers are installed: cd scripts && npx playwright install chromium

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

81.31%
按下载量换算746

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills