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.
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-mediaRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/mudler/LocalAI /tmp/LocalAI && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/LocalAI/core/services/studio/builtinskills/tree/assemble-media ~/.gemini/antigravity-cli/skills/assemble-mediaAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Keeps customer-facing CopilotKit Intelligence docs on one approved name per concept. Useful for writers, editors and reviewers of docs, nav labels, signup labels and image alt text in showcase/shell-docs.
Gets, makes and treats media for HyperFrames videos. It sources music, sound effects, images, voiceover, avatars and transcripts with HeyGen or free local tools, and applies colour grades and looks to footage.
Searches the user's uploaded photo library and connected device galleries to find, date, and describe photos. Built for personal photo requests and for cases where a photo could ground or personalize an answer.
Converts text, markdown, or another skill's summary into a listenable MP3 using local CPU-only neural text-to-speech. It rewrites the prose for listening first. Aimed at people who want audio briefings.
Generate Image creates new images and edits existing ones using OpenRouter models such as FLUX.2 Pro and Gemini 3 Pro. It is aimed at photos, illustrations, concept art and other visuals that are not technical diagrams.
Gives an AI assistant the HyperFrames CLI for building, checking, previewing and rendering video projects. It suits people who make videos from HTML compositions and want the assistant to run the full workflow.
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.
