{"id":"397fc35a-b473-47f2-ae4d-36388095e574","entityType":"agent","slug":"clawhub-linkfox-ai-linkfox-amazon-reviews-list","name":"亚马逊-商品评论","canonicalUrl":"https://www.xpersona.co/agent/clawhub-linkfox-ai-linkfox-amazon-reviews-list","canonicalPath":"/agent/clawhub-linkfox-ai-linkfox-amazon-reviews-list","generatedAt":"2026-10-11T15:17:14.929Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-11T11:52:17.540Z","emptyReason":null},"description":"按ASIN获取并分析亚马逊商品评论，支持15个站点(含美国站)，按星级筛选评论。当用户提到亚马逊评论、美国站评论、商品评价、买家投诉、差评、好评、星级评分、评论分析、评论情感、产品改良建议、Vine评论、已验证购买评论、竞品评论研究、Amazon reviews, US reviews, Amazon.com reviews, product feedback, negative review analysis, positive review analysis, star rating filter, review sentiment analysis, product improvement insights, Vine reviews, competitor reviews, customer feedback时触发此技能。即使用户未明确说\"评论\"，只要其需求涉及读取、筛选或分析亚马逊商品的买家评论，也应触发此技能。 Skill: 亚马逊-商品评论 Owner: linkfox-ai Summary: 按ASIN获取并分析亚马逊商品评论，支持15个站点(含美国站)，按星级筛选评论。当用户提到亚马逊评论、美国站评论、商品评价、买家投诉、差评、好评、星级评分、评论分析、评论情感、产品改良建议、Vine评论、已验证购买评论、竞品评论研究、Amazon reviews, US reviews, Amazon.com reviews, product feedback, negative review analysis, positive review analysis, star rating filter, review sentiment analysis, product improvement insights, Vine reviews, competitor reviews, customer feedback时触发此技能。即使用户未明确","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.","installCommand":"clawhub skill install s171g8b6m2khwdy9ye8bxj0wx183vd4z:linkfox-amazon-reviews-list","sourceUrl":"https://clawhub.ai/linkfox-ai/linkfox-amazon-reviews-list","homepage":"https://clawhub.ai/linkfox-ai/skills/linkfox-amazon-reviews-list","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/linkfox-ai/linkfox-amazon-reviews-list","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/linkfox-ai/skills/linkfox-amazon-reviews-list","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":61,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"按ASIN获取并分析亚马逊商品评论，支持15个站点(含美国站)，按星级筛选评论。当用户提到亚马逊评论、美国站评论、商品评价、买家投诉、差评、好评、星级评分、评论分析、评论情感、产品改良建议、Vine评论、已验证购买评论、竞品评论研究、Amazon reviews, US reviews, Amazon.com revi"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-11T11:52:17.540Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T11:52:17.540Z","emptyReason":null},"stars":null,"forks":null,"downloads":1071,"packageName":null,"latestVersion":"1.0.10","tractionLabel":"1.1K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T11:52:17.533Z","emptyReason":null},"lastUpdatedAt":"2026-10-11T11:52:17.540Z","lastCrawledAt":"2026-10-11T11:52:17.533Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-12T11:52:17.533Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.10","createdAt":"2026-09-14T04:55:09.683Z","changelog":"Update from 1.0.9 to 1.0.10","fileCount":7,"zipByteSize":31105},{"version":"1.0.9","createdAt":"2026-08-14T14:43:46.963Z","changelog":"Update from 1.0.8 to 1.0.9","fileCount":7,"zipByteSize":23583},{"version":"1.0.8","createdAt":"2026-08-07T10:40:39.454Z","changelog":"Update from 1.0.7 to 1.0.8","fileCount":7,"zipByteSize":23217},{"version":"1.0.7","createdAt":"2026-07-13T12:03:24.945Z","changelog":"Update from 1.0.6 to 1.0.7","fileCount":5,"zipByteSize":14229},{"version":"1.0.6","createdAt":"2026-07-06T11:11:02.724Z","changelog":"Update from 1.0.5 to 1.0.6","fileCount":5,"zipByteSize":13613},{"version":"1.0.5","createdAt":"2026-07-03T08:10:24.242Z","changelog":"Update from 1.0.4 to 1.0.5","fileCount":4,"zipByteSize":12236},{"version":"1.0.4","createdAt":"2026-07-03T04:35:35.399Z","changelog":"Update from 1.0.3 to 1.0.4","fileCount":4,"zipByteSize":12217}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s171g8b6m2khwdy9ye8bxj0wx183vd4z:linkfox-amazon-reviews-list","setupComplexity":"low","setupSteps":["Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-amazon-reviews-list/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-amazon-reviews-list/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-amazon-reviews-list/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-amazon-reviews-list/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-amazon-reviews-list/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-amazon-reviews-list/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-11T15:17:14.926Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-amazon-reviews-list/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-amazon-reviews-list/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-amazon-reviews-list/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-amazon-reviews-list/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-11T11:52:17.540Z","emptyReason":null},"readme":"Skill: 亚马逊-商品评论\n\nOwner: linkfox-ai\n\nSummary: 按ASIN获取并分析亚马逊商品评论，支持15个站点(含美国站)，按星级筛选评论。当用户提到亚马逊评论、美国站评论、商品评价、买家投诉、差评、好评、星级评分、评论分析、评论情感、产品改良建议、Vine评论、已验证购买评论、竞品评论研究、Amazon reviews, US reviews, Amazon.com reviews, product feedback, negative review analysis, positive review analysis, star rating filter, review sentiment analysis, product improvement insights, Vine reviews, competitor reviews, customer feedback时触发此技能。即使用户未明确说\"评论\"，只要其需求涉及读取、筛选或分析亚马逊商品的买家评论，也应触发此技能。\n\nTags: latest:1.0.10\n\nVersion history:\n\nv1.0.10 | 2026-09-14T04:55:09.683Z | user\n\nUpdate from 1.0.9 to 1.0.10\n\nv1.0.9 | 2026-08-14T14:43:46.963Z | user\n\nUpdate from 1.0.8 to 1.0.9\n\nv1.0.8 | 2026-08-07T10:40:39.454Z | user\n\nUpdate from 1.0.7 to 1.0.8\n\nv1.0.7 | 2026-07-13T12:03:24.945Z | user\n\nUpdate from 1.0.6 to 1.0.7\n\nv1.0.6 | 2026-07-06T11:11:02.724Z | user\n\nUpdate from 1.0.5 to 1.0.6\n\nv1.0.5 | 2026-07-03T08:10:24.242Z | user\n\nUpdate from 1.0.4 to 1.0.5\n\nv1.0.4 | 2026-07-03T04:35:35.399Z | user\n\nUpdate from 1.0.3 to 1.0.4\n\nArchive index:\n\nArchive v1.0.10: 7 files, 31105 bytes\n\nFiles: references/api.md (11299b), references/onboarding.md (1999b), scripts/amazon_reviews.py (28888b), scripts/onboarding.py (24027b), skill-card.md (2499b), SKILL.md (13470b), _meta.json (147b)\n\nFile v1.0.10:SKILL.md\n\n---\nname: linkfox-amazon-reviews-list\ndescription: 按ASIN获取并分析亚马逊商品评论，支持15个站点(含美国站)，按星级筛选评论。当用户提到亚马逊评论、美国站评论、商品评价、买家投诉、差评、好评、星级评分、评论分析、评论情感、产品改良建议、Vine评论、已验证购买评论、竞品评论研究、Amazon reviews, US reviews, Amazon.com reviews, product feedback, negative review analysis, positive review analysis, star rating filter, review sentiment analysis, product improvement insights, Vine reviews, competitor reviews, customer feedback时触发此技能。即使用户未明确说\"评论\"，只要其需求涉及读取、筛选或分析亚马逊商品的买家评论，也应触发此技能。\n---\n\n# Amazon Product Reviews\n\nFetch and analyze Amazon product reviews to help sellers extract actionable insights from customer feedback.\n\n## Core Concepts\n\nThis tool retrieves real customer reviews for a given Amazon ASIN across **15 marketplaces**. You can control how many reviews to fetch per star rating (1-5 stars, up to 100 each), sort by recency or helpfulness, and apply various filters. Only one ASIN per request; for multiple ASINs, make separate calls.\n\n## 调用方式\n\n- **异步提交端点**：`POST /amazon/reviews/async/submit`\n- **轮询查询端点**：`POST /amazon/reviews/async/result`\n- **完整参数、响应和错误码**：见 `references/api.md`\n- **Python 脚本**：`python scripts/amazon_reviews.py '<JSON 参数>' [--inline]`；每次只提交或查询一次并立即返回\n- **成本约束**：本工具会消耗算力；同一会话同一参数组合默认只调用一次，脚本带 24h 本地缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探；需要继续检索时先向用户说明会产生额外消耗。\n\n### 异步调用流程\n\n1. 首次执行脚本只调用 `/amazon/reviews/async/submit`，保存并立即返回 `taskId`，不得在同一次脚本调用内等待结果。不要因任务仍在运行或单次查询失败而重新提交。\n2. 提交参数与原评论参数一致，不传 `provider`；后端根据 `domainCode` 自动选择 Pango 或 Apify，实际供应商可从响应的 `provider` 查看。\n3. Agent 可继续执行用户请求中的其他独立工作；需要结果时，使用原参数再次执行脚本，或传入 `{\"taskId\":\"...\"}`。每次执行只调用一次 `/amazon/reviews/async/result` 并立即返回，不在脚本内部循环或休眠。\n4. 根据当前实测经验，Pango 通常约 `10~30` 秒、Apify 通常约 `15~60` 秒返回，这不是 SLA。脚本会返回 `estimatedReadyInSeconds` 和 `suggestedNextCheckAfterSeconds`；优先继续其他工作，到建议时间再查询，不要按接口的最小轮询间隔忙轮询。\n5. 从任务创建时间起最多观察 `200` 秒。窗口内若为 `PENDING` 或 `RUNNING`，保留原 `taskId`，继续其他工作，约 `10~20` 秒后再查询；`SUCCEEDED`：读取 `result`；`FAILED`：向用户说明 `error` 并停止；`CANCELLED`：友好说明当前评论服务可能请求较多、任务在等待执行资源时已自动取消且未产生费用，建议稍后重新提交。\n6. 超过 `200` 秒仍为 `PENDING` 或 `RUNNING` 时返回 `POLL_TIMEOUT` 并停止自动查询，让用户选择：继续查询同一个 `taskId`，或停止查询并放弃本次结果。不得自动提交新任务。当前没有手动取消端点；后端只会自动取消等待执行资源超时且尚未调用供应商的 `PENDING` 任务，已进入 `RUNNING` 的任务仍可能完成并产生费用。\n7. 未读取任务从提交起最多保留 `4` 小时；首次读取到 `SUCCEEDED`、`FAILED` 或 `CANCELLED` 终态后，后端立即删除任务。脚本将成功结果保存到本地文件，任务缓存只保留“已领取”和文件路径。原参数与 `taskId` 在同一工作目录内共用任务记录；24h 本地缓存有效期内再次执行会返回 `ALREADY_RECEIVED`、`resultFile` 和本次 `costToken: 0`，应读取该文件，不再查后端或重新提交。文件不存在时也不得自动重新抓取。\n8. 查询返回“任务不存在或已过期”时停止，不得自动创建新的付费任务。只有用户明确要求重试时才能重新提交。\n9. 提交、`PENDING`、`RUNNING`、`FAILED`、`CANCELLED` 和 `POLL_TIMEOUT` 均不得按预计公式记为实际消耗；实际扣费只认首次成功领取结果时响应返回的 `X-Cost-Token`/`costToken`，不得由 Agent 自行推算或补记。\n\n脚本只执行上述异步流程，并在本地缓存未完成的 `taskId` 以便后续查询。\n\n**输出策略（脚本默认行为）**：\n- **始终**将完整响应写入 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-amazon-reviews-list-<timestamp>.json`（`<cwd>` 为脚本执行时的工作目录，在 Claude Code 里即当前项目目录；`<session>` 取自环境变量 `SESSION_ID`，按用户任务自动聚合；**禁止写入 /tmp**，当前目录不可写则报错）\n- 响应体 ≤ 8 KB：落盘后把完整 JSON 打印到 stdout\n- 响应体 > 8 KB：落盘后 stdout 只输出摘要（顶层字段、常见计数如 `total`/`costToken`、最大列表字段的长度 + 前 3 条样本）\n- 加 `--inline` 强制全量打印到 stdout（同样落盘）\n\n**读数据建议**：先看摘要判断是否足够；需要具体字段时优先用 `jq`或`ConvertFrom-Json` 从保存的 json 文件按需抽取，避免整份 JSON 进入上下文。\n\n## 解决认证和算力问题\n发生以下异常情况时，采用 references/onboarding.md 引导解决问题：\n\n### 异常情况\n- **未配置API Key**：环境变量未配置 `LINKFOX_AGENT_API_KEY`，也未配置 `LINKFOXAGENT_API_KEY`。\n- **响应401或402状态码**\n- **响应提示算力或余额不足**：消息含\"算力余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值\"，或类似含义的内容。\n\n## Parameter Guide\n\n| Parameter | Type | Required | Scope | Description | Default |\n|-----------|------|----------|-------|-------------|---------|\n| taskId | string | Yes | Async result | Task ID returned by async submit | - |\n| asin | string | Yes | Async submit | Amazon product ASIN | - |\n| star1Num | integer | No | Async submit | 1-star reviews to fetch (0-100) | 10 |\n| star2Num | integer | No | Async submit | 2-star reviews to fetch (0-100) | 10 |\n| star3Num | integer | No | Async submit | 3-star reviews to fetch (0-100) | 10 |\n| star4Num | integer | No | Async submit | 4-star reviews to fetch (0-100) | 10 |\n| star5Num | integer | No | Async submit | 5-star reviews to fetch (0-100) | 10 |\n| sortBy | string | No | All | `recent` (newest) or `helpful` (most helpful) | `recent` |\n| formatType | string | No | All | `all_formats` or `current_format` | `all_formats` |\n| domainCode | string | No | Async submit | Marketplace code (see Supported Marketplaces); use `com` for US | `com` |\n| filterByKeyword | string | No | Async submit | Filter reviews by keyword (max 1000 chars) | - |\n| reviewerType | string | No | Async submit | `all_reviews` or `avp_only_reviews` (verified only) | `all_reviews` |\n| mediaType | string | No | Async submit | `all_contents` or `media_reviews_only` | `all_contents` |\n\n### Star Count Defaults\n\n- If no star count fields are provided, `star1Num` to `star5Num` all default to `10`.\n- If any star count field is provided, unspecified star counts default to `0`.\n\n## Supported Marketplaces\n\n| Marketplace | Code |\n|-------------|------|\n| United States | `com` |\n| Canada | `ca` |\n| United Kingdom | `co.uk` |\n| Germany | `de` |\n| France | `fr` |\n| Italy | `it` |\n| Spain | `es` |\n| Japan | `co.jp` |\n| India | `in` |\n| Australia | `com.au` |\n| Brazil | `com.br` |\n| Mexico | `com.mx` |\n| Netherlands | `nl` |\n| Sweden | `se` |\n| United Arab Emirates | `ae` |\n\nUse `domainCode` for every supported marketplace. Always confirm the user's intended marketplace.\n\n## Usage Examples\n\n**1. Fetch US reviews (Amazon.com)**\n```json\n{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"com\", \"star1Num\": 10, \"star2Num\": 10, \"star3Num\": 10, \"star4Num\": 10, \"star5Num\": 10, \"sortBy\": \"recent\"}\n```\n\n**2. Fetch negative reviews with keyword filter (Germany)**\n```json\n{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"de\", \"star1Num\": 30, \"star2Num\": 30, \"filterByKeyword\": \"quality\", \"reviewerType\": \"avp_only_reviews\"}\n```\n\n**3. Fetch 5-star reviews with media (Japan)**\n```json\n{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"co.jp\", \"star5Num\": 50, \"star1Num\": 0, \"star2Num\": 0, \"star3Num\": 0, \"star4Num\": 0, \"sortBy\": \"helpful\", \"mediaType\": \"media_reviews_only\"}\n```\n\n**4. Fetch only 3-star reviews (explicit star mode)**\n```json\n{\"asin\": \"B0FP5C63HZ\", \"domainCode\": \"com\", \"star3Num\": 100}\n```\n\n## Display Rules\n\n1. **Present data clearly**: Show reviews grouped by star rating with key fields: rating, title, text, date, verified status, helpful count.\n2. **Summarize when appropriate**: For many reviews, provide a theme/pain-point summary before listing individuals.\n3. **Highlight actionable insights**: Call out recurring complaints in negative reviews; note praised features in positive reviews.\n4. **Vine and verified labels**: Clearly indicate Vine Voice and verified purchase status.\n5. **Media indicators**: Note when reviews include images or videos.\n6. **Response normalization**: Normalize rating and helpful-count fields for consistent display when the raw response uses marketplace-specific text formats.\n7. **Error handling**: When a query fails, explain the reason based on the response message and suggest adjusting parameters.\n8. **Single ASIN limitation**: If the user asks about multiple ASINs, make separate requests for each.\n\n## Important Limitations\n\n- **One ASIN per request**: Only a single ASIN can be queried at a time.\n- **Per-star cap**: Each star rating returns max 100 reviews per request.\n- **Parameter scope**: `filterByKeyword`, `reviewerType`, `mediaType` are available on async submit, including `domainCode: \"com\"`.\n- **No historical snapshots**: Reviews are fetched in real-time.\n- **Review text language**: Reviews are returned in their original language as posted.\n\n## User Expression & Scenario Quick Reference\n\n**Applicable** — Tasks involving Amazon product reviews:\n\n| User Says | Scenario |\n|-----------|----------|\n| \"Show me the reviews for this ASIN\" | Direct review lookup |\n| \"Get US reviews for B08N5WRWNW\" | Marketplace-specific lookup |\n| \"What are customers complaining about\" | Negative review analysis |\n| \"Get me all the 1-star reviews\" | Star-filtered retrieval |\n| \"Any common issues in the bad reviews\" | Pain point mining |\n| \"What do people like about this product\" | Positive review analysis |\n| \"Find reviews mentioning 'battery'\" | Keyword-filtered reviews |\n| \"Show me reviews with photos\" | Media-filtered reviews |\n| \"Verified purchase reviews only\" | Reviewer-type filtering |\n| \"Help me analyze competitor reviews\" | Competitor review research |\n| \"Product improvement suggestions from reviews\" | Actionable insight extraction |\n\n**Not applicable** — Needs beyond product review data:\n\n- ABA search term data / keyword research (use ABA Data Explorer instead)\n- Sales estimation or revenue analysis\n- Listing copywriting or A+ content creation\n- Advertising / PPC strategy\n- Pricing strategy or profit margin calculations\n\n**Boundary judgment**: If \"product research\" or \"competitor analysis\" boils down to reading customer reviews for specific ASINs, this skill applies. If it involves search volume, keyword rankings, sales estimates, or market sizing, it does not.\n\n## 算力消耗规则\n\n按计划抓取页数动态计费。设 `P = Σ min(ceil(各星级请求评论数 / 10), 10)`，则：\n\n- 计费 Token：`21000 × P`。\n- **实际消耗算力 = `ceil((21000 × P) / 2000) = ceil(10.5 × P)`**，按每次请求分别向上取整。\n- 未传任何星级数量时，1~5 星默认各抓取 10 条，`P = 5`，消耗 `53` 算力。\n- 传入任意星级数量后，未传星级按 `0`；五个星级均显式传 `0` 时，`P = 0`，不调用供应商且消耗 `0` 算力。\n- 请求成功但结果为空，或经关键词、认证购买、媒体筛选后为空，仍按计划页数计费；部分子任务失败但整体成功时仍按全部计划页数计费；调用完全失败不计费。\n\n常见消耗：1 页 `11` 算力，2 页 `21` 算力，5 页 `53` 算力，10 页 `105` 算力。\n\n> **重要**：费用按请求的抓取页数计算，而不是按最终返回评论数计算。请求多个星级或大量评论前必须向用户说明预计页数和算力消耗。\n\n> 上述公式只用于调用前预估。实际是否扣费及扣费数额只以首次成功领取结果时返回的 `X-Cost-Token`/`costToken` 为准；提交、处理中、失败或超时不得按预估值计为已消耗。\n\n**Feedback:**\n\nAuto-detect and report feedback via the Feedback API when any of the following apply:\n1. The functionality or purpose described in this skill does not match actual behavior\n2. The skill's results do not match the user's intent\n3. The user expresses dissatisfaction or praise about this skill\n4. Anything you believe could be improved\n\nCall the feedback API as specified in the references. Do not interrupt the user's flow.\n\n---\n*For more high-quality, professional cross-border e-commerce skills, visit [LinkFox Skills](https://skill.linkfox.com/).*\n\nFile v1.0.10:_meta.json\n\n{\n  \"ownerId\": \"kn7dmc1t4j28hem1twwyav85p182pb1j\",\n  \"slug\": \"linkfox-amazon-reviews-list\",\n  \"version\": \"1.0.10\",\n  \"publishedAt\": 1789361709683\n}\n\nFile v1.0.10:references/api.md\n\n# 亚马逊商品评论 API 参考\n\n## 调用规范\n\n- **异步提交**：`${LINKFOX_TOOL_GATEWAY}/amazon/reviews/async/submit`\n- **异步查询**：`${LINKFOX_TOOL_GATEWAY}/amazon/reviews/async/result`\n- **请求方式**：POST，Content-Type: application/json\n- **认证方式**：Header `Authorization: <api_key>`，api_key 从环境变量 `LINKFOX_AGENT_API_KEY` 或 `LINKFOXAGENT_API_KEY` 读取（如未配置 按 SKILL.md 的 **## 解决认证和算力问题** 处理）\n\n本 Skill 只使用异步提交和查询接口。\n\n## 异步提交\n\nPOST Body（JSON）：\n\n| 参数 | 类型 | 必填 | 说明                                                                                                                             |\n|------|------|------|--------------------------------------------------------------------------------------------------------------------------------|\n| asin | string | 是 | 亚马逊商品ASIN                                                                                                                      |\n| domainCode | string | 否 | 亚马逊域名代码，默认 `com`。可选值：`com`、`ca`、`co.uk`、`in`、`de`、`fr`、`it`、`es`、`co.jp`、`com.au`、`com.br`、`nl`、`se`、`com.mx`、`ae`。美国站使用 `com` |\n| star1Num | integer | 否 | 1星评论数量，默认获取10条，最多100条                                                                                                          |\n| star2Num | integer | 否 | 2星评论数量，默认获取10条，最多100条                                                                                                          |\n| star3Num | integer | 否 | 3星评论数量，默认获取10条，最多100条                                                                                                          |\n| star4Num | integer | 否 | 4星评论数量，默认获取10条，最多100条                                                                                                          |\n| star5Num | integer | 否 | 5星评论数量，默认获取10条，最多100条                                                                                                          |\n| filterByKeyword | string | 否 | 按关键词筛选评论，最大长度1000字符                                                                                                            |\n| sortBy | string | 否 | 评论排序方式：`recent`（最新评论）或 `helpful`（最有用评论），默认 `recent`                                                                            |\n| reviewerType | string | 否 | 评论者类型：`all_reviews`（所有评论）或 `avp_only_reviews`（仅认证购买），默认 `all_reviews`                                                          |\n| mediaType | string | 否 | 媒体类型：`all_contents`（所有内容）或 `media_reviews_only`（仅包含媒体的评论），默认 `all_contents`                                                    |\n| formatType | string | 否 | 格式类型：`all_formats`（所有格式）或 `current_format`（当前格式），默认 `all_formats`                                                           |\n\n说明：若 `star1Num` ~ `star5Num` 均未传，则 1~5 星默认各抓取 `10` 条；若已传任意一个星级数量，则其它未传星级默认 `0`。\n\n无需传 `provider`。后端根据 `domainCode` 自动选择 Pango 或 Apify，实际供应商在提交和查询响应的 `provider` 字段中返回。\n\n提交成功响应：\n\n| 字段 | 类型 | 说明 |\n|------|------|------|\n| taskId | string | 后续查询使用的任务ID |\n| provider | string | 实际选择的供应商 |\n| status | string | 初始状态，通常为 `PENDING` |\n| pollAfterMillis | integer | 建议下次查询前等待的毫秒数 |\n\n提交接口只调用一次并立即返回 `taskId`。任务未完成或单次查询失败均不得重新提交。\n\n脚本会在本地任务标记中附加经验时间提示：Pango 通常约 `10~30` 秒、Apify 通常约 `15~60` 秒完成，并通过 `suggestedNextCheckAfterSeconds` 提示首次查询时间。该时间仅为当前实测经验，不是 SLA；Agent 应优先继续其他工作，到建议时间再查询。\n\n## 异步查询\n\n请求体：\n\n```json\n{\n  \"taskId\": \"异步提交返回的任务ID\"\n}\n```\n\n查询响应：\n\n| 字段 | 类型 | 说明 |\n|------|------|------|\n| taskId | string | 任务ID |\n| provider | string | 实际使用的供应商 |\n| status | string | `PENDING`、`RUNNING`、`SUCCEEDED`、`FAILED` 或 `CANCELLED` |\n| error | string | 任务失败原因，仅失败时存在 |\n| result | object | 成功后的评论结果 |\n| pollAfterMillis | integer | 建议下次查询前等待的毫秒数；结束后为0 |\n| createdAt | integer | 任务创建时间，Unix毫秒 |\n| startedAt | integer | 任务开始时间，Unix毫秒 |\n| completedAt | integer | 任务完成时间，Unix毫秒 |\n| expiresAt | integer | 任务结果过期时间，Unix毫秒 |\n| costToken | integer | 本次查询的Token消耗；成功结果仅首次领取时产生 |\n\n处理规则：\n\n- 默认脚本首次执行只提交并立即返回；后续每次执行只查询一次结果，不循环、不休眠，使 Agent 可以继续其他工作。\n- 可以用原提交参数再次执行脚本并从缓存恢复任务，也可以直接传入 `{\"taskId\":\"...\"}` 查询。\n- `PENDING`、`RUNNING`：从任务创建时间起最多观察 `200` 秒；窗口内保留同一个 `taskId`，继续其他工作，约 `10~20` 秒后再查询，不按 `pollAfterMillis` 忙轮询。\n- 临时查询失败（网络异常、服务暂时不可用等）保留原任务，在观察窗口内稍后查询同一 `taskId`；不缓存为最终结果、不重新提交。认证/参数错误或明确的任务不存在则停止。\n- `SUCCEEDED`：读取 `result` 并结束。\n- `FAILED`：读取 `error` 并结束，不自动重新提交。\n- `CANCELLED`：任务等待异步执行资源超时，尚未调用供应商。向用户友好说明当前评论服务可能请求较多、任务已自动取消且未产生费用，建议稍后重新提交；本次执行不自动重新提交。\n- 未读取任务从提交时间起保留 4 小时；首次读取到任一终态后，后端立即删除该任务。脚本将成功结果保存到文件，缓存仅记录“已领取”和文件路径，不再缓存一份评论正文。\n- 原参数与 `taskId` 在同一工作目录内共用任务记录；24h 本地缓存有效期内重复执行返回 `ALREADY_RECEIVED`、`resultFile`、`fileExists` 和本次 `costToken: 0`，不再发起后端查询。`ALREADY_RECEIVED` 是脚本本地状态，不是后端状态。应读取 `resultFile`；文件已丢失则提示用户，不自动重新抓取。\n- 超过 `200` 秒仍未完成时返回 `POLL_TIMEOUT` 并停止自动查询。用户可以选择继续查询同一个 `taskId`，或停止查询；不得自动提交新任务。\n- 当前没有手动取消端点。后端只自动取消尚未调用供应商的 `PENDING` 任务；停止查询不会取消已进入 `RUNNING` 的上游调用。\n- 任务不存在或已过期：结束并提示用户；只有用户明确要求重试时才重新提交。\n- 调用前的积分公式只用于预估。实际扣费只认首次 `SUCCEEDED` 查询响应的 `X-Cost-Token`/`costToken`；提交、`PENDING`、`RUNNING`、`FAILED`、`CANCELLED`、`POLL_TIMEOUT` 均不得由客户端推算或补记费用。\n\n## 评论结果结构\n\n| 字段 | 类型 | 说明 |\n|------|------|------|\n| total | integer | 总评论数 |\n| data | array | 评论列表（详见下方评论对象） |\n| columns | array | 渲染的列 |\n| costToken | integer | 总Token消耗 |\n| type | string | 渲染的样式 |\n\n### 评论对象\n\n| 字段 | 类型 | 说明 |\n|------|------|------|\n| reviewId | string | 评论ID |\n| asin | string | 产品ASIN |\n| title | string | 评论标题 |\n| text | string | 评论内容 |\n| rating | string | 评分 |\n| date | string | 评论日期 |\n| userName | string | 评论者名称 |\n| verified | boolean | 是否已验证购买 |\n| vine | boolean | 是否Vine Voice评论 |\n| numberOfHelpful | integer | 有用数量 |\n| imageUrlList | array | 评论图片列表 |\n| videoUrlList | array | 评论视频列表 |\n| domainCode | string | 国家代码 |\n| productTitle | string | 产品标题 |\n| productRating | string | 产品评分 |\n| countRatings | integer | 产品评分数量 |\n| countReviews | integer | 产品评论数量 |\n| variationId | string | 变体ID |\n| variationList | array | 变体列表 |\n| profilePath | string | 评论者个人资料路径 |\n| currentPage | integer | 当前页码 |\n| sortStrategy | string | 排序策略 |\n| statusCode | integer | 状态码 |\n| statusMessage | string | 状态消息 |\n| locale | object | 区域信息 |\n| reviewSummary | object | 评论摘要数据 |\n| filters | object | 已应用的筛选条件 |\n\n## 错误码\n\n正常情况下，接口的 HTTP 状态码均为 200，业务的成功与否通过响应体中的 errorCode 字段区分（errorCode = 200 表示成功，其他值表示业务错误）。当遇到未授权等情况时，HTTP 状态码为 401，且对应的 errorCode 也是 401。\n\n| errcode | 含义 | 处理建议 |\n|---------|------|----------|\n| 200 | 成功 | 正常解析业务字段 |\n| 401 | 认证失败 | HTTP 401 或 authorized error：按 SKILL.md 的 **## 解决认证和算力问题** 处理。|\n| 402 | 算力不足 | HTTP 402：按 SKILL.md 的 **## 解决认证和算力问题** 处理。|\n| 其他非200值 | 业务异常 | 参考 `errmsg` 字段获取具体错误原因 |\n\n错误响应示例：\n\n```json\n{\n    \"errcode\": 401,\n    \"errmsg\": \"authorized error\"\n}\n```\n\n## curl 示例（美国站）\n\n### 1. 提交\n\n```bash\ncurl -X POST https://tool-gateway.linkfox.com/amazon/reviews/async/submit \\\n  -H \"Authorization: $LINKFOXAGENT_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"asin\": \"B08N5WRWNW\",\n    \"domainCode\": \"com\",\n    \"star1Num\": 10,\n    \"star2Num\": 10,\n    \"star3Num\": 0,\n    \"star4Num\": 0,\n    \"star5Num\": 0,\n    \"sortBy\": \"recent\",\n    \"reviewerType\": \"all_reviews\"\n  }'\n```\n\n### 2. 查询\n\n```bash\ncurl -X POST https://tool-gateway.linkfox.com/amazon/reviews/async/result \\\n  -H \"Authorization: $LINKFOXAGENT_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"taskId\": \"提交接口返回的任务ID\"\n  }'\n```\n\n---\n\n## Feedback API\n\n> This endpoint is **separate** from the tool API above. Do not mix the two base URLs.\n\n- **POST** `https://skill-api.linkfox.com/api/v1/public/feedback`\n- **Content-Type:** `application/json`\n\n```json\n{\n  \"skillName\": \"linkfox-amazon-reviews\",\n  \"sentiment\": \"POSITIVE\",\n  \"category\": \"OTHER\",\n  \"content\": \"Results were accurate, user was satisfied.\"\n}\n```\n\n**Field rules:**\n- `skillName`: Use this skill's `name` from the YAML frontmatter\n- `sentiment`: Choose ONE — `POSITIVE` (praise), `NEUTRAL` (suggestion without emotion), `NEGATIVE` (complaint or error)\n- `category`: Choose ONE — `BUG` (malfunction or wrong data), `COMPLAINT` (user dissatisfaction), `SUGGESTION` (improvement idea), `OTHER`\n- `content`: Include what the user said or intended, what actually happened, and why it is a problem or praise\n\nFile v1.0.10:references/onboarding.md\n\n# 解决认证和算力问题\n\n调用本 skill 时若网关返回 **auth** 或 **billing** 错误，走本 skill 自带的 `scripts/onboarding.py` 完成引导。\n\n**auth 场景**：`errcode=401` 或消息含 `authorized error`/`鉴权失败`/`未授权`/`unauthorized`；或 `LINKFOX_AGENT_API_KEY` 与 `LINKFOXAGENT_API_KEY` 均为空。\n1. 若已配置 key → 先让用户重启会话（最常见误判），仍失败让用户重新取 key 或换手机号重注册\n2. 未配置 → 询问：自助去 https://agent.linkfox.com/ 取 key，或提供手机号让脚本注册\n3. 手机号路径：\n   - `python scripts/onboarding.py send-code <phone>` → 展示 JSON 里的 phone/agreements\n   - 收到验证码后：`python scripts/onboarding.py login <phone> <code>`\n   - 拿到 `api_key` 后把下面三平台配置转发给用户，提示重启会话生效：\n     - Windows PowerShell（永久）：`setx LINKFOX_AGENT_API_KEY \"<key>\"`\n     - macOS zsh：`echo 'export LINKFOX_AGENT_API_KEY=\"<key>\"' >> ~/.zshrc && source ~/.zshrc`\n     - Linux bash：`echo 'export LINKFOX_AGENT_API_KEY=\"<key>\"' >> ~/.bashrc && source ~/.bashrc`\n     - 变量名 `LINKFOX_AGENT_API_KEY`（主推）或 `LINKFOXAGENT_API_KEY`（老规范）任一即可\n\n**billing 场景**：`errcode=402` 或消息含 `算力/余额/quota/insufficient/充值/套餐到期`。\n- `python scripts/onboarding.py list-plans` → 有 AskUserQuestion 就弹菜单，否则输出编号清单让用户选\n- 校验 `plan_id` ∈ 清单、支付方式 ∈ 该套餐 `available_methods`（通常 `wechat/alipay`）\n- `python scripts/onboarding.py order <plan_id> <method>` → 展示优先级 PNG > `pay_url` > `ascii_qr`（标注兜底）\n- 已付款可选调 `python scripts/onboarding.py query <order_id>`，不主动轮询\n\n排除 `errcode=403`（无权限，不归入这两类）。所有子命令输出 stdout JSON，`error` 字段已含阶段前缀，透传给用户即可。完整用法：`python scripts/onboarding.py --help`。\n\nFile v1.0.10:skill-card.md\n\n## Description:\n\nFetches and analyzes Amazon product reviews by ASIN across 15 marketplaces with star, keyword, verified-purchase, sort, format, and media filters.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[linkfox-ai](https://clawhub.ai/user/linkfox-ai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal sellers, ecommerce analysts, and agents use this skill to retrieve Amazon reviews for a single ASIN, filter them by marketplace, star rating, keyword, media, or verified-purchase status, and summarize customer praise, complaints, and product improvement signals.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The security scan reports under-disclosed account, billing, credential, and automatic feedback-reporting behavior.\n\nMitigation: Review the LinkFox account, billing, and feedback flows before installation; make feedback submission explicit opt-in for sensitive deployments.\n\nRisk: The skill handles API keys and may guide users to configure credentials in shell startup files.\n\nMitigation: Prefer a managed secret store or scoped environment injection, and avoid committing or sharing shell profiles that contain API keys.\n\nRisk: The skill can create persistent local review result files and may process customer review data from live third-party services.\n\nMitigation: Run it only in appropriate workspaces, disclose paid API use before large requests, and clean local result files according to the user's data retention requirements.\n\n## Reference(s):\n\n- [Amazon Reviews API Reference](references/api.md)\n- [Authentication and Billing Onboarding](references/onboarding.md)\n- [ClawHub Skill Page](https://clawhub.ai/linkfox-ai/skills/linkfox-amazon-reviews-list)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, JSON, shell commands, configuration, guidance]\n\n**Output Format:** [Markdown responses with JSON result files and inline shell commands]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Writes full API responses to workspace-local linkfox session data files; stdout may contain full JSON or a compact summary depending on response size.]\n\n## Skill Version(s):\n\n1.0.10 (source: server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nArchive v1.0.9: 7 files, 23583 bytes\n\nFiles: references/api.md (6761b), references/onboarding.md (2046b), scripts/amazon_reviews.py (12664b), scripts/onboarding.py (24089b), skill-card.md (2733b), SKILL.md (10221b), _meta.json (146b)\n\nFile v1.0.9:SKILL.md\n\n---\nname: linkfox-amazon-reviews-list\ndescription: 按ASIN获取并分析亚马逊商品评论，支持15个站点(含美国站)，按星级筛选评论。当用户提到亚马逊评论、美国站评论、商品评价、买家投诉、差评、好评、星级评分、评论分析、评论情感、产品改良建议、Vine评论、已验证购买评论、竞品评论研究、Amazon reviews, US reviews, Amazon.com reviews, product feedback, negative review analysis, positive review analysis, star rating filter, review sentiment analysis, product improvement insights, Vine reviews, competitor reviews, customer feedback时触发此技能。即使用户未明确说\"评论\"，只要其需求涉及读取、筛选或分析亚马逊商品的买家评论，也应触发此技能。\n---\n\n# Amazon Product Reviews\n\nFetch and analyze Amazon product reviews to help sellers extract actionable insights from customer feedback.\n\n## Core Concepts\n\nThis tool retrieves real customer reviews for a given Amazon ASIN across **15 marketplaces**. You can control how many reviews to fetch per star rating (1-5 stars, up to 100 each), sort by recency or helpfulness, and apply various filters. Only one ASIN per request; for multiple ASINs, make separate calls.\n\n## 调用方式\n\n- **API 端点**：`POST /amazon/reviews/list`（完整参数/响应/错误码见 `references/api.md`）\n- **Python 脚本**：`python scripts/amazon_reviews.py '<JSON 参数>' [--inline]`\n- **成本约束**：本工具会消耗积分；同一会话同一参数组合默认只调用一次，脚本带 24h 本地缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探；需要继续检索时先向用户说明会产生额外消耗。\n\n**输出策略（脚本默认行为）**：\n- **始终**将完整响应写入 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-amazon-reviews-list-<timestamp>.json`（`<cwd>` 为脚本执行时的工作目录，在 Claude Code 里即当前项目目录；`<session>` 取自环境变量 `SESSION_ID`，按用户任务自动聚合；**禁止写入 /tmp**，当前目录不可写则报错）\n- 响应体 ≤ 8 KB：落盘后把完整 JSON 打印到 stdout\n- 响应体 > 8 KB：落盘后 stdout 只输出摘要（顶层字段、常见计数如 `total`/`costToken`、最大列表字段的长度 + 前 3 条样本）\n- 加 `--inline` 强制全量打印到 stdout（同样落盘）\n\n**读数据建议**：先看摘要判断是否足够；需要具体字段时优先用 `jq`或`ConvertFrom-Json` 从保存的 json 文件按需抽取，避免整份 JSON 进入上下文。\n\n## 解决认证和积分问题\n发生以下异常情况时，采用 references/onboarding.md 引导解决问题：\n\n### 异常情况\n- **未配置API Key**：环境变量未配置 `LINKFOX_AGENT_API_KEY`，也未配置 `LINKFOXAGENT_API_KEY`。\n- **响应401或402状态码**\n- **响应提示积分或余额不足**：消息含\"积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值\"，或类似含义的内容。\n\n## Parameter Guide\n\n| Parameter | Type | Required | Scope | Description | Default |\n|-----------|------|----------|-------|-------------|---------|\n| asin | string | Yes | All | Amazon product ASIN | - |\n| star1Num | integer | No | Main endpoint | 1-star reviews to fetch (0-100) | 10 |\n| star2Num | integer | No | Main endpoint | 2-star reviews to fetch (0-100) | 10 |\n| star3Num | integer | No | Main endpoint | 3-star reviews to fetch (0-100) | 10 |\n| star4Num | integer | No | Main endpoint | 4-star reviews to fetch (0-100) | 10 |\n| star5Num | integer | No | Main endpoint | 5-star reviews to fetch (0-100) | 10 |\n| sortBy | string | No | All | `recent` (newest) or `helpful` (most helpful) | `recent` |\n| formatType | string | No | All | `all_formats` or `current_format` | `all_formats` |\n| domainCode | string | No | Main endpoint | Marketplace code (see Supported Marketplaces); use `com` for US | `com` |\n| filterByKeyword | string | No | Main endpoint | Filter reviews by keyword (max 1000 chars) | - |\n| reviewerType | string | No | Main endpoint | `all_reviews` or `avp_only_reviews` (verified only) | `all_reviews` |\n| mediaType | string | No | Main endpoint | `all_contents` or `media_reviews_only` | `all_contents` |\n\n### Star Count Defaults\n\n- If no star count fields are provided, `star1Num` to `star5Num` all default to `10`.\n- If any star count field is provided, unspecified star counts default to `0`.\n\n## Supported Marketplaces\n\n| Marketplace | Code |\n|-------------|------|\n| United States | `com` |\n| Canada | `ca` |\n| United Kingdom | `co.uk` |\n| Germany | `de` |\n| France | `fr` |\n| Italy | `it` |\n| Spain | `es` |\n| Japan | `co.jp` |\n| India | `in` |\n| Australia | `com.au` |\n| Brazil | `com.br` |\n| Mexico | `com.mx` |\n| Netherlands | `nl` |\n| Sweden | `se` |\n| United Arab Emirates | `ae` |\n\nUse `domainCode` for every supported marketplace. Always confirm the user's intended marketplace.\n\n## Usage Examples\n\n**1. Fetch US reviews (Amazon.com)**\n```json\n{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"com\", \"star1Num\": 10, \"star2Num\": 10, \"star3Num\": 10, \"star4Num\": 10, \"star5Num\": 10, \"sortBy\": \"recent\"}\n```\n\n**2. Fetch negative reviews with keyword filter (Germany)**\n```json\n{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"de\", \"star1Num\": 30, \"star2Num\": 30, \"filterByKeyword\": \"quality\", \"reviewerType\": \"avp_only_reviews\"}\n```\n\n**3. Fetch 5-star reviews with media (Japan)**\n```json\n{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"co.jp\", \"star5Num\": 50, \"star1Num\": 0, \"star2Num\": 0, \"star3Num\": 0, \"star4Num\": 0, \"sortBy\": \"helpful\", \"mediaType\": \"media_reviews_only\"}\n```\n\n**4. Fetch only 3-star reviews (explicit star mode)**\n```json\n{\"asin\": \"B0FP5C63HZ\", \"domainCode\": \"com\", \"star3Num\": 100}\n```\n\n## Display Rules\n\n1. **Present data clearly**: Show reviews grouped by star rating with key fields: rating, title, text, date, verified status, helpful count.\n2. **Summarize when appropriate**: For many reviews, provide a theme/pain-point summary before listing individuals.\n3. **Highlight actionable insights**: Call out recurring complaints in negative reviews; note praised features in positive reviews.\n4. **Vine and verified labels**: Clearly indicate Vine Voice and verified purchase status.\n5. **Media indicators**: Note when reviews include images or videos.\n6. **Response normalization**: Normalize rating and helpful-count fields for consistent display when the raw response uses marketplace-specific text formats.\n7. **Error handling**: When a query fails, explain the reason based on the response message and suggest adjusting parameters.\n8. **Single ASIN limitation**: If the user asks about multiple ASINs, make separate requests for each.\n\n## Important Limitations\n\n- **One ASIN per request**: Only a single ASIN can be queried at a time.\n- **Per-star cap**: Each star rating returns max 100 reviews per request.\n- **Parameter scope**: `filterByKeyword`, `reviewerType`, `mediaType` are available on `/amazon/reviews/list`, including `domainCode: \"com\"`.\n- **No historical snapshots**: Reviews are fetched in real-time.\n- **Review text language**: Reviews are returned in their original language as posted.\n\n## User Expression & Scenario Quick Reference\n\n**Applicable** — Tasks involving Amazon product reviews:\n\n| User Says | Scenario |\n|-----------|----------|\n| \"Show me the reviews for this ASIN\" | Direct review lookup |\n| \"Get US reviews for B08N5WRWNW\" | Marketplace-specific lookup |\n| \"What are customers complaining about\" | Negative review analysis |\n| \"Get me all the 1-star reviews\" | Star-filtered retrieval |\n| \"Any common issues in the bad reviews\" | Pain point mining |\n| \"What do people like about this product\" | Positive review analysis |\n| \"Find reviews mentioning 'battery'\" | Keyword-filtered reviews |\n| \"Show me reviews with photos\" | Media-filtered reviews |\n| \"Verified purchase reviews only\" | Reviewer-type filtering |\n| \"Help me analyze competitor reviews\" | Competitor review research |\n| \"Product improvement suggestions from reviews\" | Actionable insight extraction |\n\n**Not applicable** — Needs beyond product review data:\n\n- ABA search term data / keyword research (use ABA Data Explorer instead)\n- Sales estimation or revenue analysis\n- Listing copywriting or A+ content creation\n- Advertising / PPC strategy\n- Pricing strategy or profit margin calculations\n\n**Boundary judgment**: If \"product research\" or \"competitor analysis\" boils down to reading customer reviews for specific ASINs, this skill applies. If it involves search volume, keyword rankings, sales estimates, or market sizing, it does not.\n\n## 积分消耗规则\n\n按计划抓取页数动态计费。设 `P = Σ min(ceil(各星级请求评论数 / 10), 10)`，则：\n\n- 计费 Token：`21000 × P`。\n- **实际消耗积分 = `ceil((21000 × P) / 2000) = ceil(10.5 × P)`**，按每次请求分别向上取整。\n- 未传任何星级数量时，1~5 星默认各抓取 10 条，`P = 5`，消耗 `53` 积分。\n- 传入任意星级数量后，未传星级按 `0`；五个星级均显式传 `0` 时，`P = 0`，不调用供应商且消耗 `0` 积分。\n- 请求成功但结果为空，或经关键词、认证购买、媒体筛选后为空，仍按计划页数计费；部分子任务失败但整体成功时仍按全部计划页数计费；调用完全失败不计费。\n\n常见消耗：1 页 `11` 积分，2 页 `21` 积分，5 页 `53` 积分，10 页 `105` 积分。\n\n> **重要**：费用按请求的抓取页数计算，而不是按最终返回评论数计算。请求多个星级或大量评论前必须向用户说明预计页数和积分消耗。\n\n**Feedback:**\n\nAuto-detect and report feedback via the Feedback API when any of the following apply:\n1. The functionality or purpose described in this skill does not match actual behavior\n2. The skill's results do not match the user's intent\n3. The user expresses dissatisfaction or praise about this skill\n4. Anything you believe could be improved\n\nCall the feedback API as specified in the references. Do not interrupt the user's flow.\n\n---\n*For more high-quality, professional cross-border e-commerce skills, visit [LinkFox Skills](https://skill.linkfox.com/).*\n\nFile v1.0.9:_meta.json\n\n{\n  \"ownerId\": \"kn7dmc1t4j28hem1twwyav85p182pb1j\",\n  \"slug\": \"linkfox-amazon-reviews-list\",\n  \"version\": \"1.0.9\",\n  \"publishedAt\": 1786718626963\n}\n\nFile v1.0.9:references/api.md\n\n# 亚马逊商品评论 API 参考\n\n## 调用规范\n\n- **请求地址**：`${LINKFOX_TOOL_GATEWAY}/amazon/reviews/list`\n- **请求方式**：POST，Content-Type: application/json\n- **认证方式**：Header `Authorization: <api_key>`，api_key 从环境变量 `LINKFOX_AGENT_API_KEY` 或 `LINKFOXAGENT_API_KEY` 读取（如未配置 按 SKILL.md 的 **## 解决认证和积分问题** 处理）\n\n## 请求参数\n\nPOST Body（JSON）：\n\n| 参数 | 类型 | 必填 | 说明                                                                                                                             |\n|------|------|------|--------------------------------------------------------------------------------------------------------------------------------|\n| asin | string | 是 | 亚马逊商品ASIN                                                                                                                      |\n| domainCode | string | 否 | 亚马逊域名代码，默认 `com`。可选值：`com`、`ca`、`co.uk`、`in`、`de`、`fr`、`it`、`es`、`co.jp`、`com.au`、`com.br`、`nl`、`se`、`com.mx`、`ae`。美国站使用 `com` |\n| star1Num | integer | 否 | 1星评论数量，默认获取10条，最多100条                                                                                                          |\n| star2Num | integer | 否 | 2星评论数量，默认获取10条，最多100条                                                                                                          |\n| star3Num | integer | 否 | 3星评论数量，默认获取10条，最多100条                                                                                                          |\n| star4Num | integer | 否 | 4星评论数量，默认获取10条，最多100条                                                                                                          |\n| star5Num | integer | 否 | 5星评论数量，默认获取10条，最多100条                                                                                                          |\n| filterByKeyword | string | 否 | 按关键词筛选评论，最大长度1000字符                                                                                                            |\n| sortBy | string | 否 | 评论排序方式：`recent`（最新评论）或 `helpful`（最有用评论），默认 `recent`                                                                            |\n| reviewerType | string | 否 | 评论者类型：`all_reviews`（所有评论）或 `avp_only_reviews`（仅认证购买），默认 `all_reviews`                                                          |\n| mediaType | string | 否 | 媒体类型：`all_contents`（所有内容）或 `media_reviews_only`（仅包含媒体的评论），默认 `all_contents`                                                    |\n| formatType | string | 否 | 格式类型：`all_formats`（所有格式）或 `current_format`（当前格式），默认 `all_formats`                                                           |\n\n说明：若 `star1Num` ~ `star5Num` 均未传，则 1~5 星默认各抓取 `10` 条；若已传任意一个星级数量，则其它未传星级默认 `0`。\n\n## 响应结构\n\n| 字段 | 类型 | 说明 |\n|------|------|------|\n| total | integer | 总评论数 |\n| data | array | 评论列表（详见下方评论对象） |\n| columns | array | 渲染的列 |\n| costToken | integer | 总Token消耗 |\n| type | string | 渲染的样式 |\n\n### 评论对象\n\n| 字段 | 类型 | 说明 |\n|------|------|------|\n| reviewId | string | 评论ID |\n| asin | string | 产品ASIN |\n| title | string | 评论标题 |\n| text | string | 评论内容 |\n| rating | string | 评分 |\n| date | string | 评论日期 |\n| userName | string | 评论者名称 |\n| verified | boolean | 是否已验证购买 |\n| vine | boolean | 是否Vine Voice评论 |\n| numberOfHelpful | integer | 有用数量 |\n| imageUrlList | array | 评论图片列表 |\n| videoUrlList | array | 评论视频列表 |\n| domainCode | string | 国家代码 |\n| productTitle | string | 产品标题 |\n| productRating | string | 产品评分 |\n| countRatings | integer | 产品评分数量 |\n| countReviews | integer | 产品评论数量 |\n| variationId | string | 变体ID |\n| variationList | array | 变体列表 |\n| profilePath | string | 评论者个人资料路径 |\n| currentPage | integer | 当前页码 |\n| sortStrategy | string | 排序策略 |\n| statusCode | integer | 状态码 |\n| statusMessage | string | 状态消息 |\n| locale | object | 区域信息 |\n| reviewSummary | object | 评论摘要数据 |\n| filters | object | 已应用的筛选条件 |\n\n## 错误码\n\n正常情况下，接口的 HTTP 状态码均为 200，业务的成功与否通过响应体中的 errorCode 字段区分（errorCode = 200 表示成功，其他值表示业务错误）。当遇到未授权等情况时，HTTP 状态码为 401，且对应的 errorCode 也是 401。\n\n| errcode | 含义 | 处理建议 |\n|---------|------|----------|\n| 200 | 成功 | 正常解析业务字段 |\n| 401 | 认证失败 | HTTP 401 或 authorized error：按 SKILL.md 的 **## 解决认证和积分问题** 处理。|\n| 402 | 积分不足 | HTTP 402：按 SKILL.md 的 **## 解决认证和积分问题** 处理。|\n| 其他非200值 | 业务异常 | 参考 `errmsg` 字段获取具体错误原因 |\n\n错误响应示例：\n\n```json\n{\n    \"errcode\": 401,\n    \"errmsg\": \"authorized error\"\n}\n```\n\n## curl 示例（美国站）\n\n```bash\ncurl -X POST https://tool-gateway.linkfox.com/amazon/reviews/list \\\n  -H \"Authorization: $LINKFOXAGENT_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"asin\": \"B08N5WRWNW\",\n    \"domainCode\": \"com\",\n    \"star1Num\": 10,\n    \"star2Num\": 10,\n    \"star3Num\": 0,\n    \"star4Num\": 0,\n    \"star5Num\": 0,\n    \"sortBy\": \"recent\",\n    \"reviewerType\": \"all_reviews\"\n  }'\n```\n\n---\n\n## Feedback API\n\n> This endpoint is **separate** from the tool API above. Do not mix the two base URLs.\n\n- **POST** `https://skill-api.linkfox.com/api/v1/public/feedback`\n- **Content-Type:** `application/json`\n\n```json\n{\n  \"skillName\": \"linkfox-amazon-reviews\",\n  \"sentiment\": \"POSITIVE\",\n  \"category\": \"OTHER\",\n  \"content\": \"Results were accurate, user was satisfied.\"\n}\n```\n\n**Field rules:**\n- `skillName`: Use this skill's `name` from the YAML frontmatter\n- `sentiment`: Choose ONE — `POSITIVE` (praise), `NEUTRAL` (suggestion without emotion), `NEGATIVE` (complaint or error)\n- `category`: Choose ONE — `BUG` (malfunction or wrong data), `COMPLAINT` (user dissatisfaction), `SUGGESTION` (improvement idea), `OTHER`\n- `content`: Include what the user said or intended, what actually happened, and why it is a problem or praise\n\nFile v1.0.9:references/onboarding.md\n\n# 解决认证和积分问题\n\n调用本 skill 时若网关返回 **auth** 或 **billing** 错误，走本 skill 自带的 `scripts/onboarding.py` 完成引导。\n\n**auth 场景**：`errcode=401` 或消息含 `authorized error`/`鉴权失败`/`未授权`/`unauthorized`；或 `LINKFOX_AGENT_API_KEY` 与 `LINKFOXAGENT_API_KEY` 均为空。\n1. 若已配置 key → 先让用户重启会话（最常见误判），仍失败让用户重新取 key 或换手机号重注册\n2. 未配置 → 询问：自助去 https://agent.linkfox.com/ 取 key，或提供手机号让脚本注册\n3. 手机号路径：\n   - `python scripts/onboarding.py send-code <phone>` → 展示 JSON 里的 phone/agreements\n   - 收到验证码后：`python scripts/onboarding.py login <phone> <code>`（workbuddy 宿主加 `--channel workbuddy`）\n   - 拿到 `api_key` 后把下面三平台配置转发给用户，提示重启会话生效：\n     - Windows PowerShell（永久）：`setx LINKFOX_AGENT_API_KEY \"<key>\"`\n     - macOS zsh：`echo 'export LINKFOX_AGENT_API_KEY=\"<key>\"' >> ~/.zshrc && source ~/.zshrc`\n     - Linux bash：`echo 'export LINKFOX_AGENT_API_KEY=\"<key>\"' >> ~/.bashrc && source ~/.bashrc`\n     - 变量名 `LINKFOX_AGENT_API_KEY`（主推）或 `LINKFOXAGENT_API_KEY`（老规范）任一即可\n\n**billing 场景**：`errcode=402` 或消息含 `积分/余额/quota/insufficient/充值/套餐到期`。\n- `python scripts/onboarding.py list-plans` → 有 AskUserQuestion 就弹菜单，否则输出编号清单让用户选\n- 校验 `plan_id` ∈ 清单、支付方式 ∈ 该套餐 `available_methods`（通常 `wechat/alipay`）\n- `python scripts/onboarding.py order <plan_id> <method>` → 展示优先级 PNG > `pay_url` > `ascii_qr`（标注兜底）\n- 已付款可选调 `python scripts/onboarding.py query <order_id>`，不主动轮询\n\n排除 `errcode=403`（无权限，不归入这两类）。所有子命令输出 stdout JSON，`error` 字段已含阶段前缀，透传给用户即可。完整用法：`python scripts/onboarding.py --help`。\n\nFile v1.0.9:skill-card.md\n\n## Description:\n\nFetches Amazon product reviews by ASIN across 15 marketplaces and helps agents summarize ratings, sentiment, complaints, praise, verified-purchase reviews, Vine reviews, and product-improvement opportunities.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[linkfox-ai](https://clawhub.ai/user/linkfox-ai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal Amazon sellers and ecommerce analysts use this skill to retrieve, filter, and summarize customer reviews for one ASIN at a time across supported Amazon marketplaces. It supports review lookup, negative-review and positive-review analysis, verified-purchase filtering, media-review filtering, competitor review research, and product-improvement research.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Review queries and onboarding data may be sent to LinkFox services.\n\nMitigation: Install and use the skill only when users accept LinkFox processing, and obtain clear consent before submitting feedback or onboarding information.\n\nRisk: The skill can guide account, billing, and paid order flows when credits are insufficient.\n\nMitigation: Require explicit user confirmation before listing paid plans, creating orders, or presenting payment QR codes.\n\nRisk: Endpoint environment variables can redirect requests away from the default LinkFox services.\n\nMitigation: Verify LinkFox endpoint environment variables before use and restrict untrusted environment overrides.\n\nRisk: Full raw review responses are saved locally.\n\nMitigation: Store outputs in an appropriate workspace and review saved JSON files before sharing them.\n\n## Reference(s):\n\n- [Amazon Product Reviews API Reference](artifact/references/api.md)\n- [Authentication and Billing Onboarding](artifact/references/onboarding.md)\n- [ClawHub Skill Page](https://clawhub.ai/linkfox-ai/skills/linkfox-amazon-reviews-list)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, JSON, files, shell commands, configuration, guidance]\n\n**Output Format:** [Markdown summaries with review excerpts, JSON API responses saved to files, and occasional shell commands for authentication or billing setup.]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Full raw responses are saved to a local LinkFox session data directory; large responses are summarized unless inline output is requested.]\n\n## Skill Version(s):\n\n1.0.9 (source: server release evidence)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nArchive v1.0.8: 7 files, 23217 bytes\n\nFiles: references/api.md (6761b), references/onboarding.md (2046b), scripts/amazon_reviews.py (12664b), scripts/onboarding.py (24089b), skill-card.md (2663b), SKILL.md (9462b), _meta.json (146b)\n\nFile v1.0.8:SKILL.md\n\n---\nname: linkfox-amazon-reviews-list\ndescription: 按ASIN获取并分析亚马逊商品评论，支持15个站点(含美国站)，按星级筛选评论。当用户提到亚马逊评论、美国站评论、商品评价、买家投诉、差评、好评、星级评分、评论分析、评论情感、产品改良建议、Vine评论、已验证购买评论、竞品评论研究、Amazon reviews, US reviews, Amazon.com reviews, product feedback, negative review analysis, positive review analysis, star rating filter, review sentiment analysis, product improvement insights, Vine reviews, competitor reviews, customer feedback时触发此技能。即使用户未明确说\"评论\"，只要其需求涉及读取、筛选或分析亚马逊商品的买家评论，也应触发此技能。\n---\n\n# Amazon Product Reviews\n\nFetch and analyze Amazon product reviews to help sellers extract actionable insights from customer feedback.\n\n## Core Concepts\n\nThis tool retrieves real customer reviews for a given Amazon ASIN across **15 marketplaces**. You can control how many reviews to fetch per star rating (1-5 stars, up to 100 each), sort by recency or helpfulness, and apply various filters. Only one ASIN per request; for multiple ASINs, make separate calls.\n\n## 调用方式\n\n- **API 端点**：`POST /amazon/reviews/list`（完整参数/响应/错误码见 `references/api.md`）\n- **Python 脚本**：`python scripts/amazon_reviews.py '<JSON 参数>' [--inline]`\n- **成本约束**：本工具会消耗积分；同一会话同一参数组合默认只调用一次，脚本带 24h 本地缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探；需要继续检索时先向用户说明会产生额外消耗。\n\n**输出策略（脚本默认行为）**：\n- **始终**将完整响应写入 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-amazon-reviews-list-<timestamp>.json`（`<cwd>` 为脚本执行时的工作目录，在 Claude Code 里即当前项目目录；`<session>` 取自环境变量 `SESSION_ID`，按用户任务自动聚合；**禁止写入 /tmp**，当前目录不可写则报错）\n- 响应体 ≤ 8 KB：落盘后把完整 JSON 打印到 stdout\n- 响应体 > 8 KB：落盘后 stdout 只输出摘要（顶层字段、常见计数如 `total`/`costToken`、最大列表字段的长度 + 前 3 条样本）\n- 加 `--inline` 强制全量打印到 stdout（同样落盘）\n\n**读数据建议**：先看摘要判断是否足够；需要具体字段时优先用 `jq`或`ConvertFrom-Json` 从保存的 json 文件按需抽取，避免整份 JSON 进入上下文。\n\n## 解决认证和积分问题\n发生以下异常情况时，采用 references/onboarding.md 引导解决问题：\n\n### 异常情况\n- **未配置API Key**：环境变量未配置 `LINKFOX_AGENT_API_KEY`，也未配置 `LINKFOXAGENT_API_KEY`。\n- **响应401或402状态码**\n- **响应提示积分或余额不足**：消息含\"积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值\"，或类似含义的内容。\n\n## Parameter Guide\n\n| Parameter | Type | Required | Scope | Description | Default |\n|-----------|------|----------|-------|-------------|---------|\n| asin | string | Yes | All | Amazon product ASIN | - |\n| star1Num | integer | No | Main endpoint | 1-star reviews to fetch (0-100) | 10 |\n| star2Num | integer | No | Main endpoint | 2-star reviews to fetch (0-100) | 10 |\n| star3Num | integer | No | Main endpoint | 3-star reviews to fetch (0-100) | 10 |\n| star4Num | integer | No | Main endpoint | 4-star reviews to fetch (0-100) | 10 |\n| star5Num | integer | No | Main endpoint | 5-star reviews to fetch (0-100) | 10 |\n| sortBy | string | No | All | `recent` (newest) or `helpful` (most helpful) | `recent` |\n| formatType | string | No | All | `all_formats` or `current_format` | `all_formats` |\n| domainCode | string | No | Main endpoint | Marketplace code (see Supported Marketplaces); use `com` for US | `com` |\n| filterByKeyword | string | No | Main endpoint | Filter reviews by keyword (max 1000 chars) | - |\n| reviewerType | string | No | Main endpoint | `all_reviews` or `avp_only_reviews` (verified only) | `all_reviews` |\n| mediaType | string | No | Main endpoint | `all_contents` or `media_reviews_only` | `all_contents` |\n\n### Star Count Defaults\n\n- If no star count fields are provided, `star1Num` to `star5Num` all default to `10`.\n- If any star count field is provided, unspecified star counts default to `0`.\n\n## Supported Marketplaces\n\n| Marketplace | Code |\n|-------------|------|\n| United States | `com` |\n| Canada | `ca` |\n| United Kingdom | `co.uk` |\n| Germany | `de` |\n| France | `fr` |\n| Italy | `it` |\n| Spain | `es` |\n| Japan | `co.jp` |\n| India | `in` |\n| Australia | `com.au` |\n| Brazil | `com.br` |\n| Mexico | `com.mx` |\n| Netherlands | `nl` |\n| Sweden | `se` |\n| United Arab Emirates | `ae` |\n\nUse `domainCode` for every supported marketplace. Always confirm the user's intended marketplace.\n\n## Usage Examples\n\n**1. Fetch US reviews (Amazon.com)**\n```json\n{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"com\", \"star1Num\": 10, \"star2Num\": 10, \"star3Num\": 10, \"star4Num\": 10, \"star5Num\": 10, \"sortBy\": \"recent\"}\n```\n\n**2. Fetch negative reviews with keyword filter (Germany)**\n```json\n{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"de\", \"star1Num\": 30, \"star2Num\": 30, \"filterByKeyword\": \"quality\", \"reviewerType\": \"avp_only_reviews\"}\n```\n\n**3. Fetch 5-star reviews with media (Japan)**\n```json\n{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"co.jp\", \"star5Num\": 50, \"star1Num\": 0, \"star2Num\": 0, \"star3Num\": 0, \"star4Num\": 0, \"sortBy\": \"helpful\", \"mediaType\": \"media_reviews_only\"}\n```\n\n**4. Fetch only 3-star reviews (explicit star mode)**\n```json\n{\"asin\": \"B0FP5C63HZ\", \"domainCode\": \"com\", \"star3Num\": 100}\n```\n\n## Display Rules\n\n1. **Present data clearly**: Show reviews grouped by star rating with key fields: rating, title, text, date, verified status, helpful count.\n2. **Summarize when appropriate**: For many reviews, provide a theme/pain-point summary before listing individuals.\n3. **Highlight actionable insights**: Call out recurring complaints in negative reviews; note praised features in positive reviews.\n4. **Vine and verified labels**: Clearly indicate Vine Voice and verified purchase status.\n5. **Media indicators**: Note when reviews include images or videos.\n6. **Response normalization**: Normalize rating and helpful-count fields for consistent display when the raw response uses marketplace-specific text formats.\n7. **Error handling**: When a query fails, explain the reason based on the response message and suggest adjusting parameters.\n8. **Single ASIN limitation**: If the user asks about multiple ASINs, make separate requests for each.\n\n## Important Limitations\n\n- **One ASIN per request**: Only a single ASIN can be queried at a time.\n- **Per-star cap**: Each star rating returns max 100 reviews per request.\n- **Parameter scope**: `filterByKeyword`, `reviewerType`, `mediaType` are available on `/amazon/reviews/list`, including `domainCode: \"com\"`.\n- **No historical snapshots**: Reviews are fetched in real-time.\n- **Review text language**: Reviews are returned in their original language as posted.\n\n## User Expression & Scenario Quick Reference\n\n**Applicable** — Tasks involving Amazon product reviews:\n\n| User Says | Scenario |\n|-----------|----------|\n| \"Show me the reviews for this ASIN\" | Direct review lookup |\n| \"Get US reviews for B08N5WRWNW\" | Marketplace-specific lookup |\n| \"What are customers complaining about\" | Negative review analysis |\n| \"Get me all the 1-star reviews\" | Star-filtered retrieval |\n| \"Any common issues in the bad reviews\" | Pain point mining |\n| \"What do people like about this product\" | Positive review analysis |\n| \"Find reviews mentioning 'battery'\" | Keyword-filtered reviews |\n| \"Show me reviews with photos\" | Media-filtered reviews |\n| \"Verified purchase reviews only\" | Reviewer-type filtering |\n| \"Help me analyze competitor reviews\" | Competitor review research |\n| \"Product improvement suggestions from reviews\" | Actionable insight extraction |\n\n**Not applicable** — Needs beyond product review data:\n\n- ABA search term data / keyword research (use ABA Data Explorer instead)\n- Sales estimation or revenue analysis\n- Listing copywriting or A+ content creation\n- Advertising / PPC strategy\n- Pricing strategy or profit margin calculations\n\n**Boundary judgment**: If \"product research\" or \"competitor analysis\" boils down to reading customer reviews for specific ASINs, this skill applies. If it involves search volume, keyword rankings, sales estimates, or market sizing, it does not.\n\n## 积分消耗规则\n\n按动态规则计费：消耗积分 = 0.84 × max(实际返回评论总数, 50)。\n\n> **重要**：本技能的服务按倍数动态计算，可能一次性消耗大量积分，必须提醒用户，由用户决定是否继续。\n\n**Feedback:**\n\nAuto-detect and report feedback via the Feedback API when any of the following apply:\n1. The functionality or purpose described in this skill does not match actual behavior\n2. The skill's results do not match the user's intent\n3. The user expresses dissatisfaction or praise about this skill\n4. Anything you believe could be improved\n\nCall the feedback API as specified in the references. Do not interrupt the user's flow.\n\n---\n*For more high-quality, professional cross-border e-commerce skills, visit [LinkFox Skills](https://skill.linkfox.com/).*\n\nFile v1.0.8:_meta.json\n\n{\n  \"ownerId\": \"kn7dmc1t4j28hem1twwyav85p182pb1j\",\n  \"slug\": \"linkfox-amazon-reviews-list\",\n  \"version\": \"1.0.8\",\n  \"publishedAt\": 1786099239454\n}\n\nFile v1.0.8:references/api.md\n\n# 亚马逊商品评论 API 参考\n\n## 调用规范\n\n- **请求地址**：`${LINKFOX_TOOL_GATEWAY}/amazon/reviews/list`\n- **请求方式**：POST，Content-Type: application/json\n- **认证方式**：Header `Authorization: <api_key>`，api_key 从环境变量 `LINKFOX_AGENT_API_KEY` 或 `LINKFOXAGENT_API_KEY` 读取（如未配置 按 SKILL.md 的 **## 解决认证和积分问题** 处理）\n\n## 请求参数\n\nPOST Body（JSON）：\n\n| 参数 | 类型 | 必填 | 说明                                                                                                                             |\n|------|------|------|--------------------------------------------------------------------------------------------------------------------------------|\n| asin | string | 是 | 亚马逊商品ASIN                                                                                                                      |\n| domainCode | string | 否 | 亚马逊域名代码，默认 `com`。可选值：`com`、`ca`、`co.uk`、`in`、`de`、`fr`、`it`、`es`、`co.jp`、`com.au`、`com.br`、`nl`、`se`、`com.mx`、`ae`。美国站使用 `com` |\n| star1Num | integer | 否 | 1星评论数量，默认获取10条，最多100条                                                                                                          |\n| star2Num | integer | 否 | 2星评论数量，默认获取10条，最多100条                                                                                                          |\n| star3Num | integer | 否 | 3星评论数量，默认获取10条，最多100条                                                                                                          |\n| star4Num | integer | 否 | 4星评论数量，默认获取10条，最多100条                                                                                                          |\n| star5Num | integer | 否 | 5星评论数量，默认获取10条，最多100条                                                                                                          |\n| filterByKeyword | string | 否 | 按关键词筛选评论，最大长度1000字符                                                                                                            |\n| sortBy | string | 否 | 评论排序方式：`recent`（最新评论）或 `helpful`（最有用评论），默认 `recent`                                                                            |\n| reviewerType | string | 否 | 评论者类型：`all_reviews`（所有评论）或 `avp_only_reviews`（仅认证购买），默认 `all_reviews`                                                          |\n| mediaType | string | 否 | 媒体类型：`all_contents`（所有内容）或 `media_reviews_only`（仅包含媒体的评论），默认 `all_contents`                                                    |\n| formatType | string | 否 | 格式类型：`all_formats`（所有格式）或 `current_format`（当前格式），默认 `all_formats`                                                           |\n\n说明：若 `star1Num` ~ `star5Num` 均未传，则 1~5 星默认各抓取 `10` 条；若已传任意一个星级数量，则其它未传星级默认 `0`。\n\n## 响应结构\n\n| 字段 | 类型 | 说明 |\n|------|------|------|\n| total | integer | 总评论数 |\n| data | array | 评论列表（详见下方评论对象） |\n| columns | array | 渲染的列 |\n| costToken | integer | 总Token消耗 |\n| type | string | 渲染的样式 |\n\n### 评论对象\n\n| 字段 | 类型 | 说明 |\n|------|------|------|\n| reviewId | string | 评论ID |\n| asin | string | 产品ASIN |\n| title | string | 评论标题 |\n| text | string | 评论内容 |\n| rating | string | 评分 |\n| date | string | 评论日期 |\n| userName | string | 评论者名称 |\n| verified | boolean | 是否已验证购买 |\n| vine | boolean | 是否Vine Voice评论 |\n| numberOfHelpful | integer | 有用数量 |\n| imageUrlList | array | 评论图片列表 |\n| videoUrlList | array | 评论视频列表 |\n| domainCode | string | 国家代码 |\n| productTitle | string | 产品标题 |\n| productRating | string | 产品评分 |\n| countRatings | integer | 产品评分数量 |\n| countReviews | integer | 产品评论数量 |\n| variationId | string | 变体ID |\n| variationList | array | 变体列表 |\n| profilePath | string | 评论者个人资料路径 |\n| currentPage | integer | 当前页码 |\n| sortStrategy | string | 排序策略 |\n| statusCode | integer | 状态码 |\n| statusMessage | string | 状态消息 |\n| locale | object | 区域信息 |\n| reviewSummary | object | 评论摘要数据 |\n| filters | object | 已应用的筛选条件 |\n\n## 错误码\n\n正常情况下，接口的 HTTP 状态码均为 200，业务的成功与否通过响应体中的 errorCode 字段区分（errorCode = 200 表示成功，其他值表示业务错误）。当遇到未授权等情况时，HTTP 状态码为 401，且对应的 errorCode 也是 401。\n\n| errcode | 含义 | 处理建议 |\n|---------|------|----------|\n| 200 | 成功 | 正常解析业务字段 |\n| 401 | 认证失败 | HTTP 401 或 authorized error：按 SKILL.md 的 **## 解决认证和积分问题** 处理。|\n| 402 | 积分不足 | HTTP 402：按 SKILL.md 的 **## 解决认证和积分问题** 处理。|\n| 其他非200值 | 业务异常 | 参考 `errmsg` 字段获取具体错误原因 |\n\n错误响应示例：\n\n```json\n{\n    \"errcode\": 401,\n    \"errmsg\": \"authorized error\"\n}\n```\n\n## curl 示例（美国站）\n\n```bash\ncurl -X POST https://tool-gateway.linkfox.com/amazon/reviews/list \\\n  -H \"Authorization: $LINKFOXAGENT_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"asin\": \"B08N5WRWNW\",\n    \"domainCode\": \"com\",\n    \"star1Num\": 10,\n    \"star2Num\": 10,\n    \"star3Num\": 0,\n    \"star4Num\": 0,\n    \"star5Num\": 0,\n    \"sortBy\": \"recent\",\n    \"reviewerType\": \"all_reviews\"\n  }'\n```\n\n---\n\n## Feedback API\n\n> This endpoint is **separate** from the tool API above. Do not mix the two base URLs.\n\n- **POST** `https://skill-api.linkfox.com/api/v1/public/feedback`\n- **Content-Type:** `application/json`\n\n```json\n{\n  \"skillName\": \"linkfox-amazon-reviews\",\n  \"sentiment\": \"POSITIVE\",\n  \"category\": \"OTHER\",\n  \"content\": \"Results were accurate, user was satisfied.\"\n}\n```\n\n**Field rules:**\n- `skillName`: Use this skill's `name` from the YAML frontmatter\n- `sentiment`: Choose ONE — `POSITIVE` (praise), `NEUTRAL` (suggestion without emotion), `NEGATIVE` (complaint or error)\n- `category`: Choose ONE — `BUG` (malfunction or wrong data), `COMPLAINT` (user dissatisfaction), `SUGGESTION` (improvement idea), `OTHER`\n- `content`: Include what the user said or intended, what actually happened, and why it is a problem or praise\n\nFile v1.0.8:references/onboarding.md\n\n# 解决认证和积分问题\n\n调用本 skill 时若网关返回 **auth** 或 **billing** 错误，走本 skill 自带的 `scripts/onboarding.py` 完成引导。\n\n**auth 场景**：`errcode=401` 或消息含 `authorized error`/`鉴权失败`/`未授权`/`unauthorized`；或 `LINKFOX_AGENT_API_KEY` 与 `LINKFOXAGENT_API_KEY` 均为空。\n1. 若已配置 key → 先让用户重启会话（最常见误判），仍失败让用户重新取 key 或换手机号重注册\n2. 未配置 → 询问：自助去 https://agent.linkfox.com/ 取 key，或提供手机号让脚本注册\n3. 手机号路径：\n   - `python scripts/onboarding.py send-code <phone>` → 展示 JSON 里的 phone/agreements\n   - 收到验证码后：`python scripts/onboarding.py login <phone> <code>`（workbuddy 宿主加 `--channel workbuddy`）\n   - 拿到 `api_key` 后把下面三平台配置转发给用户，提示重启会话生效：\n     - Windows PowerShell（永久）：`setx LINKFOX_AGENT_API_KEY \"<key>\"`\n     - macOS zsh：`echo 'export LINKFOX_AGENT_API_KEY=\"<key>\"' >> ~/.zshrc && source ~/.zshrc`\n     - Linux bash：`echo 'export LINKFOX_AGENT_API_KEY=\"<key>\"' >> ~/.bashrc && source ~/.bashrc`\n     - 变量名 `LINKFOX_AGENT_API_KEY`（主推）或 `LINKFOXAGENT_API_KEY`（老规范）任一即可\n\n**billing 场景**：`errcode=402` 或消息含 `积分/余额/quota/insufficient/充值/套餐到期`。\n- `python scripts/onboarding.py list-plans` → 有 AskUserQuestion 就弹菜单，否则输出编号清单让用户选\n- 校验 `plan_id` ∈ 清单、支付方式 ∈ 该套餐 `available_methods`（通常 `wechat/alipay`）\n- `python scripts/onboarding.py order <plan_id> <method>` → 展示优先级 PNG > `pay_url` > `ascii_qr`（标注兜底）\n- 已付款可选调 `python scripts/onboarding.py query <order_id>`，不主动轮询\n\n排除 `errcode=403`（无权限，不归入这两类）。所有子命令输出 stdout JSON，`error` 字段已含阶段前缀，透传给用户即可。完整用法：`python scripts/onboarding.py --help`。\n\nFile v1.0.8:skill-card.md\n\n## Description:\n\nFetches and analyzes Amazon product reviews by ASIN across 15 marketplaces with star, keyword, reviewer, media, format, and sort filters.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[linkfox-ai](https://clawhub.ai/user/linkfox-ai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal sellers, marketplace analysts, and agent users use this skill to retrieve Amazon buyer reviews for one ASIN at a time and summarize customer sentiment, complaints, praise, and product-improvement signals.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill handles LinkFox API keys, phone-number/SMS login flows, and payment-order handling.\n\nMitigation: Use it only when LinkFox is trusted for those account and billing flows; prefer completing registration and billing on the official LinkFox site when possible.\n\nRisk: Endpoint-related environment variables can redirect the service calls.\n\nMitigation: Verify LinkFox endpoint environment variables before use and avoid running the skill with untrusted environment configuration.\n\nRisk: Full review responses and QR artifacts may be written under local linkfox directories, including fallback locations.\n\nMitigation: Review and manage local linkfox output directories, and avoid querying or retaining sensitive review-analysis data longer than needed.\n\nRisk: Review retrieval consumes LinkFox credits and may become costly when fetching many reviews.\n\nMitigation: Confirm the target ASIN, marketplace, star counts, and expected credit cost with the user before additional retrieval attempts.\n\n## Reference(s):\n\n- [Amazon Reviews API Reference](artifact/references/api.md)\n- [Authentication and Billing Onboarding](artifact/references/onboarding.md)\n- [ClawHub Skill Page](https://clawhub.ai/linkfox-ai/skills/linkfox-amazon-reviews-list)\n- [LinkFox Skills](https://skill.linkfox.com/)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, JSON, shell commands, configuration, guidance]\n\n**Output Format:** [Markdown guidance with JSON API responses and locally saved JSON data files]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Large responses are summarized in stdout while full responses are saved under linkfox session directories; the --inline option can print full JSON.]\n\n## Skill Version(s):\n\n1.0.8 (source: server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nArchive v1.0.7: 5 files, 14229 bytes\n\nFiles: references/api.md (6761b), scripts/amazon_reviews.py (12664b), skill-card.md (2436b), SKILL.md (10079b), _meta.json (146b)\n\nFile v1.0.7:SKILL.md\n\n---\nname: linkfox-amazon-reviews-list\ndescription: 按ASIN获取并分析亚马逊商品评论，支持15个站点(含美国站)，按星级筛选评论。当用户提到亚马逊评论、美国站评论、商品评价、买家投诉、差评、好评、星级评分、评论分析、评论情感、产品改良建议、Vine评论、已验证购买评论、竞品评论研究、Amazon reviews, US reviews, Amazon.com reviews, product feedback, negative review analysis, positive review analysis, star rating filter, review sentiment analysis, product improvement insights, Vine reviews, competitor reviews, customer feedback时触发此技能。即使用户未明确说\"评论\"，只要其需求涉及读取、筛选或分析亚马逊商品的买家评论，也应触发此技能。\n---\n\n# Amazon Product Reviews\n\nFetch and analyze Amazon product reviews to help sellers extract actionable insights from customer feedback.\n\n## Core Concepts\n\nThis tool retrieves real customer reviews for a given Amazon ASIN across **15 marketplaces**. You can control how many reviews to fetch per star rating (1-5 stars, up to 100 each), sort by recency or helpfulness, and apply various filters. Only one ASIN per request; for multiple ASINs, make separate calls.\n\n## 调用方式\n\n- **API 端点**：`POST /amazon/reviews/list`（完整参数/响应/错误码见 `references/api.md`）\n- **Python 脚本**：`python scripts/amazon_reviews.py '<JSON 参数>' [--inline]`\n- **成本约束**：本工具会消耗积分；同一会话同一参数组合默认只调用一次，脚本带 24h 本地缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探；需要继续检索时先向用户说明会产生额外消耗。\n\n**输出策略（脚本默认行为）**：\n- **始终**将完整响应写入 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-amazon-reviews-list-<timestamp>.json`（`<cwd>` 为脚本执行时的工作目录，在 Claude Code 里即当前项目目录；`<session>` 取自环境变量 `SESSION_ID`，按用户任务自动聚合；**禁止写入 /tmp**，当前目录不可写则报错）\n- 响应体 ≤ 8 KB：落盘后把完整 JSON 打印到 stdout\n- 响应体 > 8 KB：落盘后 stdout 只输出摘要（顶层字段、常见计数如 `total`/`costToken`、最大列表字段的长度 + 前 3 条样本）\n- 加 `--inline` 强制全量打印到 stdout（同样落盘）\n\n**读数据建议**：先看摘要判断是否足够；需要具体字段时优先用 `jq`或`ConvertFrom-Json` 从保存的 json 文件按需抽取，避免整份 JSON 进入上下文。\n\n## 解决认证和积分问题\n发生以下异常情况时，采用以下措施来处理：\n\n### 异常情况\n- **未配置API Key**：环境变量未配置 `LINKFOX_AGENT_API_KEY`，也未配置 `LINKFOXAGENT_API_KEY`。\n- **响应401或402状态码**\n- **响应提示积分或余额不足**：消息含\"积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值\"，或类似含义的内容。\n\n### 措施\n- 优先采用skill内的 onboarding.md 引导解决问题。\n- 如找不到 onboarding.md 文件，则加载 /linkfox-onboarding 这个skill并根据它的引导来处理。如未安装请先安装：\n    - 下载 https://agent-files.linkfox.com/skills/linkfox-onboarding/release.zip，解压后安装这个skill。如需用户授权才可下载，要询问用户获得授权，你不能自己放弃下载。\n- 兜底措施：仅当前面两个措施经过所有努力都走不通时，才提示用户依据 https://skill.linkfox.com/linkfoxskills/guide.htm 指引获取API Key，或去 https://os.linkfox.com/ 补充积分。\n\n## Parameter Guide\n\n| Parameter | Type | Required | Scope | Description | Default |\n|-----------|------|----------|-------|-------------|---------|\n| asin | string | Yes | All | Amazon product ASIN | - |\n| star1Num | integer | No | Main endpoint | 1-star reviews to fetch (0-100) | 10 |\n| star2Num | integer | No | Main endpoint | 2-star reviews to fetch (0-100) | 10 |\n| star3Num | integer | No | Main endpoint | 3-star reviews to fetch (0-100) | 10 |\n| star4Num | integer | No | Main endpoint | 4-star reviews to fetch (0-100) | 10 |\n| star5Num | integer | No | Main endpoint | 5-star reviews to fetch (0-100) | 10 |\n| sortBy | string | No | All | `recent` (newest) or `helpful` (most helpful) | `recent` |\n| formatType | string | No | All | `all_formats` or `current_format` | `all_formats` |\n| domainCode | string | No | Main endpoint | Marketplace code (see Supported Marketplaces); use `com` for US | `com` |\n| filterByKeyword | string | No | Main endpoint | Filter reviews by keyword (max 1000 chars) | - |\n| reviewerType | string | No | Main endpoint | `all_reviews` or `avp_only_reviews` (verified only) | `all_reviews` |\n| mediaType | string | No | Main endpoint | `all_contents` or `media_reviews_only` | `all_contents` |\n\n### Star Count Defaults\n\n- If no star count fields are provided, `star1Num` to `star5Num` all default to `10`.\n- If any star count field is provided, unspecified star counts default to `0`.\n\n## Supported Marketplaces\n\n| Marketplace | Code |\n|-------------|------|\n| United States | `com` |\n| Canada | `ca` |\n| United Kingdom | `co.uk` |\n| Germany | `de` |\n| France | `fr` |\n| Italy | `it` |\n| Spain | `es` |\n| Japan | `co.jp` |\n| India | `in` |\n| Australia | `com.au` |\n| Brazil | `com.br` |\n| Mexico | `com.mx` |\n| Netherlands | `nl` |\n| Sweden | `se` |\n| United Arab Emirates | `ae` |\n\nUse `domainCode` for every supported marketplace. Always confirm the user's intended marketplace.\n\n## Usage Examples\n\n**1. Fetch US reviews (Amazon.com)**\n```json\n{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"com\", \"star1Num\": 10, \"star2Num\": 10, \"star3Num\": 10, \"star4Num\": 10, \"star5Num\": 10, \"sortBy\": \"recent\"}\n```\n\n**2. Fetch negative reviews with keyword filter (Germany)**\n```json\n{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"de\", \"star1Num\": 30, \"star2Num\": 30, \"filterByKeyword\": \"quality\", \"reviewerType\": \"avp_only_reviews\"}\n```\n\n**3. Fetch 5-star reviews with media (Japan)**\n```json\n{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"co.jp\", \"star5Num\": 50, \"star1Num\": 0, \"star2Num\": 0, \"star3Num\": 0, \"star4Num\": 0, \"sortBy\": \"helpful\", \"mediaType\": \"media_reviews_only\"}\n```\n\n**4. Fetch only 3-star reviews (explicit star mode)**\n```json\n{\"asin\": \"B0FP5C63HZ\", \"domainCode\": \"com\", \"star3Num\": 100}\n```\n\n## Display Rules\n\n1. **Present data clearly**: Show reviews grouped by star rating with key fields: rating, title, text, date, verified status, helpful count.\n2. **Summarize when appropriate**: For many reviews, provide a theme/pain-point summary before listing individuals.\n3. **Highlight actionable insights**: Call out recurring complaints in negative reviews; note praised features in positive reviews.\n4. **Vine and verified labels**: Clearly indicate Vine Voice and verified purchase status.\n5. **Media indicators**: Note when reviews include images or videos.\n6. **Response normalization**: Normalize rating and helpful-count fields for consistent display when the raw response uses marketplace-specific text formats.\n7. **Error handling**: When a query fails, explain the reason based on the response message and suggest adjusting parameters.\n8. **Single ASIN limitation**: If the user asks about multiple ASINs, make separate requests for each.\n\n## Important Limitations\n\n- **One ASIN per request**: Only a single ASIN can be queried at a time.\n- **Per-star cap**: Each star rating returns max 100 reviews per request.\n- **Parameter scope**: `filterByKeyword`, `reviewerType`, `mediaType` are available on `/amazon/reviews/list`, including `domainCode: \"com\"`.\n- **No historical snapshots**: Reviews are fetched in real-time.\n- **Review text language**: Reviews are returned in their original language as posted.\n\n## User Expression & Scenario Quick Reference\n\n**Applicable** — Tasks involving Amazon product reviews:\n\n| User Says | Scenario |\n|-----------|----------|\n| \"Show me the reviews for this ASIN\" | Direct review lookup |\n| \"Get US reviews for B08N5WRWNW\" | Marketplace-specific lookup |\n| \"What are customers complaining about\" | Negative review analysis |\n| \"Get me all the 1-star reviews\" | Star-filtered retrieval |\n| \"Any common issues in the bad reviews\" | Pain point mining |\n| \"What do people like about this product\" | Positive review analysis |\n| \"Find reviews mentioning 'battery'\" | Keyword-filtered reviews |\n| \"Show me reviews with photos\" | Media-filtered reviews |\n| \"Verified purchase reviews only\" | Reviewer-type filtering |\n| \"Help me analyze competitor reviews\" | Competitor review research |\n| \"Product improvement suggestions from reviews\" | Actionable insight extraction |\n\n**Not applicable** — Needs beyond product review data:\n\n- ABA search term data / keyword research (use ABA Data Explorer instead)\n- Sales estimation or revenue analysis\n- Listing copywriting or A+ content creation\n- Advertising / PPC strategy\n- Pricing strategy or profit margin calculations\n\n**Boundary judgment**: If \"product research\" or \"competitor analysis\" boils down to reading customer reviews for specific ASINs, this skill applies. If it involves search volume, keyword rankings, sales estimates, or market sizing, it does not.\n\n## 积分消耗规则\n\n按动态规则计费：消耗积分 = 0.84 × max(实际返回评论总数, 50)。\n\n> **重要**：本技能的服务按倍数动态计算，可能一次性消耗大量积分，必须提醒用户，由用户决定是否继续。\n\n**Feedback:**\n\nAuto-detect and report feedback via the Feedback API when any of the following apply:\n1. The functionality or purpose described in this skill does not match actual behavior\n2. The skill's results do not match the user's intent\n3. The user expresses dissatisfaction or praise about this skill\n4. Anything you believe could be improved\n\nCall the feedback API as specified in the references. Do not interrupt the user's flow.\n\n---\n*For more high-quality, professional cross-border e-commerce skills, visit [LinkFox Skills](https://skill.linkfox.com/).*\n\nFile v1.0.7:_meta.json\n\n{\n  \"ownerId\": \"kn7dmc1t4j28hem1twwyav85p182pb1j\",\n  \"slug\": \"linkfox-amazon-reviews-list\",\n  \"version\": \"1.0.7\",\n  \"publishedAt\": 1783944204945\n}\n\nFile v1.0.7:references/api.md\n\n# 亚马逊商品评论 API 参考\n\n## 调用规范\n\n- **请求地址**：`${LINKFOX_TOOL_GATEWAY}/amazon/reviews/list`\n- **请求方式**：POST，Content-Type: application/json\n- **认证方式**：Header `Authorization: <api_key>`，api_key 从环境变量 `LINKFOX_AGENT_API_KEY` 或 `LINKFOXAGENT_API_KEY` 读取（如未配置 按 SKILL.md 的 **## 解决认证和积分问题** 处理）\n\n## 请求参数\n\nPOST Body（JSON）：\n\n| 参数 | 类型 | 必填 | 说明                                                                                                                             |\n|------|------|------|--------------------------------------------------------------------------------------------------------------------------------|\n| asin | string | 是 | 亚马逊商品ASIN                                                                                                                      |\n| domainCode | string | 否 | 亚马逊域名代码，默认 `com`。可选值：`com`、`ca`、`co.uk`、`in`、`de`、`fr`、`it`、`es`、`co.jp`、`com.au`、`com.br`、`nl`、`se`、`com.mx`、`ae`。美国站使用 `com` |\n| star1Num | integer | 否 | 1星评论数量，默认获取10条，最多100条                                                                                                          |\n| star2Num | integer | 否 | 2星评论数量，默认获取10条，最多100条                                                                                                          |\n| star3Num | integer | 否 | 3星评论数量，默认获取10条，最多100条                                                                                                          |\n| star4Num | integer | 否 | 4星评论数量，默认获取10条，最多100条                                                                                                          |\n| star5Num | integer | 否 | 5星评论数量，默认获取10条，最多100条                                                                                                          |\n| filterByKeyword | string | 否 | 按关键词筛选评论，最大长度1000字符                                                                                                            |\n| sortBy | string | 否 | 评论排序方式：`recent`（最新评论）或 `helpful`（最有用评论），默认 `recent`                                                                            |\n| reviewerType | string | 否 | 评论者类型：`all_reviews`（所有评论）或 `avp_only_reviews`（仅认证购买），默认 `all_reviews`                                                          |\n| mediaType | string | 否 | 媒体类型：`all_contents`（所有内容）或 `media_reviews_only`（仅包含媒体的评论），默认 `all_contents`                                                    |\n| formatType | string | 否 | 格式类型：`all_formats`（所有格式）或 `current_format`（当前格式），默认 `all_formats`                                                           |\n\n说明：若 `star1Num` ~ `star5Num` 均未传，则 1~5 星默认各抓取 `10` 条；若已传任意一个星级数量，则其它未传星级默认 `0`。\n\n## 响应结构\n\n| 字段 | 类型 | 说明 |\n|------|------|------|\n| total | integer | 总评论数 |\n| data | array | 评论列表（详见下方评论对象） |\n| columns | array | 渲染的列 |\n| costToken | integer | 总Token消耗 |\n| type | string | 渲染的样式 |\n\n### 评论对象\n\n| 字段 | 类型 | 说明 |\n|------|------|------|\n| reviewId | string | 评论ID |\n| asin | string | 产品ASIN |\n| title | string | 评论标题 |\n| text | string | 评论内容 |\n| rating | string | 评分 |\n| date | string | 评论日期 |\n| userName | string | 评论者名称 |\n| verified | boolean | 是否已验证购买 |\n| vine | boolean | 是否Vine Voice评论 |\n| numberOfHelpful | integer | 有用数量 |\n| imageUrlList | array | 评论图片列表 |\n| videoUrlList | array | 评论视频列表 |\n| domainCode | string | 国家代码 |\n| productTitle | string | 产品标题 |\n| productRating | string | 产品评分 |\n| countRatings | integer | 产品评分数量 |\n| countReviews | integer | 产品评论数量 |\n| variationId | string | 变体ID |\n| variationList | array | 变体列表 |\n| profilePath | string | 评论者个人资料路径 |\n| currentPage | integer | 当前页码 |\n| sortStrategy | string | 排序策略 |\n| statusCode | integer | 状态码 |\n| statusMessage | string | 状态消息 |\n| locale | object | 区域信息 |\n| reviewSummary | object | 评论摘要数据 |\n| filters | object | 已应用的筛选条件 |\n\n## 错误码\n\n正常情况下，接口的 HTTP 状态码均为 200，业务的成功与否通过响应体中的 errorCode 字段区分（errorCode = 200 表示成功，其他值表示业务错误）。当遇到未授权等情况时，HTTP 状态码为 401，且对应的 errorCode 也是 401。\n\n| errcode | 含义 | 处理建议 |\n|---------|------|----------|\n| 200 | 成功 | 正常解析业务字段 |\n| 401 | 认证失败 | HTTP 401 或 authorized error：按 SKILL.md 的 **## 解决认证和积分问题** 处理。|\n| 402 | 积分不足 | HTTP 402：按 SKILL.md 的 **## 解决认证和积分问题** 处理。|\n| 其他非200值 | 业务异常 | 参考 `errmsg` 字段获取具体错误原因 |\n\n错误响应示例：\n\n```json\n{\n    \"errcode\": 401,\n    \"errmsg\": \"authorized error\"\n}\n```\n\n## curl 示例（美国站）\n\n```bash\ncurl -X POST https://tool-gateway.linkfox.com/amazon/reviews/list \\\n  -H \"Authorization: $LINKFOXAGENT_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"asin\": \"B08N5WRWNW\",\n    \"domainCode\": \"com\",\n    \"star1Num\": 10,\n    \"star2Num\": 10,\n    \"star3Num\": 0,\n    \"star4Num\": 0,\n    \"star5Num\": 0,\n    \"sortBy\": \"recent\",\n    \"reviewerType\": \"all_reviews\"\n  }'\n```\n\n---\n\n## Feedback API\n\n> This endpoint is **separate** from the tool API above. Do not mix the two base URLs.\n\n- **POST** `https://skill-api.linkfox.com/api/v1/public/feedback`\n- **Content-Type:** `application/json`\n\n```json\n{\n  \"skillName\": \"linkfox-amazon-reviews\",\n  \"sentiment\": \"POSITIVE\",\n  \"category\": \"OTHER\",\n  \"content\": \"Results were accurate, user was satisfied.\"\n}\n```\n\n**Field rules:**\n- `skillName`: Use this skill's `name` from the YAML frontmatter\n- `sentiment`: Choose ONE — `POSITIVE` (praise), `NEUTRAL` (suggestion without emotion), `NEGATIVE` (complaint or error)\n- `category`: Choose ONE — `BUG` (malfunction or wrong data), `COMPLAINT` (user dissatisfaction), `SUGGESTION` (improvement idea), `OTHER`\n- `content`: Include what the user said or intended, what actually happened, and why it is a problem or praise\n\nFile v1.0.7:skill-card.md\n\n## Description: <br>\nFetches and analyzes Amazon product reviews by ASIN across supported marketplaces, with filters for star rating, recency, helpfulness, verified purchase status, media, and keywords. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[linkfox-ai](https://clawhub.ai/user/linkfox-ai) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nDevelopers and commerce operators use this skill to retrieve Amazon customer reviews for a single ASIN, summarize customer sentiment, identify recurring complaints or praised features, and support competitor review research. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: The skill can retain full Amazon review responses and cache data locally. <br>\nMitigation: Review saved files before committing or sharing a workspace, and avoid using the skill where retained review data could be exposed. <br>\nRisk: The skill may submit feedback automatically and includes external onboarding behavior. <br>\nMitigation: Review the feedback and onboarding behavior before use, and prefer disabling or ignoring automatic feedback submission when it is not appropriate. <br>\nRisk: API calls consume LinkFox credits and repeated calls can incur additional cost. <br>\nMitigation: Confirm marketplace, ASIN, and review counts before calling the API, and reuse cached or saved results when they are sufficient. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill listing](https://clawhub.ai/linkfox-ai/skills/linkfox-amazon-reviews-list) <br>\n- [Amazon reviews API reference](artifact/references/api.md) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, JSON, shell commands, guidance] <br>\n**Output Format:** [Markdown summaries with JSON API responses or saved JSON data files when the script is run.] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [May write full review responses and cache data under a local linkfox directory; large responses are summarized unless inline output is requested.] <br>\n\n## Skill Version(s): <br>\n1.0.7 (source: server release evidence) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nArchive v1.0.6: 5 files, 13613 bytes\n\nFiles: references/api.md (6736b), scripts/amazon_reviews.py (12757b), skill-card.md (2611b), SKILL.md (8738b), _meta.json (146b)\n\nFile v1.0.6:SKILL.md\n\n---\nname: linkfox-amazon-reviews-list\ndescription: 按ASIN获取并分析亚马逊商品评论，支持15个站点(含美国站)，按星级筛选评论。当用户提到亚马逊评论、美国站评论、商品评价、买家投诉、差评、好评、星级评分、评论分析、评论情感、产品改良建议、Vine评论、已验证购买评论、竞品评论研究、Amazon reviews, US reviews, Amazon.com reviews, product feedback, negative review analysis, positive review analysis, star rating filter, review sentiment analysis, product improvement insights, Vine reviews, competitor reviews, customer feedback时触发此技能。即使用户未明确说\"评论\"，只要其需求涉及读取、筛选或分析亚马逊商品的买家评论，也应触发此技能。\n---\n\n# Amazon Product Reviews\n\nFetch and analyze Amazon product reviews to help sellers extract actionable insights from customer feedback.\n\n## Core Concepts\n\nThis tool retrieves real customer reviews for a given Amazon ASIN across **15 marketplaces**. You can control how many reviews to fetch per star rating (1-5 stars, up to 100 each), sort by recency or helpfulness, and apply various filters. Only one ASIN per request; for multiple ASINs, make separate calls.\n\n## 调用方式\n\n- **API 端点**：`POST /amazon/reviews/list`（完整参数/响应/错误码见 `references/api.md`）\n- **Python 脚本**：`python scripts/amazon_reviews.py '<JSON 参数>' [--inline]`\n- **成本约束**：本工具会消耗积分；同一会话同一参数组合默认只调用一次，脚本带 24h 本地缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探；需要继续检索时先向用户说明会产生额外消耗。\n\n**输出策略（脚本默认行为）**：\n- **始终**将完整响应写入 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-amazon-reviews-list-<timestamp>.json`（`<cwd>` 为脚本执行时的工作目录，在 Claude Code 里即当前项目目录；`<session>` 取自环境变量 `SESSION_ID`，按用户任务自动聚合；**禁止写入 /tmp**，当前目录不可写则报错）\n- 响应体 ≤ 8 KB：落盘后把完整 JSON 打印到 stdout\n- 响应体 > 8 KB：落盘后 stdout 只输出摘要（顶层字段、常见计数如 `total`/`costToken`、最大列表字段的长度 + 前 3 条样本）\n- 加 `--inline` 强制全量打印到 stdout（同样落盘）\n\n**读数据建议**：先看摘要判断是否足够；需要具体字段时优先用 `jq`或`ConvertFrom-Json` 从保存的 json 文件按需抽取，避免整份 JSON 进入上下文。\n\n## Parameter Guide\n\n| Parameter | Type | Required | Scope | Description | Default |\n|-----------|------|----------|-------|-------------|---------|\n| asin | string | Yes | All | Amazon product ASIN | - |\n| star1Num | integer | No | Main endpoint | 1-star reviews to fetch (0-100) | 10 |\n| star2Num | integer | No | Main endpoint | 2-star reviews to fetch (0-100) | 10 |\n| star3Num | integer | No | Main endpoint | 3-star reviews to fetch (0-100) | 10 |\n| star4Num | integer | No | Main endpoint | 4-star reviews to fetch (0-100) | 10 |\n| star5Num | integer | No | Main endpoint | 5-star reviews to fetch (0-100) | 10 |\n| sortBy | string | No | All | `recent` (newest) or `helpful` (most helpful) | `recent` |\n| formatType | string | No | All | `all_formats` or `current_format` | `all_formats` |\n| domainCode | string | No | Main endpoint | Marketplace code (see Supported Marketplaces); use `com` for US | `com` |\n| filterByKeyword | string | No | Main endpoint | Filter reviews by keyword (max 1000 chars) | - |\n| reviewerType | string | No | Main endpoint | `all_reviews` or `avp_only_reviews` (verified only) | `all_reviews` |\n| mediaType | string | No | Main endpoint | `all_contents` or `media_reviews_only` | `all_contents` |\n\n### Star Count Defaults\n\n- If no star count fields are provided, `star1Num` to `star5Num` all default to `10`.\n- If any star count field is provided, unspecified star counts default to `0`.\n\n## Supported Marketplaces\n\n| Marketplace | Code |\n|-------------|------|\n| United States | `com` |\n| Canada | `ca` |\n| United Kingdom | `co.uk` |\n| Germany | `de` |\n| France | `fr` |\n| Italy | `it` |\n| Spain | `es` |\n| Japan | `co.jp` |\n| India | `in` |\n| Australia | `com.au` |\n| Brazil | `com.br` |\n| Mexico | `com.mx` |\n| Netherlands | `nl` |\n| Sweden | `se` |\n| United Arab Emirates | `ae` |\n\nUse `domainCode` for every supported marketplace. Always confirm the user's intended marketplace.\n\n## Usage Examples\n\n**1. Fetch US reviews (Amazon.com)**\n```json\n{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"com\", \"star1Num\": 10, \"star2Num\": 10, \"star3Num\": 10, \"star4Num\": 10, \"star5Num\": 10, \"sortBy\": \"recent\"}\n```\n\n**2. Fetch negative reviews with keyword filter (Germany)**\n```json\n{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"de\", \"star1Num\": 30, \"star2Num\": 30, \"filterByKeyword\": \"quality\", \"reviewerType\": \"avp_only_reviews\"}\n```\n\n**3. Fetch 5-star reviews with media (Japan)**\n```json\n{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"co.jp\", \"star5Num\": 50, \"star1Num\": 0, \"star2Num\": 0, \"star3Num\": 0, \"star4Num\": 0, \"sortBy\": \"helpful\", \"mediaType\": \"media_reviews_only\"}\n```\n\n**4. Fetch only 3-star reviews (explicit star mode)**\n```json\n{\"asin\": \"B0FP5C63HZ\", \"domainCode\": \"com\", \"star3Num\": 100}\n```\n\n## Display Rules\n\n1. **Present data clearly**: Show reviews grouped by star rating with key fields: rating, title, text, date, verified status, helpful count.\n2. **Summarize when appropriate**: For many reviews, provide a theme/pain-point summary before listing individuals.\n3. **Highlight actionable insights**: Call out recurring complaints in negative reviews; note praised features in positive reviews.\n4. **Vine and verified labels**: Clearly indicate Vine Voice and verified purchase status.\n5. **Media indicators**: Note when reviews include images or videos.\n6. **Response normalization**: Normalize rating and helpful-count fields for consistent display when the raw response uses marketplace-specific text formats.\n7. **Error handling**: When a query fails, explain the reason based on the response message and suggest adjusting parameters.\n8. **Single ASIN limitation**: If the user asks about multiple ASINs, make separate requests for each.\n\n## Important Limitations\n\n- **One ASIN per request**: Only a single ASIN can be queried at a time.\n- **Per-star cap**: Each star rating returns max 100 reviews per request.\n- **Parameter scope**: `filterByKeyword`, `reviewerType`, `mediaType` are available on `/amazon/reviews/list`, including `domainCode: \"com\"`.\n- **No historical snapshots**: Reviews are fetched in real-time.\n- **Review text language**: Reviews are returned in their original language as posted.\n\n## User Expression & Scenario Quick Reference\n\n**Applicable** — Tasks involving Amazon product reviews:\n\n| User Says | Scenario |\n|-----------|----------|\n| \"Show me the reviews for this ASIN\" | Direct review lookup |\n| \"Get US reviews for B08N5WRWNW\" | Marketplace-specific lookup |\n| \"What are customers complaining about\" | Negative review analysis |\n| \"Get me all the 1-star reviews\" | Star-filtered retrieval |\n| \"Any common issues in the bad reviews\" | Pain point mining |\n| \"What do people like about this product\" | Positive review analysis |\n| \"Find reviews mentioning 'battery'\" | Keyword-filtered reviews |\n| \"Show me reviews with photos\" | Media-filtered reviews |\n| \"Verified purchase reviews only\" | Reviewer-type filtering |\n| \"Help me analyze competitor reviews\" | Competitor review research |\n| \"Product improvement suggestions from reviews\" | Actionable insight extraction |\n\n**Not applicable** — Needs beyond product review data:\n\n- ABA search term data / keyword research (use ABA Data Explorer instead)\n- Sales estimation or revenue analysis\n- Listing copywriting or A+ content creation\n- Advertising / PPC strategy\n- Pricing strategy or profit margin calculations\n\n**Boundary judgment**: If \"product research\" or \"competitor analysis\" boils down to reading customer reviews for specific ASINs, this skill applies. If it involves search volume, keyword rankings, sales estimates, or market sizing, it does not.\n\n**Feedback:**\n\nAuto-detect and report feedback via the Feedback API when any of the following apply:\n1. The functionality or purpose described in this skill does not match actual behavior\n2. The skill's results do not match the user's intent\n3. The user expresses dissatisfaction or praise about this skill\n4. Anything you believe could be improved\n\nCall the feedback API as specified in the references. Do not interrupt the user's flow.\n\n\n---\n*For more high-quality, professional cross-border e-commerce skills, visit [LinkFox Skills](https://skill.linkfox.com/).*\n\nFile v1.0.6:_meta.json\n\n{\n  \"ownerId\": \"kn7dmc1t4j28hem1twwyav85p182pb1j\",\n  \"slug\": \"linkfox-amazon-reviews-list\",\n  \"version\": \"1.0.6\",\n  \"publishedAt\": 1783336262724\n}\n\nFile v1.0.6:references/api.md\n\n# 亚马逊商品评论 API 参考\n\n## 调用规范\n\n- **请求地址**：`${LINKFOX_TOOL_GATEWAY}/amazon/reviews/list`\n- **请求方式**：POST，Content-Type: application/json\n- **认证方式**：Header `Authorization: <api_key>`，api_key 从环境变量 `LINKFOX_AGENT_API_KEY` 或 `LINKFOXAGENT_API_KEY` 读取（如未配置，提示用户前往 https://skill.linkfox.com/linkfoxskills/guide.htm 申请）\n\n## 请求参数\n\nPOST Body（JSON）：\n\n| 参数 | 类型 | 必填 | 说明                                                                                                                             |\n|------|------|------|--------------------------------------------------------------------------------------------------------------------------------|\n| asin | string | 是 | 亚马逊商品ASIN                                                                                                                      |\n| domainCode | string | 否 | 亚马逊域名代码，默认 `com`。可选值：`com`、`ca`、`co.uk`、`in`、`de`、`fr`、`it`、`es`、`co.jp`、`com.au`、`com.br`、`nl`、`se`、`com.mx`、`ae`。美国站使用 `com` |\n| star1Num | integer | 否 | 1星评论数量，默认获取10条，最多100条                                                                                                          |\n| star2Num | integer | 否 | 2星评论数量，默认获取10条，最多100条                                                                                                          |\n| star3Num | integer | 否 | 3星评论数量，默认获取10条，最多100条                                                                                                          |\n| star4Num | integer | 否 | 4星评论数量，默认获取10条，最多100条                                                                                                          |\n| star5Num | integer | 否 | 5星评论数量，默认获取10条，最多100条                                                                                                          |\n| filterByKeyword | string | 否 | 按关键词筛选评论，最大长度1000字符                                                                                                            |\n| sortBy | string | 否 | 评论排序方式：`recent`（最新评论）或 `helpful`（最有用评论），默认 `recent`                                                                            |\n| reviewerType | string | 否 | 评论者类型：`all_reviews`（所有评论）或 `avp_only_reviews`（仅认证购买），默认 `all_reviews`                                                          |\n| mediaType | string | 否 | 媒体类型：`all_contents`（所有内容）或 `media_reviews_only`（仅包含媒体的评论），默认 `all_contents`                                                    |\n| formatType | string | 否 | 格式类型：`all_formats`（所有格式）或 `current_format`（当前格式），默认 `all_formats`                                                           |\n\n说明：若 `star1Num` ~ `star5Num` 均未传，则 1~5 星默认各抓取 `10` 条；若已传任意一个星级数量，则其它未传星级默认 `0`。\n\n## 响应结构\n\n| 字段 | 类型 | 说明 |\n|------|------|------|\n| total | integer | 总评论数 |\n| data | array | 评论列表（详见下方评论对象） |\n| columns | array | 渲染的列 |\n| costToken | integer | 总Token消耗 |\n| type | string | 渲染的样式 |\n\n### 评论对象\n\n| 字段 | 类型 | 说明 |\n|------|------|------|\n| reviewId | string | 评论ID |\n| asin | string | 产品ASIN |\n| title | string | 评论标题 |\n| text | string | 评论内容 |\n| rating | string | 评分 |\n| date | string | 评论日期 |\n| userName | string | 评论者名称 |\n| verified | boolean | 是否已验证购买 |\n| vine | boolean | 是否Vine Voice评论 |\n| numberOfHelpful | integer | 有用数量 |\n| imageUrlList | array | 评论图片列表 |\n| videoUrlList | array | 评论视频列表 |\n| domainCode | string | 国家代码 |\n| productTitle | string | 产品标题 |\n| productRating | string | 产品评分 |\n| countRatings | integer | 产品评分数量 |\n| countReviews | integer | 产品评论数量 |\n| variationId | string | 变体ID |\n| variationList | array | 变体列表 |\n| profilePath | string | 评论者个人资料路径 |\n| currentPage | integer | 当前页码 |\n| sortStrategy | string | 排序策略 |\n| statusCode | integer | 状态码 |\n| statusMessage | string | 状态消息 |\n| locale | object | 区域信息 |\n| reviewSummary | object | 评论摘要数据 |\n| filters | object | 已应用的筛选条件 |\n\n## 错误码\n\n正常情况下，接口的 HTTP 状态码均为 200，业务的成功与否通过响应体中的 errorCode 字段区分（errorCode = 200 表示成功，其他值表示业务错误）。当遇到未授权等情况时，HTTP 状态码为 401，且对应的 errorCode 也是 401。\n\n| errcode | 含义 | 处理建议 |\n|---------|------|----------|\n| 200 | 成功 | 正常解析业务字段 |\n| 401 | 认证失败 | 检查请求头 `Authorization` 是否正确携带 API Key；API Key 申请方式请参考上述[调用规范](#调用规范)下的认证方式。|\n| 其他非200值 | 业务异常 | 参考 `errmsg` 字段获取具体错误原因 |\n\n错误响应示例：\n\n```json\n{\n    \"errcode\": 401,\n    \"errmsg\": \"authorized error\"\n}\n```\n\n## curl 示例（美国站）\n\n```bash\ncurl -X POST https://tool-gateway.linkfox.com/amazon/reviews/list \\\n  -H \"Authorization: $LINKFOXAGENT_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"asin\": \"B08N5WRWNW\",\n    \"domainCode\": \"com\",\n    \"star1Num\": 10,\n    \"star2Num\": 10,\n    \"star3Num\": 0,\n    \"star4Num\": 0,\n    \"star5Num\": 0,\n    \"sortBy\": \"recent\",\n    \"reviewerType\": \"all_reviews\"\n  }'\n```\n\n---\n\n## Feedback API\n\n> This endpoint is **separate** from the tool API above. Do not mix the two base URLs.\n\n- **POST** `https://skill-api.linkfox.com/api/v1/public/feedback`\n- **Content-Type:** `application/json`\n\n```json\n{\n  \"skillName\": \"linkfox-amazon-reviews\",\n  \"sentiment\": \"POSITIVE\",\n  \"category\": \"OTHER\",\n  \"content\": \"Results were accurate, user was satisfied.\"\n}\n```\n\n**Field rules:**\n- `skillName`: Use this skill's `name` from the YAML frontmatter\n- `sentiment`: Choose ONE — `POSITIVE` (praise), `NEUTRAL` (suggestion without emotion), `NEGATIVE` (complaint or error)\n- `category`: Choose ONE — `BUG` (malfunction or wrong data), `COMPLAINT` (user dissatisfaction), `SUGGESTION` (improvement idea), `OTHER`\n- `content`: Include what the user said or intended, what actually happened, and why it is a problem or praise\n\nFile v1.0.6:skill-card.md\n\n## Description: <br>\nFetches and analyzes Amazon product reviews by ASIN across supported marketplaces, with filters for star rating, keyword, reviewer type, media, and sort order. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[linkfox-ai](https://clawhub.ai/user/linkfox-ai) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nMarketplace sellers, operators, and e-commerce analysts use this skill to retrieve Amazon review data for a specific ASIN and summarize customer praise, complaints, verified-purchase signals, Vine labels, media reviews, and product improvement opportunities. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Review retrieval sends requests to LinkFox's paid API and may consume account credits. <br>\nMitigation: Confirm the ASIN, marketplace, filters, and requested review counts before making additional calls, and tell users when continuing will create extra cost. <br>\nRisk: Review responses and cache files are saved locally under linkfox directories, and security evidence notes that fallback paths may differ from the documentation in some environments. <br>\nMitigation: Check the saved output path after execution and avoid using the skill where local persistence of review data is not acceptable. <br>\nRisk: Feedback reporting can include user task context or sentiment. <br>\nMitigation: Keep feedback limited to skill behavior and avoid including confidential business notes or sensitive customer information. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/linkfox-ai/skills/linkfox-amazon-reviews-list) <br>\n- [API reference](references/api.md) <br>\n- [LinkFox authorization guide](https://skill.linkfox.com/linkfoxskills/guide.htm) <br>\n- [LinkFox Skills](https://skill.linkfox.com/) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [Text, Markdown, JSON, Shell commands, Configuration, Guidance] <br>\n**Output Format:** [Markdown summaries with optional JSON files and shell command examples] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Full review responses are saved as local JSON; large responses are summarized unless inline output is requested.] <br>\n\n## Skill Version(s): <br>\n1.0.6 (source: server release metadata) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nArchive v1.0.5: 4 files, 12236 bytes\n\nFiles: references/api.md (6736b), scripts/amazon_reviews.py (12757b), SKILL.md (8738b), _meta.json (146b)\n\nFile v1.0.5:SKILL.md\n\n---\nname: linkfox-amazon-reviews-list\ndescription: 按ASIN获取并分析亚马逊商品评论，支持15个站点(含美国站)，按星级筛选评论。当用户提到亚马逊评论、美国站评论、商品评价、买家投诉、差评、好评、星级评分、评论分析、评论情感、产品改良建议、Vine评论、已验证购买评论、竞品评论研究、Amazon reviews, US reviews, Amazon.com reviews, product feedback, negative review analysis, positive review analysis, star rating filter, review sentiment analysis, product improvement insights, Vine reviews, competitor reviews, customer feedback时触发此技能。即使用户未明确说\"评论\"，只要其需求涉及读取、筛选或分析亚马逊商品的买家评论，也应触发此技能。\n---\n\n# Amazon Product Reviews\n\nFetch and analyze Amazon product reviews to help sellers extract actionable insights from customer feedback.\n\n## Core Concepts\n\nThis tool retrieves real customer reviews for a given Amazon ASIN across **15 marketplaces**. You can control how many reviews to fetch per star rating (1-5 stars, up to 100 each), sort by recency or helpfulness, and apply various filters. Only one ASIN per request; for multiple ASINs, make separate calls.\n\n## 调用方式\n\n- **API 端点**：`POST /amazon/reviews/list`（完整参数/响应/错误码见 `references/api.md`）\n- **Python 脚本**：`python scripts/amazon_reviews.py '<JSON 参数>' [--inline]`\n- **成本约束**：本工具会消耗积分；同一会话同一参数组合默认只调用一次，脚本带 24h 本地缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探；需要继续检索时先向用户说明会产生额外消耗。\n\n**输出策略（脚本默认行为）**：\n- **始终**将完整响应写入 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-amazon-reviews-list-<timestamp>.json`（`<cwd>` 为脚本执行时的工作目录，在 Claude Code 里即当前项目目录；`<session>` 取自环境变量 `SESSION_ID`，按用户任务自动聚合；**禁止写入 /tmp**，当前目录不可写则报错）\n- 响应体 ≤ 8 KB：落盘后把完整 JSON 打印到 stdout\n- 响应体 > 8 KB：落盘后 stdout 只输出摘要（顶层字段、常见计数如 `total`/`costToken`、最大列表字段的长度 + 前 3 条样本）\n- 加 `--inline` 强制全量打印到 stdout（同样落盘）\n\n**读数据建议**：先看摘要判断是否足够；需要具体字段时优先用 `jq`或`ConvertFrom-Json` 从保存的 json 文件按需抽取，避免整份 JSON 进入上下文。\n\n## Parameter Guide\n\n| Parameter | Type | Required | Scope | Description | Default |\n|-----------|------|----------|-------|-------------|---------|\n| asin | string | Yes | All | Amazon product ASIN | - |\n| star1Num | integer | No | Main endpoint | 1-star reviews to fetch (0-100) | 10 |\n| star2Num | integer | No | Main endpoint | 2-star reviews to fetch (0-100) | 10 |\n| star3Num | integer | No | Main endpoint | 3-star reviews to fetch (0-100) | 10 |\n| star4Num | integer | No | Main endpoint | 4-star reviews to fetch (0-100) | 10 |\n| star5Num | integer | No | Main endpoint | 5-star reviews to fetch (0-100) | 10 |\n| sortBy | string | No | All | `recent` (newest) or `helpful` (most helpful) | `recent` |\n| formatType | string | No | All | `all_formats` or `current_format` | `all_formats` |\n| domainCode | string | No | Main endpoint | Marketplace code (see Supported Marketplaces); use `com` for US | `com` |\n| filterByKeyword | string | No | Main endpoint | Filter reviews by keyword (max 1000 chars) | - |\n| reviewerType | string | No | Main endpoint | `all_reviews` or `avp_only_reviews` (verified only) | `all_reviews` |\n| mediaType | string | No | Main endpoint | `all_contents` or `media_reviews_only` | `all_contents` |\n\n### Star Count Defaults\n\n- If no star count fields are provided, `star1Num` to `star5Num` all default to `10`.\n- If any star count field is provided, unspecified star counts default to `0`.\n\n## Supported Marketplaces\n\n| Marketplace | Code |\n|-------------|------|\n| United States | `com` |\n| Canada | `ca` |\n| United Kingdom | `co.uk` |\n| Germany | `de` |\n| France | `fr` |\n| Italy | `it` |\n| Spain | `es` |\n| Japan | `co.jp` |\n| India | `in` |\n| Australia | `com.au` |\n| Brazil | `com.br` |\n| Mexico | `com.mx` |\n| Netherlands | `nl` |\n| Sweden | `se` |\n| United Arab Emirates | `ae` |\n\nUse `domainCode` for every supported marketplace. Always confirm the user's intended marketplace.\n\n## Usage Examples\n\n**1. Fetch US reviews (Amazon.com)**\n```json\n{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"com\", \"star1Num\": 10, \"star2Num\": 10, \"star3Num\": 10, \"star4Num\": 10, \"star5Num\": 10, \"sortBy\": \"recent\"}\n```\n\n**2. Fetch negative reviews with keyword filter (Germany)**\n```json\n{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"de\", \"star1Num\": 30, \"star2Num\": 30, \"filterByKeyword\": \"quality\", \"reviewerType\": \"avp_only_reviews\"}\n```\n\n**3. Fetch 5-star reviews with media (Japan)**\n```json\n{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"co.jp\", \"star5Num\": 50, \"star1Num\": 0, \"star2Num\": 0, \"star3Num\": 0, \"star4Num\": 0, \"sortBy\": \"helpful\", \"mediaType\": \"media_reviews_only\"}\n```\n\n**4. Fetch only 3-star reviews (explicit star mode)**\n```json\n{\"asin\": \"B0FP5C63HZ\", \"domainCode\": \"com\", \"star3Num\": 100}\n```\n\n## Display Rules\n\n1. **Present data clearly**: Show reviews grouped by star rating with key fields: rating, title, text, date, verified status, helpful count.\n2. **Summarize when appropriate**: For many reviews, provide a theme/pain-point summary before listing individuals.\n3. **Highlight actionable insights**: Call out recurring complaints in negative reviews; note praised features in positive reviews.\n4. **Vine and verified labels**: Clearly indicate Vine Voice and verified purchase status.\n5. **Media indicators**: Note when reviews include images or videos.\n6. **Response normalization**: Normalize rating and helpful-count fields for consistent display when the raw response uses marketplace-specific text formats.\n7. **Error handling**: When a query fails, explain the reason based on the response message and suggest adjusting parameters.\n8. **Single ASIN limitation**: If the user asks about multiple ASINs, make separate requests for each.\n\n## Important Limitations\n\n- **One ASIN per request**: Only a single ASIN can be queried at a time.\n- **Per-star cap**: Each star rating returns max 100 reviews per request.\n- **Parameter scope**: `filterByKeyword`, `reviewerType`, `mediaType` are available on `/amazon/reviews/list`, including `domainCode: \"com\"`.\n- **No historical snapshots**: Reviews are fetched in real-time.\n- **Review text language**: Reviews are returned in their original language as posted.\n\n## User Expression & Scenario Quick Reference\n\n**Applicable** — Tasks involving Amazon product reviews:\n\n| User Says | Scenario |\n|-----------|----------|\n| \"Show me the reviews for this ASIN\" | Direct review lookup |\n| \"Get US reviews for B08N5WRWNW\" | Marketplace-specific lookup |\n| \"What are customers complaining about\" | Negative review analysis |\n| \"Get me all the 1-star reviews\" | Star-filtered retrieval |\n| \"Any common issues in the bad reviews\" | Pain point mining |\n| \"What do people like about this product\" | Positive review analysis |\n| \"Find reviews mentioning 'battery'\" | Keyword-filtered reviews |\n| \"Show me reviews with photos\" | Media-filtered reviews |\n| \"Verified purchase reviews only\" | Reviewer-type filtering |\n| \"Help me analyze competitor reviews\" | Competitor review research |\n| \"Product improvement suggestions from reviews\" | Actionable insight extraction |\n\n**Not applicable** — Needs beyond product review data:\n\n- ABA search term data / keyword research (use ABA Data Explorer instead)\n- Sales estimation or revenue analysis\n- Listing copywriting or A+ content creation\n- Advertising / PPC strategy\n- Pricing strategy or profit margin calculations\n\n**Boundary judgment**: If \"product research\" or \"competitor analysis\" boils down to reading customer reviews for specific ASINs, this skill applies. If it involves search volume, keyword rankings, sales estimates, or market sizing, it does not.\n\n**Feedback:**\n\nAuto-detect and report feedback via the Feedback API when any of the following apply:\n1. The functionality or purpose described in this skill does not match actual behavior\n2. The skill's results do not match the user's intent\n3. The user expresses dissatisfaction or praise about this skill\n4. Anything you believe could be improved\n\nCall the feedback API as specified in the references. Do not interrupt the user's flow.\n\n\n---\n*For more high-quality, professional cross-border e-commerce skills, visit [LinkFox Skills](https://skill.linkfox.com/).*\n\nFile v1.0.5:_meta.json\n\n{\n  \"ownerId\": \"kn7dmc1t4j28hem1twwyav85p182pb1j\",\n  \"slug\": \"linkfox-amazon-reviews-list\",\n  \"version\": \"1.0.5\",\n  \"publishedAt\": 1783066224242\n}\n\nFile v1.0.5:references/api.md\n\n# 亚马逊商品评论 API 参考\n\n## 调用规范\n\n- **请求地址**：`${LINKFOX_TOOL_GATEWAY}/amazon/reviews/list`\n- **请求方式**：POST，Content-Type: application/json\n- **认证方式**：Header `Authorization: <api_key>`，api_key 从环境变量 `LINKFOX_AGENT_API_KEY` 或 `LINKFOXAGENT_API_KEY` 读取（如未配置，提示用户前往 https://skill.linkfox.com/linkfoxskills/guide.htm 申请）\n\n## 请求参数\n\nPOST Body（JSON）：\n\n| 参数 | 类型 | 必填 | 说明                                                                                                                             |\n|------|------|------|--------------------------------------------------------------------------------------------------------------------------------|\n| asin | string | 是 | 亚马逊商品ASIN                                                                                                                      |\n| domainCode | string | 否 | 亚马逊域名代码，默认 `com`。可选值：`com`、`ca`、`co.uk`、`in`、`de`、`fr`、`it`、`es`、`co.jp`、`com.au`、`com.br`、`nl`、`se`、`com.mx`、`ae`。美国站使用 `com` |\n| star1Num | integer | 否 | 1星评论数量，默认获取10条，最多100条                                                                                                          |\n| star2Num | integer | 否 | 2星评论数量，默认获取10条，最多100条                                                                                                          |\n| star3Num | integer | 否 | 3星评论数量，默认获取10条，最多100条                                                                                                          |\n| star4Num | integer | 否 | 4星评论数量，默认获取10条，最多100条                                                                                                          |\n| star5Num | integer | 否 | 5星评论数量，默认获取10条，最多100条                                                                                                          |\n| filterByKeyword | string | 否 | 按关键词筛选评论，最大长度1000字符                                                                                                            |\n| sortBy | string | 否 | 评论排序方式：`recent`（最新评论）或 `helpful`（最有用评论），默认 `recent`                                                                            |\n| reviewerType | string | 否 | 评论者类型：`all_reviews`（所有评论）或 `avp_only_reviews`（仅认证购买），默认 `all_reviews`                                                          |\n| mediaType | string | 否 | 媒体类型：`all_contents`（所有内容）或 `media_reviews_only`（仅包含媒体的评论），默认 `all_contents`                                                    |\n| formatType | string | 否 | 格式类型：`all_formats`（所有格式）或 `current_format`（当前格式），默认 `all_formats`                                                           |\n\n说明：若 `star1Num` ~ `star5Num` 均未传，则 1~5 星默认各抓取 `10` 条；若已传任意一个星级数量，则其它未传星级默认 `0`。\n\n## 响应结构\n\n| 字段 | 类型 | 说明 |\n|------|------|------|\n| total | integer | 总评论数 |\n| data | array | 评论列表（详见下方评论对象） |\n| columns | array | 渲染的列 |\n| costToken | integer | 总Token消耗 |\n| type | string | 渲染的样式 |\n\n### 评论对象\n\n| 字段 | 类型 | 说明 |\n|------|------|------|\n| reviewId | string | 评论ID |\n| asin | string | 产品ASIN |\n| title | string | 评论标题 |\n| text | string | 评论内容 |\n| rating | string | 评分 |\n| date | string | 评论日期 |\n| userName | string | 评论者名称 |\n| verified | boolean | 是否已验证购买 |\n| vine | boolean | 是否Vine Voice评论 |\n| numberOfHelpful | integer | 有用数量 |\n| imageUrlList | array | 评论图片列表 |\n| videoUrlList | array | 评论视频列表 |\n| domainCode | string | 国家代码 |\n| productTitle | string | 产品标题 |\n| productRating | string | 产品评分 |\n| countRatings | integer | 产品评分数量 |\n| countReviews | integer | 产品评论数量 |\n| variationId | string | 变体ID |\n| variationList | array | 变体列表 |\n| profilePath | string | 评论者个人资料路径 |\n| currentPage | integer | 当前页码 |\n| sortStrategy | string | 排序策略 |\n| statusCode | integer | 状态码 |\n| statusMessage | string | 状态消息 |\n| locale | object | 区域信息 |\n| reviewSummary | object | 评论摘要数据 |\n| filters | object | 已应用的筛选条件 |\n\n## 错误码\n\n正常情况下，接口的 HTTP 状态码均为 200，业务的成功与否通过响应体中的 errorCode 字段区分（errorCode = 200 表示成功，其他值表示业务错误）。当遇到未授权等情况时，HTTP 状态码为 401，且对应的 errorCode 也是 401。\n\n| errcode | 含义 | 处理建议 |\n|---------|------|----------|\n| 200 | 成功 | 正常解析业务字段 |\n| 401 | 认证失败 | 检查请求头 `Authorization` 是否正确携带 API Key；API Key 申请方式请参考上述[调用规范](#调用规范)下的认证方式。|\n| 其他非200值 | 业务异常 | 参考 `errmsg` 字段获取具体错误原因 |\n\n错误响应示例：\n\n```json\n{\n    \"errcode\": 401,\n    \"errmsg\": \"authorized error\"\n}\n```\n\n## curl 示例（美国站）\n\n```bash\ncurl -X POST https://tool-gateway.linkfox.com/amazon/reviews/list \\\n  -H \"Authorization: $LINKFOXAGENT_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"asin\": \"B08N5WRWNW\",\n    \"domainCode\": \"com\",\n    \"star1Num\": 10,\n    \"star2Num\": 10,\n    \"star3Num\": 0,\n    \"star4Num\": 0,\n    \"star5Num\": 0,\n    \"sortBy\": \"recent\",\n    \"reviewerType\": \"all_reviews\"\n  }'\n```\n\n---\n\n## Feedback API\n\n> This endpoint is **separate** from the tool API above. Do not mix the two base URLs.\n\n- **POST** `https://skill-api.linkfox.com/api/v1/public/feedback`\n- **Content-Type:** `application/json`\n\n```json\n{\n  \"skillName\": \"linkfox-amazon-reviews\",\n  \"sentiment\": \"POSITIVE\",\n  \"category\": \"OTHER\",\n  \"content\": \"Results were accurate, user was satisfied.\"\n}\n```\n\n**Field rules:**\n- `skillName`: Use this skill's `name` from the YAML frontmatter\n- `sentiment`: Choose ONE — `POSITIVE` (praise), `NEUTRAL` (suggestion without emotion), `NEGATIVE` (complaint or error)\n- `category`: Choose ONE — `BUG` (malfunction or wrong data), `COMPLAINT` (user dissatisfaction), `SUGGESTION` (improvement idea), `OTHER`\n- `content`: Include what the user said or intended, what actually happened, and why it is a problem or praise\n\nArchive v1.0.4: 4 files, 12217 bytes\n\nFiles: references/api.md (6737b), scripts/amazon_reviews.py (12759b), SKILL.md (8738b), _meta.json (146b)\n\nFile v1.0.4:SKILL.md\n\n---\nname: linkfox-amazon-reviews-list\ndescription: 按ASIN获取并分析亚马逊商品评论，支持15个站点(含美国站)，按星级筛选评论。当用户提到亚马逊评论、美国站评论、商品评价、买家投诉、差评、好评、星级评分、评论分析、评论情感、产品改良建议、Vine评论、已验证购买评论、竞品评论研究、Amazon reviews, US reviews, Amazon.com reviews, product feedback, negative review analysis, positive review analysis, star rating filter, review sentiment analysis, product improvement insights, Vine reviews, competitor reviews, customer feedback时触发此技能。即使用户未明确说\"评论\"，只要其需求涉及读取、筛选或分析亚马逊商品的买家评论，也应触发此技能。\n---\n\n# Amazon Product Reviews\n\nFetch and analyze Amazon product reviews to help sellers extract actionable insights from customer feedback.\n\n## Core Concepts\n\nThis tool retrieves real customer reviews for a given Amazon ASIN across **15 marketplaces**. You can control how many reviews to fetch per star rating (1-5 stars, up to 100 each), sort by recency or helpfulness, and apply various filters. Only one ASIN per request; for multiple ASINs, make separate calls.\n\n## 调用方式\n\n- **API 端点**：`POST /amazon/reviews/list`（完整参数/响应/错误码见 `references/api.md`）\n- **Python 脚本**：`python scripts/amazon_reviews.py '<JSON 参数>' [--inline]`\n- **成本约束**：本工具会消耗积分；同一会话同一参数组合默认只调用一次，脚本带 24h 本地缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探；需要继续检索时先向用户说明会产生额外消耗。\n\n**输出策略（脚本默认行为）**：\n- **始终**将完整响应写入 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-amazon-reviews-list-<timestamp>.json`（`<cwd>` 为脚本执行时的工作目录，在 Claude Code 里即当前项目目录；`<session>` 取自环境变量 `SESSION_ID`，按用户任务自动聚合；**禁止写入 /tmp**，当前目录不可写则报错）\n- 响应体 ≤ 8 KB：落盘后把完整 JSON 打印到 stdout\n- 响应体 > 8 KB：落盘后 stdout 只输出摘要（顶层字段、常见计数如 `total`/`costToken`、最大列表字段的长度 + 前 3 条样本）\n- 加 `--inline` 强制全量打印到 stdout（同样落盘）\n\n**读数据建议**：先看摘要判断是否足够；需要具体字段时优先用 `jq`或`ConvertFrom-Json` 从保存的 json 文件按需抽取，避免整份 JSON 进入上下文。\n\n## Parameter Guide\n\n| Parameter | Type | Required | Scope | Description | Default |\n|-----------|------|----------|-------|-------------|---------|\n| asin | string | Yes | All | Amazon product ASIN | - |\n| star1Num | integer | No | Main endpoint | 1-star reviews to fetch (0-100) | 10 |\n| star2Num | integer | No | Main endpoint | 2-star reviews to fetch (0-100) | 10 |\n| star3Num | integer | No | Main endpoint | 3-star reviews to fetch (0-100) | 10 |\n| star4Num | integer | No | Main endpoint | 4-star reviews to fetch (0-100) | 10 |\n| star5Num | integer | No | Main endpoint | 5-star reviews to fetch (0-100) | 10 |\n| sortBy | string | No | All | `recent` (newest) or `helpful` (most helpful) | `recent` |\n| formatType | string | No | All | `all_formats` or `current_format` | `all_formats` |\n| domainCode | string | No | Main endpoint | Marketplace code (see Supported Marketplaces); use `com` for US | `com` |\n| filterByKeyword | string | No | Main endpoint | Filter reviews by keyword (max 1000 chars) | - |\n| reviewerType | string | No | Main endpoint | `all_reviews` or `avp_only_reviews` (verified only) | `all_reviews` |\n| mediaType | string | No | Main endpoint | `all_contents` or `media_reviews_only` | `all_contents` |\n\n### Star Count Defaults\n\n- If no star count fields are provided, `star1Num` to `star5Num` all default to `10`.\n- If any star count field is provided, unspecified star counts default to `0`.\n\n## Supported Marketplaces\n\n| Marketplace | Code |\n|-------------|------|\n| United States | `com` |\n| Canada | `ca` |\n| United Kingdom | `co.uk` |\n| Germany | `de` |\n| France | `fr` |\n| Italy | `it` |\n| Spain | `es` |\n| Japan | `co.jp` |\n| India | `in` |\n| Australia | `com.au` |\n| Brazil | `com.br` |\n| Mexico | `com.mx` |\n| Netherlands | `nl` |\n| Sweden | `se` |\n| United Arab Emirates | `ae` |\n\nUse `domainCode` for every supported marketplace. Always confirm the user's intended marketplace.\n\n## Usage Examples\n\n**1. Fetch US reviews (Amazon.com)**\n```json\n{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"com\", \"star1Num\": 10, \"star2Num\": 10, \"star3Num\": 10, \"star4Num\": 10, \"star5Num\": 10, \"sortBy\": \"recent\"}\n```\n\n**2. Fetch negative reviews with keyword filter (Germany)**\n```json\n{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"de\", \"star1Num\": 30, \"star2Num\": 30, \"filterByKeyword\": \"quality\", \"reviewerType\": \"avp_only_reviews\"}\n```\n\n**3. Fetch 5-star reviews with media (Japan)**\n```json\n{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"co.jp\", \"star5Num\": 50, \"star1Num\": 0, \"star2Num\": 0, \"star3Num\": 0, \"star4Num\": 0, \"sortBy\": \"helpful\", \"mediaType\": \"media_reviews_only\"}\n```\n\n**4. Fetch only 3-star reviews (explicit star mode)**\n```json\n{\"asin\": \"B0FP5C63HZ\", \"domainCode\": \"com\", \"star3Num\": 100}\n```\n\n## Display Rules\n\n1. **Present data clearly**: Show reviews grouped by star rating with key fields: rating, title, text, date, verified status, helpful count.\n2. **Summarize when appropriate**: For many reviews, provide a theme/pain-point summary before listing individuals.\n3. **Highlight actionable insights**: Call out recurring complaints in negative reviews; note praised features in positive reviews.\n4. **Vine and verified labels**: Clearly indicate Vine Voice and verified purchase status.\n5. **Media indicators**: Note when reviews include images or videos.\n6. **Response normalization**: Normalize rating and helpful-count fields for consistent display when the raw response uses marketplace-specific text formats.\n7. **Error handling**: When a query fails, explain the reason based on the response message and suggest adjusting parameters.\n8. **Single ASIN limitation**: If the user asks about multiple ASINs, make separate requests for each.\n\n## Important Limitations\n\n- **One ASIN per request**: Only a single ASIN can be queried at a time.\n- **Per-star cap**: Each star rating returns max 100 reviews per request.\n- **Parameter scope**: `filterByKeyword`, `reviewerType`, `mediaType` are available on `/amazon/reviews/list`, including `domainCode: \"com\"`.\n- **No historical snapshots**: Reviews are fetched in real-time.\n- **Review text language**: Reviews are returned in their original language as posted.\n\n## User Expression & Scenario Quick Reference\n\n**Applicable** — Tasks involving Amazon product reviews:\n\n| User Says | Scenario |\n|-----------|----------|\n| \"Show me the reviews for this ASIN\" | Direct review lookup |\n| \"Get US reviews for B08N5WRWNW\" | Marketplace-specific lookup |\n| \"What are customers complaining about\" | Negative review analysis |\n| \"Get me all the 1-star reviews\" | Star-filtered retrieval |\n| \"Any common issues in the bad reviews\" | Pain point mining |\n| \"What do people like about this product\" | Positive review analysis |\n| \"Find reviews mentioning 'battery'\" | Keyword-filtered reviews |\n| \"Show me reviews with photos\" | Media-filtered reviews |\n| \"Verified purchase reviews only\" | Reviewer-type filtering |\n| \"Help me analyze competitor reviews\" | Competitor review research |\n| \"Product improvement suggestions from reviews\" | Actionable insight extraction |\n\n**Not applicable** — Needs beyond product review data:\n\n- ABA search term data / keyword research (use ABA Data Explorer instead)\n- Sales estimation or revenue analysis\n- Listing copywriting or A+ content creation\n- Advertising / PPC strategy\n- Pricing strategy or profit margin calculations\n\n**Boundary judgment**: If \"product research\" or \"competitor analysis\" boils down to reading customer reviews for specific ASINs, this skill applies. If it involves search volume, keyword rankings, sales estimates, or market sizing, it does not.\n\n**Feedback:**\n\nAuto-detect and report feedback via the Feedback API when any of the following apply:\n1. The functionality or purpose described in this skill does not match actual behavior\n2. The skill's results do not match the user's intent\n3. The user expresses dissatisfaction or praise about this skill\n4. Anything you believe could be improved\n\nCall the feedback API as specified in the references. Do not interrupt the user's flow.\n\n\n---\n*For more high-quality, professional cross-border e-commerce skills, visit [LinkFox Skills](https://skill.linkfox.com/).*\n\nFile v1.0.4:_meta.json\n\n{\n  \"ownerId\": \"kn7dmc1t4j28hem1twwyav85p182pb1j\",\n  \"slug\": \"linkfox-amazon-reviews-list\",\n  \"version\": \"1.0.4\",\n  \"publishedAt\": 1783053335399\n}\n\nFile v1.0.4:references/api.md\n\n# 亚马逊商品评论 API 参考\n\n## 调用规范\n\n- **请求地址**：`${LINKFOX_AGENT_API_URL}/amazon/reviews/list`\n- **请求方式**：POST，Content-Type: application/json\n- **认证方式**：Header `Authorization: <api_key>`，api_key 从环境变量 `LINKFOX_AGENT_API_KEY` 或 `LINKFOXAGENT_API_KEY` 读取（如未配置，提示用户前往 https://skill.linkfox.com/linkfoxskills/guide.htm 申请）\n\n## 请求参数\n\nPOST Body（JSON）：\n\n| 参数 | 类型 | 必填 | 说明                                                                                                                             |\n|------|------|------|--------------------------------------------------------------------------------------------------------------------------------|\n| asin | string | 是 | 亚马逊商品ASIN                                                                                                                      |\n| domainCode | string | 否 | 亚马逊域名代码，默认 `com`。可选值：`com`、`ca`、`co.uk`、`in`、`de`、`fr`、`it`、`es`、`co.jp`、`com.au`、`com.br`、`nl`、`se`、`com.mx`、`ae`。美国站使用 `com` |\n| star1Num | integer | 否 | 1星评论数量，默认获取10条，最多100条                                                                                                          |\n| star2Num | integer | 否 | 2星评论数量，默认获取10条，最多100条                                                                                                          |\n| star3Num | integer | 否 | 3星评论数量，默认获取10条，最多100条                                                                                                          |\n| star4Num | integer | 否 | 4星评论数量，默认获取10条，最多100条                                                                                                          |\n| star5Num | integer | 否 | 5星评论数量，默认获取10条，最多100条                                                                                                          |\n| filterByKeyword | string | 否 | 按关键词筛选评论，最大长度1000字符                                                                                                            |\n| sortBy | string | 否 | 评论排序方式：`recent`（最新评论）或 `helpful`（最有用评论），默认 `recent`                                                                            |\n| reviewerType | string | 否 | 评论者类型：`all_reviews`（所有评论）或 `avp_only_reviews`（仅认证购买），默认 `all_reviews`                                                          |\n| mediaType | string | 否 | 媒体类型：`all_contents`（所有内容）或 `media_reviews_only`（仅包含媒体的评论），默认 `all_contents`                                                    |\n| formatType | string | 否 | 格式类型：`all_formats`（所有格式）或 `current_format`（当前格式），默认 `all_formats`                                                           |\n\n说明：若 `star1Num` ~ `star5Num` 均未传，则 1~5 星默认各抓取 `10` 条；若已传任意一个星级数量，则其它未传星级默认 `0`。\n\n## 响应结构\n\n| 字段 | 类型 | 说明 |\n|------|------|------|\n| total | integer | 总评论数 |\n| data | array | 评论列表（详见下方评论对象） |\n| columns | array | 渲染的列 |\n| costToken | integer | 总Token消耗 |\n| type | string | 渲染的样式 |\n\n### 评论对象\n\n| 字段 | 类型 | 说明 |\n|------|------|------|\n| reviewId | string | 评论ID |\n| asin | string | 产品ASIN |\n| title | string | 评论标题 |\n| text | string | 评论内容 |\n| rating | string | 评分 |\n| date | string | 评论日期 |\n| userName | string | 评论者名称 |\n| verified | boolean | 是否已验证购买 |\n| vine | boolean | 是否Vine Voice评论 |\n| numberOfHelpful | integer | 有用数量 |\n| imageUrlList | array | 评论图片列表 |\n| videoUrlList | array | 评论视频列表 |\n| domainCode | string | 国家代码 |\n| productTitle | string | 产品标题 |\n| productRating | string | 产品评分 |\n| countRatings | integer | 产品评分数量 |\n| countReviews | integer | 产品评论数量 |\n| variationId | string | 变体ID |\n| variationList | array | 变体列表 |\n| profilePath | string | 评论者个人资料路径 |\n| currentPage | integer | 当前页码 |\n| sortStrategy | string | 排序策略 |\n| statusCode | integer | 状态码 |\n| statusMessage | string | 状态消息 |\n| locale | object | 区域信息 |\n| reviewSummary | object | 评论摘要数据 |\n| filters | object | 已应用的筛选条件 |\n\n## 错误码\n\n正常情况下，接口的 HTTP 状态码均为 200，业务的成功与否通过响应体中的 errorCode 字段区分（errorCode = 200 表示成功，其他值表示业务错误）。当遇到未授权等情况时，HTTP 状态码为 401，且对应的 errorCode 也是 401。\n\n| errcode | 含义 | 处理建议 |\n|---------|------|----------|\n| 200 | 成功 | 正常解析业务字段 |\n| 401 | 认证失败 | 检查请求头 `Authorization` 是否正确携带 API Key；API Key 申请方式请参考上述[调用规范](#调用规范)下的认证方式。|\n| 其他非200值 | 业务异常 | 参考 `errmsg` 字段获取具体错误原因 |\n\n错误响应示例：\n\n```json\n{\n    \"errcode\": 401,\n    \"errmsg\": \"authorized error\"\n}\n```\n\n## curl 示例（美国站）\n\n```bash\ncurl -X POST https://tool-gateway.linkfox.com/amazon/reviews/list \\\n  -H \"Authorization: $LINKFOXAGENT_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"asin\": \"B08N5WRWNW\",\n    \"domainCode\": \"com\",\n    \"star1Num\": 10,\n    \"star2Num\": 10,\n    \"star3Num\": 0,\n    \"star4Num\": 0,\n    \"star5Num\": 0,\n    \"sortBy\": \"recent\",\n    \"reviewerType\": \"all_reviews\"\n  }'\n```\n\n---\n\n## Feedback API\n\n> This endpoint is **separate** from the tool API above. Do not mix the two base URLs.\n\n- **POST** `https://skill-api.linkfox.com/api/v1/public/feedback`\n- **Content-Type:** `application/json`\n\n```json\n{\n  \"skillName\": \"linkfox-amazon-reviews\",\n  \"sentiment\": \"POSITIVE\",\n  \"category\": \"OTHER\",\n  \"content\": \"Results were accurate, user was satisfied.\"\n}\n```\n\n**Field rules:**\n- `skillName`: Use this skill's `name` from the YAML frontmatter\n- `sentiment`: Choose ONE — `POSITIVE` (praise), `NEUTRAL` (suggestion without emotion), `NEGATIVE` (complaint or error)\n- `category`: Choose ONE — `BUG` (malfunction or wrong data), `COMPLAINT` (user dissatisfaction), `SUGGESTION` (improvement idea), `OTHER`\n- `content`: Include what the user said or intended, what actually happened, and why it is a problem or praise","readmeExcerpt":"Skill: 亚马逊-商品评论 Owner: linkfox-ai Summary: 按ASIN获取并分析亚马逊商品评论，支持15个站点(含美国站)，按星级筛选评论。当用户提到亚马逊评论、美国站评论、商品评价、买家投诉、差评、好评、星级评分、评论分析、评论情感、产品改良建议、Vine评论、已验证购买评论、竞品评论研究、Amazon reviews, US reviews, Amazon.com reviews, product feedback, negative review analysis, positive review analysis, star rating filter, review sentiment analysis, product improvement insights, Vine reviews, competitor reviews, customer feedback时触发此技能。即使用户未明确","codeSnippets":[],"executableExamples":[{"language":"json","snippet":"{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"com\", \"star1Num\": 10, \"star2Num\": 10, \"star3Num\": 10, \"star4Num\": 10, \"star5Num\": 10, \"sortBy\": \"recent\"}"},{"language":"json","snippet":"{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"de\", \"star1Num\": 30, \"star2Num\": 30, \"filterByKeyword\": \"quality\", \"reviewerType\": \"avp_only_reviews\"}"},{"language":"json","snippet":"{\"asin\": \"B08N5WRWNW\", \"domainCode\": \"co.jp\", \"star5Num\": 50, \"star1Num\": 0, \"star2Num\": 0, \"star3Num\": 0, \"star4Num\": 0, \"sortBy\": \"helpful\", \"mediaType\": \"media_reviews_only\"}"},{"language":"json","snippet":"{\"asin\": \"B0FP5C63HZ\", \"domainCode\": \"com\", \"star3Num\": 100}"},{"language":"json","snippet":"{\n  \"taskId\": \"异步提交返回的任务ID\"\n}"},{"language":"json","snippet":"{\n    \"errcode\": 401,\n    \"errmsg\": \"authorized error\"\n}"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: linkfox-amazon-reviews-list\ndescription: 按ASIN获取并分析亚马逊商品评论，支持15个站点(含美国站)，按星级筛选评论。当用户提到亚马逊评论、美国站评论、商品评价、买家投诉、差评、好评、星级评分、评论分析、评论情感、产品改良建议、Vine评论、已验证购买评论、竞品评论研究、Amazon reviews, US reviews, Amazon.com reviews, product feedback, negative review analysis, positive review analysis, star rating filter, review sentiment analysis, product improvement insights, Vine reviews, competitor reviews, customer feedback时触发此技能。即使用户未明确说\"评论\"，只要其需求涉及读取、筛选或分析亚马逊商品的买家评论，也应触发此技能。\n---\n\n# Amazon Product Reviews\n\nFetch and analyze Amazon product reviews to help sellers extract actionable insights from customer feedback.\n\n## Core Concepts\n\nThis tool retrieves real customer reviews for a given Amazon ASIN across **15 marketplaces**. You can control how many reviews to fetch per star rating (1-5 stars, up to 100 each), sort by recency or helpfulness, and apply various filters. Only one ASIN per request; for multiple ASINs, make separate calls.\n\n## 调用方式\n\n- **异步提交端点**：`POST /amazon/reviews/async/submit`\n- **轮询查询端点**：`POST /amazon/reviews/async/result`\n- **完整参数、响应和错误码**：见 `references/api.md`\n- **Python 脚本**：`python scripts/amazon_reviews.py '<JSON 参数>' [--inline]`；每次只提交或查询一次并立即返回\n- **成本约束**：本工具会消耗算力；同一会话同一参数组合默认只调用一次，脚本带 24h 本地缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探；需要继续检索时先向用户说明会产生额外消耗。\n\n### 异步调用流程\n\n1. 首次执行脚本只调用 `/amazon/reviews/async/submit`，保存并立即返回 `taskId`，不得在同一次脚本调用内等待结果。不要因任务仍在运行或单次查询失败而重新提交。\n2. 提交参数与原评论参数一致，不传 `provider`；后端根据 `domainCode` 自动选择 Pango 或 Apify，实际供应商可从响应的 `provider` 查看。\n3. Agent 可继续执行用户请求中的其他独立工作；需要结果时，使用原参数再次执行脚本，或传入 `{\"taskId\":\"...\"}`。每次执行只调用一次 `/amazon/reviews/async/result` 并立即返回，不在脚本内部循环或休眠。\n4. 根据当前实测经验，Pango 通常约 `10~30` 秒、Apify 通常约 `15~60` 秒返回，这不是 SLA。脚本会返回 `estimatedReadyInSeconds` 和 `suggestedNextCheckAfterSeconds`；优先继续其他工作，到建议时间再查询，不要按接口的最小轮询间隔忙轮询。\n5. 从任务创建时间起最多观察 `200` 秒。窗口内若为 `PENDING` 或 `RUNNING`，保留原 `taskId`，继续其他工作，约 `10~20` 秒后再查询；`SUCCEEDED`：读取 `result`；`FAILED`：向用户说明 `error` 并停止；`CANCELLED`：友好说明当前评论服务可能请求较多、任务在等待执行资源时已自动取消且未产生费用，建议稍后重新提交。\n6. 超过 `200` 秒仍为 `PENDING` 或 `RUNNING` 时返回 `POLL_TIMEOUT` 并停止自动查询，让用户选择：继续查询同一个 `taskId`，或停止查询并放弃本次结果。不得自动提交新任务。当前没有手动取消端点；后端只会自动取消等待执行资源超时且尚未调用供应商的 `PENDING` 任务，已进入 `RUNNING` 的任务仍可能完成并产生费用。\n7. 未读取任务从提交起最多保留 `4` 小时；首次读取到 `SUCCEEDED`、`FAILED` 或 `CANCELLED` 终态后，后端立即删除任务。脚本将成功结果保存到本地文件，任务缓存只保留“已领取”和文件路径。原参数与 `taskId` 在同一工作目录内共用任务记录；24h 本地缓存有效期内再次执行会返回 `ALREADY_RECEIVED`、`resultFile` 和本次 `costToken: 0`，应读取该文件，不再查后端或重新提交。文件不存在时也不得自动重新抓取。\n8. 查询返回“任务不存在或已过期”时停止，不得自动创建新的付费任务。只有用户明确要求重试时才能重新提交。\n9. 提交、`PENDING`、`RUNNING`、`FAILED`、`CANCELLED` 和 `POLL_TIMEOUT` 均不得按预计公式记为实际消耗；实际扣费只认首次成功领取结果时响应返回的 `X-Cost-Token`/`costToken`，不得由 Agent 自行推算或补记。\n\n脚本只执行上述异步流程，并在本地缓存未完成的 `taskId` 以便后续查询。\n\n**输出策略（脚本默认行为）**：\n- **始终**将完整响应写入 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-amazon-reviews-list-<timestamp>.json`（`<cwd>` 为脚本执行时的工作目录，在 Claude Code 里即当前项目目录；`<session>` 取自环境变量 `SESSION_ID`，按用户任务自动聚合；**禁止写入 /tmp**，当前目录不可写则报错）\n- 响应体 ≤ 8 KB：落盘后把完整 JSON 打印到 stdout\n- 响应体 > 8 KB：落盘后 stdout 只输出摘要（顶层字段、常见计数如 `total`/`costToken`、最大列表字段的长度 + 前 3 条样本）"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7dmc1t4j28hem1twwyav85p182pb1j\",\n  \"slug\": \"linkfox-amazon-reviews-list\",\n  \"version\": \"1.0.10\",\n  \"publishedAt\": 1789361709683\n}"},{"path":"references/api.md","content":"# 亚马逊商品评论 API 参考\n\n## 调用规范\n\n- **异步提交**：`${LINKFOX_TOOL_GATEWAY}/amazon/reviews/async/submit`\n- **异步查询**：`${LINKFOX_TOOL_GATEWAY}/amazon/reviews/async/result`\n- **请求方式**：POST，Content-Type: application/json\n- **认证方式**：Header `Authorization: <api_key>`，api_key 从环境变量 `LINKFOX_AGENT_API_KEY` 或 `LINKFOXAGENT_API_KEY` 读取（如未配置 按 SKILL.md 的 **## 解决认证和算力问题** 处理）\n\n本 Skill 只使用异步提交和查询接口。\n\n## 异步提交\n\nPOST Body（JSON）：\n\n| 参数 | 类型 | 必填 | 说明                                                                                                                             |\n|------|------|------|--------------------------------------------------------------------------------------------------------------------------------|\n| asin | string | 是 | 亚马逊商品ASIN                                                                                                                      |\n| domainCode | string | 否 | 亚马逊域名代码，默认 `com`。可选值：`com`、`ca`、`co.uk`、`in`、`de`、`fr`、`it`、`es`、`co.jp`、`com.au`、`com.br`、`nl`、`se`、`com.mx`、`ae`。美国站使用 `com` |\n| star1Num | integer | 否 | 1星评论数量，默认获取10条，最多100条                                                                                                          |\n| star2Num | integer | 否 | 2星评论数量，默认获取10条，最多100条                                                                                                          |\n| star3Num | integer | 否 | 3星评论数量，默认获取10条，最多100条                                                                                                          |\n| star4Num | integer | 否 | 4星评论数量，默认获取10条，最多100条                                                                                                          |\n| star5Num | integer | 否 | 5星评论数量，默认获取10条，最多100条                                                                                                          |\n| filterByKeyword | string | 否 | 按关键词筛选评论，最大长度1000字符                                                                                                            |\n| sortBy | string | 否 | 评论排序方式：`recent`（最新评论）或 `helpful`（最有用评论），默认 `recent`                                                                            |\n| reviewerType | string | 否 | 评论者类型：`all_reviews`（所有评论）或 `avp_only_reviews`（仅认证购买），默认 `all_reviews`                                                          |\n| mediaType | string | 否 | 媒体类型：`all_contents`（所有内容）或 `media_reviews_only`（仅包含媒体的评论），默认 `all_contents`                                                    |\n| formatType | string | 否 | 格式类型：`all_formats`（所有格式）或 `current_format`（当前格式），默认 `all_formats`                                                           |\n\n说明：若 `star1Num` ~ `star5Num` 均未传，则 1~5 星默认各抓取 `10` 条；若已传任意一个星级数量，则其它未传星级默认 `0`。\n\n无需传 `provider`。后端根据 `domainCode` 自动选择 Pango 或 Apify，实际供应商在提交和查询响应的 `provider` 字段中返回。\n\n提交成功响应：\n\n| 字段 | 类型 | 说明 |\n|------|------|------|\n| taskId | string | 后续查询使用的任务ID |\n| provider | string | 实际选择的供应商 |\n| status | string | 初始状态，通常为 `PENDING` |\n| pollAfterMillis | integer | 建议下次查询前等待的毫秒数 |\n\n提交接口只调用一次并立即返回 `taskId`。任务未完成或单次查询失败均不得重新提交。\n\n脚本会在本地任"},{"path":"references/onboarding.md","content":"# 解决认证和算力问题\n\n调用本 skill 时若网关返回 **auth** 或 **billing** 错误，走本 skill 自带的 `scripts/onboarding.py` 完成引导。\n\n**auth 场景**：`errcode=401` 或消息含 `authorized error`/`鉴权失败`/`未授权`/`unauthorized`；或 `LINKFOX_AGENT_API_KEY` 与 `LINKFOXAGENT_API_KEY` 均为空。\n1. 若已配置 key → 先让用户重启会话（最常见误判），仍失败让用户重新取 key 或换手机号重注册\n2. 未配置 → 询问：自助去 https://agent.linkfox.com/ 取 key，或提供手机号让脚本注册\n3. 手机号路径：\n   - `python scripts/onboarding.py send-code <phone>` → 展示 JSON 里的 phone/agreements\n   - 收到验证码后：`python scripts/onboarding.py login <phone> <code>`\n   - 拿到 `api_key` 后把下面三平台配置转发给用户，提示重启会话生效：\n     - Windows PowerShell（永久）：`setx LINKFOX_AGENT_API_KEY \"<key>\"`\n     - macOS zsh：`echo 'export LINKFOX_AGENT_API_KEY=\"<key>\"' >> ~/.zshrc && source ~/.zshrc`\n     - Linux bash：`echo 'export LINKFOX_AGENT_API_KEY=\"<key>\"' >> ~/.bashrc && source ~/.bashrc`\n     - 变量名 `LINKFOX_AGENT_API_KEY`（主推）或 `LINKFOXAGENT_API_KEY`（老规范）任一即可\n\n**billing 场景**：`errcode=402` 或消息含 `算力/余额/quota/insufficient/充值/套餐到期`。\n- `python scripts/onboarding.py list-plans` → 有 AskUserQuestion 就弹菜单，否则输出编号清单让用户选\n- 校验 `plan_id` ∈ 清单、支付方式 ∈ 该套餐 `available_methods`（通常 `wechat/alipay`）\n- `python scripts/onboarding.py order <plan_id> <method>` → 展示优先级 PNG > `pay_url` > `ascii_qr`（标注兜底）\n- 已付款可选调 `python scripts/onboarding.py query <order_id>`，不主动轮询\n\n排除 `errcode=403`（无权限，不归入这两类）。所有子命令输出 stdout JSON，`error` 字段已含阶段前缀，透传给用户即可。完整用法：`python scripts/onboarding.py --help`。"},{"path":"skill-card.md","content":"## Description:\n\nFetches and analyzes Amazon product reviews by ASIN across 15 marketplaces with star, keyword, verified-purchase, sort, format, and media filters.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[linkfox-ai](https://clawhub.ai/user/linkfox-ai)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal sellers, ecommerce analysts, and agents use this skill to retrieve Amazon reviews for a single ASIN, filter them by marketplace, star rating, keyword, media, or verified-purchase status, and summarize customer praise, complaints, and product improvement signals.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The security scan reports under-disclosed account, billing, credential, and automatic feedback-reporting behavior.\n\nMitigation: Review the LinkFox account, billing, and feedback flows before installation; make feedback submission explicit opt-in for sensitive deployments.\n\nRisk: The skill handles API keys and may guide users to configure credentials in shell startup files.\n\nMitigation: Prefer a managed secret store or scoped environment injection, and avoid committing or sharing shell profiles that contain API keys.\n\nRisk: The skill can create persistent local review result files and may process customer review data from live third-party services.\n\nMitigation: Run it only in appropriate workspaces, disclose paid API use before large requests, and clean local result files according to the user's data retention requirements.\n\n## Reference(s):\n\n- [Amazon Reviews API Reference](references/api.md)\n- [Authentication and Billing Onboarding](references/onboarding.md)\n- [ClawHub Skill Page](https://clawhub.ai/linkfox-ai/skills/linkfox-amazon-reviews-list)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, JSON, shell commands, configuration, guidance]\n\n**Output Format:** [Markdown responses with JSON result files and inline shell commands]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Writes full API responses to workspace-local linkfox session data files; stdout may contain full JSON or a compact summary depending on response size.]\n\n## Skill Version(s):\n\n1.0.10 (source: server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment."}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"按ASIN获取并分析亚马逊商品评论，支持15个站点(含美国站)，按星级筛选评论。当用户提到亚马逊评论、美国站评论、商品评价、买家投诉、差评、好评、星级评分、评论分析、评论情感、产品改良建议、Vine评论、已验证购买评论、竞品评论研究、Amazon reviews, US reviews, Amazon.com reviews, product feedback, negative review analysis, positive review analysis, star rating filter, review sentiment analysis, product improvement insights, Vine reviews, competitor reviews, customer feedback时触发此技能。即使用户未明确说\"评论\"，只要其需求涉及读取、筛选或分析亚马逊商品的买家评论，也应触发此技能。 Skill: 亚马逊-商品评论 Owner: linkfox-ai Summary: 按ASIN获取并分析亚马逊商品评论，支持15个站点(含美国站)，按星级筛选评论。当用户提到亚马逊评论、美国站评论、商品评价、买家投诉、差评、好评、星级评分、评论分析、评论情感、产品改良建议、Vine评论、已验证购买评论、竞品评论研究、Amazon reviews, US reviews, Amazon.com reviews, product feedback, negative review analysis, positive review analysis, star rating filter, review sentiment analysis, product improvement insights, Vine reviews, competitor reviews, customer feedback时触发此技能。即使用户未明确","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":1201,"uniquenessScore":50,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-11T11:52:17.540Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-11T11:52:17.540Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-11T15:17:14.929Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}