← Back to Skills Marketplace
linkfox-ai

Amazon Store Uploads

by linkfox-ai · GitHub ↗ · v0.0.1 · MIT-0
cross-platform ✓ Security Clean
39
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install linkfox-amazon-store-uploads
Description
亚马逊店铺文件上传(与 linkfox-amazon-store-auth 等同系列),经 /spApi/developerProxy 调用 Uploads API v2020-11-01 的 createUploadDestinationForResource,再向返回 URL 上传文件,供 A+ Conten...
README (SKILL.md)

Amazon 店铺 Uploads(文件上传)

本 skill 专用于 向 Amazon 申请上传目的地并上传文件,与 linkfox-amazon-store-auth 同系列:先 storeTokens,再 developerProxy 调用 createUploadDestinationForResource,最后用 upload_to_destination.py 对返回的 URL 执行 PUT(不经网关)。

这是 Uploads API,不是 Orders 订单接口。订单见 linkfox-amazon-store-orders;批量 Feed 文件见 linkfox-amazon-store-feeds

官方参考

createUploadDestinationForResource · Create an upload destination


Prerequisites

  1. 依赖 linkfox-amazon-store-auth
  2. resource 须与下游 API 文档一致(例如 A+:aplus/2020-11-01/contentDocuments;Messaging 为对应 messages 资源路径)。
  3. contentMD5 为待上传文件内容的 Base64 MD5 摘要;传 filePath / content 时脚本可自动计算。

工作流

create_upload_destination_for_resource  →  uploadDestination { uploadDestinationId, url, headers }
upload_to_destination (PUT url + headers)  →  在 A+/Messaging 等 API 中引用 uploadDestinationId

Scripts

脚本 说明
create_upload_destination_for_resource.py POST uploads/2020-11-01/uploadDestinations/{resource}
upload_to_destination.py PUT 到返回的 url(带 headers
_spapi_uploads_common.py 内部公共模块

示例

export LINKFOXAGENT_API_KEY="\x3Cyour-key>"

# 1) 创建上传目的地(自动根据 filePath 计算 contentMD5)
python scripts/create_upload_destination_for_resource.py '{
  "sellerId":"A1...",
  "region":"NA",
  "resource":"aplus/2020-11-01/contentDocuments",
  "marketplaceId":"ATVPDKIKX0DER",
  "filePath":"/path/to/banner.jpg",
  "contentType":"image/jpeg"
}'

# 2) 上传文件(将上一步 stdout 中的 uploadDestination 传入)
python scripts/upload_to_destination.py '{
  "uploadDestination": { "url": "...", "headers": { } },
  "filePath": "/path/to/banner.jpg"
}'

Display Rules

  1. 成功创建目的地常为 HTTP 201;先看 developerProxy,再看 uploadDestination
  2. resource 不要带前导 /;path 中会对 / 做编码。
  3. 网关需放行 uploads/2020-11-01/ 前缀。

Feedback: skillNamelinkfox-amazon-store-uploads


更多跨境 skill:LinkFox Skills

Usage Guidance
This should be treated as an incomplete review rather than an approval signal. Rerun the scan in an environment where metadata.json and artifact/ can be read, then assess only concrete evidence from those files.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
Artifact inspection was blocked by the local command sandbox before metadata.json or artifact files could be read, so purpose-to-capability coherence could not be confirmed.
Instruction Scope
No SKILL.md instructions were available to review because workspace file inspection failed.
Install Mechanism
No install specifications or package files were available to review because workspace file inspection failed.
Credentials
Runtime environment requests could not be assessed without readable artifacts.
Persistence & Privilege
Persistence, credentials, and privilege behavior could not be assessed without readable artifacts.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install linkfox-amazon-store-uploads
  3. After installation, invoke the skill by name or use /linkfox-amazon-store-uploads
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.0.1
Initial release
Metadata
Slug linkfox-amazon-store-uploads
Version 0.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Amazon Store Uploads?

亚马逊店铺文件上传(与 linkfox-amazon-store-auth 等同系列),经 /spApi/developerProxy 调用 Uploads API v2020-11-01 的 createUploadDestinationForResource,再向返回 URL 上传文件,供 A+ Conten... It is an AI Agent Skill for Claude Code / OpenClaw, with 39 downloads so far.

How do I install Amazon Store Uploads?

Run "/install linkfox-amazon-store-uploads" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Amazon Store Uploads free?

Yes, Amazon Store Uploads is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Amazon Store Uploads support?

Amazon Store Uploads is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Amazon Store Uploads?

It is built and maintained by linkfox-ai (@linkfox-ai); the current version is v0.0.1.

💬 Comments