Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

assemble-media

Skill by mudler

Joins, trims, mixes, subtitles and inspects generated media. It is for users who want to rework clips and pictures made with LocalAI tools, using ffmpeg, sox, ImageMagick or Pillow.

  • Score 88
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install assemble-media

Built from the published package, never by AI.

git clone --depth 1 https://github.com/mudler/LocalAI /tmp/LocalAI && mkdir -p ~/.claude/skills && cp -r /tmp/LocalAI/core/services/studio/builtinskills/tree/assemble-media ~/.claude/skills/assemble-media

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install assemble-media in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill lets an AI assistant rework media that it generated with LocalAI tools. It uses the shell tools of a media sandbox: ffmpeg, ffprobe, sox, ImageMagick and Python with Pillow. The assistant works in the folder where the generated pieces are and writes results under new names, so no file is overwritten. Before assembling, it inspects each piece with ffprobe and a single frame grab.

The skill covers joining clips, adding or mixing audio with two-pass loudness normalisation, trimming, fading, changing speed, resizing and cropping, making contact sheets and GIFs, and adding subtitles. It also makes first and last frames, frame sets and masks to use in the next generation. It can build simple videos from pictures, text or charts by drawing frames with Pillow and piping them into ffmpeg. The source is aimed at people who make short clips, slideshows and title cards from generated material.

Written from the project's SKILL.md and checked against it.

What it can do

  • Find the filesLists generated files and uses the exact path returned by a generation tool.
  • InspectReads media facts with ffprobe, grabs a frame as PNG and measures audio volume.
  • Join clipsConcatenates clips without re-encoding, or scales and pads mismatched clips with a helper script.
  • Audio trackReplaces or adds audio, ducks music under a voice and normalises loudness to -16 LUFS.
  • Trim, fade, speedCuts a section, adds fades in and out, and changes playback speed.
  • Resize and cropScales video, centre crops to 9:16 and fills or crops images with ImageMagick.
  • SubtitlesBurns an SRT file into the video or adds it as a switchable subtitle track.
  • Frames and masksExtracts first, last or sampled frames and draws masks for image generation.
  • Video from framesRenders title cards and slideshows with Pillow frames piped into ffmpeg.

What you need

  • LocalAI tools to generate the media pieces
  • ffmpeg and ffprobe
  • sox
  • ImageMagick
  • Python with Pillow
  • A system font for burned-in subtitles

Try asking

  • Join these two generated clips into one video with the same size
  • Add this music under my voice recording and normalise the loudness
  • Trim clip a.mp4 to seconds 1 to 4 and add a short fade in and out

Good to know

  • The media sandbox has no network access.
  • Burned-in subtitles need a system font; otherwise the soft subtitle track should be used.
  • Copy-mode joining needs clips with the same codec, size and frame rate.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: core/services/studio/builtinskills/tree/assemble-media/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md17 KB

Alternatives to assemble-media

All alternatives →

Compare with intelligence-vocabulary, media-use or media_library

assemble-media: common questions

What tools does assemble-media use?

It uses ffmpeg, ffprobe, sox, ImageMagick and Python with Pillow in the media sandbox. The source says the pieces are generated first with LocalAI tools.

Does it overwrite my generated files?

No. The source says results are written next to the inputs with new names, and a piece is never overwritten.

Can it make a video from pictures or text?

Yes. The source describes drawing frames with Pillow, piping them into ffmpeg, and making title cards and slideshows with a slow zoom and crossfade.

How do I install assemble-media?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is assemble-media free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is assemble-media safe to use?

It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to assemble-media?

Similar skills: intelligence-vocabulary, media-use, media_library, speak-summary.

assemble-media Install

Add to stack

Loading.