Turn video dialogue frames into a publish-ready social long image
Finds the sentence, grabs that exact frame, then tiles tight crops into a vertical long image — with burned-in or redrawn subtitles.

Suggested prompts
About this skill
Native Subtitle Quote Image — an introduction
If you have ever tried to turn a favorite scene into a shareable quote card, you know the friction: scrub to the moment, pause on a frame where the subtitle is actually readable, crop it, then retype the line because the crop cut it off — and somewhere in that process the image stops being an honest record of the video. This skill automates that entire chain. Given a video, it locates the sentence in the transcript, picks the precise frame, crops tightly, stitches the frames into one tall vertical image, and quality-checks every output. It is built for quote collections, dialogue recaps, and social-media companion images.
The central design decision is that it has two subtitle modes which never mix. In native mode it keeps the subtitles already burned into the picture: the text comes from the video pixels themselves, with no OCR, no redrawing, and no translation or rewriting. In script mode it draws lines you have already reviewed onto real frames and explicitly marks them as post-production subtitles. You always know which mode produced a given image, and the skill does not switch modes behind your back. If you do not specify one, the agent asks which you want and explains the difference in a sentence before proceeding.
Inputs are either a local video file or a link to an online video you can process (the README documents YouTube, fetched with yt-dlp). Three documented ways of working exist: a local finished video, which needs no downloader; a full URL flow that fetches the video, metadata, and auxiliary subtitle track before the mode is chosen; and content production, where you read the transcript, pick topics, write the piece, and then add subtitle screenshots.
You can use it as an Agent skill — installed by copying the skill directory into a Codex or Claude Code skills folder — and invoke it in one sentence, or run the Python script directly for each step. Outputs are per-line JPGs at the layout or aspect ratio you chose, plus a JSON record of native subtitle timestamps (native mode) or the reviewed lines JSON (script mode); multi-image jobs also receive a final_contact_sheet.jpg overview.
Dependencies are modest but real. A Python environment with the bundled requirements.txt is required, and a read-only environment self-check (check_environment.py) reports what is missing without installing or changing anything — the agent explains any gap and asks before installing. Handling URLs adds yt-dlp. Drawing Chinese, Japanese, or Korean lines requires a suitable CJK font; common system fonts are tried automatically, and a specific font can be supplied when none is found. The local-video path avoids the downloader entirely.
The caveats matter. Native mode only works when the subtitles are burned into the frame; if the video offers only a toggleable subtitle track, the agent states the limitation and switches to script mode only with your consent. Script-mode text must come from a reviewed JSON file and is never presented as the video's original subtitles. Fixed-camera footage is flagged as high-risk, because the main frames can look nearly identical. Optional framing aids such as --hero-zoom crop and enlarge rather than adding real detail, so low-resolution sources get softer, not sharper. And the skill still expects you to check each image yourself — especially that subtitle edges remain complete after cropping.
Original: https://github.com/chengyi-ai/native-subtitle-quote-image
