亚马逊-店铺目录
亚马逊商品目录(Catalog Items)查询。用于按 ASIN 获取目录详情,按关键词、标识符或分类条件搜索商品,以及查询商品类目节点、标题摘要、图片和其他 includedData。用户提到亚马逊商品目录、Catalog Items、ASIN 查商品、关键词搜亚马逊商品、类目节点、商品图片或摘要、searchCatalogItems、getCatalogItem、listCatalogCategories 时触发。即使未明确说“Catalog”,只要希望查询亚马逊全站目录中的商品基础资料而不是卖家自己的 Listing,也应触发此技能;卖家 SKU 的刊登增删改查使用 linkfox-amazon-store-listings。 Skill: 亚马逊-店铺目录 Owner: linkfox-ai Summary: 亚马逊商品目录(Catalog Items)查询。用于按 ASIN 获取目录详情,按关键词、标识符或分类条件搜索商品,以及查询商品类目节点、标题摘要、图片和其他 includedData。用户提到亚马逊商品目录、Catalog Items、ASIN 查商品、关键词搜亚马逊商品、类目节点、商品图片或摘要、searchCatalogItems、getCatalogItem、listCatalogCategories 时触发。即使未明确说“Catalog”,只要希望查询亚马逊全站目录中的商品基础资料而不是卖家自己的 Listing,也应触发此技能;卖家 SKU 的刊登增删改查使用 linkfox-amazon-store-listings。 Tags: latest:1.0.8 Version history: v1.0.8 | 2026-09-14
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-catalog- 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: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-amazon-store-catalog/snapshot"
Documentation
CLAWHUB
91,537 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
---
name: linkfox-amazon-store-catalog
description: 亚马逊商品目录(Catalog Items)查询。用于按 ASIN 获取目录详情,按关键词、标识符或分类条件搜索商品,以及查询商品类目节点、标题摘要、图片和其他 includedData。用户提到亚马逊商品目录、Catalog Items、ASIN 查商品、关键词搜亚马逊商品、类目节点、商品图片或摘要、searchCatalogItems、getCatalogItem、listCatalogCategories 时触发。即使未明确说“Catalog”,只要希望查询亚马逊全站目录中的商品基础资料而不是卖家自己的 Listing,也应触发此技能;卖家 SKU 的刊登增删改查使用 linkfox-amazon-store-listings。
---
# Amazon 店铺 Catalog Items
本 skill 与 **`linkfox-amazon-store-auth`** 等同属 **Amazon Store** 系列:依赖 **`linkfox-amazon-store-auth`** 选店(`sellerId`+`region`);直接 **`POST /spApi/developerProxy`** 传入 `sellerId`+`region`,由服务端解析 token(勿传 `amzAccessToken`,除非兼容旧调用)。转发 **GET**。
## 调用方式
- **API 端点**:`POST /spApi/developerProxy`(不同操作通过请求体区分;完整参数/响应/错误码见 `references/api.md`)
- **Python 脚本**:`python scripts/<脚本名>.py '<JSON 参数>' [--inline]`(可用脚本见上文脚本一览)
- **成本约束**:本工具会消耗算力;失败/空结果不得自动换关键词、翻页或连续试探;需要继续检索时先向用户说明会产生额外消耗。
**输出策略(脚本默认行为)**:
- **始终**将完整响应写入 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-amazon-store-catalog-<timestamp>.json`(`<cwd>` 为脚本执行时的工作目录,在 Claude Code 里即当前项目目录;`<session>` 取自环境变量 `SESSION_ID`,按用户任务自动聚合;**禁止写入 /tmp**,当前目录不可写则报错)
- 响应体 ≤ 8 KB:落盘后把完整 JSON 打印到 stdout
- 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数如 `total`/`costToken`、最大列表字段的长度 + 前 3 条样本)
- 加 `--inline` 强制全量打印到 stdout(同样落盘)
**读数据建议**:先看摘要判断是否足够;需要具体字段时优先用 `jq`或`ConvertFrom-Json` 从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。
## 解决认证和算力问题
发生以下异常情况时,采用 references/onboarding.md 引导解决问题:
### 异常情况
- **未配置API Key**:环境变量未配置 `LINKFOX_AGENT_API_KEY`,也未配置 `LINKFOXAGENT_API_KEY`。
- **响应401或402状态码**
- **响应提示算力或余额不足**:消息含"算力余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值",或类似含义的内容。
## 官方参考索引
| 能力 | 文档 |
|------|------|
| listCatalogCategories | [listCatalogCategories](https://developer-docs.amazon.com/sp-api/reference/listcatalogcategories) |
| searchCatalogItems | [searchCatalogItems](https://developer-docs.amazon.com/sp-api/reference/searchcatalogitems) |
| getCatalogItem | [getCatalogItem](https://developer-docs.amazon.com/sp-api/reference/getcatalogitem) |
---
## Prerequisites
1. 依赖 **`linkfox-amazon-store-auth`**;`python scripts/check_auth_dependency.py`,exit **42** 时需先安装授权 skill。
2. 应用需具备 **Catalog Items** 相关角色;`searchCatalogItems` 按 **identifiers+SKU** 检索时 query 须带 **`sellerId`**(脚本在 `identifiersType=SKU` 时自动使用入参 `sellerId`)。
---
## Current Capabilities
| 能力 | path | 脚本 |
|------|------|------|
| listCatalogCategories | `catalog/v0/categories` | `list_catalog_categories.py` |
| searchCatalogItems | `catalog/{2022-04-01\|2020-12-01}/items` | `search_catalog_items.py` |
| getCatalogItem | `catalog/{version}/items/{asin}` | `get_catalog_item.py` |
默认 Catalog Items 版本:**`2022-04-01`**;入参 **`catalogItemsVersion`** 可改为 **`2020-12-01`**。
共享模块:**`_spapi_catalog_common.py`**。
---
## Quick Parameters
- **listCatalogCategories**:`marketplaceId` + **`asin`** 或 **`sellerSku`**(二选一)。
- **searchCatalogItems**:`marketplaceIds` + **`keywords`** 或 **`identifiers` + `identifiersType`**(互斥);可选 `includedData`、`brandNames`、`c_meta.json
{
"ownerId": "kn7dmc1t4j28hem1twwyav85p182pb1j",
"slug": "linkfox-amazon-store-catalog",
"version": "1.0.8",
"publishedAt": 1789361755682
}references/api.md
# linkfox-amazon-store-catalog — API 参考
经 **LinkFox** `storeTokens` + `developerProxy` 调用 SP-API **Catalog Items**(与 listings / pricing 系列相同)。
环境变量:`LINKFOX_AGENT_API_KEY`(或 `LINKFOXAGENT_API_KEY`)(如未配置 按 SKILL.md 的 **## 解决认证和算力问题** 处理);可选 `LINKFOX_TOOL_GATEWAY`(回退 `STORE_API_BASE_URL` / `SPAPI_BASE_URL`,默认 `https://tool-gateway.linkfox.com`)。
---
## 1. 脚本与 path
| 脚本 | method | path |
|------|--------|------|
| `list_catalog_categories.py` | GET | `catalog/v0/categories` |
| `search_catalog_items.py` | GET | `catalog/2022-04-01/items`(默认) |
| `get_catalog_item.py` | GET | `catalog/2022-04-01/items/{asin}`(默认) |
`catalogItemsVersion` 可选 **`2020-12-01`**,path 中版本段随之替换。
---
## 2. listCatalogCategories(v0)
### 入参(JSON)
| 字段 | 必填 | 说明 |
|------|------|------|
| sellerId, region | 是 | 店铺与区域 |
| marketplaceId / marketplaceIds | 是 | 仅使用**第一个**站点 ID → query **`MarketplaceId`** |
| asin / ASIN | 条件 | 与 sellerSku **二选一** |
| sellerSku / SellerSKU | 条件 | 与 asin **二选一** |
### Query(大小写敏感)
- `MarketplaceId`
- `ASIN` 或 `SellerSKU`
解析字段:**`categories`**
---
## 3. searchCatalogItems
### 入参
| 字段 | 必填 | 说明 |
|------|------|------|
| marketplaceIds | 是 | 文档通常 ≤1 个 |
| keywords | 条件 | 与 identifiers **互斥**,最多 20 个 |
| identifiers | 条件 | 最多 20 个;须配 **identifiersType** |
| identifiersType | 条件 | ASIN, EAN, GTIN, ISBN, JAN, MINSAN, SKU, UPC |
| includedData | 否 | summaries, images, attributes, salesRanks 等 |
| brandNames, classificationIds | 否 | 限缩关键词搜索 |
| locale, keywordsLocale | 否 | |
| pageSize | 否 | 1~20,默认 10 |
| pageToken | 否 | 分页 |
| catalogItemsVersion | 否 | `2022-04-01`(默认)或 `2020-12-01` |
| sellerIdForCatalog | 否 | 覆盖 query 中的 sellerId(默认用 sellerId) |
当 **identifiersType=SKU** 时,Amazon 要求 query 带 **sellerId**;脚本默认使用 JSON 里的 **sellerId**。
解析字段:**`catalogItems`**
---
## 4. getCatalogItem
| 字段 | 必填 | 说明 |
|------|------|------|
| asin | 是 | path 段 |
| marketplaceIds | 是 | |
| includedData | 否 | |
| locale | 否 | |
| catalogItemsVersion | 否 | |
解析字段:**`catalogItem`**
---
## 5. includedData 示例(2022-04-01)
`summaries`, `attributes`, `classifications`, `dimensions`, `identifiers`, `images`, `productTypes`, `relationships`, `salesRanks`, `vendorDetails`(以官方为准)。
---
## 6. 错误与白名单
- **401**:HTTP 401 或 authorized error:按 SKILL.md 的 **## 解决认证和算力问题** 处理。
- **402**:HTTP 402:按 SKILL.md 的 **## 解决认证和算力问题** 处理。
- **403**:Catalog Items 权限不足。
- **1005**(网关):需放行 `catalog/v0/`、`catalog/2020-12-01/`、`catalog/2022-04-01/`。
- **429**:按官方 usage plan 降频。
---
## 7. Feedback
上报时注明 **`skillName`: `linkfox-amazon-store-catalog`**。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: Helps agents query Amazon SP-API Catalog Items through LinkFox by ASIN, keyword, identifier, or category to retrieve product details, summaries, images, and included catalog data. 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 sellers, operators, and developers use this skill to look up Amazon catalog items for a selected seller account, region, and marketplace. It supports catalog research and store workflows that need item details, category nodes, summaries, images, or selected includedData fields. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: Account login, API-key creation, and billing recovery flows may expose SMS codes or API keys in shared environments. Mitigation: Use a private terminal, avoid entering SMS codes in shared sessions, and do not persist API keys in shell profiles on shared machines. Risk: Billing and order flows can present payment QR codes or payment URLs. Mitigation: Verify the plan, amount, order identifier, and payment method before scanning a QR code or opening a payment URL. Risk: Full catalog responses are stored locally under the workspace linkfox session directory. Mitigation: Review the saved-file location before use and retain or delete response files according to the user's data-handling policy. Risk: Repeated invalid or high-frequency SP-API calls can trigger temporary store-protection cooldowns. Mitigation: Stop automatic retries on 400, 403, 404, or 429 style failures, follow retryAfter or blockedUntil when present, and correct parameters or authorization before retrying. ## Reference(s): - [ClawHub Skill Page](https://clawhub.ai/linkfox-ai/skills/linkfox-amazon-store-catalog) - [API Reference](references/api.md) - [Authentication and Billing Onboarding](references/onboarding.md) - [Amazon SP-API listCatalogCategories](https://developer-docs.amazon.com/sp-api/reference/listcatalogcategories) - [Amazon SP-API searchCatalogItems](https://developer-docs.amazon.com/sp-api/reference/searchcatalogitems) - [Amazon SP-API getCatalogItem](https://developer-docs.amazon.com/sp-api/reference/getcatalogitem) ## Skill Output: **Output Type(s):** [text, markdown, shell commands, configuration, guidance] **Output Format:** [JSON responses saved to local files, with stdout summaries for large responses and full inline JSON when requested.] **Output Parameters:** [1D] **Other Properties Related to Output:** [Full responses are written under the current workspace linkfox session directory; the skill can also provide setup commands for LinkFox API-key configuration.] ## Skill Version(s): 1.0.8 (source: server release evidence) ## Ethical Considerations: Users 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
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!
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
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
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-catalog",
"sourceUrl": "https://clawhub.ai/linkfox-ai/skills/linkfox-amazon-store-catalog",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T08:02:07.943Z",
"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-catalog/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-amazon-store-catalog/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-10T08:02:07.943Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.6K downloads",
"href": "https://clawhub.ai/linkfox-ai/linkfox-amazon-store-catalog",
"sourceUrl": "https://clawhub.ai/linkfox-ai/linkfox-amazon-store-catalog",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T08:02:07.943Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.8",
"href": "https://clawhub.ai/linkfox-ai/linkfox-amazon-store-catalog",
"sourceUrl": "https://clawhub.ai/linkfox-ai/linkfox-amazon-store-catalog",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-09-14T04:55:55.682Z",
"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-catalog/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-amazon-store-catalog/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-catalog",
"sourceUrl": "https://clawhub.ai/linkfox-ai/linkfox-amazon-store-catalog",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-09-14T04:55:55.682Z",
"isPublic": true
}
]
}Record generated Oct 10, 2026.
