Token导航 LogoToken导航

Agent Skill · 研究检索

pangolin-amazon-scraper(穿山甲亚马逊刮刀)

pangolin-amazon-scraper 用于处理浏览器自动化、网页检查和页面信息提取,适合在 OpenClaw 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

pangolin-amazon-scraper 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 26,906。

总安装 3,481周安装 148GitHub Stars 公开资料未说明下载 1,220核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.2

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install pangolin-amazon-scraper

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

pangolin-amazon-scraper 用于抓取亚马逊产品数据,支持按 ASIN 或关键词搜索商品信息。适用于电商竞品分析、价格监控与产品信息提取。通过浏览器自动化绕过反爬机制,返回结构化商品详情。需确保符合 Amazon 服务条款,避免高频请求导致封禁。安装前建议检查代理配置与请求频率限制。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install pangolin-amazon-scraper;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

pangolin-amazon-scraper 怎么安装?

在终端执行 openclaw skills install pangolin-amazon-scraper。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

pangolin-amazon-scraper 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

pangolin-amazon-scraper 需要什么权限?

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

pangolin-amazon-scraper 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

pangolin-amazon-scraper 用的人多吗?

公开数据是累计安装 3,481 次,近一周安装 148 次,下载 1,220 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

pangolin-amazon-scraper 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
pangolin-amazon-scraper

穿山甲亚马逊刮刀 · 本页

3,481—接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
pangolinfo-amazon-scraper
description
>

Pangolinfo Amazon Scraper

Scrape Amazon product data via Pangolin's structured APIs. Returns parsed JSON with product details, search results, rankings, reviews, and more across 13 Amazon regions.

When to Use This Skill

Activate this skill when the user's intent matches any of these patterns:

Intent (English)Intent (Chinese)Action
Look up an Amazon product / ASIN查一下亚马逊上的这个商品 / ASINProduct detail lookup
Search Amazon for a keyword在亚马逊搜索关键词Keyword search
Show bestsellers in a category看看某个类目的畅销榜Bestsellers
Show new releases看看最新上架的商品New releases
Browse a category on Amazon浏览亚马逊某个分类Category products
Find products from a seller查看某个卖家的商品Seller products
Get reviews for a product看看这个产品的评论Product reviews
Compare prices across regions对比不同国家亚马逊的价格Multi-region lookup
Check seller/variant options查看其他卖家选项Follow seller

Keywords that trigger this skill: Amazon, ASIN, B0-prefixed codes, product reviews, bestseller, new release, Amazon category, Amazon seller, amz_us/amz_uk/etc., product detail, Amazon search, price comparison across Amazon sites.

Prerequisites

Required

  • Python 3.8+ (uses only the standard library -- zero external dependencies)
  • Pangolin account at pangolinfo.com
  • Environment variables (one of the following):

- PANGOLIN_API_KEY -- API key (skips login), OR - PANGOLIN_EMAIL + PANGOLIN_PASSWORD -- auto-login with caching

macOS SSL Certificate Fix

On macOS, Python may fail with CERTIFICATE_VERIFY_FAILED because it ships without root certificates by default.

Symptoms: The script exits with error code SSL_CERT.

Solutions (pick one):

  1. Run the certificate installer bundled with Python:
   /Applications/Python\ 3.x/Install\ Certificates.command

(Replace 3.x with your Python version, e.g., 3.11)

  1. Set SSL_CERT_FILE from the certifi package:
   pip3 install certifi
   export SSL_CERT_FILE=$(python3 -c "import certifi; print(certifi.where())")
  1. Add the export to your shell profile (~/.zshrc or ~/.bashrc) so it persists.

First-Time Setup Guide

When a user tries to use this skill and authentication fails (error code MISSING_ENV), do not just repeat the error hint. Instead, walk the user through the full setup process interactively:

Step 1: Explain what's needed

Tell the user (in their language):

To use this skill, you need a Pangolin API account. Pangolin provides Amazon product data scraping through its APIs. 使用本技能需要 Pangolin API 账号。Pangolin 提供亚马逊商品数据抓取的 API 服务。

Step 2: Guide registration

1. Go to pangolinfo.com and create an account 2. After login, find your API Key in the dashboard 1. 访问 pangolinfo.com 注册账号 2. 登录后在控制台找到你的 API Key

Step 3: Collect credentials and authenticate automatically

When the user provides their credentials, you (the AI agent) should configure them securely. The script will automatically cache the API key at ~/.pangolin_api_key for all future calls.

If user provides an API key (recommended): Write it directly to the cache file — avoids shell history entirely:

echo "<api_key>" > ~/.pangolin_api_key
chmod 600 ~/.pangolin_api_key 2>/dev/null
python3 scripts/pangolin.py --auth-only

