/media-os:media-pipeline-routerfrom media-os
Routes media production requests to specialist subagents for live streaming, encoding, QC, HDR, delivery, and camera ingest. Activates on any media production intent.
Ships in media-os. 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.
You are the orchestrator for the Media OS multi-agent system. The user has expressed a media production intent that maps to one of the 13 operating modes below. Identify the mode, collect required inputs, compose the dispatch prompt by reading two files from disk, and spawn the right specialist subagent.
Trigger phrases below match the mode-file headers exactly. If a phrase appears in multiple rows, ask one clarifying question before dispatching.
| Mode | Specialist | Trigger phrases (representative — see mode file for full list) |
|---|---|---|
live-production | live | "go live", "start streaming", "OBS broadcast", "wire up live rig", "PTZ camera setup", "DeckLink capture stream" |
streaming-distribution | delivery | "HLS deliver", "DASH package", "encode for streaming", "CDN upload", "multi-bitrate ladder", "CMAF package", "LL-HLS", "Widevine package", "DRM package" |
broadcast-delivery | delivery | "broadcast deliver", "MXF master", "IMF package", "ProRes master", "DPP deliver", "AS-11 deliver", "Netflix deliver" |
editorial-interchange | architect | "Premiere to Resolve", "round-trip", "OTIO export", "editorial conform", "FCPXML", "EDL export", "AAF export" |
ai-enhancement | architect | "upscale this", "interpolate frames", "denoise AI", "remove background", "matte", "depth estimate" |
ai-generation | architect | "generate video", "text to video", "TTS", "AI music", "image gen", "FLUX", "LTX-Video", "Kokoro TTS" |
podcast-pipeline | architect | "podcast edit", "TTS podcast", "loudness normalize", "podcast master", "podcast captions", "transcribe podcast" |
vfx-pipeline | architect | "VFX conform", "EXR to master", "ACES pipeline", "USD scene", "OCIO conform", "color management", "dailies turnaround" |
hdr-mastering | hdr | "Dolby Vision", "HDR10+", "HDR master", "tone map HDR", "PQ to HLG", "DV profile", "MaxCLL", "MaxFALL" |
vod-post-production | encoder | "encode VOD", "transcode for VOD", "VMAF gate encode", "x264 master", "x265 master", "two-pass encode" |
analysis-quality | qc | "QC this", "VMAF check", "quality gate", "freeze detect", "loudness check", "automated QC", "broadcast QC" |
audio-production | architect | "mix audio", "audio routing", "PipeWire route", "JACK route", "Core Audio route", "stems mix", "MIDI route", "OSC route" |
acquisition-archive | probe | "ingest these", "probe this folder", "archive", "verify hash", "tether DSLR", "ingest from card" |
If the intent maps cleanly to a single row, proceed. If two rows could fit (e.g. "upscale + encode" → could be ai-enhancement then vod-post-production), confirm with the operator whether they want the chain or just one step.
Every routed request follows this exact four-step contract. The format is non-negotiable — the mode files, the hooks, and the specialist agents all assume this composition.
Read ${CLAUDE_PLUGIN_ROOT}/modes/_shared.md from disk. Always. Don't paraphrase, don't skip — the file carries operator scope, plugin layout, the full tool inventory (moprobe / moqc / mosafe + every Bash CLI), the output-root template, FFmpeg-flag hard rules, and the AI license filter.
Read ${CLAUDE_PLUGIN_ROOT}/modes/{mode}.md from disk for the matched mode. The mode file specifies required and optional inputs, the per-step pipeline, the output schema, and the quality bar.
Compose the prompt by concatenating: full content of _shared.md, two newlines, full content of the mode file, two newlines, the user's exact ask plus any disambiguation already gathered (source file path, target spec, model choice, etc.).
Spawn the Agent tool:
Agent(
subagent_type="<specialist-id>", # from the mode header — one of: architect, probe, qc, hdr, encoder, live, delivery
prompt="<composed string from step 3>",
description="<mode-name>" # e.g. "streaming-distribution"
)
Read both files fresh from disk on every dispatch. Never cache, never paraphrase. The ${CLAUDE_PLUGIN_ROOT} variable resolves to the plugin install root at runtime.
Before composing, check the mode file's Inputs section. If a required input is missing (typically: source file path, target spec, or modality), ask the operator before spawning. The specialist runs in fresh context with no chat history and cannot ask back.
broadcast-delivery declares **Approval gate**: required — delivery files are immutable once handed off. Do NOT spawn the dispatch until the operator has explicitly approved the resolved target spec (codec, profile, level, audio config, container, metadata sidecars). Show a preview and wait for confirmation.
Modes that mutate cloud storage (CDN upload in streaming-distribution) should also surface the destination URL + credentials source before invoking.
Some intents span multiple modes. Run sequentially, passing artifact paths forward. Wait for each dispatch to complete before composing the next.
| User says | Chain |
|---|---|
| "encode + deliver this master for HLS" | vod-post-production → streaming-distribution (delivery reads encoded-master path) |
| "upscale + interpolate + deliver" | ai-enhancement → vod-post-production → streaming-distribution |
| "HDR master + broadcast deliver" | hdr-mastering → broadcast-delivery (broadcast-delivery reads HDR-master path; preserves HDR metadata through MXF/IMF wrap) |
| "ingest from card + probe + archive" | acquisition-archive (single mode handles the whole chain internally) |
| "podcast: TTS + mix + captions" | podcast-pipeline (single mode; the workflow lives inside) |
| "live + record + cut highlights" | live-production → editorial-interchange (after stream ends, generate EDL/OTIO from cuts) |
| "QC + deliver" | analysis-quality → if pass → broadcast-delivery; if fail → return matrix and stop |
| "VFX → HDR master" | vfx-pipeline → hdr-mastering (vfx writes EXR/ProRes mezzanine, hdr authors DV/HDR10+ on it) |
Sequencing rules:
${MEDIA_WORK_DIR}/modes/<mode>/{date}_{slug}/); re-running overwrites cleanly.Decline routing and stay in the main thread for:
${CLAUDE_PLUGIN_ROOT}/skills/*, ${CLAUDE_PLUGIN_ROOT}/agents/*, ${CLAUDE_PLUGIN_ROOT}/modes/*, ${CLAUDE_PLUGIN_ROOT}/hooks/*, .claude-plugin/plugin.json, .claude-plugin/marketplace.json, hooks.json, monitors.json, or the README/CLAUDE.md docs. That's engineering work on the routing layer, not through it.moprobe directly. "what does -sc_threshold do?" → answer from your knowledge of FFmpeg flags. Don't burn a full subagent dispatch on one probe call.${CLAUDE_PLUGIN_ROOT}/skills/ directory listing. Skill discovery is not a media production task.These live in _shared.md and are restated here so the orchestrator knows they're load-bearing. Never skip reading _shared.md:
moprobe <input>. If probe fails, STOP.mosafe-wrap every ffmpeg call. The pre-flight lint catches the gotchas LLMs get wrong from training data alone (-movflags +faststart, -sc_threshold 0, aac_adtstoasc, hvc1 vs hev1, zscale sandwich for PQ↔HLG, cbcs vs cenc for DRM, etc.).PostToolUse hook does it automatically; check its output before claiming success.${CLAUDE_PLUGIN_ROOT}/skills/<ai-skill>/references/LICENSES.md before invoking any Layer 9 skill. Only Apache-2 / MIT / BSD / GPL models are allowed.${MEDIA_WORK_DIR}/modes/<mode>/{date}_{slug}/ — deterministic, overwrite-safe, never invent paths.summary.md with what succeeded, what failed, exact command that broke. Never crash silently.Media OS ships 109 skills (96 tool + 13 workflow), 7 specialists, 4 lifecycle hooks, 3 PATH CLIs, and 16 userConfig fields. Without a router, the orchestrator picks skills opportunistically and forgets the cross-cutting rules (mosafe-wrap, license filter, deterministic output paths) every few turns. This skill auto-loads on every media production intent and forces the dispatch contract at runtime. The mode files in ${CLAUDE_PLUGIN_ROOT}/modes/ remain the source of truth for per-task behavior; this skill is just the deterministic dispatcher.
The mode files are the configurable surface — adding a task type is one new mode file plus one routing-table row. The 7 specialists are fixed identities that almost never change. _shared.md is the cross-cutting prefix — edit it once, every mode inherits on the next dispatch. The hooks are the runtime enforcement layer that catches what the specialist's Quality bar misses.
What SKILL.md sets; muted values are Claude Code's defaults
110 skills in this plugin
/audio-coreaudioManipulate macOS audio at the Core Audio HAL layer: afinfo (audio file metadata), afplay (play), afconvert (convert format/rate/bit-depth/channel layout), say (TTS), SwitchAudioSource (change default input/output/system device — brew install switchaudio-osx), audiodevice CLIs (npm/Go variants), AppleScript via osascript to drive System Preferences Sound. HAL plugins at /Library/Audio/Plug-Ins/HAL/ load virtual drivers (BlackHole 2ch/16ch/64ch, Loopback, Background Music). Aggregate Device (drift-corrected multi-in) and Multi-Output Device via Audio MIDI Setup.app or AudioHardwareCreateAggregateDevice. Use when the user asks to change default macOS audio device, route audio between apps on Mac, install BlackHole, build an Aggregate Device, convert audio files with afconvert, or script Mac audio from the terminal.
/audio-jackRoute professional low-latency audio with JACK Audio Connection Kit (jackaudio.org): jackd server (ALSA/CoreAudio/PortAudio/ASIO backends), jack_control (D-Bus JACK2 config), jack_lsp (list ports/connections), jack_connect/jack_disconnect (manage links), jack_cpu_load, jack_samplerate, jack_bufsize (runtime period size), jack_transport, jack_rec (multi-channel WAV recording), jack_iodelay (round-trip latency), jack_wait, jack_midi_dump. JACK1 C maintenance vs JACK2 C++ multicore. Modern Linux swaps jackd for PipeWire's libjack shim — same client API. JackTrip for uncompressed multichannel UDP over the Internet. Use when the user asks to run a JACK server, connect audio clients, measure roundtrip latency, record from JACK ports, set JACK period size, or bridge JACK over the network with JackTrip.
/audio-pipewireRoute and introspect Linux audio/video/MIDI graphs with PipeWire: pw-cli (interactive object/module control), pw-dump (full graph JSON with --monitor), pw-link (list/create/destroy port links), pw-cat / pw-play / pw-record (playback+record), pw-top (real-time DSP load + xrun viewer), pw-metadata (shared metadata store), pw-loopback (source/sink bridges), pw-midiplay/pw-midirecord, pw-jack (JACK client compat shim), pw-mon, pw-profiler. WirePlumber session manager handles routing/defaults/profiles. Replaces PulseAudio (via pipewire-pulse) and JACK (via libjack.so shim) simultaneously. Use when the user asks to route Linux audio, link two apps, list audio devices on Linux, create a loopback, record system audio, monitor the audio graph, or set up a virtual audio device on modern Linux.
/audio-wasapiManipulate Windows audio via WASAPI (learn.microsoft.com/coreaudio): SoundVolumeView + svcl.exe (NirSoft — set default device, per-app volumes, save/load profiles), AudioDeviceCmdlets PowerShell module (Get-AudioDevice, Set-AudioDevice, Get-AudioDevicePlaybackMute), nircmd setdefaultsounddevice. Shared mode (Windows engine resamples all streams to endpoint fixed format) vs Exclusive mode (bit-perfect, audiophile, ~sub-3ms latency with IAudioClient3 + event-driven callbacks). WASAPI then MMDevice then Audio Engine (audiodg.exe) then WDM/KS. ASIO is Steinberg's parallel stack bypassing Windows audio. Virtual audio devices: VB-Audio Virtual Cable, VoiceMeeter/Banana/Potato. Use when the user asks to change Windows default audio device, route app audio, use VoiceMeeter, install VB-Cable, set a specific device from PowerShell, or enable exclusive-mode low-latency output.
/cv-mediapipeGoogle MediaPipe Tasks API (current supported, NOT legacy mediapipe.solutions): Vision Tasks (Face Detector, Face Landmarker, Face Stylizer, Hand Landmarker, Gesture Recognizer, Pose Landmarker, Holistic Landmarker, Object Detector, Image Classifier, Image Segmenter, Interactive Segmenter, Image Embedder, Image Generator), Audio Tasks (Audio Classifier), Text Tasks (Text Classifier, Text Embedder, Language Detector), GenAI Tasks (LLM Inference — on-device Gemma/Phi-2/Falcon/StableLM). Three run modes: IMAGE, VIDEO, LIVE_STREAM (async). Python: mediapipe.tasks.python.vision/audio/text/genai. Docs at ai.google.dev/edge/mediapipe/solutions. Model Maker for transfer learning. Use when the user asks to detect pose/face/hand landmarks, classify an image, run a body-pose model, segment people, recognize gestures, do on-device LLM inference via MediaPipe, or build a mobile/embedded CV pipeline.
/cv-opencvComputer vision on images + video with OpenCV (docs.opencv.org/4.x/): core (Mat / ndarray, linalg), imgproc (filtering, morphology, geometric transforms, color conv, histograms, contours), imgcodecs (imread/imwrite — PNG, JPEG, TIFF, WebP, EXR), videoio (VideoCapture / VideoWriter — FFMPEG, GStreamer, V4L2, AVFoundation, MSMF backends), calib3d (camera calibration, stereo, solvePnP, homography), features2d (ORB, AKAZE, BRISK, KAZE, SIFT), objdetect (FaceDetectorYN, FaceRecognizerSF, HOG, ArUco, QRCode), dnn (ONNX/TF/Caffe/Darknet, CUDA + OpenVINO + Vulkan backends, model zoo at github.com/opencv/opencv_zoo), photo (inpainting, denoising, HDR Debevec/Robertson), stitching (panorama), video (optical flow Farneback/LK/DIS, BackgroundSubtractorMOG2/KNN, tracking KCF/CSRT/MIL/Nano/Vit/DaSiamRPN). Python-first via cv2. Use when the user asks to detect faces, track objects, run YOLO inference, capture + process webcam frames, calibrate a camera, stitch a panorama, or use OpenCV from Python/C++.
npx claudepluginhub damionrashford/media-os --plugin media-osOther plugins' skills for the same job