promo-reels
Promo Reels
Footage + title + date + CTA → several 1080×1920 Reels, each: hook slide → 8–20 shots → CTA slide, with or without music, in a look chosen for this project (theatre premiere, concert, course launch, product drop…). Everything is files and scripts, so any version can be rebuilt by editing a JSON and re-running.
Works in any agent with a shell and Python (Claude Code, Codex, ChatGPT Work / containers) — it uses only the scripts here, no agent-specific tools. Paths below are relative to this skill's folder (<skill>/scripts/…); run them with python3.
Step 0, every run: python3 scripts/doctor.py (add --install to pip-install missing Python packages). It checks ffmpeg filters, headless Chrome/Chromium (also Playwright's), bundled fonts, network, the API key, and prints which modes are available. Plan the run from its output:
- No network (Codex default sandbox, ChatGPT chat container): music mode
none/file/licensed, no transcription — captions only from text the user gives. Don't retry network calls. ELEVENLABS_API_KEYmissing: ask the user to set it as an environment variable/secret; never print it or write it to a file.- Skill folder read-only: the learning loop outputs lessons as text (see below).
Requirements: ffmpeg + ffprobe, Chrome/Chromium (headless), Python ≥ 3.9 with numpy, opencv; librosa + soundfile for beats/music. Fonts are bundled (
assets/fonts, OFL) — slides render offline.
Intake (ask only what's missing, in one message)
Required: video files · title · date (and time if known) · venue · CTA text and where it leads ("ссылка в профиле" by default).
Defaults: 3 reels, ~20–25 s each, captions only where speech is verified. Style — ask once: pick from previews / match a reference (poster, screenshot, site) / a brand file (references/style.md). Music mode ask once: none (user adds in Instagram) / generate (genre words) / licensed <track> (grid only, never embed) / file <path>.
Also ask: what the show/event/product is (genre, tone) — it decides what may be joked about and which presets to show first (mood in each preset). Push back on briefs that can't work (e.g. jokes from footage that isn't funny, 60 s from 30 s of material) before building.