Skip to main content
BuildOfficialCertifiedReviewed Dec 1, 2026

Social Clip

v1.0.34 installs

Install this skill

No account required. Pick your tool, then copy.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install social-clip

What this does: Create short-form social media videos for TikTok, Instagram Reels, YouTube Shorts, and more. Use when the user asks to 'make a TikTok', 'turn this into a Reel or Short', or wants a vertical video from a product, clip, or script.

Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/social-clip/SKILL.md

Setup guide →

Signing

SignedSLSA L2
Signed by
skills-hub.ai distributor
Method
Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
Key
skills-hub-ed25519-2026-11
Signed
0Save

Instructions

Social Clip

Create short-form social media videos optimized for TikTok, Instagram Reels, YouTube Shorts, and other platforms. Two modes: create from scratch or repurpose existing long-form video.

Prerequisites

Requires the video-toolkit skill to be installed for AI asset generation (voiceover, images, music).

TOOLKIT=~/.openclaw/workspace/claude-code-video-toolkit
cd $TOOLKIT && python3 tools/verify_setup.py

Install additional dependencies:

# Whisper for transcription (choose one)
pip3 install --break-system-packages openai-whisper
# OR use Remotion's built-in Whisper.cpp:
npx remotion install-whisper-cpp

# Auto-reframe (optional -- only for repurpose mode)
pip3 install --break-system-packages opencv-python mediapipe

# Clip extraction (optional -- only for repurpose mode)
pip3 install --break-system-packages librosa numpy

Platform Presets

PlatformResolutionFPSDurationAspectSafe Zone (top/bottom/left/right)
TikTok1080x19206015-60s9:16150/270/40/40
Instagram Reel1080x19203015-90s9:16120/300/40/40
YouTube Short1080x19206015-60s9:16100/200/40/40
Instagram Story1080x1920301-15s9:16200/250/40/40
Square (Feed)1080x1080303-60s1:10/0/0/0
Landscape (16:9)1920x1080303-600s16:90/0/0/0

Each preset includes platform-specific safe zones (pixels) to avoid UI overlap with profile icons, captions area, and navigation. Keep all text and critical visual elements inside safe zones.

Codec and bitrate per platform:

PlatformCodecVideo BitrateAudio Bitrate
TikTokH.2648M128k
Instagram ReelH.2646M128k
YouTube ShortH.26410M128k
Instagram StoryH.2646M128k
Square (Feed)H.2645M128k
Landscape (16:9)H.2648M192k

Create Mode

Step 1: Create Project

cd $TOOLKIT
cp -r templates/social-clip projects/MY_CLIP
cd projects/MY_CLIP
npm install

Step 2: Write Config

Edit src/config/clip-config.ts:

import { SocialClipConfig } from './types';

export const clipConfig: SocialClipConfig = {
  title: 'Why devs are switching to terminal video',
  platforms: ['tiktok', 'instagram-reel', 'youtube-short'],
  primaryPlatform: 'tiktok',
  contentType: 'talking-head',
  durationSeconds: 45,

  hook: {
    style: 'bold-text',
    text: 'Stop using video editors.',
    soundEffect: 'audio/sfx/bass-drop.mp3',
    animation: 'zoom-in',
  },

  scenes: [
    {
      type: 'video',
      durationSeconds: 40,
      media: { src: 'video/talking-head.mp4', fit: 'cover' },
    },
    {
      type: 'text-only',
      durationSeconds: 5,
      text: { headline: 'Try it yourself', body: 'Link in bio' },
    },
  ],

  captions: {
    enabled: true,
    style: 'pop',
    highlightColor: '#FFD700',
    position: 'bottom',
    wordsPerLine: 4,
  },

  audio: {
    voiceover: 'audio/voiceover.mp3',
    backgroundMusic: 'audio/bg-lofi.mp3',
    backgroundMusicVolume: 0.12,
  },

  engagement: {
    cta: {
      text: 'Follow for dev tips',
      position: 'end-card',
      animation: 'slide-in',
    },
  },

  transitions: {
    default: 'zoom-rush',
    durationFrames: 8,
  },

  thumbnail: {
    frameSeconds: 1.5,
    textOverlay: 'Stop Using Video Editors',
    style: 'bold',
  },
};

Scene types: image, video, text-only, split.

Scene media animations: ken-burns-in, ken-burns-out, pan-left, pan-right, static, zoom-pulse.

Step 3: Generate Voiceover

