/video-editing:mkv-strip-tracksfrom video-editing
Removes unwanted audio, subtitle, or video tracks from MKV files using mkvmerge without re-encoding. Useful for reducing file size or cleaning multi-language files.
Ships in video-editing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Selectively keep or discard audio, subtitle, and video tracks in a Matroska container using mkvmerge. Produces a new MKV with only the requested tracks; original is preserved. No re-encoding.
1,2) or language codes; OR -A to drop all audio (optional)3,4) or -S to drop all subs (optional)0) or -D to drop all video (rare) (optional, default: keep track 0)<original-name>.stripped.mkv in same dir)if ! command -v mkvmerge >/dev/null; then
echo "mkvtoolnix not installed. Install: apt install mkvtoolnix"
exit 1
fi
mkvmerge uses track-selection flags:
| Flag | Effect |
|---|---|
-d 0 | keep video track 0 |
-a 1,2 | keep audio tracks 1 and 2 |
-s 3 | keep subtitle track 3 |
-A | drop all audio |
-S | drop all subtitles |
-D | drop all video |
Example: keep video 0, audio 1, subs 3–4:
mkvmerge \
-d 0 -a 1 -s 3,4 \
-o "$OUTPUT" "$FILE"
Before running mkvmerge, query the source with mkvmerge -i "$FILE" to verify all requested track indices exist. Warn if a track is missing.
Print the full mkvmerge invocation and ask for confirmation (especially if many tracks will be dropped).
mkvmerge -d 0 -a "$AUDIO_TRACKS" -s "$SUB_TRACKS" -o "$OUTPUT" "$FILE"
After completion, show:
Source : path/to/in.mkv (12.5 MB)
Output : path/to/in.stripped.mkv (3.2 MB)
Removed : audio track 2, all other subtitles
Reduction : 74%
mkv-track-list. Not all indices are sequential (e.g., if you dropped a track earlier, indices don't shift).-a eng) is more portable than track indices if the MKV has proper language tags. mkvmerge supports ISO 639-2 codes.mkv-track-list first.--no-chapters).What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
41 skills in this plugin
/agentic-editRun an agentic / LLM-driven cut-down on a long video — "make a 60-second highlight reel of this hour-long stream", "cut the boring parts from this lecture", "find the best moments in this footage". Wraps `video-use` (browser-use) by default; falls back to `VideoAgent` (HKU) for research-grade understanding. Both come from the shared uv venv set up by `deps-setup`. Outputs a cut-list (timestamps + reasons) and an optional rendered preview./audio-analysisExtract audio from a video (or analyze a standalone audio file) and report loudness — integrated LUFS, true peak (dBTP), loudness range — against a target like YouTube (-14 LUFS) or broadcast (-23 LUFS). Use when the user says "check loudness", "is this normalized", "extract the audio", "audio analysis", or "what LUFS is this". Read-only on the source — does not normalize./video-editing@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin video-editing