If user provides email + password: Set env vars in the session and clean up after auth:

export PANGOLIN_EMAIL="user@example.com"
export PANGOLIN_PASSWORD="their-password"
python3 scripts/pangolin.py --auth-only
unset PANGOLIN_EMAIL PANGOLIN_PASSWORD

This avoids passwords appearing in shell history (unlike inline VAR=x command syntax) and cleans up credentials after the API key is cached.

Both methods cache the API key automatically. After this one-time setup, no environment variables are needed — all future calls will use the cached API key at ~/.pangolin_api_key.

Step 4: Confirm and proceed

After auth returns "success": true:

  1. Tell the user: "认证成功!API Key 已自动缓存,后续使用无需再次输入。" / "Authentication successful! API Key cached — no need to enter credentials again."
  2. Immediately retry their original request.

Important

  • The user only needs to provide credentials ONCE — the script caches the API key permanently at ~/.pangolin_api_key
  • Do not ask the user to manually edit .bashrc or .zshrc — the script handles persistence automatically
  • If the user doesn't have an account yet, explain Pangolin's credit system (1 credit per Amazon json request, 5 credits per review page) and direct them to pangolinfo.com
  • If auth succeeds but credits are exhausted (error code 2001), tell the user to top up at pangolinfo.com
  • The API key is permanent and does not expire unless the account is deactivated

Script Execution

The script is located at scripts/pangolin.py relative to this skill's root directory.

Path resolution: When invoking the script, resolve the absolute path from the skill directory. For example, if this skill is installed at /path/to/pangolinfo-amazon-scraper/:

python3 /path/to/pangolinfo-amazon-scraper/scripts/pangolin.py --content B0DYTF8L2W --mode amazon --site amz_us

Intent-to-Command Mapping

1. Product Detail by ASIN

User says: "Look up B0DYTF8L2W on Amazon" / "查一下 B0DYTF8L2W 这个产品"

python3 scripts/pangolin.py --content B0DYTF8L2W --mode amazon --site amz_us
# Or using the --asin shortcut:
python3 scripts/pangolin.py --asin B0DYTF8L2W --site amz_us

The script auto-detects 10-character alphanumeric codes as ASINs and selects amzProductDetail. The --asin flag is a convenience shortcut that sets --content and defaults to amzProductDetail parser automatically.

2. Keyword Search

User says: "Search Amazon for wireless mouse" / "在亚马逊搜索无线鼠标"

python3 scripts/pangolin.py --q "wireless mouse" --mode amazon --site amz_us

Non-ASIN text auto-selects amzKeyword parser.

3. Bestsellers

User says: "Show me electronics bestsellers" / "看看电子产品畅销榜"

python3 scripts/pangolin.py --content "electronics" --mode amazon --parser amzBestSellers --site amz_us

4. New Releases

User says: "What's new in toys on Amazon?" / "亚马逊玩具类有什么新品?"

python3 scripts/pangolin.py --content "toys" --mode amazon --parser amzNewReleases --site amz_us

5. Category Products

User says: "Browse category 172282 on Amazon" / "浏览亚马逊分类 172282"

python3 scripts/pangolin.py --content "172282" --mode amazon --parser amzProductOfCategory --site amz_us

6. Seller Products

User says: "Show products from seller A1B2C3D4E5" / "查看卖家 A1B2C3D4E5 的商品"

python3 scripts/pangolin.py --content "A1B2C3D4E5" --mode amazon --parser amzProductOfSeller --site amz_us

7. Follow Seller (Variant / Seller Options)

User says: "Show other seller options for B0G4QPYK4Z" / "查看 B0G4QPYK4Z 的其他卖家选项"

python3 scripts/pangolin.py --asin B0G4QPYK4Z --parser amzFollowSeller --site amz_us

Uses a dedicated API endpoint (/api/v1/scrape/follow-seller). Returns variant options including price, delivery, fulfillment, and seller info for the given ASIN.

8. Product Reviews

User says: "Get critical reviews for B00163U4LK" / "看看 B00163U4LK 的差评"

python3 scripts/pangolin.py --content B00163U4LK --mode review --site amz_us --filter-star critical

Star filter mapping:

User says (EN)User says (CN)--filter-star value
all reviews所有评论all_stars
5-star / excellent五星 / 好评five_star
4-star四星four_star
3-star三星three_star
2-star两星two_star
1-star / terrible一星 / 最差评one_star
positive / good好评 / 正面评价positive
critical / negative / bad差评 / 负面评价critical

Sort mapping:

User says (EN)User says (CN)--sort-by value
newest / most recent最新的recent
most helpful / top最有帮助的helpful

Multiple pages: Add --pages N (each page costs 5 credits).

9. Product by URL (Legacy)

User says: "Scrape this Amazon page: https://www.amazon.com/dp/B0DYTF8L2W"

python3 scripts/pangolin.py --url "https://www.amazon.com/dp/B0DYTF8L2W" --mode amazon

The site code is auto-inferred from the URL domain.

10. Different Region

User says: "Check price on Amazon Japan" / "看看日本亚马逊的价格"

Region mapping:

User says (EN)User says (CN)--site code
US / America美国amz_us
UK / Britain英国amz_uk
Canada加拿大amz_ca
Germany德国amz_de
France法国amz_fr
Japan日本amz_jp
Italy意大利amz_it
Spain西班牙amz_es
Australia澳大利亚amz_au
Mexico墨西哥amz_mx
Saudi Arabia沙特amz_sa
UAE阿联酋amz_ae
Brazil巴西amz_br

Smart Defaults

The script automatically:

  1. Detects ASINs -- 10-character alphanumeric strings like B0DYTF8L2W auto-select amzProductDetail
  2. Detects keywords -- non-ASIN text like "wireless mouse" auto-selects amzKeyword
  3. Defaults to amz_us if no --site is provided
  4. Switches to review mode if --filter-star is used or --parser amzReviewV2 is set
  5. Infers site from URL when using --url with an Amazon domain

You generally only need --parser for bestsellers, new releases, category, and seller lookups.

Output Format

Amazon Mode (product/keyword/ranking/category/seller)

{
  "success": true,
  "task_id": "02b3e90810f0450ca6d41244d6009d0f",
  "url": "https://www.amazon.com/dp/B0DYTF8L2W",
  "metadata": {
    "executionTime": 1791,
    "parserType": "amzProductDetail",
    "parsedAt": "2026-01-13T06:42:01.861Z"
  },
  "results": [ ... ],
  "results_count": 1
}

Review Mode

Same envelope structure. Each result object contains review fields: date, country, star, author, title, content, purchased, vineVoice, helpful, reviewId.

Error Output

All errors use a unified envelope written to stderr:

{
  "success": false,
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable description",
    "hint": "Actionable suggestion"
  }
}

See references/output-schema.md for complete field documentation.

Response Presentation

When presenting results to the user, follow these guidelines per parser type. Always match the user's language (respond in Chinese if the user wrote in Chinese, etc.).

Product Detail (amzProductDetail)

Present as a structured product card:

  • Title and brand
  • Price (include strikethrough/coupon if present)
  • Rating: star rating + number of reviews
  • Stock status and delivery estimate
  • Key features (bullet list, up to 5)
  • Bestseller rank and category
  • Include the product image if available
  • Note Amazon's Choice badge if acBadge is present

Keyword Search (amzKeyword)

Present as a numbered list of products:

  1. Title -- price -- star rating (N reviews) -- delivery info
  2. ...

Highlight sponsored results. Show the total results count. If the user asked about a specific need, recommend the best match.

Bestsellers / New Releases (amzBestSellers / amzNewReleases)

Present as a ranked list:

  1. #1: Title -- price -- star rating
  2. #2: ...

Emphasize rank position. Note trends if multiple queries are compared.

Category / Seller Products (amzProductOfCategory / amzProductOfSeller)

Present as a numbered product list similar to keyword search. Group by price range or rating if the user is comparing.

Follow Seller (amzFollowSeller)

Present variant options clearly:

  • Option 1: price, delivery, ships from, sold by
  • Option 2: ...

Help the user compare variants (color, size, seller).

Reviews (amzReviewV2)

Present as:

  1. Summary: average sentiment, common themes, verified purchase ratio
  2. Individual reviews (top 3-5): star + title + excerpt + date + verified badge
  3. Pattern analysis: recurring praise/complaints

Empty Results

If results_count is 0:

  • Suggest checking the ASIN/keyword spelling
  • Suggest trying a different Amazon region
  • Suggest broadening the search terms

Error Results

If success is false:

  • Present the error message in friendly, non-technical language
  • Provide the hint from the error object
  • Offer to retry or suggest an alternative approach

All CLI Options

FlagDescriptionDefault
--qSearch query or keyword--
--urlTarget Amazon URL (legacy mode)--
--contentContent ID: ASIN, keyword, category Node ID, seller ID--
--asin ASINAmazon ASIN (shortcut for --content <ASIN> --parser amzProductDetail)--
--site / --regionAmazon site/region code (e.g., amz_us)amz_us
--modeamazon or reviewamazon
--parserParser name (auto-inferred when possible)amzProductDetail
--zipcodeUS zipcode for localized pricing10041
--formatResponse format: json, rawHtml, markdownjson
--filter-starStar filter for reviewsall_stars
--sort-bySort order for reviews: recent or helpfulrecent
--pagesNumber of review pages (5 credits/page)1
--auth-onlyTest authentication only--
--rawOutput raw API response (no extraction)--
--timeoutAPI request timeout in seconds120

Output Schema

See references/output-schema.md for the complete JSON output schema, including per-parser field documentation and guaranteed vs optional fields.

Amazon Parsers Reference

ParserUse CaseContent Value
amzProductDetailSingle product pageASIN (e.g., B0DYTF8L2W)
amzKeywordKeyword search resultsKeyword (e.g., wireless mouse)
amzProductOfCategoryCategory listingCategory Node ID (e.g., 172282)
amzProductOfSellerSeller's productsSeller ID (e.g., A1B2C3D4E5)
amzBestSellersBest sellers rankingCategory keyword (e.g., electronics)
amzNewReleasesNew releases rankingCategory keyword (e.g., toys)
amzFollowSellerVariants / other sellersASIN (e.g., B0DYTF8L2W)
amzReviewV2Product reviewsASIN (via --mode review)

Amazon Sites Reference

Site CodeRegionDomain
amz_usUnited Statesamazon.com
amz_ukUnited Kingdomamazon.co.uk
amz_caCanadaamazon.ca
amz_deGermanyamazon.de
amz_frFranceamazon.fr
amz_jpJapanamazon.co.jp
amz_itItalyamazon.it
amz_esSpainamazon.es
amz_auAustraliaamazon.com.au
amz_mxMexicoamazon.com.mx
amz_saSaudi Arabiaamazon.sa
amz_aeUAEamazon.ae
amz_brBrazilamazon.com.br

Cost

OperationCredits
Amazon scrape (json format)1 per request
Amazon scrape (rawHtml / markdown)0.75 per request
Follow Seller1 per request
Review page5 per page

Credits are only consumed on successful requests (API code 0). Average response time is approximately 5 seconds.

Exit Codes

CodeMeaning
0Success
1API error (non-zero response code)
2Usage error (bad arguments)
3Network error (connection, SSL, rate limit)
4Authentication error

Troubleshooting

Error CodeMeaningUser-Friendly MessageResolution
MISSING_ENVNo credentials set"I need your Pangolin credentials to access Amazon data."Set PANGOLIN_EMAIL + PANGOLIN_PASSWORD or PANGOLIN_API_KEY
AUTH_FAILEDBad email/password"Authentication failed. Please check your Pangolin credentials."Verify email and password
RATE_LIMITToo many requests"The API is rate-limiting us. Let me wait and retry."Wait and retry
NETWORKConnection failed"I couldn't reach the API. Please check your connection."Check internet, retry
SSL_CERTSSL verification failed"SSL error -- likely a macOS Python issue."See macOS SSL section above
API_ERRORAPI returned error"The API returned an error."Check error details, retry
USAGE_ERRORBad CLI arguments"I need more information to run this query."Provide required arguments

API error codes from the server:

API CodeMeaningResolution
1004Expired/invalid API keyAuto-refreshed by the script
2001Insufficient creditsTop up at pangolinfo.com
2007Account expiredRenew subscription
10000/10001Task execution failedRetry the request
404Bad URL formatVerify the target URL

Important Notes for AI Agents

  1. Never dump raw JSON to the user. Always parse and present results in a structured, readable format following the Response Presentation guidelines above.
  1. Match the user's language. If the user writes in Chinese, respond in Chinese. If English, respond in English. This applies to product descriptions, error messages, and suggestions.
  1. Be proactive. If a keyword search returns results, highlight the best match. If reviews show a pattern, summarize it. If a product is out of stock, say so immediately.
  1. Handle multi-step requests. If the user says "compare this product on US and Japan Amazon," run two queries with different --site values and present a comparison table.
  1. Credit awareness. Each request costs credits. Avoid unnecessary duplicate requests. If the user asks for reviews across multiple pages, warn them about the cost (5 credits per page).
  1. Error recovery. If a request fails, check the error code and suggest a fix before retrying. Do not retry blindly.
  1. ASIN detection. If the user provides a 10-character code starting with B0, it is almost certainly an ASIN. Auto-detect and use --content with no extra prompting.
  1. Default to amz_us unless the user specifies a region or the context implies a different marketplace.
  1. Security. Never expose API keys, passwords, or full API responses containing authentication data in the conversation.
  1. Combine results. When the user asks a compound question (e.g., "find a good wireless mouse under $30 with good reviews"), run a keyword search first, then fetch reviews for the top candidates. Present a consolidated recommendation.

平台分布

OpenClaw

76.91%
按下载量换算938

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

接触敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills