# YouTube to Vertical Shorts: Auto Pick Best Moments

> Paste a long YouTube video and get 1080x1920 shorts for TikTok, Reels and YouTube Shorts. Scores every second for audio energy, motion, scene changes and faces, then your agent checks preview frames and picks the strongest moments.

YouTube to Vertical Shorts: Auto Pick Best Moments is a paid AI agent skill on Agensi by Shivashish Yadav, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $12 (one-time purchase)
- Creator: [Shivashish Yadav](https://www.agensi.io/creators/shivashish-yadav)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.0
- Last updated: 2026-11-27
- Security: scan passed (2026-11-27); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/youtube-to-vertical-shorts-auto-pick-best-moments
- Tags: automation, python, ffmpeg, video-processing, opencv, youtube-shorts

## About this skill

### What it does

Shorts AI finds the most engaging moments in a long video and turns them into vertical shorts. You choose the clip length (30 to 180 seconds), how many clips, and the framing. Your agent does the rest.

### How it picks moments

Every second of the video gets a score from 4 local signals:

- **Audio energy:** loudness plus sudden jumps (laughs, applause, music drops)
- **Motion:** optical flow, so action scores higher than static shots
- **Scene changes:** cuts and visual variety
- **Faces:** close-ups and reactions score higher

The skill ranks clip windows by their average score and keeps the best ones that don't overlap. It saves 3 preview frames per candidate, so your agent can look at them, drop intros, sponsor reads and black frames, and nudge start and end points to land on full sentences when captions exist.

### Output

- 1080x1920 H.264 MP4 files (or 720x1280 for smaller files), with a thumbnail for each
- **Crop** framing fills the screen for talking heads
- **Blur** framing keeps the whole frame over a blurred background for wide shots, slides and gameplay

### Privacy and network use

Only the download step contacts YouTube (through yt-dlp). Analysis and rendering run fully offline with FFmpeg and OpenCV. No API keys, no uploads, no extra AI model to install.

### Requirements

Python 3.10+, FFmpeg, and `pip install -r requirements.txt` (yt-dlp, opencv-python-headless, numpy). Run `python scripts/fetch_video.py --check` to confirm setup. Local video files work too.

Packaged from my open source ShortsAI app (MIT license).

## Requires

- Python
- FFmpeg

## Known limitations

Requires FFmpeg and Python 3.10 on the local PATH. Analysis of videos over 2 hours is slow. Face detection requires opencv-python-headless under version 5.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the YouTube to Vertical Shorts: Auto Pick Best Moments skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill simplify the process of creating social media clips?

Shorts AI automates the tedious process of finding viral moments in long-form video. Instead of manual scrubbing, it uses computer vision and audio analysis to pinpoint high-energy segments and automatically reframes them for vertical platforms like TikTok and Reels.

### What are the technical requirements to run this skill?

This skill is designed for AI agents with access to a local Python environment. It requires Python 3.10+, FFmpeg for media encoding, and OpenCV for the visual analysis components.

### Does the skill automatically adjust the video framing for a vertical aspect ratio?

Yes. Every short comes out at 1080x1920. Crop framing takes a centred 9:16 slice of the frame, which suits talking heads and single speakers. Blur framing keeps the whole frame and fills the top and bottom with a blurred copy, which suits slides, gameplay and wide shots. It does not track a moving subject, so pick blur when the action sits off-centre.

### What exactly is included in the Shorts AI package?

Your purchase includes a complete set of Python scripts for video fetching, multi-signal analysis, and batch rendering. You also receive documentation on integrating these tools with your AI agent to automate the decision-making workflow.

### Can I review the suggested clips before they are rendered into final files?

Yes, the `analyze.py` script generates a `candidates.json` file. This allows your AI agent (or you manually) to review engagement scores and preview frames to filter out unwanted segments like sponsor reads or intros before the final rendering.

### Is there a limit to the length of the source video I can process?

While highly efficient, processing very large files (2+ hours) can take several minutes depending on your hardware. For optimal performance, we recommend using this skill on individual episodes or stream recordings rather than multi-hour archives.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
