shorts
VerifiedInteractive longform-to-shortform video creator. Extracts viral-ready short clips from long videos using Claude as the orchestrator. Transcribes with faster-whisper (GPU), Claude scores and presents candidate segments interactively, user picks and adjusts, Remotion renders premium animated captions (Bold/Bounce/Clean styles), FFmpeg exports platform-optimized files (YouTube Shorts, TikTok, Instagram Reels). Use when user says "shorts", "short clips", "shortform", "extract clips", "tiktok from video", "reels from video", "vertical clips", or "create shorts".
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 12.5 KB |
| references/caption-styles.md | markdown | 3.5 KB |
| references/platform-specs.md | markdown | 4.3 KB |
| references/remotion-patterns.md | markdown | 5.0 KB |
| references/scoring-rubric.md | markdown | 4.2 KB |
| scripts/compute_reframe.pyexecutable | script | 14.4 KB |
| scripts/detect_content.pyexecutable | script | 6.8 KB |
| scripts/detect_gpu.shexecutable | script | 1.9 KB |
| scripts/export.shexecutable | script | 5.5 KB |
| scripts/preflight.shexecutable | script | 3.4 KB |
| scripts/snap_boundaries.pyexecutable | script | 9.4 KB |
| scripts/transcribe.pyexecutable | script | 6.7 KB |
| scripts/validate.shexecutable | script | 4.6 KB |
scripts/detect_gpu.sh
View on GitHub#!/usr/bin/env bash
# Detect NVIDIA GPU and available NVENC encoders for FFmpeg
# Usage: bash scripts/detect_gpu.sh
# Output: JSON with gpu_name, driver, encoders[], cuda_filters[]
set -euo pipefail
json_output() {
local gpu_name="${1:-none}"
local driver="${2:-none}"
local has_nvenc="${3:-false}"
local encoders="${4:-[]}"
local cuda_filters="${5:-[]}"
cat <<EOF
{
"gpu_detected": $([ "$gpu_name" != "none" ] && echo "true" || echo "false"),
"gpu_name": "$gpu_name",
"driver_version": "$driver",
"nvenc_available": $has_nvenc,
"encoders": $encoders,
"cuda_filters": $cuda_filters,
"recommendation": $([ "$has_nvenc" = "true" ] && echo '"Use NVENC for 5-10x faster encoding"' || echo '"No GPU detected, using CPU encoding"')
}
EOF
}
# Check for nvidia-smi
if ! command -v nvidia-smi &>/dev/null; then
json_output
exit 0
fi
# Get GPU info
GPU_NAME=$(nvidia-smi --query-gpu=name --format=csv,noheader 2>/dev/null | head -1 | xargs) || GPU_NAME="none"
DRIVER=$(nvidia-smi --query-gpu=driver_version --format=csv,noheader 2>/dev/null | head -1 | xargs) || DRIVER="none"
if [ "$GPU_NAME" = "none" ]; then
json_output
exit 0
fi
# Check FFmpeg NVENC encoders
ENCODERS="[]"
if command -v ffmpeg &>/dev/null; then
ENC_LIST=$(ffmpeg -hide_banner -encoders 2>/dev/null | grep -oP '(h264|hevc|av1)_nvenc' | sort -u)
if [ -n "$ENC_LIST" ]; then
ENCODERS=$(echo "$ENC_LIST" | jq -R . | jq -s .)
fi
fi
# Check CUDA filters
CUDA_FILTERS="[]"
if command -v ffmpeg &>/dev/null; then
FILTER_LIST=$(ffmpeg -hide_banner -filters 2>/dev/null | grep -oP '\S*cuda\S*' | sort -u)
if [ -n "$FILTER_LIST" ]; then
CUDA_FILTERS=$(echo "$FILTER_LIST" | jq -R . | jq -s .)
fi
fi
HAS_NVENC="false"
if [ "$ENCODERS" != "[]" ]; then
HAS_NVENC="true"
fi
json_output "$GPU_NAME" "$DRIVER" "$HAS_NVENC" "$ENCODERS" "$CUDA_FILTERS"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |