A professional Python-based utility to render animated, pill-style captions onto short-form videos using MoviePy and PIL.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install skill-video-caption-overlay
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install skill-video-caption-overlay using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Video Caption Overlay skill is designed for developers and content creators using Openclaw Skills to programmatically generate social-media-ready videos. It eliminates the need for manual editing tools like Premiere or CapCut by using Python to overlay animated pill captions onto MP4 files. The skill specifically solves common programmatic design hurdles, such as the PIL textbbox y-offset bug, ensuring that text is perfectly centered within its background pill for a high-quality, professional finish.
By integrating this skill into your Openclaw Skills workflow, you can automate the production of TikTok ads, Instagram Reels, and YouTube Shorts with precise control over timing, typography, and styling. It supports multi-phase captioning, allowing you to stack lines, adjust opacities, and synchronize background audio seamlessly.
To get started with this component of Openclaw Skills, ensure you have the uv package manager installed. You can execute the overlay process using the following command:
uv run --with moviepy --with pillow scripts/overlay.py \
--video base.mp4 \
--output final.mp4 \
--captions scripts/example_captions.json \
--audio music.mp3
You can also provide custom font paths using the --font-black or --font-bold flags to align with your brand guidelines.
The skill utilizes a structured JSON format to manage caption data. Each phase represents a specific time window on the video timeline.
| Field | Description |
|---|---|
start / end |
Start and end timestamps in seconds. |
y_frac |
Vertical positioning (0.06 = top, higher values move down). |
lines |
An array of text objects including text, size, bold, and bg (RGB color). |
px / py |
Horizontal and vertical padding for the pill background. |
r |
The border radius for the pill corners. |
Loading
A sophisticated CLI-based tool for generating, polling, and stitching AI-generated video segments using Google Veo 3 models via the Gemini API.

A comprehensive AI-driven workflow that transforms product descriptions into polished UGC video ads with talking heads and cinematic B-roll.

A Python-based automation tool for generating TikTok-style short-form videos with animated pill captions and product presets.

An automated pipeline for creating professional 1080x1920 short-form video ads from raw supplier or dropshipping source footage.

An automated security scanner designed to prevent credential leaks and sensitive data exposure within Openclaw Skills development workflows.

A trustless USDC escrow framework enabling secure agent-to-agent payments and automated dispute resolution on the Base network.








