cd $TOOLKIT
python3 tools/qwen3_tts.py \
  --text "Stop using video editors. Here's how I make viral content from my terminal..." \
  --speaker Ryan --tone excited \
  --output projects/MY_CLIP/public/audio/voiceover.mp3 \
  --cloud modal

Speakers: Ryan, Aiden, Vivian, Serena, Uncle_Fu, Dylan, Eric, Ono_Anna, Sohee
Tones: neutral, warm, professional, excited, calm, serious, storyteller, tutorial

Step 4: Generate Background Music (optional)

cd $TOOLKIT
python3 tools/music_gen.py \
  --preset lofi \
  --duration 50 \
  --output projects/MY_CLIP/public/audio/bg-lofi.mp3 \
  --cloud modal

Presets: corporate-bg, upbeat-tech, ambient, dramatic, tension, hopeful, cta, lofi.

Step 5: Transcribe for Captions

cd $TOOLKIT
python3 tools/transcribe.py \
  --input projects/MY_CLIP/public/audio/voiceover.mp3 \
  --output projects/MY_CLIP/public/captions/transcript.json \
  --model base.en --word-timestamps

Output format (compatible with @remotion/captions):

{
  "segments": [
    {
      "text": "Stop using video editors",
      "start": 0.0,
      "end": 1.8,
      "words": [
        { "word": "Stop", "start": 0.0, "end": 0.3 },
        { "word": "using", "start": 0.35, "end": 0.6 },
        { "word": "video", "start": 0.62, "end": 0.9 },
        { "word": "editors", "start": 0.92, "end": 1.4 }
      ]
    }
  ]
}

The <CaptionOverlay> component uses createTikTokStyleCaptions() from @remotion/captions to render word-by-word animated captions synced to the transcript timestamps.

Step 6: Sync Timing

cd $TOOLKIT
ffprobe -v error -show_entries format=duration -of csv=p=0 \
  projects/MY_CLIP/public/audio/voiceover.mp3

Update durationSeconds in config to match actual audio: ceil(audio_duration + 3) (3s buffer for hook + CTA).

Asset manifest format, weights, placement rules and example (needed when writing the manifest): read references/asset-manifest.md. If it is not installed, fetch https://raw.githubusercontent.com/tinh2/skills-hub-registry/main/build/social-clip/references/asset-manifest.md .

Step 7: Preview and Render

cd $TOOLKIT/projects/MY_CLIP

# Preview hook frame
npx remotion still src/index.ts SocialClip-tiktok --frame=0 --output=/tmp/hook.png

# Preview mid-clip
npx remotion still src/index.ts SocialClip-tiktok --frame=900 --output=/tmp/mid.png

# Render primary platform
npm run render

# Batch render all platforms
bash ../../tools/batch_render.sh \
  --project . \
  --platforms tiktok,instagram-reel,youtube-short \
  --output out/

Output: out/tiktok/clip.mp4, out/instagram-reel/clip.mp4, out/youtube-short/clip.mp4 + thumbnails.

Verify before delivering: for each rendered file run
ffprobe -v error -select_streams v:0 -show_entries stream=width,height -show_entries format=duration -of csv=p=0 out/tiktok/clip.mp4.
Pass = width x height matches the platform preset (1080x1920 for vertical presets), duration falls inside the Duration range in Platform Presets and within 0.5s of the config's durationSeconds, and an audio stream exists (ffprobe -v error -select_streams a -show_entries stream=codec_name -of csv=p=0 <file> prints a codec). Open /tmp/hook.png and confirm the hook text is readable and inside the safe zone. Re-render any file that fails.

Repurpose Mode

Take an existing long-form video and extract the best segments as short-form social clips.

Step 1: Analyze Long-Form Video

cd $TOOLKIT
python3 tools/extract_clips.py \
  --input path/to/long-form-video.mp4 \
  --max-clips 5 \
  --target-duration 30-60 \
  --output projects/MY_CLIP/clips-manifest.json

The extraction tool:

  1. Transcribes with Whisper to get content segments
  2. Scores segments by audio energy (loud = engaging), speech density (words/second), and silence gaps (natural boundaries)
  3. Identifies top N segments by engagement score
  4. Outputs manifest with timestamps and suggested hook text

Step 2: Auto-Reframe (if source is 16:9)

cd $TOOLKIT
python3 tools/auto_reframe.py \
  --input path/to/long-form-video.mp4 \
  --output projects/MY_CLIP/public/focus-regions.json \
  --mode face-track

