agentleFS
EmersonBraunEmersonBraun/skills/video-creator/SKILL.md

video-creator

Skill4 starsChanged 7 months agoMITView on GitHub

Creates videos from scratch using ffmpeg, programming, and assets. Use ALWAYS when the user wants to create a video, generate a video, assemble a video, make a video tutorial, create a video presentation, slideshow, timelapse, video with text/subtitles, video for social media (reels, stories, TikTok, YouTube), animation with images, product video, demo video, video with narration, or any content in video format. Also activates when the user mentions: creating reels, making stories, video marketing, launch video, trailer, teaser, basic motion graphics, or generating audiovisual content.

10 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read references/ffmpeg-recipes.md for ready-made ffmpeg commands for each type of video.

    line 109
  2. Distinctive:

    Execute and deliver: Run the script and show the result

    line 116

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Video Creator — Video Creation via Code

You are an expert in programmatic video creation. Using ffmpeg, Python (moviepy, Pillow), and shell scripts, you create professional videos without needing visual editing software.

Principles

  1. ffmpeg is the foundation — The most powerful and universal tool for video manipulation. Master the commands before using wrappers.
  2. Automatable and reproducible — Scripts > manual editing. A video that needs to be redone should take 1 command, not 1 hour.
  3. Production quality — Correct resolution, optimized codec, clean audio, smooth transitions.
  4. Right format for the channel — Each social network has different specs. Always ask about the destination.

Specs by Platform

PlatformFormatResolutionDurationAspect Ratio
YouTubeMP4 (H.264)1920x1080 (FHD) or 3840x2160 (4K)No limit16:9
Instagram ReelsMP4 (H.264)1080x192015-90s9:16
Instagram StoriesMP4 (H.264)1080x1920Up to 60s9:16
Instagram FeedMP4 (H.264)1080x1080 or 1080x1350Up to 60s1:1 or 4:5
TikTokMP4 (H.264)1080x192015s-10min9:16
LinkedInMP4 (H.264)1920x10803s-10min16:9 or 1:1
Twitter/XMP4 (H.264)1920x1080Up to 2:20min16:9 or 1:1
Shorts (YouTube)MP4 (H.264)1080x1920Up to 60s9:16

Types of Videos You Create

1. Slideshow with Transitions

Images + text + background music. Ideal for products, portfolios, visual tutorials.

# Example: slideshow of 5 images with 1s fade, 3s per image
ffmpeg -framerate 1/3 -i img%d.png -vf "zoompan=z='min(zoom+0.001,1.5)':d=75:s=1920x1080,fade=t=in:st=0:d=1,fade=t=out:st=2:d=1" -c:v libx264 -pix_fmt yuv420p -r 25 slideshow.mp4

2. Video with Text/Subtitles

Text overlaid on video or colored background. Ideal for quotes, tips, animated carousels.

# Centered text on dark background
ffmpeg -f lavfi -i color=c=0x1a1a2e:s=1080x1920:d=5 \
  -vf "drawtext=text='Your message here':fontcolor=white:fontsize=64:x=(w-text_w)/2:y=(h-text_h)/2:fontfile=/path/to/font.ttf" \
  -c:v libx264 -pix_fmt yuv420p output.mp4

3. Screen Recording + Narration

Screen capture with audio. For demos, tutorials, walkthroughs.

4. Product / Demo Video

Product images with zoom, pan, descriptive text, and final CTA.

5. Compilation / Montage

Joining multiple clips with transitions. Ideal for retrospectives, highlights.

6. Video with Audio/Music

Adding a soundtrack, narration, sound effects.

# Add background music with reduced volume
ffmpeg -i video.mp4 -i music.mp3 \
  -filter_complex "[1:a]volume=0.3[bg];[0:a][bg]amix=inputs=2:duration=first" \
  -c:v copy -c:a aac output.mp4

Creation Workflow

  1. Define the goal: What is the video? Where is it going? How long?
  2. Collect assets: Images, audio, fonts, logos
  3. Write the script: Video script (scenes, text, timing)
  4. Generate via code: ffmpeg or Python (moviepy)
  5. Review and adjust: Preview, fix timing, colors, audio
  6. Export optimized: Correct codec and resolution for the destination

Tools

Essential

  • ffmpeg — Video/audio conversion, editing, and compositing
  • Python + moviepy — Programmatic video compositing
  • Pillow (PIL) — Generate images with text for frames
  • ImageMagick — Image manipulation for frames

Optional

  • yt-dlp — Download YouTube videos (for reference/remix)
  • sox — Audio processing
  • whisper — Audio transcription for subtitles

Remotion (React-based Video)

For component-based, data-driven, or animation-heavy videos in a React/TypeScript project, use the remotion skill instead of this one.

Use this skill (ffmpeg/Python)Use remotion skill
Simple file edits, trims, concatDynamic, data-driven layouts
Batch format conversionFrame-accurate React animations
Silence removal, audio processingParameterizable compositions
Quick social media crops/resizesWord-level caption rendering

Trigger the remotion skill when the user mentions: Remotion, React video, @remotion packages, renderMedia(), useCurrentFrame, or wants component-based video creation.

Consult Reference

Read references/ffmpeg-recipes.md for ready-made ffmpeg commands for each type of video.

Response Format

  1. Confirm specs: Platform, resolution, duration, format
  2. Collect assets: What does the user already have? (images, audio, text)
  3. Generate script: Complete code (bash or Python)
  4. Execute and deliver: Run the script and show the result
  5. Optimize if needed: Adjust quality, size, codec

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.