packages/skills/skills/video-edit/SKILL.md
Edit long videos into short, story-driven clips using transcript analysis and ffmpeg. Use when user asks to "edit video", "cut video", "shorten video", "make highlight reel", "trim video", "create clip", or wants to extract the best moments from a recording. Works with screen recordings, demos, meetings, and any video with speech.
npx skillsauth add mediar-ai/skillhubz video-editInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Edit long videos into concise, story-driven clips by analyzing the transcript, selecting key moments, and assembling them with ffmpeg.
ffprobeffmpeg -y -i INPUT -vn -acodec pcm_s16le -ar 16000 -ac 1 /tmp/audio.wav
whisper Python library (install via pip3 install openai-whisper if needed):
import whisper, json
model = whisper.load_model("base")
result = model.transcribe("/tmp/audio.wav", language="en", word_timestamps=True)
# Save full result for reference
with open("/tmp/transcript.json", "w") as f:
json.dump(result, f)
# Print timestamped segments
for seg in result["segments"]:
print(f'[{seg["start"]:.1f}-{seg["end"]:.1f}] {seg["text"].strip()}')
Read the full transcript and identify the story arc. Look for:
Selection rules:
Present the plan to the user before cutting — list each segment with timestamp range and what it captures.
Extract each segment as a separate file with re-encoding for clean cuts:
ffmpeg -y -ss START -t DURATION -i INPUT \
-c:v libx264 -preset fast -crf 23 \
-c:a aac -b:a 128k \
/tmp/segments/segNN.mp4
Create concat file and merge:
for f in /tmp/segments/seg*.mp4; do
echo "file '$f'" >> /tmp/segments/filelist.txt
done
ffmpeg -y -f concat -safe 0 -i /tmp/segments/filelist.txt \
-c:v libx264 -preset fast -crf 23 \
-c:a aac -b:a 128k \
OUTPUT.mp4
Verify — check duration, file size, playback.
Save to the same directory as the source with _edited suffix, or as specified by user.
| Mistake | Fix |
|---------|-----|
| Including the first attempt when there was a reset/retry | Only include the clean second attempt — watch for repeated prompts |
| Cutting segments too short (<10s) | Keep 15-75s per segment for natural flow |
| Including long silences or "uh/hmm" segments | Skip segments that are mostly filler, but filler within a good segment is fine |
| Using -c copy for segment extraction | Always re-encode (-c:v libx264) — copy mode causes keyframe alignment issues and glitchy cuts |
| Forgetting -safe 0 in concat | Required when using absolute paths in the file list |
| Rearranging chronological order | Never do this — the story must flow naturally in time |
| Over-compressing (too few segments) | The edit should still tell the complete story — don't skip important transitions |
| Including debugging/troubleshooting tangents | Skip unless the debugging itself is the story |
ffmpeg / ffprobe (install via brew install ffmpeg)whisper Python library (install via pip3 install openai-whisper)tools
Design web-like user interfaces in the terminal and inside tmux with a cell-grid Canvas, CSS-like box model, flexbox/grid layout, and 15 reusable widgets such as Panel, Table, Card, ProgressBar, Meter, Tabs, Tree, Badge, Banner, and a braille line chart. Use when an agent needs a dashboard, panel, table, status page, TUI layout, tmux dashboard, screenshot-driven CLI/TUI replica, ANSI frame, truecolor render, pyte PNG screenshot smoke test, wide-character alignment, or a new terminal widget.
tools
Drive interactive terminal (TUI) programs — CLIs, REPLs, installers, menu apps, agent CLIs, and editors like vim — through a PTY, reading semantic screen snapshots. A pattern library classifies a screen (REPL, menu, pager, fzf search, confirm dialog, form, spinner, wizard) and drives it with a ready recipe. Use when a program expects a live terminal (arrow-key menus, prompts, spinners, password fields, curses UIs), or when a piped command hangs or prints nothing.
tools
Design and render terminal/CMD visual effects and ASCII art from a one-line request via the pluggable `fx` engine (18 hot-swappable, themeable effects plus scripted shows). Effects include donut, matrix rain, plasma, fire, a spinning 3D ball, Game of Life, wireframe cube, 3D text banners, rainbow/lolcat gradient text, starfield, tunnel, fireworks, image-to-ASCII, and more. Use when the request is for a terminal animation, ANSI/CLI art, or a new console effect. Pure Python stdlib; truecolor.
tools
# X Twitter Scraper Use Xquik for X/Twitter tweet search, user lookup, profile tweets, follower export, media download, monitors, webhooks, posting workflows, and MCP-backed API exploration. ## Prerequisites - A Xquik API key in `XQUIK_API_KEY`. - Internet access to `https://xquik.com/api/v1`, `https://xquik.com/mcp`, and `https://docs.xquik.com`. - A clear user request that identifies the target tweets, users, accounts, keywords, media, monitor, webhook, or write action. ## Source Truth -