agentleFS
neilghoshneilghosh/skills/skills/parallel-reel-creator/SKILL.md

parallel-reel-creator

Skill0 starsChanged 7 days agoMITView on GitHub

Creates Instagram-ready 9:16 vertical Reels (1080x1920) combining a YouTube reference video and a local video recording (e.g. GoPro, phone camera). Supports sequential comparison mode (reference plays while recreation is still, then recreation plays while reference is still), simultaneous side-by-side or stacked playback, custom timestamp slicing, and flexible audio routing. Use whenever the user wants to make a split-screen or comparison reel from YouTube and a local video file.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    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:

    All tools are pre-configured and detected automatically from /opt/homebrew/bin/ or standard paths.

    line 43
  2. Distinctive:

    When a user requests creating a reel from a YouTube video and a local file:

    line 95
  3. Distinctive:

    Run the CLI script:

    line 103

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Parallel Reel Creator

Creates polished, Instagram-ready 9:16 vertical Reels (1080×1920) pairing a YouTube reference video with a local recording (such as a GoPro clip or smartphone footage).

Key Features

  1. Sequential Freeze-Frame Mode (--mode sequential - Default):
    • Phase 1: The YouTube reference clip plays for $T_1$ seconds while the local video remains frozen on its first frame.
    • Phase 2: The local video plays for $T_2$ seconds while the YouTube video stays frozen on its last frame.
    • Ideal for recreation, parody, dance-cover, or side-by-side comparison Reels.
  2. Simultaneous Mode (--mode simultaneous):
    • Both the YouTube clip and the local video play side-by-side or top/bottom at the exact same time.
  3. Instagram Reel Standards:
    • Exact 1080×1920 canvas (9:16 aspect ratio).
    • Strict SAR 1:1 (square pixels) to eliminate distortion across mobile devices.
    • 30 fps progressive H.264 (libx264) + AAC audio with high compatibility for Instagram, TikTok, and YouTube Shorts.
    • Centered letterboxing/pillarboxing so wide or square angles are not stretched or cropped.
  4. Automated YouTube Clip Extraction:
    • Direct segment download via yt-dlp using exact start and end timestamps (saves bandwidth and storage).

Tooling Requirements

The skill utilizes:

  • yt-dlp (for YouTube snippet extraction)
  • ffmpeg & ffprobe (for video analysis, trimming, filter-graph compositing, and encoding)
  • Python 3 (standard library only)

All tools are pre-configured and detected automatically from /opt/homebrew/bin/ or standard paths.


Script Location

The automated helper script is located at: scripts/create_reel.py (relative to the skill directory, or ~/.gemini/config/skills/parallel-reel-creator/scripts/create_reel.py when installed globally).


CLI Options & Usage

python3 <skill_dir>/scripts/create_reel.py \
  --yt "<YOUTUBE_URL_OR_LOCAL_FILE>" \
  --local "<PATH_TO_LOCAL_VIDEO>" \
  --output "<OUTPUT_MP4_PATH>" \
  [OPTIONS]

Options

FlagDescriptionDefault
--ytYouTube URL (e.g. https://youtube.com/watch?v=...) or path to a local reference video.Required
--localAbsolute path to local recording (e.g. /Users/.../GX011654.mov).Required
--outputDestination path for the .mp4 file.instagram_reel.mp4
--yt-startYouTube clip start timestamp (seconds or MM:SS / HH:MM:SS).00:00:00
--yt-endYouTube clip end timestamp (e.g. 13 or 00:00:13).None (full clip)
--local-startLocal video start timestamp.00:00:00
--local-endLocal video end timestamp.None (full video)
--modesequential (A plays, then B plays) or simultaneous (both play together).sequential
--audioAudio configuration: sequential, yt_full, yt_loop, local_full, mix, local, mute.sequential
--layoutstack (Top/Bottom, 1080x960 each) or side_by_side (Left/Right, 540x1920 each).stack
--fpsOutput framerate.30

Audio Routing Modes

  • sequential (Default): Plays YouTube audio during Phase 1, then switches to the local video's audio during Phase 2.
  • yt_full: Plays the YouTube soundtrack continuously across both phases (ideal when the recreation was choreographed to the original song).
  • yt_loop: Loops the short snippet of YouTube audio across both phases.
  • local_full: Uses the local video audio for the entire reel.
  • mix: Mixes both audio streams together (for simultaneous mode).
  • mute: Generates a silent video (useful when adding trending audio directly inside the Instagram app).

Step-by-Step Procedure for the Agent

When a user requests creating a reel from a YouTube video and a local file:

  1. Parse User Inputs:
    • Extract the YouTube URL and local video path.
    • Identify timestamps or durations (e.g., "first 13 seconds" or "from 1:05 to 1:20").
    • Determine playback preference (sequential vs. simultaneous) and audio behavior.
  2. Execute the Reel Creator: Run the CLI script:
    python3 <skill_dir>/scripts/create_reel.py \
      --yt "<URL>" \
      --local "<PATH_TO_LOCAL_FILE>" \
      --yt-start <START> \
      --yt-end <END> \
      --local-start <LOCAL_START> \
      --local-end <LOCAL_END> \
      --mode sequential \
      --audio sequential \
      --output "<OUTPUT_PATH>"
  3. Verify Output:
    • Confirm file exists and inspect duration using ffprobe.
    • View generated preview thumbnails (<name>_part1_preview.jpg and <name>_part2_preview.jpg) using view_file to confirm visual framing and alignment.
  4. Deliver to User:
    • Provide clickable github markdown file links (file://...) to the output MP4 and preview images.
    • Mention the layout, duration, and audio setup.

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.