
Platform spec export
Re-encodes one master video into platform-specific export sizes and specs for ecommerce
Platform spec export is an open-source agent skill for design and media. It is available on Claude Code.
- Scripts
- Python
- Platforms
- Claude Code
- GitHub stars
- 164
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Platform spec export
This skill takes a single master video, ideally built at 1080x1920 and 30fps, and converts it into files sized for TikTok Shop, Douyin, WeChat Channels, Xiaohongshu, Taobao, Amazon and similar storefronts. A bundled Python script handles the conversion and writes an export_report.json that lists resolution, duration, file size and notes for each output.
Each target uses a preset aspect ratio and a shared encoding profile of H.264 High, yuv420p, CRF 20 with a bitrate cap, and AAC audio, with faststart enabled for progressive playback. The agent can choose a blur fill that keeps the full frame or a crop that fills the frame and may cut edges. It can also overlay approximate safe-zone guides on a frame to check where status bars, action buttons and captions sit.
The skill expects Python and the included script, plus a source video file. It warns that platform limits change and that duration and file size should be confirmed in each platform's seller or creator dashboard before upload.
When your agent uses it
TikTok Shop / 抖音 / 视频号 / 小红书 / 淘宝主图视频 / Amazon 规格导出:把一条母版视频一键转成各平台推荐画幅与编码(9:16、3:4、1:1、16:9,模糊填充或智能裁切),输出规格报告,并可叠加 UI 安全区预览。Use when the user asks for export settings, 导出规格, 尺寸, 分辨率, 画幅, 上传要求, re-encode for TikTok Shop / Douyin / WeChat Channels / Xiaohongshu / Taobao / Amazon, or safe zones.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs Python scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 2 files (10 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the ecommerce-video-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add xianyu110/ecommerce-video-skills
/plugin install ecommerce-video-skills@ecommerce-video-skillsOr copy only this skill to ~/.claude/skills/platform-spec-export:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xianyu110/ecommerce-video-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/platform-spec-export &&
cp -R "$tmp/skills/platform-spec-export" ~/.claude/skills/platform-spec-export &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/platform-spec-export inside it instead.
Copy the skill folder to ~/.agents/skills/platform-spec-export to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xianyu110/ecommerce-video-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/platform-spec-export &&
cp -R "$tmp/skills/platform-spec-export" ~/.agents/skills/platform-spec-export &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/platform-spec-export inside it instead.
Copy the skill folder to ~/.cursor/skills/platform-spec-export to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xianyu110/ecommerce-video-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/platform-spec-export &&
cp -R "$tmp/skills/platform-spec-export" ~/.cursor/skills/platform-spec-export &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/platform-spec-export inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/xianyu110/ecommerce-video-skills.git --path skills/platform-spec-exportOr copy the folder to ~/.gemini/skills/platform-spec-export yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/platform-spec-export:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xianyu110/ecommerce-video-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/platform-spec-export &&
cp -R "$tmp/skills/platform-spec-export" ~/.copilot/skills/platform-spec-export &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/platform-spec-export inside it instead.
Get the folder:
git clone --depth 1 https://github.com/xianyu110/ecommerce-video-skills.gitThen copy ecommerce-video-skills/skills/platform-spec-export into your agent's skills folder as platform-spec-export. Agents that support SKILL.md read one folder per skill.
What it does
- Multi-platform batch export
- Converts one master video into several platform outputs in a single command run.
- Aspect ratio presets
- Provides preset sizes for 9:16, 3:4, 1:1 and 16:9 targets across major storefronts.
- Blur or crop modes
- Chooses between blurred padding that keeps the full frame and cropping that fills it.
- Export report
- Writes a JSON report with resolution, duration, size and notes for each file.
- Safe zone overlay
- Draws approximate UI safe areas on a frame for a visual check before upload.
- Consistent encoding profile
- Applies a shared H.264, AAC and faststart encoding setup across all outputs.
Good for
- Export a product video for TikTok Shop and Douyin in one run
- Convert a vertical master video to 1:1 for Taobao main images
- Make a 16:9 Amazon version of a short product clip
- Check where captions and buttons fall inside the phone UI safe zones
- Get recommended export settings before uploading to Xiaohongshu
Platform spec export FAQ
What does the skill need to run?
It uses a Python script, scripts/export_platform.py, and needs a source video file as input.
Does Platform spec export guarantee platform upload limits?
No. The skill states that its encoding values are conservative recommendations, not official caps, and that limits should be checked in each platform's dashboard.
What is the difference between blur and crop modes?
Blur keeps the full picture and fills the extra space with blurred padding. Crop fills the frame but trims the edges, so captions and products may be cut.
Which AI clients can use Platform spec export?
The skill is packaged as a Claude Code plugin marketplace entry, and it follows the shared agent skills format.
How do I install Platform spec export in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/platform-spec-export to use it in all your projects, or to .claude/skills/platform-spec-export in one project. Or install the ecommerce-video-skills plugin, which includes it: /plugin marketplace add xianyu110/ecommerce-video-skills, then /plugin install ecommerce-video-skills@ecommerce-video-skills.
Does Platform spec export run scripts?
Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Platform spec export?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Platform spec export?
The closest alternatives to Platform spec export are Live stream clips, Platform compliance, Cover title ab, Selling point storyboard and Subtitles and text effects.
Where this comes from
- Description: from the skill's own SKILL.md.
More from xianyu110/ecommerce-video-skills

Generates sentence-by-sentence Chinese and English voice-overs for short videos
- Open source
- 164 GitHub stars
- Design and media

Generates cover image variants and title sets for short-form product videos, plus A/B test
- Open source
- 164 GitHub stars
- Marketing and SEO

Renders a storyboard of product images and clips into a voiced, subtitled 9:16 video
- Open source
- 164 GitHub stars
- Design and media

Writes scored 3-second opening hooks with dialogue, on-screen visuals and captions
- Open source
- 164 GitHub stars
- Marketing and SEO

Turns product photos into short image-to-video prompts with a local Ken Burns fallback
- Open source
- 164 GitHub stars
- Design and media

Cuts e-commerce livestream recordings into captioned vertical short clips
- Open source
- 164 GitHub stars
- Design and media


