/media-os:webrtc-spec [query]from media-os
Searches and fetches WebRTC specifications from W3C and IETF for verifying SDP attributes, ICE behavior, RFC numbers, and browser API methods.
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
Search and fetch W3C + IETF WebRTC specifications. A companion to webrtc-pion, webrtc-mediasoup, webrtc-livekit — this skill is your source-of-truth for what the wire protocol and browser API actually require.
search --query <term>)section --page <page> --id <anchor>)fetch --page <page>)list-rfcs)index)https://datatracker.ietf.org/doc/html/rfcN or https://www.w3.org/TR/<name>/).uv run ${CLAUDE_SKILL_DIR}/scripts/webrtcdocs.py list-pages
Top picks:
| Question | Page |
|---|---|
"What's the signature of addTransceiver?" | w3c-webrtc |
"What does a=msid mean?" | rfc-8866 |
| "How does ICE gather candidates?" | rfc-8445 |
| "What's in JSEP?" | rfc-9429 (obsoletes 8829) |
| "How is DTLS-SRTP negotiated?" | rfc-5764 |
| "What's the WHIP protocol?" | rfc-9725 |
| "How does simulcast work in SDP?" | rfc-8853 |
"What's a rid?" | rfc-8851 |
| "getUserMedia constraints?" | w3c-mediacapture-streams |
| "Screen-capture permission model?" | w3c-screen-capture |
| "WebCodecs frame formats?" | w3c-webcodecs |
Full catalog in references/rfc-index.md.
uv run ${CLAUDE_SKILL_DIR}/scripts/webrtcdocs.py search --query "rtcp-fb" --limit 5
uv run ${CLAUDE_SKILL_DIR}/scripts/webrtcdocs.py search --query "a=candidate" --page rfc-8866
Hits print page:line — heading, the canonical URL, and ±3 lines of context. First run fetches + caches; subsequent runs are instant.
uv run ${CLAUDE_SKILL_DIR}/scripts/webrtcdocs.py section --page rfc-8866 --id 5
uv run ${CLAUDE_SKILL_DIR}/scripts/webrtcdocs.py section --page w3c-webrtc --id dom-rtcpeerconnection
--id accepts either a heading keyword or a numeric section like 5.13.
Rarely needed — search + section is usually enough. Use for offline copies:
uv run ${CLAUDE_SKILL_DIR}/scripts/webrtcdocs.py fetch --page rfc-9725 --format text
uv run ${CLAUDE_SKILL_DIR}/scripts/webrtcdocs.py list-rfcs
Prints each RFC in the catalog with its number, short title, and canonical URL. Same data also in references/rfc-index.md for inline reading.
uv run ${CLAUDE_SKILL_DIR}/scripts/webrtcdocs.py index
Fetches every known page to ~/.cache/webrtc-spec/. Override with WEBRTC_DOCS_CACHE=/path env.
list-rfcs.draft-ietf-wish-whep-NN — use the Datatracker "latest draft" URL.draft-ietf-mmusic-sdp-bundle-negotiation — cite 9143 instead.mid is a core SDP attribute living in RFC 8843 / 5888 depending on context.https://www.w3.org/TR/<name>/ (published) or <name>/drafts/. IETF RFCs live at https://datatracker.ietf.org/doc/html/rfcN. Don't mix them.mediacapture-streams is the getUserMedia spec. Not "WebRTC Media" — that's colloquial.a=setup mean?"uv run ${CLAUDE_SKILL_DIR}/scripts/webrtcdocs.py search --query "a=setup" --page rfc-8843
Cite RFC 8843 §5 ("Role-less" ICE handling) — a=setup:actpass|active|passive|holdconn.
uv run ${CLAUDE_SKILL_DIR}/scripts/webrtcdocs.py search --query "trickle" --limit 5
Points at RFC 8838.
uv run ${CLAUDE_SKILL_DIR}/scripts/webrtcdocs.py search --query "rtcp-fb" --limit 10
Scope to rfc-8866 (syntax) and rfc-5104 (AVPF — referenced but not in our catalog).
uv run ${CLAUDE_SKILL_DIR}/scripts/webrtcdocs.py section --page rfc-9725 --id 4
Section 4 — Bearer tokens, one-time POST to ingestion URL, 201 + Location header.
createOffer defined?"uv run ${CLAUDE_SKILL_DIR}/scripts/webrtcdocs.py search --query "createOffer" --page w3c-webrtc
unknown page: fooCause: typo'd name.
Solution: list-pages to see valid names. Common mistake: sdp — use rfc-8866.
urlopen error [SSL: CERTIFICATE_VERIFY_FAILED]Cause: out-of-date system CAs.
Solution: install/update certifi or run the macOS Install Certificates.command. Don't disable SSL verification.
Cause: wrong page or term is in a sibling RFC not in our catalog.
Solution: drop --page, try broader term, or check list-rfcs for adjacent RFCs.
Cause: text extraction flattens complex IETF tables. Solution: open the canonical URL printed in the hit — that's the authoritative view.
references/rfc-index.md when you need the full RFC table grouped by topic (ICE/STUN/TURN, media transport, SDP, DTLS/SRTP, codecs, signaling, WHIP/WHEP, data channels, congestion, security).references/sdp-grammar.md when debugging an SDP offer/answer — covers a=rtpmap, a=fmtp, a=rtcp-fb, a=extmap, a=msid, a=ssrc, a=ice-ufrag/ice-pwd, a=candidate, a=fingerprint, a=setup, a=mid, a=rid, a=simulcast, a=sctp-port.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
webrtc-specs, rfc-lookup, w3c, ietf, sdp
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