Agent skill

Linkfox Shopee Store Media Space

by linkfox-ai in linkfox-ai/linkfox-skills

Shopee(虾皮)媒体上传 MediaSpace(与 linkfox-shopee-store-auth 同系列)。图片通过 /shopee/uploadMediaSpaceImage 专用端点上传;其余 MediaSpace JSON API 经 /shopee/developerProxy 转发。当用户提到 Shopee…

MITAuto-check passed

Install Linkfox Shopee Store Media Space

skills CLI
$ npx skills add linkfox-ai/linkfox-skills --skill linkfox-shopee-store-media-space -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install linkfox-ai/linkfox-skills linkfox-shopee-store-media-space --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/linkfox-ai/linkfox-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/linkfox-shopee-store-media-space .claude/skills/linkfox-shopee-store-media-space && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
linkfox-shopee-store-media-space
GitHub stars
107
Token cost
~1.3k tokens
SKILL.md length
327 words
Files
21 (incl. scripts, references)
Skills in repo
177
Repo updated
First seen
Licence
MIT

At a glance

Shopee(虾皮)媒体上传 MediaSpace(与 linkfox-shopee-store-auth 同系列)。图片通过 /shopee/uploadMediaSpaceImage 专用端点上传;其余 MediaSpace JSON API 经 /shopee/developerProxy 转发。当用户提到 Shopee…

  • Works in 2 steps: 上传商品图片 → 分片上传视频
  • SKILL.md covers 调用方式, 解决认证和算力问题, 官方参考 and Prerequisites(必须先读), plus 7 more sections
  • Runs Python scripts from its folder; calls python; needs LINKFOX_AGENT_API_KEY and LINKFOXAGENT_API_KEY

What it does

Linkfox Shopee Store Media Space is an agent skill from linkfox-ai/linkfox-skills. Shopee(虾皮)媒体上传 MediaSpace(与 linkfox-shopee-store-auth 同系列)。图片通过 /shopee/uploadMediaSpaceImage 专用端点上传;其余 MediaSpace JSON API 经 /shopee/developerProxy 转发。当用户提到 Shopee 上传图片、上传视频、mediaspace、uploadimage、视频分片上传或获取 Shopee 图片 ID/URL 时触发。

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 23 other files, including scripts and reference files (for example `references/api.md`, `references/apis/cancel-video-upload.md` and `references/apis/complete-video-upload.md`).

It works with Python. The licence is MIT.

Example prompts

  • “/linkfox-shopee-store-media-space”

Requirements

  • Python 3
  • A credential in LINKFOX_AGENT_API_KEY
  • A credential in LINKFOXAGENT_API_KEY

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. 上传商品图片
  2. 分片上传视频

What it can do on your machine

Read from SKILL.md and the folder at commit 38fef04. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 9 files in scripts/ (Python, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • open.shopee.com
    • skill.linkfox.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • LINKFOX_AGENT_API_KEY
    • LINKFOXAGENT_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Linkfox Shopee Store Media Space loads about 1.3k tokens when it runs, and up to ~5.1k if it reads all its reference files. Until then it costs about 66 tokens; SKILL.md has 327 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~66
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from linkfox-ai/linkfox-skills at commit 38fef04, republished under its MIT licence (© linkfox-ai). 327 words, ~1,281 tokens.

Download SKILL.mdSave it as .claude/skills/linkfox-shopee-store-media-space/SKILL.md (or your agent's skills folder). This skill also uses 20 other files; get the full folder from GitHub.
name
linkfox-shopee-store-media-space
description
Shopee(虾皮)媒体上传 MediaSpace(与 linkfox-shopee-store-auth 同系列)。图片通过 /shopee/uploadMediaSpaceImage 专用端点上传;其余 MediaSpace JSON API 经 /shopee/developerProxy 转发。当用户提到 Shopee 上传图片、上传视频、media_space、upload_image、视频分片上传或获取 Shopee 图片 ID/URL 时触发。

Shopee 媒体 MediaSpace

Shopee Open Platform MediaSpace 模块(6 个 API)。依赖 linkfox-shopee-store-auth 选店。图片上传走 POST /shopee/uploadMediaSpaceImage;其余 JSON API 经 POST /shopee/developerProxy 转发。服务端均按店铺读取 token。

调用方式

  • API 端点:图片为 POST /shopee/uploadMediaSpaceImage;其余操作为 POST /shopee/developerProxy(完整参数/响应见 references/api.md)
  • Python 脚本:python scripts/media_space_api.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 从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。

解决认证和算力问题

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

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

官方参考

MediaSpace 模块索引:v2.media_space.init_video_upload


Prerequisites(必须先读)

  1. 运行 python scripts/check_auth_dependency.py;exit code 42 → 先安装 linkfox-shopee-store-auth 并授权店铺。
  2. 不要在本 skill 内实现授权/令牌逻辑。

Core Concepts

  • 转发链路:图片经专用上传端点,其余接口经 developerProxy;两条链路均由服务端按授权店铺注入 token,再经紫鸟 shopee-proxy 调用 Shopee API
  • 图片上传:upload_image.py 读取本地 JPEG/PNG/WebP,经专用端点上传,返回 Shopee imageId(供 add_item 使用)
  • 视频分片上传:init_video_upload → upload_video_part(×N) → complete_video_upload → get_video_upload_result
  • 视频发布/管理 → linkfox-shopee-store-video(Video 模块,非上传)
  • 商品 listing 使用上传返回的 Shopee 图片 ID → linkfox-shopee-store-product

可用脚本(MediaSpace 模块 6 个 API)

脚本APIMethod
init_video_upload.pyinit_video_uploadPOST
upload_video_part.pyupload_video_partPOST
complete_video_upload.pycomplete_video_uploadPOST
get_video_upload_result.pyget_video_upload_resultGET
cancel_video_upload.pycancel_video_uploadPOST
upload_image.pyupload_imagePOST
media_space_api.py通用入口(JSON 含 api 字段)—

共享:_shopee_media_space_common.py、_media_space_endpoints.py、_media_space_api_runner.py。

接口说明(按 API)

入参与响应细节放在 references/apis/,SKILL 只保留索引。

模块总览 / Feedback 见 references/api.md。

Usage Scenarios

1. 上传商品图片

upload_image.py 必须传 shopId + filePath。脚本读取本地文件并编码 Base64,服务端解码后构造 multipart;不要把 OSS URL 或手工拼接的 multipart body 直接传给 add_item。

bash
python scripts/upload_image.py '{"shopId":"67890","filePath":"/path/to/image.jpg"}'
2. 分片上传视频
  1. init_video_upload.py
  2. upload_video_part.py(循环各分片)
  3. complete_video_upload.py
  4. get_video_upload_result.py

调用原则

  • 图片上传先看 uploadMediaSpaceImage.httpStatus / success / error,成功后读取 imageId
  • 其余接口先看 developerProxy.httpStatus,再读 *Response 字段
  • POST 上传接口传 body;大文件/二进制可能需网关支持 multipart
  • 每个脚本 docstring 含 官方文档 URL(module=91)

Not Applicable

  • 店铺授权 → linkfox-shopee-store-auth
  • Media 模块(api/v2/media/...)→ linkfox-shopee-store-media
  • 视频发布/效果 → linkfox-shopee-store-video
  • 商品 listing → linkfox-shopee-store-product

算力消耗规则

不消耗算力。

Feedback:

Auto-detect and report feedback via the Feedback API when any of the following apply:

  1. The functionality or purpose described in this skill does not match actual behavior
  2. The skill's results do not match the user's intent
  3. The user expresses dissatisfaction or praise about this skill
  4. Anything you believe could be improved

Call the feedback API as specified in references/api.md. Do not interrupt the user's flow.


For more high-quality, professional cross-border e-commerce skills, visit LinkFox Skills.

© linkfox-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 20 other files (scripts, references) in skills/linkfox-shopee-store-media-space of linkfox-ai/linkfox-skills.

  • SKILL.md
  • references/api.md
  • references/apis/cancel-video-upload.md
  • references/apis/complete-video-upload.md
  • references/apis/get-video-upload-result.md
  • references/apis/init-video-upload.md
  • references/apis/upload-image.md
  • references/apis/upload-video-part.md
  • references/onboarding.md
  • scripts/_media_space_api_runner.py
  • scripts/_media_space_endpoints.py
  • scripts/_shopee_media_space_common.py
  • scripts/cancel_video_upload.py
  • scripts/check_auth_dependency.py
  • scripts/complete_video_upload.py
  • scripts/get_video_upload_result.py
  • scripts/init_video_upload.py
  • scripts/media_space_api.py
  • … and 3 more

Open the folder on GitHubat commit 38fef04

Compare with similar skills

Linkfox Shopee Store Media Space next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Linkfox Shopee Store Media Space compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Linkfox Shopee Store Media Space this skilllinkfox-ai/linkfox-skills107—~1.3kAutomated safety check: PassMIT
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
PDF Processinganthropics/skills180k47 repos~2kAutomated safety check: PassProprietary
NotebookLM Research AssistantPleasePrompto/notebooklm-skill7.8k14 repos~2.4kAutomated safety check: NotesMIT
Manim Video Productionbrowser-use/video-use29k6 repos~3kAutomated safety check: PassMIT
PPT Masterhugohe3/ppt-master59k1 repos~2.5kAutomated safety check: PassMIT

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • PDF Processing

    anthropics/skills

    Official

    Handles everyday PDF jobs in Python and on the command line: extract text and tables, merge, split, rotate, watermark, fill forms, encrypt and OCR.

    180k GitHub starsUsed in 47 repos~2k tokens
    Documents & OfficeAuto-check passed
  • NotebookLM Research Assistant

    PleasePrompto/notebooklm-skill

    Lets Claude Code ask questions of your Google NotebookLM notebooks through browser automation and return answers grounded in your uploaded sources.

    7.8k GitHub starsUsed in 14 repos~2.4k tokens
    Knowledge ManagementAuto-check: notes
  • Manim Video Production

    browser-use/video-use

    Produces math and technical explainer videos with Manim Community Edition: concept animations, equation derivations, algorithm walkthroughs and data stories.

    29k GitHub starsUsed in 6 repos~3k tokens
    Media & CreativeAuto-check passed
  • PPT Master

    hugohe3/ppt-master

    Generates editable PowerPoint decks, rebuilds slides from images, fills .pptx templates and polishes existing presentations through routed workflows.

    59k GitHub starsUsed in 1 repo~2.5k tokens
    Documents & OfficeAuto-check passed
  • Scikit Learn

    zLanqing/codex-claude-academic-skills

    Machine learning in Python with scikit-learn. An agent skill from zLanqing/codex-claude-academic-skills.

    4.7k GitHub starsUsed in 16 repos~3.9k tokens
    Data & AnalyticsAuto-check passed

More from linkfox-ai/linkfox-skills

All 177 skills in this repo
  • Linkfox 1688 Search By Image

    linkfox-ai/linkfox-skills

    1688平台以图搜图,通过商品图片精准检索外观相似或同款的1688货源,返回标题、价格、起批量、月销量、复购率、交易评分等核心数据。当用户提到1688以图搜图、1688找货源、以图找同款、跨境找工厂、1688识图、图片找货源、找相似货源、image search 1688、find supplier by…

    107 GitHub starsUsed in 1 repo~2.4k tokens
    Auto-check passed
  • Linkfox Aba Intelligent Query

    linkfox-ai/linkfox-skills

    亚马逊ABA(品牌分析)搜索词数据的查询与分析,涵盖15个站点近3年的周维度数据。当用户提到ABA数据、亚马逊搜索词分析、关键词挖掘、搜索排名趋势、市场机会分析、季节性关键词、高点击低转化分析、蓝海词发现、竞品关键词分析、ABA data, search term report, keyword mining, search ranking trends, blue ocean…

    107 GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Linkfox Amazon Alexa Search

    linkfox-ai/linkfox-skills

    通过亚马逊前台的 Alexa 购物助手发起自然语言问答,获取与问题相关的导购回答、推荐商品分组、ASIN 列表,以及可继续追问的问题。每次调用仅支持 1 条 prompt,如需追问须由 agent 总结上下文后拼接新问题发起新请求。可用 url 补充亚马逊页面上下文。当用户提到亚马逊 Alexa、Alexa 购物助手、亚马逊智能助手、AI…

    107 GitHub starsUsed in 1 repo~3k tokens
    Auto-check passed
  • 亚马逊反向选品:基于历史商业洞察报告沉淀的指标数据池,按 30+ 项商业维度(市场规模与增长、价格区间与档位份额、竞争密度与头部集中度、人群画像如年龄/性别/收入、评论卖点与痛点等)反向筛选亚马逊赛道与关键词。当用户提到反向选品、指标筛选、细分市场反查、蓝海赛道挖掘、低竞争赛道、新人友好赛道、品牌分散市场、痛点切入、卖点反查、定价档位机会、人群画像选品、Amazon niche reverse…

    107 GitHub starsUsed in 1 repo~3k tokens
    Auto-check passed
  • Linkfox Amazon Product Detail

    linkfox-ai/linkfox-skills

    通过ASIN获取亚马逊商品详细信息,包括标题、图片、五点描述、规格参数、A+页面、价格、评分评论、变体等;可在取得原始HTML时尝试提取Item Highlights(商品亮点)。当用户提到亚马逊商品详情、ASIN查询、商品页面数据、Listing分析、五点描述提取、Item…

    107 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Linkfox Amazon Reviews List

    linkfox-ai/linkfox-skills

    按ASIN获取并分析亚马逊商品评论,支持15个站点(含美国站),按星级筛选评论。当用户提到亚马逊评论、美国站评论、商品评价、买家投诉、差评、好评、星级评分、评论分析、评论情感、产品改良建议、Vine评论、已验证购买评论、竞品评论研究、Amazon reviews, US reviews, Amazon.com reviews, product feedback, negative review…

    107 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed

Works with

Questions about Linkfox Shopee Store Media Space

What does Linkfox Shopee Store Media Space do?

Shopee(虾皮)媒体上传 MediaSpace(与 linkfox-shopee-store-auth 同系列)。图片通过 /shopee/uploadMediaSpaceImage 专用端点上传;其余 MediaSpace JSON API 经 /shopee/developerProxy 转发。当用户提到 Shopee…. Linkfox Shopee Store Media Space is an agent skill from linkfox-ai/linkfox-skills.

How do I install Linkfox Shopee Store Media Space in Claude Code?

Run `npx skills add linkfox-ai/linkfox-skills --skill linkfox-shopee-store-media-space -a claude-code`. Or copy the skill folder (skills/linkfox-shopee-store-media-space in linkfox-ai/linkfox-skills) into .claude/skills/linkfox-shopee-store-media-space in your project. Claude Code loads it when a task matches its description.

How do I install Linkfox Shopee Store Media Space in Codex?

Run `npx skills add linkfox-ai/linkfox-skills --skill linkfox-shopee-store-media-space -a codex`. Or copy the skill folder (skills/linkfox-shopee-store-media-space in linkfox-ai/linkfox-skills) into .agents/skills/linkfox-shopee-store-media-space in your project. Codex loads it when a task matches its description.

Can I use Linkfox Shopee Store Media Space in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add linkfox-ai/linkfox-skills --skill linkfox-shopee-store-media-space -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/linkfox-shopee-store-media-space, .gemini/skills/linkfox-shopee-store-media-space, .github/skills/linkfox-shopee-store-media-space and .opencode/skills/linkfox-shopee-store-media-space in your project.

What does Linkfox Shopee Store Media Space need to run?

Going by SKILL.md and its folder, Linkfox Shopee Store Media Space needs Python for the scripts in its folder, the command-line tools its instructions call (python) and credentials named LINKFOX_AGENT_API_KEY and LINKFOXAGENT_API_KEY. Our summary lists: Python 3; A credential in LINKFOX_AGENT_API_KEY; A credential in LINKFOXAGENT_API_KEY.

Does Linkfox Shopee Store Media Space access the network?

SKILL.md names 2 domains. As links in the text: open.shopee.com and skill.linkfox.com. This is read from the text; nothing was executed.

Is Linkfox Shopee Store Media Space safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Linkfox Shopee Store Media Space use?

Linkfox Shopee Store Media Space is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Linkfox Shopee Store Media Space use?

About 1.3k tokens (SKILL.md is roughly 5.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.8k tokens, read only when the agent opens those files.

What are the alternatives to Linkfox Shopee Store Media Space?

Skills that share tags, products or a category with Linkfox Shopee Store Media Space: MCP Server Builder (anthropics/skills, 180k stars), PDF Processing (anthropics/skills, 180k stars), NotebookLM Research Assistant (PleasePrompto/notebooklm-skill, 7.8k stars) and Manim Video Production (browser-use/video-use, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Linkfox Shopee Store Media Space?

linkfox-ai (a GitHub user) maintains it in linkfox-ai/linkfox-skills, which has 107 GitHub stars. The repository holds 177 skills in this directory. The repository was last updated on September 14, 2026.

Source: linkfox-ai/linkfox-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.