AGENT SKILL

instagram-reel-editor

Create, edit, and produce Instagram Reels — short-form vertical video content. Use when the user wants to create Reels, edit video clips, add captions or music to vertical video, generate Reel scripts, or automate Reel production with FFmpeg or Remotion. Trigger phrases include "instagram reel", "reel", "short video", "vertical video", "reels editor", "create a reel", "video captions", "video montage".

License 许可
Apache-2.0
最近更新
2026-06-02
Stars
★ 0
Forks
0

01 前言 Front Matter

name
instagram-reel-editor
description
Create, edit, and produce Instagram Reels — short-form vertical video content. Use when the user wants to create Reels, edit video clips, add captions or music to vertical video, generate Reel scripts, or automate Reel production with FFmpeg or Remotion. Trigger phrases include "instagram reel", "reel", "short video", "vertical video", "reels editor", "create a reel", "video captions", "video montage".

02 资源文件 1

03 SKILL.md 正文

Instagram Reel Editor

Create and edit Instagram Reels (vertical short-form video, 9:16, up to 90s).

Reel Specifications

Property Value
Aspect ratio 9:16 (1080 × 1920)
Duration 3–90 seconds
Frame rate 30fps recommended
Format MP4 (H.264 + AAC)
Max file size 4 GB
Safe zone for UI 250px top, 400px bottom

FFmpeg Workflows

Convert Landscape to Vertical (Crop Center)

ffmpeg -i input.mp4 \
  -vf "crop=ih*9/16:ih,scale=1080:1920" \
  -c:v libx264 -crf 23 -preset fast \
  -c:a aac -b:a 128k \
  output_reel.mp4

Add Burn-In Captions

ffmpeg -i input.mp4 \
  -vf "subtitles=captions.srt:force_style='FontName=Arial,FontSize=24,PrimaryColour=&Hffffff,Bold=1'" \
  output_captioned.mp4

Trim a Clip

ffmpeg -i input.mp4 -ss 00:00:05 -to 00:00:35 -c copy trimmed.mp4

Concatenate Multiple Clips

# Create concat list
printf "file 'clip1.mp4'\nfile 'clip2.mp4'\nfile 'clip3.mp4'" > list.txt
ffmpeg -f concat -safe 0 -i list.txt -c copy final.mp4

Add Music (Mix with Original Audio)

ffmpeg -i video.mp4 -i music.mp3 \
  -filter_complex "[0:a]volume=0.3[a0];[1:a]volume=0.8[a1];[a0][a1]amix=inputs=2[aout]" \
  -map 0:v -map "[aout]" -shortest output.mp4

Reel Script Structure

A typical 30-second Reel:

  1. Hook (0–3s): Bold statement or question — grab attention immediately
  2. Content (3–25s): 3–5 quick tips / scenes / beats
  3. CTA (25–30s): "Follow for more" / "Link in bio" / question for comments

Caption Generation (Python + Whisper)

import whisper, json

model = whisper.load_model("base")
result = model.transcribe("video.mp4", word_timestamps=True)

# Export SRT
with open("captions.srt", "w") as f:
    for i, seg in enumerate(result["segments"], 1):
        start = format_timestamp(seg["start"])
        end   = format_timestamp(seg["end"])
        f.write(f"{i}\n{start} --> {end}\n{seg['text'].strip()}\n\n")

Programmatic Reel (Remotion)

For code-driven Reels, use the remotion skill. Key config for Reels:

// remotion.config.ts
Config.setVideoImageFormat("jpeg");
Config.setPixelFormat("yuv420p");
// Composition props: width=1080, height=1920, fps=30

Tools & References

  • scripts/ — helper bash scripts for common FFmpeg recipes
  • references/reel-checklist.md — pre-publish checklist
  • CapCut / DaVinci Resolve for manual editing
  • Remotion for React-based programmatic video

04 同仓库更多 Skills

dawsonblock
dawsonblock/agent_eval_skills_merged_clean

web-artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use when the user asks to build a complex web artifact, scaffold a React artifact project, bundle a single-file artifact, or generate shadcn/ui-based interactive UI components.

★ 0
dawsonblock
dawsonblock/agent_eval_skills_merged_clean

theme-factory

Generate production-ready UI themes and token systems for CSS, Tailwind, and shadcn/ui. Use when users ask to apply a theme, theme an existing app, change colors and fonts, map dark/light mode tokens, or turn a palette into semantic variables. Trigger phrases include "apply a theme", "theme this app", "change the colors", and "re-theme this UI". Do not use for brand identity extraction, logo work, or full UI redesigns; use brand-guidelines or frontend-design instead.

★ 0
dawsonblock
dawsonblock/agent_eval_skills_merged_clean

frontend-design

Design and implement distinctive, production-grade frontend interfaces for web pages, components, and apps. Use when users ask for UI design, layout polish, landing pages, dashboards, React components, HTML/CSS styling, or visual redesign. Trigger phrases include "design this UI", "build a landing page", "make this look better", "frontend component", "dashboard UI", and "polish the interface".

★ 0
dawsonblock
dawsonblock/agent_eval_skills_merged_clean

excalidraw

Generate architecture diagrams as .excalidraw files from codebase analysis. Use when the user asks to create architecture diagrams, system diagrams, visualize codebase structure, or generate excalidraw files.

★ 0
dawsonblock
dawsonblock/agent_eval_skills_merged_clean

brand-guidelines

Extract, normalize, and apply a brand system across UI, docs, and assets. Use when users ask for a brand kit, style guide, design tokens, tone rules, or brand-consistent output. Trigger phrases include "brand guidelines", "brand identity", "brand kit", "style guide", "brand colors", "brand fonts", "design tokens", and "make this on-brand".

★ 0
dawsonblock
dawsonblock/agent_eval_skills_merged_clean

pm-skills

Project management workflows — planning, tracking, and coordination for software and product teams. Use when the user wants to create a project plan, write a PRD, create tickets, define sprint goals, write a RACI matrix, run a retrospective, or manage project scope. Trigger phrases include "project plan", "project management", "sprint planning", "PRD", "product requirements", "roadmap", "milestone", "retro", "standup", "RACI", "risk register", "project timeline".

★ 0