webrtc-expert

webrtc-expert is a skill for Claude Code from personamanagmentlayer/pcl. It costs 78 tokens per session (1,095 once invoked), scanned A, original, Apache-2.0.

A specialist guide for WebRTC, the browser technology used for real-time audio, video, and peer-to-peer data connections. It covers connection setup, signaling, network traversal, media handling, and related protocols.

In plain words
What is it for?
It helps design and troubleshoot video calls, audio streams, screen sharing, data channels, reconnection, and STUN/TURN server use.
Why use it?
It gives developers context for the parts of real-time communication that are easy to overlook, such as exchanging connection details and handling networks that block direct connections.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It helps design and troubleshoot video calls, audio streams, screen sharing, data channels, reconnection, and STUN/TURN server use.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/personamanagmentlayer/pcl/webrtc-expert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add personamanagmentlayer/pcl --skill webrtc-expert
Clone the repo
git clone --depth 1 https://github.com/personamanagmentlayer/pcl

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for webrtc-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/personamanagmentlayer/pcl/webrtc-expert/github.svg)](https://agentmods.dev/skills/personamanagmentlayer/pcl/webrtc-expert)
Your own site
<a href="https://agentmods.dev/skills/personamanagmentlayer/pcl/webrtc-expert"><img src="https://agentmods.dev/badge/skills/personamanagmentlayer/pcl/webrtc-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for webrtc-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/personamanagmentlayer/pcl/webrtc-expert"><img src="https://agentmods.dev/badge/skills/personamanagmentlayer/pcl/webrtc-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,095 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00078 $0.01095
Opus 5 $0.00039 $0.00548
Sonnet 5 $0.00016 $0.00219
Haiku 4.5 $0.00008 $0.00110

Measured 5d ago against content hash 412bdb5dc4fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

webrtc-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

stdlib/tools/webrtc-expert/SKILL.md · 169 lines

How it starts

The opening of the file, as written. The whole thing — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.

WebRTC Expert

Core Concepts

WebRTC Architecture

  • Peer Connection - Direct P2P connection
  • Media Streams - Audio/video tracks
  • Data Channels - Arbitrary data transfer
  • Signaling - Exchange connection info
  • ICE - Interactive Connectivity Establishment
  • STUN/TURN - NAT traversal servers

Key Components

  • getUserMedia - Access camera/microphone
  • RTCPeerConnection - Peer-to-peer connection
  • RTCDataChannel - Data communication
  • MediaRecorder - Record media streams
  • Screen Sharing - Capture screen content
  • Simulcast - Multiple quality streams

Protocols & Standards

  • SDP - Session Description Protocol
  • Candidate Exchange - ICE candidates
  • DTLS/SRTP - Secure communication
  • Janus/Mediasoup - Media servers
  • Socket.IO/WebSockets - Signaling layer
  • ORTC - Object RTC (alternative API)

Best Practices

Connection Establishment

  • Always use STUN/TURN servers
  • Implement proper signaling
  • Handle connection failures
  • Monitor connection quality
  • Implement reconnection logic
  • Test across different networks

Media Handling

  • Request appropriate constraints
  • Handle permission denials
  • Implement adaptive bitrate
  • Monitor bandwidth usage
  • Support screen sharing
  • Handle device changes

Security

  • Use HTTPS for signaling
  • Validate all signaling messages
  • Implement authentication
  • Encrypt data channels
  • Use SRTP for media
  • Sanitize user input

Performance

  • Use simulcast for groups
  • Implement bandwidth adaptation
  • Monitor CPU usage
  • Optimize video resolution
  • Use hardware acceleration
  • Implement graceful degradation

Anti-Patterns

Common Mistakes

  • No TURN server fallback
  • Ignoring ICE failures
  • Missing error handling
  • Hard-coded ICE servers
  • Not closing connections properly
  • Missing permission checks

Connection Issues

  • Synchronous signaling
  • No reconnection strategy
  • Ignoring network changes
  • Missing ICE restart
  • Poor error messages
  • No connection timeout

Read the full file on GitHub · 169 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 169 lines · 78 tokens per session scan A 412bdb5dc4fc

Subscribe to this mod's changes

webrtc-expert is a skill published in the GitHub repository personamanagmentlayer/pcl (40 stars, last pushed 3d ago), licensed Apache-2.0. It adds 78 tokens to every session and 1,095 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

livestream-engineer

Expert in live streaming, WebRTC, and real-time video/audio.

daffy0208/ai-dev-standards · 18 tokens

sanity-live-cache-components

Integrates Sanity Live with Next.js Cache Components in next-sanity v13+ apps. Sets up sanityFetch, a shared cachedSanity 'use cache' boundary, , Visual Editing, Presentation Tool, draft mode handling, and the three-layer (Page/Dynamic/Cached) component pattern with explicit perspective/stega prop-drilling. Sequences…

sanity-io/next-sanity · 155 tokens

github-oauth-nango-integration

Use when implementing GitHub OAuth + GitHub App authentication with Nango - provides two-connection pattern for user login and repo access with webhook handling.

AgentWorkforce/relay · 37 tokens

moq

Build live video, audio, and real-time data apps with Media over QUIC (MoQ). Use when adding live streaming, conferencing, voice AI, or real-time pub/sub to an app; when integrating the @moq/ npm packages, moq- Rust crates, or the Python/Kotlin/Swift/Go/C bindings; or when running a moq-relay server or a gateway…

moq-dev/moq · 104 tokens

videoagent-audio-studio

Tired of juggling multiple audio APIs? This skill gives you one-command access to TTS, music generation, sound effects, and voice cloning. Use when you want to generate any audio without managing multiple API keys.

pexoai/pexo-skills · 50 tokens

multimodal-llm

Vision, audio, video generation, and multimodal LLM integration patterns. Use when processing images, transcribing audio, generating speech, generating AI video (Kling v3, Sora 2, Veo 3.1 std/lite/fast, Runway Gen-4.5 via gen4turbo), or building multimodal AI pipelines.

yonatangross/orchestkit · 82 tokens