Skip to content
Development
Skill

/webrtc-workflow

Plan, implement, test, and diagnose WebRTC work, including W3C and IETF source checks, browser and native runtime support, signaling boundaries, ICE/STUN/TURN, DTLS, SRTP, SDP offer/answer, tracks, transceivers, data channels, media devices, permissions, NAT traversal, SFU/MCU

From plugin
socket
10200 skills5 MCP

Claude Code

$ npx -y skills add gaelic-ghost/socket --skill webrtc-workflow --agent claude-code

SKILL.md

webrtc-workflow.SKILL.md
name: webrtc-workflow
description: Plan, implement, test, and diagnose WebRTC work, including W3C and IETF source checks, browser and native runtime support, signaling boundaries, ICE/STUN/TURN, DTLS, SRTP, SDP offer/answer, tracks, transceivers, data channels, media devices, permissions, NAT traversal, SFU/MCU decisions, and handoffs to web, mobile, server, or deployment plugins.

WebRTC Workflow

Purpose

Use this skill when a task needs real-time browser or native media, peer connection behavior, data channels, NAT traversal, or WebRTC signaling. Keep signaling, media transport, application state, and deployment roles separate.

Source Check

Check current sources before claiming behavior:

  • [W3C WebRTC](https://www.w3.org/TR/webrtc/)
  • [RFC 8825: Real-Time Protocols for Browser-Based Applications](https://datatracker.ietf.org/doc/rfc8825/)
  • [RFC 8831: WebRTC Data Channels](https://datatracker.ietf.org/doc/rfc8831/)
  • [RFC 8445: Interactive Connectivity Establishment](https://datatracker.ietf.org/doc/rfc8445/)

Also check browser compatibility, native SDK docs, SFU/MCU docs, and deployment provider docs because behavior often depends on runtime and network shape.

Planning Workflow

1. Inspect the feature:

  • audio, video, screen sharing, camera capture, data channel, file transfer, game state, remote control, or mixed
  • browser, iOS/macOS, Android, desktop native, server-side media, or headless runtime
  • peer-to-peer, SFU, MCU, broadcast, recording, transcription, or relay topology
  • permissions, device selection, codecs, simulcast/SVC, bandwidth adaptation, and privacy needs

2. Separate responsibilities:

  • signaling channel: offer/answer exchange, trickle ICE, room/session state, auth, retries, and reconnection
  • media/data transport: peer connection, tracks, transceivers, DTLS/SRTP, SCTP data channels, congestion, and stats
  • NAT traversal: STUN, TURN, ICE candidates, relay policy, and corporate/mobile network constraints
  • application behavior: UI state, moderation, recording, storage, payments, analytics, and notifications

3. Choose topology:

  • peer-to-peer for small direct calls when NAT and scale fit
  • SFU for multi-party calls, server-side forwarding, selective subscription, recording, or moderation
  • MCU when server-side compositing is required and latency/cost tradeoffs are accepted
  • WebSocket or HTTP for signaling; do not confuse signaling with media transport
  • MoQ or HTTP streaming only when the media distribution problem is not conversational WebRTC

4. Route implementation to stack plugins:

  • `web-dev-skills` for browser UI and TypeScript integration
  • `apple-dev-skills` or `android-dev-skills` for native app integration
  • `server-side-swift`, `python-skills`, `server-side-jvm`, or `rust-skills` for signaling services, SFU integration, or backend work
  • `cloud-deployment-skills` for TURN, UDP, firewall, autoscaling, media servers, and hosting constraints

Diagnostics

Gather evidence from:

  • browser WebRTC internals, stats, and network panels
  • native SDK logs and permission state
  • signaling logs with offer/answer and ICE candidate flow
  • STUN/TURN reachability and credentials
  • SFU/MCU room, track, and subscription logs
  • packet capture only when logs cannot identify the failing hop

Name the failing layer: permissions, media capture, signaling, SDP, ICE, DTLS, SRTP, data channel, codec negotiation, SFU, TURN, firewall, or UI state.

Output Shape

Return:

1. `WebRTC shape`: media, data channel, or mixed; browser, native, server, or mixed. 2. `Topology`: peer-to-peer, SFU, MCU, broadcast, recording, or fallback. 3. `Boundaries`: signaling, media/data transport, NAT traversal, app state, and deployment owner. 4. `Evidence`: docs, code, logs, WebRTC stats, TURN/STUN checks, or browser/native runtime observations. 5. `Validation`: local call, multi-peer test, device/browser matrix, network path, media quality, stats, or manual gaps. 6. `Handoffs`: web, mobile, backend, cloud, MoQ, or diagnostics workflow.

Guardrails

  • Do not treat WebRTC signaling as the media transport.
  • Do not skip TURN planning for user-facing calls across real networks.
  • Do not claim codec, permission, or browser behavior without current runtime/source checks.
  • Do not replace WebRTC with MoQ for conversational media unless the product requirements explicitly fit that tradeoff.
Read more
@gaelic-ghost
Ships withsocket

Stuff for Agents on macOS Promo audio: Socket Codex Marketplace Promo

10200 skills5 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
10
Star history of gaelic-ghost/socket on GitHub, a chart by star-history.com

Other skills on socket.

orchestrate-agent-work

orchestrate-agent-work

Coordinate bounded worker tasks with a launch envelope, report-back, escalation, and synthesis contract. Use before spawning,…

@gaelic-ghost@gaelic-ghostInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about webrtc-workflow.

Which coding agents can use webrtc-workflow?
webrtc-workflow installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.