# Platform spec export

> Platform spec export is an open-source agent skill for design and media. Re-encodes one master video into platform-specific export sizes and specs for ecommerce. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/xianyu110/ecommerce-video-skills/tree/main/skills/platform-spec-export
- **Repository:** https://github.com/xianyu110/ecommerce-video-skills
- **GitHub stars:** 164
- **License:** MIT
- **Skill name:** platform-spec-export
- **Collection:** https://github.com/xianyu110/ecommerce-video-skills
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media), [e-commerce](https://ai-powered.com/categories/e-commerce)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/xianyu110/ecommerce-video-skills/tree/HEAD/skills/platform-spec-export)
- [No network calls found in its scripts](https://github.com/xianyu110/ecommerce-video-skills/tree/HEAD/skills/platform-spec-export)
- [License: MIT](https://github.com/xianyu110/ecommerce-video-skills/tree/HEAD/skills/platform-spec-export)

## Features

- **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

## Install

### Claude Code

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):

```sh
/plugin marketplace add xianyu110/ecommerce-video-skills
/plugin install ecommerce-video-skills@ecommerce-video-skills
```

Or copy only this skill to `~/.claude/skills/platform-spec-export`:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/platform-spec-export` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/platform-spec-export` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/xianyu110/ecommerce-video-skills.git --path skills/platform-spec-export
```

Or copy the folder to `~/.gemini/skills/platform-spec-export` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/platform-spec-export`:

```sh
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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/xianyu110/ecommerce-video-skills.git
```

Then 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.

## 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.

## Alternatives

- [Live stream clips](https://ai-powered.com/skills/live-stream-clips): Live stream clips is an open-source agent skill for design and media.
- [Platform compliance](https://ai-powered.com/skills/platform-compliance): Platform compliance is an open-source agent skill for design and media.
- [Cover title ab](https://ai-powered.com/skills/cover-title-ab): Cover title ab is an open-source agent skill for marketing and seo.
- [Selling point storyboard](https://ai-powered.com/skills/selling-point-storyboard): Selling point storyboard is an open-source agent skill for design and media.
- [Subtitles and text effects](https://ai-powered.com/skills/subtitles-and-text-effects): Subtitles and text effects is an open-source agent skill for design and media.
- [Ffmpeg auto assemble](https://ai-powered.com/skills/ffmpeg-auto-assemble): Ffmpeg auto assemble is an open-source agent skill for design and media.
- [Video post production](https://ai-powered.com/skills/video-post-production): Video post production is an open-source agent skill for design and media.
- [Motion video](https://ai-powered.com/skills/motion-video): Motion video is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/platform-spec-export
