short-form-pipeline

short-form-pipeline is a skill for Claude Code, Codex from ericosiu/ai-marketing-skills. It costs 0 tokens per session (994 once invoked), scanned A, original, MIT.

A pipeline that turns long YouTube videos into short vertical clips for TikTok, Instagram Reels, and YouTube Shorts. It can download and transcribe a video, choose segments, crop them, and burn captions into the clips.

In plain words
What is it for?
Use it to create clips from a YouTube URL, with options such as a maximum clip count and output folder. It requires yt-dlp, FFmpeg, Python dependencies, and an Anthropic API key; face-aware cropping is optional.
Why use it?
It removes the manual work of finding interesting moments and preparing the same video for several short-form platforms.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 telemetry/version_check.py 2>/dev/null || true.

Good fit Use it to create clips from a YouTube URL, with options such as a maximum clip count and output folder. It requires yt-dlp, FFmpeg, Python dependencies, and an Anthropic API key; face-aware cropping is optional.

Compare 6 skills from other repositories ↓
About the project

AI Marketing Skills is a collection of open-source workflows that help AI coding agents handle marketing and sales work, including growth experiments, pipeline management, content operations, outbound outreach, SEO, and finance analysis. It is intended for marketing and sales teams that want reusable agent-driven processes. The catalogue entries package these workflows as skills for compatible coding agents.

ericosiu/ai-marketing-skills · 3,784 stars · on GitHub · singlegrain.com

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ericosiu/ai-marketing-skills
agentmods
npx agentmods add skills/ericosiu/ai-marketing-skills/short-form-pipeline

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for short-form-pipeline

README.md
[![agentmods](https://agentmods.dev/badge/skills/ericosiu/ai-marketing-skills/short-form-pipeline/github.svg)](https://agentmods.dev/skills/ericosiu/ai-marketing-skills/short-form-pipeline)
Your own site
<a href="https://agentmods.dev/skills/ericosiu/ai-marketing-skills/short-form-pipeline"><img src="https://agentmods.dev/badge/skills/ericosiu/ai-marketing-skills/short-form-pipeline/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for short-form-pipeline

Your own site · 80×15
<a href="https://agentmods.dev/skills/ericosiu/ai-marketing-skills/short-form-pipeline"><img src="https://agentmods.dev/badge/skills/ericosiu/ai-marketing-skills/short-form-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 994 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00994
Opus 5.5 $0.00000 $0.00398
Sonnet 5.5 $0.00000 $0.00199
Haiku 4.5 $0.00000 $0.00099

Measured 2mo ago against content hash a6bbe961a2fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

short-form-pipeline scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/clip_sender.py, scripts/shortform_pipeline.py, scripts/video_clipper.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

short-form-pipeline/SKILL.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Short-Form Video Clip Pipeline — Skill

Preamble (runs on skill start)

# Version check (silent if up to date)
python3 telemetry/version_check.py 2>/dev/null || true

# Telemetry opt-in (first run only, then remembers your choice)
python3 telemetry/telemetry_init.py 2>/dev/null || true

Privacy: This skill logs usage locally to ~/.ai-marketing-skills/analytics/. Remote telemetry is opt-in only. No code, file paths, or repo content is ever collected. See telemetry/README.md.


Extract viral short-form clips (TikTok, Reels, Shorts) from long-form YouTube videos. Handles download, transcription, AI segmentation, cutting, vertical cropping, and caption burn-in.

Prerequisites

  • yt-dlp and ffmpeg installed
  • ANTHROPIC_API_KEY environment variable set
  • Python dependencies from requirements.txt installed
  • Optional: mediapipe and opencv-python for face-detected smart crop

Quick Start

Single video → clips

python3 scripts/shortform_pipeline.py \
  --url "https://www.youtube.com/watch?v=VIDEO_ID" \
  --max-clips 3 \
  --output-dir ./output

Standalone clipper (no Claude, heuristic scoring)

python3 scripts/video_clipper.py --url "https://www.youtube.com/watch?v=VIDEO_ID"

Pipeline Overview

  1. Download — yt-dlp fetches video + auto-generated VTT captions
  2. Transcribe — Whisper generates word-level timestamps (falls back to YouTube captions)
  3. Segment — Claude identifies 2–5 best 30–60s moments with hook scoring ≥7/10
  4. Cut Verification — Second Claude pass verifies each clip ends on a complete thought
  5. Cut — FFmpeg extracts each clip from the source video
  6. Vertical Crop — Layout-aware 16:9 → 9:16 conversion with face detection
  7. Caption Burn — TikTok-style word-highlighted captions (ASS format) burned in

Key Files

File Purpose
scripts/shortform_pipeline.py Full pipeline: download → segment → cut → crop → caption
scripts/video_clipper.py Standalone clipper with heuristic scoring (no Claude needed)
scripts/clip_sender.py Helper for clip delivery and review workflow

Read the full file on GitHub · 103 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 103 lines · 0 tokens per session scan A a6bbe961a2fd

Subscribe to this mod's changes

short-form-pipeline is a skill published in the GitHub repository ericosiu/ai-marketing-skills (3,784 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 994 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

short-form-pipeline compared with skills from other repositories

short-form-pipeline next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
short-form-pipelineericosiu/ai-marketing-skillsSkill3.8k5d agoMITA0Claude Code, Codex
imagegenopenai/codexSkill133ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99ktodayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k2d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
chat-pet-sprite-creationmicrosoft/vscodeSkill195ktodayMITA53Claude Code, Codex