gyulbit-tools

Lipsync Audio — Development skill for Claude Code

Development community

A Claude Code skill and script that cuts per-shot vocal clips for lip-sync video models.

How to install Lipsync Audio

This entry records only its repository, not the path inside it, so there is no exact command to give. Open gyulbit-tools/lipsync-audio and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Lipsync Audio does

A Claude Code skill and script that cuts per-shot vocal clips for lip-sync video models.

Alternatives in Development

  • Sora — Generate, remix, and manage short video clips via OpenAI's Sora API 14.6k ★
  • Media — Understand an audio / video / image file — Antigravity (agy/Gemini) transcribes and analyzes it, returning a t 284 ★
  • Sun Skill — Justin Sun Cognitive Framework - 孙宇晨认知操作系统 21,829 tweets + 288-page autobiography + 155-episode audio course + 246 ★

README

lipsync-audio

A Claude Code skill (plus the script behind it) that cuts per-shot vocal clips, "song windows", from a vocal stem for lip-sync video models such as Seedance and Kling.

[Korean README](README.ko.md)

The rules come from Seedance experiments; other models are not verified.

  • Each window opens in silence 0.5-1.0 s before the first sound (default 0.7 s).
  • Its length is a whole number of seconds equal to the generation length, from 4 to 15 s.
  • Sound outside that shot's lines is muted with a 20 ms fade.

`SKILL.md` is the entry point Claude reads: the order of work and what to do about each warning. This README has the full rules.

Install

This is a Claude Code skill. Put the folder where Claude Code looks for skills:

# for all projects (user level)
Copy-Item -Recurse .\lipsync-audio "$env:USERPROFILE\.claude\skills\lipsync-audio"
# or for one project
Copy-Item -Recurse .\lipsync-audio "\.claude\skills\lipsync-audio"

Then give Claude Code a vocal stem and the rough times of the lines per shot, and ask something like "cut lip-sync audio for these shots". You can also run the script directly; see below. The `tests` folder is optional at runtime.

Requirements

  • Python 3.7 or later, standard library only (tested with Python 3.14). On Windows a bare python may be the Microsoft Store stub; py -3 is the python.org launcher.
  • ffmpeg and ffprobe on PATH (tested with ffmpeg 9.0.1).
  • Any OS that runs those. The examples are PowerShell; the script itself does not depend on it.

Usage

py -3 -I -B -X utf8 scripts\lipsync_audio.py --vocal "Lead Vocal.wav" --shots shots.json --out out [--mix "mix.wav"] [--dry-run]

`-I` keeps the work folder and `PYTHON*` variables out of the import path, `-B` writes no `__pycache__`, and `-X utf8` keeps non-ASCII output readable on PowerShell 5.1.

Main options: `--lead 0.7` (seconds before the first sound), `--noise -35` (silence threshold in dB), `--min-silence 0