Skip to content
SkillScript-led4,006 tokens in use

short-drama-edit

Cuts generated short drama shots into a finished episode with logged in and out points, script-exact subtitles, on-screen text, sound mix and loudness.

4,570 stars on the repository MIT Licensezenstory-ai/drama-skills · skills/short-drama-edit
npx skills add zenstory-ai/drama-skills -y -g
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing short-drama-edit costs

100tokens idle
4,006tokens in use
10,942tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Script-led

Script-ledMixedModel-led

Most of this skill is scripts, so it behaves much the same whichever model runs it.

This describes the skill's structure, how much of it is scripts. It does not say how well it works. Scripts: assets/remotion/remotion.config.ts, assets/remotion/src/font.ts, assets/remotion/src/index.ts, assets/remotion/src/rules.mjs, assets/remotion/src/schema.ts, assets/remotion/src/screen/tokens.ts, scripts/edit_tool.py, scripts/selftest.py.

Touches

shelldetectednetworkdetectedwrites filesdetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Good
  • Frontmatter11/15
  • Structure16/25
  • Examples9/15
  • Output10/15
  • Size15/15
  • Resources13/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Good
  • Reaches the network−10

    does this on the machine, and the frontmatter does not say so

    assets/remotion/src/font.ts, line 52
  • Runs shell commands−5

    does this on the machine, and the frontmatter does not say so

    scripts/edit_tool.py, line 1179
  • Writes files−8

    does this on the machine, and the frontmatter does not say so

    scripts/edit_tool.py, line 2312

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity100
  • Maintenance100
  • Community52
  • Maturity20
  • Momentum40

short-drama-edit takes the shots generated for an episode and assembles them into one finished video. Every cut is written in an edit list with its source, in and out points, the reason for each trim, subtitles copied word for word from the script, sound and on-screen text.

Three commands do the technical work with ffmpeg: check validates the edit list against the files and the script, render builds the video with subtitles and unified loudness, and verify measures the result and flags jumps at cut points for a human to review. It never changes the approved script or prompts. The skill’s text is in Chinese.

What You Get

  • An edit list Markdown file with a delivery spec and one entry per cut
  • A rendered episode with burned-in subtitles, on-screen text layers, sound effects, dubbing and ambience
  • A check report of timing, source IDs, media readability, aspect ratio and script-exact subtitle text
  • A verify report of total duration, loudness, true peak, and flagged brightness or volume jumps at cuts
  • Intermediate segment files kept next to the final video

Common Use Cases

  • Assemble the clips of one episode into a vertical cut with subtitles and normalized loudness
  • Try a partial cut of a single scene before the full episode is generated
  • Add system-panel or task-panel style on-screen text to a game-style drama

What Makes It Unique

Each trim needs a written reason tied to a specific frame action, and subtitles must match the script text exactly, with transcription used only to find timing. The checker blocks mixed aspect ratios and overlapping source ranges unless a replay is justified, and the skill will not edit approved scripts or prompts; gaps go back to the stage that owns them.

Under The Hood

A bundled Python script, edit_tool.py, runs the work on the local machine and requires ffmpeg and ffprobe on the path. It reads clips, images and audio from the episode’s output folder and writes segment files and the final video under the episode folder. For on-screen text or Remotion subtitles it uses a bundled Remotion workspace with Node, which needs its font packages installed with npm first. The agent also edits the edit list file and runs shell commands. The instructions do not send project data to web services.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers