/media-os:vfx-openexr [action]from media-os
Work with OpenEXR VFX image format: inspect headers, convert scanline to tiled, handle multi-part/deep data, embed thumbnails, validate, and convert to ACES. Useful for VFX compositing and lookdev pipelines.
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.
Read when SKILL.md points to them; scripts run unread.
Context: $ARGUMENTS
exr.py header)exr.py info)exr.py tiled)exr.py envmap)exr.py preview)exr.py multipart)exr.py multiview)exr.py stdattr)exr.py check)exr.py to-aces)exr.py manifest / metrics)exrmaketiled).uv run ${CLAUDE_SKILL_DIR}/scripts/exr.py header image.exr
Expands to exrheader image.exr. Shows every header attribute: dataWindow, displayWindow, chromaticities, channels, compression, pixelAspectRatio, screenWindowCenter, screenWindowWidth.
uv run ${CLAUDE_SKILL_DIR}/scripts/exr.py info image.exr
Expands to exrinfo image.exr. Shorter than header; single-line-per-part summary.
uv run ${CLAUDE_SKILL_DIR}/scripts/exr.py tiled --in env.exr --out env_tiled.exr
Expands to exrmaketiled env.exr env_tiled.exr. Default tile size 64x64. Renderers like RenderMan/Arnold/V-Ray read tiled .exr far faster than scanline. Pair with maketx from OIIO for .tx output.
Options: --tilesize 128, --rip (RIP-map instead of MIP-map), --plevel N (levels).
Convert latlong equirectangular to a cube (6 images stacked vertically):
uv run ${CLAUDE_SKILL_DIR}/scripts/exr.py envmap --in latlong.exr --out cube.exr --type cube
Expands to exrenvmap -latlong latlong.exr -cube cube.exr.
Convert cube -> latlong:
uv run ${CLAUDE_SKILL_DIR}/scripts/exr.py envmap --in cube.exr --out latlong.exr --type latlong
Requires input already in cube layout (6 stacked squares).
uv run ${CLAUDE_SKILL_DIR}/scripts/exr.py preview --in big.exr --out with_preview.exr --size 200
Expands to exrmakepreview -w 200 big.exr with_preview.exr. The small preview is embedded in the header so file browsers can thumbnail without decoding the full float pixels.
Combine N single-part EXRs into one multi-part file:
uv run ${CLAUDE_SKILL_DIR}/scripts/exr.py multipart pack \
--out combined.exr beauty.exr normal.exr position.exr
Expands to exrmultipart -combine -i beauty.exr normal.exr position.exr -o combined.exr.
Split a multi-part back into per-part files:
uv run ${CLAUDE_SKILL_DIR}/scripts/exr.py multipart unpack --in combined.exr --dest ./parts/
Expands to exrmultipart -separate -i combined.exr -o ./parts/. Per-part prefix defaults to the part name.
Combine left+right eye renders into one multi-view EXR:
uv run ${CLAUDE_SKILL_DIR}/scripts/exr.py multiview pack \
--out stereo.exr --left L.exr --right R.exr
Expands to exrmultiview -combine -i L.exr R.exr -v left right -o stereo.exr.
Split:
uv run ${CLAUDE_SKILL_DIR}/scripts/exr.py multiview unpack --in stereo.exr --dest ./eyes/
Read every standard attribute:
uv run ${CLAUDE_SKILL_DIR}/scripts/exr.py stdattr get image.exr
Expands to exrstdattr image.exr.
Write an attribute (example: set the owner):
uv run ${CLAUDE_SKILL_DIR}/scripts/exr.py stdattr set --in image.exr --out tagged.exr \
--attr owner --value "Lookdev Dept"
Expands to exrstdattr -owner "Lookdev Dept" image.exr tagged.exr. Standard attributes include: owner, comments, capDate, utcOffset, longitude, latitude, altitude, focus, expTime, aperture, isoSpeed, envmap, chromaticities, whiteLuminance, adoptedNeutral, renderingTransform, lookModTransform, xDensity, wrapModes, keyCode, timeCode, framesPerSecond. Full reference in references/standard-attributes.md.
uv run ${CLAUDE_SKILL_DIR}/scripts/exr.py check image.exr
Expands to exrcheck image.exr. Structural validation: header integrity, chunk table, pixel-data presence. Non-zero exit on any corruption.
uv run ${CLAUDE_SKILL_DIR}/scripts/exr.py to-aces image.exr aces.exr
Expands to exr2aces image.exr aces.exr. Sets chromaticities to AP0 (ACES 2065-1) and adds SMPTE ST 2065-4 ACES-compliant attributes.
Read the deep-ID manifest (cryptomatte-adjacent feature):
uv run ${CLAUDE_SKILL_DIR}/scripts/exr.py manifest deep.exr
Expands to exrmanifest deep.exr.
Compression size/speed stats:
uv run ${CLAUDE_SKILL_DIR}/scripts/exr.py metrics image.exr
Expands to exrmetrics image.exr.
NONE, RLE, ZIPS (per-scanline zip), ZIP (16-scanline block zip), PIZ (wavelet, best lossless for grainy film), PXR24 (lossy 24-bit float to 24-bit), B44 / B44A (fixed-size lossy, fast random access), DWAA / DWAB (DCT-based lossy, best size/quality), HTJ2K (EXR 3.2+ JPEG-2000-like). Read references/compression.md for the full tradeoff table.deepscanline (unordered samples) and deeptile (tiled). They require different APIs and most renderers write the scanline flavor.chromaticities attribute is where "what primaries does this EXR use?" is stored. Missing chromaticities = assume Rec.709. ACEScg primaries look like red=0.713,0.293; green=0.165,0.830; blue=0.128,0.044; white=0.3127,0.329. ACES 2065-1 (AP0) is different.screenWindowCenter / screenWindowWidth are for CG origin, not for cropping. Don't set these to change the display window.displayWindow vs dataWindow: displayWindow is the intended canvas; dataWindow is the rendered area (may extend beyond displayWindow for overscan, or be smaller for partial renders). Comp apps crop to dataWindow on read.exrenvmap) expect specific layouts. Latlong: full 2:1 equirect with rows = latitude. Cube: 6 faces stacked vertically as +X,-X,+Y,-Y,+Z,-Z (1:6 aspect), sized 6*N rows x N cols.exrcheck does NOT verify perceptual quality. It confirms the file is well-formed; it can't tell you the pixels are correct.exr2aces only rewrites the header chromaticities. It does NOT re-transform pixels. If pixels are already ACEScg but you mark as ACES2065-1, you've mislabelled color — use OIIO / OCIO to actually transform pixel values.openexr.com/en/latest/tools.html: exrheader, exrinfo, exrmaketiled, exrenvmap, exrmakepreview, exrmultipart, exrmultiview, exrstdattr, exrcheck, exr2aces, exrmanifest, exrmetrics. No exrconv, exrconvert, or exr2png — those are NOT real tools.uv run ${CLAUDE_SKILL_DIR}/scripts/exr.py tiled --in studio.exr --out studio_tiled.exr --tilesize 128
uv run ${CLAUDE_SKILL_DIR}/scripts/exr.py multipart pack --out shot.exr \
beauty.exr diffuse.exr specular.exr normal.exr position.exr
uv run ${CLAUDE_SKILL_DIR}/scripts/exr.py check deep.exr
uv run ${CLAUDE_SKILL_DIR}/scripts/exr.py envmap --in sky.exr --out sky_cube.exr --type cube
Only after confirming pixels are actually in AP0:
uv run ${CLAUDE_SKILL_DIR}/scripts/exr.py to-aces render.exr render_aces.exr
uv run ${CLAUDE_SKILL_DIR}/scripts/exr.py stdattr get plate.exr
exrheader: command not foundCause: OpenEXR CLIs not installed.
Solution: brew install openexr, apt install openexr, or build from source (github.com/AcademySoftwareFoundation/openexr).
Invalid image data: cannot read chunk tableCause: Truncated file (upload/download interrupted), or EXR 2/3 version mismatch.
Solution: Re-copy the file. Confirm reader lib version: exrheader image.exr | grep version.
Cause: Scanline file passed to a renderer that wants tiled for MIP pyramid.
Solution: exr.py tiled. Some renderers (RenderMan) also want .tx — use maketx from OIIO (see vfx-oiio skill).
Cause: Deep file is deeptile but one tool only expects deepscanline.
Solution: Check exrheader for type: deeptile vs type: deepscanline. Rewrite via OIIO if a converter is needed (no built-in converter ships with OpenEXR CLI suite).
Cause: Some exrmakepreview builds can't allocate huge intermediate buffers.
Solution: Pre-downscale the source with OIIO, then embed.
references/compression.md]references/standard-attributes.md]What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub damionrashford/media-os --plugin media-os110 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++.
Other plugins' skills for the same job