/media-os:vfx-oiio [action]from media-os
Processes VFX-grade images with OpenImageIO: convert formats, apply OCIO color management, build MIP-map textures, perform perceptual diffs, and inspect metadata.
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
oiio.py info)oiio.py convert)oiio.py diff)oiio.py grep)oiio.py maketx)oiio.py color)oiio.py resize|crop|rotate)oiio.py tool -- args...)--colorconvert, --ociodisplay, --ociolook, --ociofiletransform.--deepen, --deepmerge, --deepholdout).idiff).vfx-openexr for EXR-specific authoring; with vfx-usd for USD texture paths.uv run ${CLAUDE_SKILL_DIR}/scripts/oiio.py info plate.exr
Expands to iinfo -v plate.exr. Use --stats for per-channel pixel stats (min/max/avg/stddev) which is invaluable for "is this actually black?" and "did my tonemap clip?".
uv run ${CLAUDE_SKILL_DIR}/scripts/oiio.py info --stats plate.exr
uv run ${CLAUDE_SKILL_DIR}/scripts/oiio.py convert --in in.dpx --out out.exr
Expands to iconvert in.dpx out.exr. Format inferred from the output extension.
Set compression explicitly (EXR output):
uv run ${CLAUDE_SKILL_DIR}/scripts/oiio.py convert --in in.dpx --out out.exr --compression dwaa
uv run ${CLAUDE_SKILL_DIR}/scripts/oiio.py diff a.exr b.exr
Expands to idiff a.exr b.exr. Exit 0 = identical within default tolerance. Tune tolerance with --fail 0.01 --warn 0.001.
Save a difference image:
uv run ${CLAUDE_SKILL_DIR}/scripts/oiio.py diff a.exr b.exr --out diff.exr
# -> idiff -o diff.exr a.exr b.exr
uv run ${CLAUDE_SKILL_DIR}/scripts/oiio.py grep --pattern "smpte:TimeCode" plate.exr
Expands to igrep smpte:TimeCode plate.exr. Case-insensitive by default.
Build a .tx texture from a source image:
uv run ${CLAUDE_SKILL_DIR}/scripts/oiio.py maketx --in source.exr --out texture.tx
Expands to maketx -o texture.tx source.exr.
Common flags:
--hdri — preserve HDR range, use box downsampling for lighting IBLs.--unpremult — unpremultiply alpha before downscaling (for color maps with alpha).--monochrome-detect — single out R=G=B files as 1-channel to save memory.--filter lanczos3 — specify downsample filter.--colorconvert sRGB ACEScg — bake in a color transform during maketx.Convert between OCIO-managed color spaces:
uv run ${CLAUDE_SKILL_DIR}/scripts/oiio.py color --in srgb.png --out acescg.exr \
--from sRGB --to ACEScg
Expands to oiiotool --colorconfig $OCIO srgb.png --colorconvert sRGB ACEScg -o acescg.exr.
Requires an active OCIO config (set $OCIO to a config.ocio path, e.g. the ACES 1.3 studio config).
Apply a view transform (display-referred output):
# View an ACEScg EXR through the Rec.709 ACES ODT:
uv run ${CLAUDE_SKILL_DIR}/scripts/oiio.py tool -- \
in_acescg.exr --ociodisplay "sRGB" "Rec.709" -o preview.png
uv run ${CLAUDE_SKILL_DIR}/scripts/oiio.py resize --in big.exr --out small.exr --size 1920x1080
Expands to oiiotool big.exr --resize 1920x1080 -o small.exr.
Use --filter lanczos3 for high quality, --filter box for IBL/HDRI. Default is a good general-purpose filter (blackman-harris).
uv run ${CLAUDE_SKILL_DIR}/scripts/oiio.py crop --in in.exr --out out.exr --box 100,100,1820,980
Expands to oiiotool in.exr --crop 1720x880+100+100 -o out.exr.
uv run ${CLAUDE_SKILL_DIR}/scripts/oiio.py rotate --in in.exr --out out.exr --degrees 90
Expands to oiiotool in.exr --rotate 90 -o out.exr. 90 / 180 / 270 are lossless; other angles resample pixels.
For anything not wrapped above, pass arbitrary args through. The stack-based grammar is oiiotool's superpower:
uv run ${CLAUDE_SKILL_DIR}/scripts/oiio.py tool -- \
bg.exr fg.exr --over -o composite.exr
Expands to oiiotool bg.exr fg.exr --over -o composite.exr.
Read [references/oiiotool-cheatsheet.md] for 15 copy-paste recipes covering the common ops.
oiiotool is a stack machine, not a linear pipeline. Order matters: every positional input pushes an image on the stack; every operator consumes the top N and pushes a result. a.exr b.exr --over works, but a.exr --over b.exr does NOT (no second operand for --over yet).--over requires premultiplied alpha. If bg.exr has straight alpha, add --unpremult before and --premult after, or use --Aover (straight-alpha over).iinfo vs iinfo -v: without -v you get one-line-per-file summary. With -v you get full metadata dump. --stats is a third level: actually scans pixels.maketx bakes in color transforms if you pass --colorconvert. Once baked in, the renderer cannot reinterpret. Usually you want --colorconvert only when producing linear working-space .tx from an sRGB texture.$OCIO pointing at config.ocio. If your color-convert complains "colorspace not found", check echo $OCIO and ociocheck $OCIO.maketx default tile size is 64. Override with --tile 128 for large-area sampling; for small filters 64 is optimal.idiff is PSNR/SSIM-based by default, not a strict byte-compare. For bit-exact use cmp or openssl dgst..dpx written with a wrong header will be mis-read. Use iinfo to sanity-check.--ociodisplay vs --colorconvert: --colorconvert is scene-referred roundtrip; --ociodisplay applies a display transform (ACES RRT+ODT, Filmic view, etc.) and produces display-referred output.oiiotool --help "Supported input formats".openimageio.readthedocs.io: oiiotool, iconvert, iinfo, igrep, idiff, maketx, iv. The iv viewer has no dedicated page — it's the GUI counterpart to iinfo.uv run ${CLAUDE_SKILL_DIR}/scripts/oiio.py convert --in photo.tif --out photo.exr \
--compression zip
uv run ${CLAUDE_SKILL_DIR}/scripts/oiio.py maketx --in studio.exr --out studio.tx --hdri
export OCIO=/path/to/studio-config-v1.0.0/config.ocio
uv run ${CLAUDE_SKILL_DIR}/scripts/oiio.py color --in logo.png --out logo_acescg.exr \
--from sRGB --to ACEScg
uv run ${CLAUDE_SKILL_DIR}/scripts/oiio.py tool -- \
bg.exr fg.exr --over --crop 1920x1080+0+0 -o comp.exr
uv run ${CLAUDE_SKILL_DIR}/scripts/oiio.py diff render_v1.exr render_v2.exr --out diff.exr
uv run ${CLAUDE_SKILL_DIR}/scripts/oiio.py grep --pattern "specular.R" *.exr
oiiotool: command not foundCause: OIIO binaries not installed.
Solution: brew install openimageio, apt install openimageio-tools, or build from source (github.com/AcademySoftwareFoundation/OpenImageIO).
ColorSpace 'X' not foundCause: OCIO config doesn't define that color space.
Solution: echo $OCIO to verify config path; ociocheck $OCIO to list defined spaces; use an ACES studio config if unsure.
--over gives dark halosCause: Straight-alpha input treated as premultiplied.
Solution: Add --unpremult before --over; or use --Aover.
maketx produces huge output fileCause: --monochrome-detect not set and source is grayscale but stored as RGB.
Solution: Add --monochrome-detect. Also check compression: --compression dwaa or --compression zip.
Cause: Non-standard DPX header (Kodak legacy, early camera logs).
Solution: Try oiiotool --info -v in.dpx; if it also crashes, the file needs a header fix (use the dpx DCC or re-export from source).
references/oiiotool-cheatsheet.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.
Other plugins' skills for the same job