/claude-content:share-socialfrom claude-content
Transcodes video files for social media platforms (Instagram, TikTok, YouTube, Twitter, Facebook, LinkedIn) with correct aspect ratios, resolutions, bitrates, and container settings.
Ships in claude-content. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Prepare video for social media platforms: correct aspect ratios, resolutions, bitrates, and container settings.
| Platform | Aspect | Max Resolution | Max Duration | Video Bitrate | Audio |
|---|---|---|---|---|---|
| Instagram Feed | 4:5 portrait or 1:1 | 1080×1350 / 1080×1080 | 60s | 3.5 Mbps | AAC 128k |
| Instagram Reels | 9:16 | 1080×1920 | 90s | 8 Mbps | AAC 192k |
| TikTok | 9:16 | 1080×1920 | 10min | 8 Mbps | AAC 192k |
| YouTube Shorts | 9:16 | 1080×1920 | 60s | 8 Mbps | AAC 192k |
| YouTube Standard | 16:9 | 1920×1080 | unlimited | 8 Mbps (1080p) | AAC 192k |
| Twitter / X | 16:9 or 1:1 | 1920×1200 | 140s | 25 Mbps cap | AAC 128k |
| 16:9 or 9:16 | 1920×1080 | 240min | 4 Mbps | AAC 128k | |
| 16:9 | 1920×1080 | 10min | 5 Mbps | AAC 128k |
If the request is ambiguous (e.g., "make it vertical"), ask which platform — bitrate and audio requirements differ.
ffprobe -v quiet -print_format json -show_streams -show_format "$INPUT"
Extract: width, height, duration, existing bitrate, audio codec.
Compare probe output against the platform row in the presets table. Apply only the transforms that are actually needed:
Exit condition: when all four properties (aspect ratio, resolution, duration, bitrate) are within platform bounds and -movflags +faststart will be set, proceed to Step 4. If source already matches all properties, skip to Step 5 with a simple re-encode plan.
Crop to fit (preferred when subject is centered):
# 16:9 source → 9:16 (1080×1920), center crop:
ffmpeg -i "$INPUT" \
-vf "crop=ih*9/16:ih,scale=1080:1920" \
-c:v libx264 -b:v 8000k \
-c:a aac -b:a 192k \
-movflags +faststart "$OUTPUT"
Pad to fit (preserves full frame, adds letterbox/pillarbox):
# 16:9 source → 9:16 with black bars:
ffmpeg -i "$INPUT" \
-vf "scale=1080:-2,pad=1080:1920:(ow-iw)/2:(oh-ih)/2:black" \
-c:v libx264 -b:v 8000k \
-c:a aac -b:a 192k \
-movflags +faststart "$OUTPUT"
Square (1:1) from 16:9 — center crop:
ffmpeg -i "$INPUT" \
-vf "crop=ih:ih,scale=1080:1080" \
-c:v libx264 -b:v 3500k \
-c:a aac -b:a 128k \
-movflags +faststart "$OUTPUT"
State: crop vs. pad choice, any trim, output resolution and bitrate, output path. Wait for approval.
After encoding, verify bitrate: ffprobe -v quiet -show_format "$OUTPUT" | grep bit_rate
-movflags +faststart — relocates the moov atom to the file start, enabling progressive playback before full download. Required for all social platforms.What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/compress-videoThis skill should be used when the user asks to "compress this video", "reduce file size", "make this video smaller", "optimize for web", "shrink this video", "compress to under X MB", "reduce bitrate", "make it smaller without losing quality", "encode with H.265", or "re-encode this video".
/convert-videoThis skill should be used when the user asks to "convert this video", "change format to mp4", "trim from X to Y", "cut the first X seconds", "speed up this video", "slow motion", "timelapse", "resize video", "scale down", "rotate video", "flip video", "remux", or any general FFmpeg video manipulation not covered by compress-video, make-gif, share-social, extract-audio, or extract-frames.
/extract-audioThis skill should be used when the user asks to "extract audio", "get the mp3", "strip audio from video", "rip audio", "save audio from video", "convert to audio", "get the soundtrack", "pull the audio track", "save as mp3", "export audio", or "separate audio from video".
/extract-framesExtracts first and/or last frames of every shot from a video using adaptive scene detection. Use this skill when the user says "extract frames", "get shot frames", "pull frames", "shot breakdown", "scene detect", "first frame of each shot", "last frame of each shot", "extract shots from video", or wants to extract key frames at shot cut points from a video file.
/generate-imageUse for any image creation or editing request — logo, sticker, product mockup, nano banana, t2i, i2i, multi-reference compositing via generate.py. Not for HTML/CSS mockups, diagrams, or coded UI.
/make-gifThis skill should be used when the user asks to "make a GIF", "convert to GIF", "create a GIF from this video", "export as GIF", "turn this clip into a GIF", "make an animated GIF", or "gif this".
npx claudepluginhub gupsammy/claudest --plugin claude-contentOther plugins' skills for the same job