Skip to content
Skill

Subtitles and text effects

Builds ASS/SRT subtitles and bold text overlays for short-form ecommerce videos

Subtitles and text effects is an open-source agent skill for design and media. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
Python
Platforms
Claude Code, Codex, Cursor
GitHub stars
164
Last commit
License
MIT
Listing updated

Similar skills

About Subtitles and text effects

This skill produces subtitle and on-screen text layers for vertical short videos aimed at product selling. A single ASS file can carry four styles: bottom subtitles, pop-in headline text, a corner sticker tag, and a call-to-action button. The bundled Python script builds the file from a JSON timing list, supports splitting long lines into timed segments, and highlights one keyword per line in a contrasting color. It can also export a matching SRT file for platforms that accept uploaded captions.

The workflow keeps text clear of platform interface areas at the bottom, right side and top of the frame, and sizes fonts relative to frame height so the same layout works for 9:16, 1:1 and 16:9. Burning the subtitles into the video is done with ffmpeg and libass, and the skill includes a step that overlays safe-zone guides for a visual check. Guidance covers line length limits, keyword counts and a checklist for typos and timing.

The skill expects a timing file with start and end times and text for each cue, typically generated by the companion ffmpeg assembly skill, or written by hand. It runs with Python and ffmpeg built with libass, and needs a CJK-capable font installed to render Chinese text correctly.

When your agent uses it

字幕与花字:为带货短视频生成 ASS/SRT 字幕与花字(大标题弹出、关键词高亮、贴纸标签、行动号召按钮),自动避开平台底部/右侧 UI 安全区,并用 ffmpeg/libass 烧录。Use when the user wants subtitles, captions, 字幕, 花字, 大字报, keyword highlight, burned-in captions, SRT/ASS files, or text overlays that don't get covered by TikTok/抖音 UI.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (9 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the ecommerce-video-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add xianyu110/ecommerce-video-skills
/plugin install ecommerce-video-skills@ecommerce-video-skills

Or copy only this skill to ~/.claude/skills/subtitles-and-text-effects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xianyu110/ecommerce-video-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/subtitles-and-text-effects &&
cp -R "$tmp/skills/subtitles-and-text-effects" ~/.claude/skills/subtitles-and-text-effects &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/subtitles-and-text-effects inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/subtitles-and-text-effects to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xianyu110/ecommerce-video-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/subtitles-and-text-effects &&
cp -R "$tmp/skills/subtitles-and-text-effects" ~/.agents/skills/subtitles-and-text-effects &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/subtitles-and-text-effects inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/subtitles-and-text-effects to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xianyu110/ecommerce-video-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/subtitles-and-text-effects &&
cp -R "$tmp/skills/subtitles-and-text-effects" ~/.cursor/skills/subtitles-and-text-effects &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/subtitles-and-text-effects inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/xianyu110/ecommerce-video-skills.git --path skills/subtitles-and-text-effects

Or copy the folder to ~/.gemini/skills/subtitles-and-text-effects yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/subtitles-and-text-effects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xianyu110/ecommerce-video-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/subtitles-and-text-effects &&
cp -R "$tmp/skills/subtitles-and-text-effects" ~/.copilot/skills/subtitles-and-text-effects &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/subtitles-and-text-effects inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/xianyu110/ecommerce-video-skills.git

Then copy ecommerce-video-skills/skills/subtitles-and-text-effects into your agent's skills folder as subtitles-and-text-effects. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Multi-style ASS generation
Creates one ASS file containing bottom subtitles, pop-in headlines, corner tags and call-to-action buttons.
Keyword highlighting markup
Wraps marked words in bold markers so they render in a highlight color.
Safe-zone placement
Positions captions and headlines to avoid bottom, right and top platform interface areas.
SRT export
Outputs a matching SRT file for platforms that accept uploaded caption tracks.
ffmpeg burn-in workflow
Gives the ffmpeg command to hard-code the ASS subtitles into a video.
Font auto-detection
Searches for common CJK fonts and allows a font name to be specified.

Good for

  • Add Chinese subtitles and highlighted keywords to a product video
  • Create pop-up headline text for the hook shot of a short ad
  • Burn captions into a vertical video so they avoid TikTok or Douyin UI
  • Generate an SRT caption file to upload alongside a video
  • Add a corner product tag and a call-to-action button to a clip

Subtitles and text effects FAQ

What does the skill need to run?

It needs Python to run make_subs.py, a timing JSON file, and ffmpeg built with libass to burn the subtitles in. A CJK font such as Noto Sans CJK is needed for Chinese text.

How are the subtitle styles defined?

A single ASS file holds four styles named Sub, Hook, Tag and CTA. Each cue in the timing file chooses one of these styles.

How is the layout kept clear of app UI?

Subtitles sit above the bottom area, text keeps away from the right-side action buttons, and the Hook style sits near the top. A safe-zone preview overlay helps verify placement.

Can I change the font or colors?

Yes. The header function in the script controls font size and ASS colors, and a font name can be passed with a command-line option.

How do I install Subtitles and text effects in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/subtitles-and-text-effects to use it in all your projects, or to .claude/skills/subtitles-and-text-effects in one project. Or install the ecommerce-video-skills plugin, which includes it: /plugin marketplace add xianyu110/ecommerce-video-skills, then /plugin install ecommerce-video-skills@ecommerce-video-skills.

Does Subtitles and text effects run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Subtitles and text effects?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Subtitles and text effects?

The closest alternatives to Subtitles and text effects are Ffmpeg auto assemble, Live stream clips, Lead media edit, Motion video and Cover title ab.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from xianyu110/ecommerce-video-skills

  1. Generates sentence-by-sentence Chinese and English voice-overs for short videos

    • Open source
    • 164 GitHub stars
    • Design and media
  2. Generates cover image variants and title sets for short-form product videos, plus A/B test

    • Open source
    • 164 GitHub stars
    • Marketing and SEO
  3. Renders a storyboard of product images and clips into a voiced, subtitled 9:16 video

    • Open source
    • 164 GitHub stars
    • Design and media
  4. Writes scored 3-second opening hooks with dialogue, on-screen visuals and captions

    • Open source
    • 164 GitHub stars
    • Marketing and SEO
  5. Turns product photos into short image-to-video prompts with a local Ken Burns fallback

    • Open source
    • 164 GitHub stars
    • Design and media
  6. Cuts e-commerce livestream recordings into captioned vertical short clips

    • Open source
    • 164 GitHub stars
    • Design and media