agentCLAWHUBUnverified

亚马逊-店铺定价

亚马逊商品报价与竞争定价查询。用于按 ASIN 或卖家 SKU 获取商品价格、竞争价格、Listing Offers、Item Offers、批量报价、Featured Offer Expected Price(FOEP)和竞争摘要。用户提到亚马逊定价、商品报价、竞品价格、最低报价、购物车价格、Buy Box、Featured Offer、listing offers、item offers、batch pricing、FOEP、competitive summary、Product Pricing API 时触发。即使未明确提及 SP-API,只要希望比较亚马逊商品报价、判断竞争力或估算赢得 Featured Offer 的价格,也应触发此技能;修改 Listing 售价使用 linkfox-amazon-store-listings 或批量 Feed。 Skill: 亚马逊-店铺定价 Owner: linkfox-ai Summary: 亚马逊商品报价与竞争定价查询。用于按 ASIN 或卖家 SKU 获取商品价格、竞争价格、Listing Offers、Item Offers、批量报价、Featured Offer Expected Price(FOEP)和竞争摘要。用户提到亚马逊定价、商品报价、竞品价格、最低报价、购物车价格、Buy Box、Featured Offer、listing offers、item offers、batch pricing、FOEP、competitive summary、Product Pricing API 时触发。即使未明确提及 SP-API,只要希望比较亚马逊商品报价、判断竞争力或估算赢得 Featured Offer 的价格,也应触发此技能;修改 Listing 售价使用 linkfox-amazon-store-listings 或批量

OpenClaw

Rank

62

Safety

84

Downloads

1.6k

Updated

Oct 10, 2026

Version

1.0.8

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.6K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 10, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 10, 2026
Adoption signal
1.6K downloadsadoption · observed Oct 10, 2026
Latest release
1.0.8release · observed Sep 14, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s171g8b6m2khwdy9ye8bxj0wx183vd4z:linkfox-amazon-store-pricing
  1. 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.
  2. 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: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-amazon-store-pricing/snapshot"

Documentation

CLAWHUB

147,220 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: linkfox-amazon-store-pricing
description: 亚马逊商品报价与竞争定价查询。用于按 ASIN 或卖家 SKU 获取商品价格、竞争价格、Listing Offers、Item Offers、批量报价、Featured Offer Expected Price(FOEP)和竞争摘要。用户提到亚马逊定价、商品报价、竞品价格、最低报价、购物车价格、Buy Box、Featured Offer、listing offers、item offers、batch pricing、FOEP、competitive summary、Product Pricing API 时触发。即使未明确提及 SP-API,只要希望比较亚马逊商品报价、判断竞争力或估算赢得 Featured Offer 的价格,也应触发此技能;修改 Listing 售价使用 linkfox-amazon-store-listings 或批量 Feed。
---

# Amazon 店铺 Product Pricing

本 skill 与 **`linkfox-amazon-store-auth`**、**`linkfox-amazon-store-report`**、**`linkfox-amazon-store-listings`** 同属 **Amazon Store** 系列:依赖 **`linkfox-amazon-store-auth`** 选店(`sellerId`+`region`);直接 **`POST /spApi/developerProxy`** 传入 `sellerId`+`region`,由服务端解析 token(勿传 `amzAccessToken`,除非兼容旧调用)。转发上游 **GET** 或 **POST**。

## 调用方式

- **API 端点**:`POST /spApi/developerProxy`(不同操作通过请求体区分;完整参数/响应/错误码见 `references/api.md`)
- **Python 脚本**:`python scripts/<脚本名>.py '<JSON 参数>' [--inline]`(可用脚本见上文脚本一览)
- **成本约束**:本工具会消耗算力;失败/空结果不得自动换关键词、翻页或连续试探;需要继续检索时先向用户说明会产生额外消耗。

**输出策略(脚本默认行为)**:
- **始终**将完整响应写入 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/<skill-name>-<timestamp>.json`(`<cwd>` 为脚本执行时的工作目录,在 Claude Code 里即当前项目目录;`<session>` 取自环境变量 `SESSION_ID`,按用户任务自动聚合;**禁止写入 /tmp**,当前目录不可写则报错)
- 响应体 ≤ 8 KB:落盘后把完整 JSON 打印到 stdout
- 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数如 `total`/`costToken`、最大列表字段的长度 + 前 3 条样本)
- 加 `--inline` 强制全量打印到 stdout(同样落盘)

**读数据建议**:先看摘要判断是否足够;需要具体字段时优先用 `jq`或`ConvertFrom-Json`或`ConvertFrom-Json` 从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。

## 解决认证和算力问题
发生以下异常情况时,采用 references/onboarding.md 引导解决问题:

### 异常情况
- **未配置API Key**:环境变量未配置 `LINKFOX_AGENT_API_KEY`,也未配置 `LINKFOXAGENT_API_KEY`。
- **响应401或402状态码**
- **响应提示算力或余额不足**:消息含"算力余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值",或类似含义的内容。

## 官方参考索引

| 能力 | 文档 |
|------|------|
| getPricing | [getPricing](https://developer-docs.amazon.com/sp-api/reference/getpricing) |
| getCompetitivePricing | [getCompetitivePricing](https://developer-docs.amazon.com/sp-api/reference/getcompetitivepricing) |
| getListingOffers | [getListingOffers](https://developer-docs.amazon.com/sp-api/reference/getlistingoffers) |
| getItemOffers | [getItemOffers](https://developer-docs.amazon.com/sp-api/reference/getitemoffers) |
| getItemOffersBatch | [getItemOffersBatch](https://developer-docs.amazon.com/sp-api/reference/getitemoffersbatch) |
| getListingOffersBatch | [getListingOffersBatch](https://developer-docs.amazon.com/sp-api/reference/getlistingoffersbatch) |
| getFeaturedOfferExpectedPriceBatch | [getFeaturedOfferExpectedPriceBatch](https://developer-docs.amazon.com/sp-api/reference/getfeaturedofferexpectedpricebatch) |
| getCompetitiveSummary | [getCompetitiveSummary](https://developer-docs.amazon.com/sp-api/reference/getcompetitivesummary) |

---

## Prerequisites(必须先读)

本 skill **依赖** **`linkfox-amazon-store-auth`**。

1. 运行 `python scripts/check_auth_dependency.py`;若 exit code **42** 且 stderr 含 `DEPENDENCY_MISSING:`,请先安装 **`linkfox-amazon-store-auth`

_meta.json

{
  "ownerId": "kn7dmc1t4j28hem1twwyav85p182pb1j",
  "slug": "linkfox-amazon-store-pricing",
  "version": "1.0.8",
  "publishedAt": 1789361896533
}

references/api.md

# Amazon 店铺 Product Pricing API 参考(v0 + 2022-05-01 批量)

本文档描述通过 **LinkFox 店铺网关** 调用 Selling Partner API **Product Pricing**(**v0** 与 **2022-05-01** 批量):与 `linkfox-amazon-store-report`、`linkfox-amazon-store-listings` **一致**——先 **`POST /spApi/storeTokens`** 取 `accessToken`,再经 **`POST /spApi/developerProxy`** 转发上游 **GET** 或 **POST**。

> 官方入口:[getPricing](https://developer-docs.amazon.com/sp-api/reference/getpricing) · [getCompetitivePricing](https://developer-docs.amazon.com/sp-api/reference/getcompetitivepricing) · [getListingOffers](https://developer-docs.amazon.com/sp-api/reference/getlistingoffers) · [getItemOffers](https://developer-docs.amazon.com/sp-api/reference/getitemoffers) · [getItemOffersBatch](https://developer-docs.amazon.com/sp-api/reference/getitemoffersbatch) · [getListingOffersBatch](https://developer-docs.amazon.com/sp-api/reference/getlistingoffersbatch) · [getFeaturedOfferExpectedPriceBatch](https://developer-docs.amazon.com/sp-api/reference/getfeaturedofferexpectedpricebatch) · [getCompetitiveSummary](https://developer-docs.amazon.com/sp-api/reference/getcompetitivesummary)

> ⚠️ **依赖**:需已安装并完成授权 **`linkfox-amazon-store-auth`**。应用需具备 **Product Pricing** 等相关角色/权限,否则上游可能返回 403。

---

## 调用规范(与 store-report 相同)

| 项 | 说明 |
|----|------|
| **Base URL** | `${LINKFOX_TOOL_GATEWAY}`(默认 `https://tool-gateway.linkfox.com`;可用 `STORE_API_BASE_URL` 或 `SPAPI_BASE_URL` 覆盖) |
| **网关认证** | Header `Authorization: <api_key>`,环境变量 `LINKFOX_AGENT_API_KEY` 或 `LINKFOXAGENT_API_KEY`(如未配置 按 SKILL.md 的 **## 解决认证和算力问题** 处理) |
| **店铺令牌** | `POST /spApi/storeTokens`,Body:`{"sellerId":"...","region":"NA|EU|FE"}` → `accessToken` |
| **SP-API 转发** | `POST /spApi/developerProxy`,Body 见下节 |

---

## `POST /spApi/developerProxy`(定价类 GET / POST)

| 参数 | 类型 | 必填 | 说明 |
|------|------|------|------|
| region | string | 是 | `NA` / `EU` / `FE` |
| path | string | 是 | 不含主机名。示例:**`products/pricing/v0/price`**、**`products/pricing/v0/items/{Asin}/offers`**、**`batches/products/pricing/v0/itemOffers`**、**`batches/products/pricing/2022-05-01/items/competitiveSummary`** 等(见各节) |
| method | string | 是 | **`GET`** 或 **`POST`**(与上游一致) |
| amzAccessToken | string | 是 | `/spApi/storeTokens` 返回的 `accessToken` |
| queryString | string | 视操作 | **无 `?` 前缀**。GET 定价类多 **必填**;POST 批量通常 **无** query,以 Amazon 为准 |
| body | string | 视操作 | **POST** 时多为 **JSON 字符串**(与 `put_listings_item` 相同,见 listings `references/api.md`) |
| contentType | string | 视操作 | POST 带 `body` 时一般为 **`application/json`** |

**网关响应**:`errcode`、`errmsg`、`httpStatus`、`contentType`、`body`(字符串)。先 **`errcode`**,再 **`httpStatus`**,再解析 **`body`**。

### 白名单与错误码

- `path` 须在网关 **`sp-api.developer-proxy.allowed-path-prefixes`** 内。若 **`errcode=1005`**,需联系后端放行 **`products/pricing/`** 与 **`batches/products/pricing/`** 等前缀(以运维配置为准)。
- 其它错误与 `linkfox-amazon-store-report` 的 Developer Proxy 说明一致。
- HTTP 401 或 authorized error:按 SKILL.md 的 **## 解决认证和算力问题** 处理。
- HTTP 402:按 SKILL.md 的 **## 解决认证和算力问题** 处理。

---

## getPricing — Query 参数

references/onboarding.md

# 解决认证和算力问题

调用本 skill 时若网关返回 **auth** 或 **billing** 错误,走本 skill 自带的 `scripts/onboarding.py` 完成引导。

**auth 场景**:`errcode=401` 或消息含 `authorized error`/`鉴权失败`/`未授权`/`unauthorized`;或 `LINKFOX_AGENT_API_KEY` 与 `LINKFOXAGENT_API_KEY` 均为空。
1. 若已配置 key → 先让用户重启会话(最常见误判),仍失败让用户重新取 key 或换手机号重注册
2. 未配置 → 询问:自助去 https://agent.linkfox.com/ 取 key,或提供手机号让脚本注册
3. 手机号路径:
   - `python scripts/onboarding.py send-code <phone>` → 展示 JSON 里的 phone/agreements
   - 收到验证码后:`python scripts/onboarding.py login <phone> <code>`
   - 拿到 `api_key` 后把下面三平台配置转发给用户,提示重启会话生效:
     - Windows PowerShell(永久):`setx LINKFOX_AGENT_API_KEY "<key>"`
     - macOS zsh:`echo 'export LINKFOX_AGENT_API_KEY="<key>"' >> ~/.zshrc && source ~/.zshrc`
     - Linux bash:`echo 'export LINKFOX_AGENT_API_KEY="<key>"' >> ~/.bashrc && source ~/.bashrc`
     - 变量名 `LINKFOX_AGENT_API_KEY`(主推)或 `LINKFOXAGENT_API_KEY`(老规范)任一即可

**billing 场景**:`errcode=402` 或消息含 `算力/余额/quota/insufficient/充值/套餐到期`。
- `python scripts/onboarding.py list-plans` → 有 AskUserQuestion 就弹菜单,否则输出编号清单让用户选
- 校验 `plan_id` ∈ 清单、支付方式 ∈ 该套餐 `available_methods`(通常 `wechat/alipay`)
- `python scripts/onboarding.py order <plan_id> <method>` → 展示优先级 PNG > `pay_url` > `ascii_qr`(标注兜底)
- 已付款可选调 `python scripts/onboarding.py query <order_id>`,不主动轮询

排除 `errcode=403`(无权限,不归入这两类)。所有子命令输出 stdout JSON,`error` 字段已含阶段前缀,透传给用户即可。完整用法:`python scripts/onboarding.py --help`。

skill-card.md

## Description:

Queries Amazon seller Product Pricing data through LinkFox, including ASIN/SKU prices, competitive pricing, listing and item offers, Featured Offer Expected Price, and competitive summaries.

This skill is ready for commercial/non-commercial use.

## Publisher:

[linkfox-ai](https://clawhub.ai/user/linkfox-ai)

### License/Terms of Use:

MIT-0

## Use Case:

External developers and Amazon sellers use this skill to query Amazon Product Pricing information for individual or batched ASIN and seller SKU workflows. It helps compare offers, inspect Buy Box and Featured Offer signals, and estimate competitive pricing while using LinkFox account and authorization flows.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can access Amazon seller pricing data and saves pricing responses to local JSON files.

Mitigation: Install only in workspaces where saved pricing output is acceptable, review the output directory, and treat generated files as sensitive business data.

Risk: Authentication and onboarding flows may involve LinkFox API keys, SMS codes, account login, billing orders, or payment QR files.

Mitigation: Avoid passing secrets in logged command lines, verify account and billing actions before execution, and keep generated payment artifacts private.

Risk: Endpoint override environment variables can redirect requests away from the expected LinkFox service.

Mitigation: Use default endpoints unless the override target is fully trusted and intentionally configured.

Risk: Repeated invalid or high-rate Amazon SP-API calls can trigger temporary store-level protection or throttling.

Mitigation: Follow the documented cooldown and retry guidance, correct bad parameters or authorization issues before retrying, and avoid automatic repeated calls.

## Reference(s):

- [Amazon Store Product Pricing API Reference](artifact/references/api.md)
- [Authentication and Billing Onboarding](artifact/references/onboarding.md)
- [ClawHub Skill Page](https://clawhub.ai/linkfox-ai/skills/linkfox-amazon-store-pricing)
- [Amazon getPricing](https://developer-docs.amazon.com/sp-api/reference/getpricing)
- [Amazon getCompetitivePricing](https://developer-docs.amazon.com/sp-api/reference/getcompetitivepricing)
- [Amazon getListingOffers](https://developer-docs.amazon.com/sp-api/reference/getlistingoffers)
- [Amazon getItemOffers](https://developer-docs.amazon.com/sp-api/reference/getitemoffers)
- [Amazon getItemOffersBatch](https://developer-docs.amazon.com/sp-api/reference/getitemoffersbatch)
- [Amazon getListingOffersBatch](https://developer-docs.amazon.com/sp-api/reference/getlistingoffersbatch)
- [Amazon getFeaturedOfferExpectedPriceBatch](https://developer-docs.amazon.com/sp-api/reference/getfeaturedofferexpectedpricebatch)
- [Amazon getCompetitiveSummary](https://developer-docs.amazon.com/sp-api/reference/getcompetitivesummary)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuratio
Github ReposUpdated 15h agoRank 70

AionUi

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!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

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

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/linkfox-ai/skills/linkfox-amazon-store-pricing",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/skills/linkfox-amazon-store-pricing",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-10T07:55:39.102Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-amazon-store-pricing/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-amazon-store-pricing/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-10T07:55:39.102Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "1.6K downloads",
      "href": "https://clawhub.ai/linkfox-ai/linkfox-amazon-store-pricing",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/linkfox-amazon-store-pricing",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-10T07:55:39.102Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.8",
      "href": "https://clawhub.ai/linkfox-ai/linkfox-amazon-store-pricing",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/linkfox-amazon-store-pricing",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-09-14T04:58:16.533Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-amazon-store-pricing/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-amazon-store-pricing/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.0.8",
      "description": "Update from 1.0.7 to 1.0.8",
      "href": "https://clawhub.ai/linkfox-ai/linkfox-amazon-store-pricing",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/linkfox-amazon-store-pricing",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-09-14T04:58:16.533Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 10, 2026.

Sponsored

Ads related to 亚马逊-店铺定价 and adjacent AI workflows.