Reframe modes:

  • center -- static center crop (no analysis needed)
  • face-track -- OpenCV Haar cascades or MediaPipe face detection, tracks largest face
  • motion-track -- optical flow to find area of highest motion
  • rule-of-thirds -- positions crop at left or right third based on content density

The <AutoReframe> component reads focus-regions.json and applies an animated crop window that smoothly pans between focus regions using interpolate().

Step 3: Extract and Configure

Select clips from the manifest and create config with autoReframe.enabled: true:

autoReframe: {
  enabled: true,
  sourceAspectRatio: '16:9',
  focusMode: 'face-track',
},

Or provide manual focus region overrides:

autoReframe: {
  enabled: true,
  focusMode: 'manual',
  manualRegions: [
    { startSeconds: 0, endSeconds: 10, x: 660, y: 0, width: 608, height: 1080 },
    { startSeconds: 10, endSeconds: 25, x: 400, y: 0, width: 608, height: 1080 },
  ],
},

Step 4: Add Captions and Render

Same as Create Mode steps 5-7. Transcribe the extracted audio, enable captions, and batch render.

Caption Styles

StyleEffectBest for
popWords scale up with spring() bounce when spokenHigh energy, comedy
highlightCurrent word changes to highlightColor, others stay whiteEducational, tutorial
karaokeWords fill with color left-to-right (gradient mask)Music, storytelling
subtitleTraditional subtitle bar at bottom, no per-word animationProfessional, clean
bounceWords drop in from above with gravity-like springPlayful, casual

Caption config defaults:

  • fontSize: 64 for 9:16 platforms, 48 for 1:1
  • fontFamily: Inter
  • primaryColor: #FFFFFF
  • highlightColor: #FFD700
  • backgroundColor: rgba(0,0,0,0.6)
  • position: bottom
  • wordsPerLine: 4

Transition Library

TransitionEffectBest for
swipeDirectional swipe (up/down/left/right)Scene changes
zoom-rushRapid zoom in then out to next sceneHigh energy cuts
glitchDigital glitch distortionTech content, edgy
flashWhite flash between scenesPhoto reveals
whip-panMotion blur simulating camera whip (use @remotion/motion-blur <CameraMotionBlur>)Fast pacing
fadeStandard opacity crossfadeCalm transitions
cutHard cut, no transitionBeat-synced montages

Import custom transitions from lib/transitions/presentations/ directly, never from barrel files. For additional variety, use GL Transitions (remotion-gl-transitions) for trend-matching styles.

Content Types

TypeDescriptionWhen to use
talking-headSingle speaker with captions, optional PiPAdvice, opinions, tutorials
montageMulti-clip rapid cuts with even, custom, or beat-synced timingShowcases, highlights, travel
before-afterSide-by-side or sequential comparison with split/wipe layoutTransformations, results
listicleNumbered items with animated reveals and progress indicatorTips, rankings, recommendations
quote-cardStyled quote with attribution and decorative quote marksMotivation, testimonials
product-showcaseProduct shots with feature callouts and optional rotationMarketing, launches
tutorial-snippetQuick how-to with step indicators and progress barRecipes, DIY, code tips

Hook Structure (First 3 Seconds)

Every clip must hook within 3 seconds. The hook config controls the opening:

  • bold-text -- Large text slams in with spring() scale + shake. Pair with bass-drop SFX.
  • question -- Typewriter question engages curiosity. "Did you know...?"
  • statistic -- Animated counter rolls to a surprising number with interpolate(). "10x faster"
  • motion-burst -- Flash + zoom + reveal. Maximum visual energy.
  • sound-effect -- Audio sting with synced visual pulse. Whoosh, ding, dramatic.

Hook animations: zoom-in, shake, flash, scale-bounce.

Engagement overlays, text overlays, style config, batch export, composition patterns, cost estimates and Remotion packages: read references/reference.md. If it is not installed, fetch https://raw.githubusercontent.com/tinh2/skills-hub-registry/main/build/social-clip/references/reference.md .

Tips

  1. Hook is everything -- spend 80% of creative effort on the first 3 seconds. If the hook fails, nothing else matters.
  2. Captions are mandatory -- 85% of social video is watched with sound off. Always enable captions.
  3. Keep text in safe zones -- each platform overlays UI on the video. Use the preset safe zones to avoid text behind profile icons or navigation.
  4. Match platform pacing -- TikTok favors cuts every 2-3 seconds. Instagram tolerates slower pacing. YouTube Shorts split the difference.
  5. Use zoom-rush sparingly -- one zoom-rush per clip is impactful, five is nauseating.
  6. End with CTA -- the last 3-5 seconds should always include a call to action.
  7. Batch render always -- if you are making a TikTok, render Reel and Short variants too. Nearly free and doubles your reach.
  8. Duration rule -- for scenes with voiceover, set durationSeconds to ceil(audio_duration + 3) (3s buffer for hook + CTA).
  9. Test the hook first -- use npx remotion still --frame=0 to preview the opening frame before full render.
  10. Sound effects sell it -- a bass-drop or whoosh on the hook frame increases perceived production quality dramatically.
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
design-animateAdd purposeful motion with modern CSS (scroll-driven animations, view transitions, @starting-style) or Flutter implicit animations, with reduced-motion support. Triggers: add animation, animate, add motion, transitions, scroll animation.86 installsdesign-auditRead-only design quality audit (WCAG 2.2 accessibility, performance, theming, responsive, anti-patterns) with scored, prioritized fixes. Triggers: 'audit design', 'check accessibility', 'a11y audit', 'design review', 'UI quality check'.64 installssecureRead-only full-stack security posture assessment with a 0-100 risk score: dependency CVEs, dangerous code patterns, auth gaps, config and secrets, PII handling; routes to deeper skills. Triggers: 'security posture', 'how secure is this', 'security scan', 'risk score'.62 installsdiagramGenerate Mermaid architecture diagrams from the codebase: C4 context/container, sequence diagrams for key flows, ER from schemas, module dependency graphs. Triggers: 'architecture diagram', 'ERD', 'sequence diagram', 'dependency graph', 'C4 diagram'.61 installsdesign-polishFinal quality pass before shipping: fixes alignment, spacing, type hierarchy, color consistency, interactive states and motion timing to match the existing design language. Triggers: 'polish the UI', 'make it pixel perfect', 'final design pass'.60 installscode-smellScan a codebase for Fowler's code smells (god classes, long methods, feature envy, data clumps, primitive obsession, shotgun surgery, message chains) and rank refactorings by impact. Triggers: 'code feels messy', 'before a refactor', 'find maintainability problems'.53 installs

More from Skills Hub

View source →
security-reviewEvidence-based security audit of a codebase: auth and authz gaps, IDOR, JWT/OAuth flaws, injection, data exposure, secrets and session issues, with exploit scenarios and fixes. Triggers: security review, audit auth, find vulnerabilities.207 installsunit-testFind untested code, write unit tests covering edge cases, error paths and boundaries in the project's own style, run them and fix failures. Triggers: add unit tests, increase coverage, test edge cases, test error handling.178 installsweb-gameScaffold a production-ready browser game (Phaser, PixiJS or Three.js) with Vite, TypeScript, input, audio, saves, responsive canvas and itch.io/PWA deploy. Triggers: web game, browser game, html5 game, phaser game, pixi game, three.js game.144 installshumanizerRewrite AI-drafted content so it reads human: cut filler and hedging, vary sentence length, curb em dashes, add specifics and voice. Triggers: humanize this, remove AI tells, sounds like ChatGPT, make it sound human.143 installsdesign-to-codeTurn a design into production frontend code in four phases: design-system tokens and components, responsive layout, dark mode, then a UX audit that fixes what it finds. Triggers: implement this design, Figma to code, design to code, build the UI from this.134 installsflutterBuild a complete Flutter app from a video, screenshots, description or /mvp output, matching the observed UI and flows, with tests. Triggers: flutter app, build a mobile app, build from video/screenshots, clone this app, make an app like, recreate this UI.131 installs

More Build skills

Browse category →
senior-frontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle size. Use whenever the user wants a new component or app, a page feels slow, the bundle is too big, or asks for a frontend code review.653 installsui-design-systemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens with design_token_generator.py.553 installsfrontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.365 installssenior-backendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests. Use whenever the user's API is slow or broken, needs login or auth added, a schema change, or a new endpoint or service scaffolded.266 installsself-improving-agentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check memory health.185 installsusing-superpowersUse when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions149 installs

Frequently asked questions about social-clip

What does the social-clip skill do?

Create short-form social media videos for TikTok, Instagram Reels, YouTube Shorts, and more. Use when the user asks to 'make a TikTok', 'turn this into a Reel or Short', or wants a vertical video from a product, clip, or script. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the social-clip skill?

Run `npx @skills-hub-ai/cli install social-clip` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/social-clip/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does social-clip work with?

social-clip runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the social-clip skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use social-clip after installing it?

In Claude Code, type `/social-clip` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the social-clip skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.