react-native-vision-camera-realtime — Claude Code skill review
react-native-vision-camera-realtime guides low-latency VisionCamera v5 architecture for real-time video processing. It helps implement zero-copy GPU paths, Nitro plugins, and Skia or WebGPU overlays.
no license 147 installs ★ 181 updated 2026-08-21
npx skills add margelo/react-native-skills --skill react-native-vision-camera-realtime -a claude-codeWhat react-native-vision-camera-realtime does
The skill outlines constraints for building fast frame processing pipelines with VisionCamera v5. Its core principle keeps the entire data stream inside a single GPU context when drawing visual effects. Passing frame textures straight to <SkiaCamera /> or WebGPU compute prevents expensive transfers back to system RAM. For native interop, it details integration patterns with Nitro HybridObjects and device accelerators.
Physical buffer rotation wastes rendering budgets. Setting enablePhysicalBufferRotation: false is required, passing frame.orientation and frame.isMirrored as metadata directly into matrix transforms. Calling methods like getPixelBuffer() triggers hard synchronization points across buses. This stalls the pipeline and leads to dropped frames.
When tasks must run asynchronously, in-flight work is strictly bounded to prevent queue growth. During development, developers can iterate quickly inside a Mac Catalyst target paired with an external USB camera before profiling hardware release builds.
What it helps with
- prevent dropped frames during real-time video overlay rendering
- build zero-copy texture pipelines with VisionCamera v5 and WebGPU or Skia
- route camera frames into custom Nitro native plugins
- profile end-to-end frame latency across GPU and NPU backends
Example prompts for the agent
- Review my VisionCamera v5 frame pipeline for unexpected CPU readbacks
- Configure a WebGPU texture pipeline that avoids physical buffer rotation
- Set up a bounded async runner pattern for ML inference on incoming camera frames
How to install react-native-vision-camera-realtime
1Skills CLI (Vercel)
npx skills add margelo/react-native-skills --skill react-native-vision-camera-realtime -a claude-code2Manually: put the files in place
~/.claude/skills/react-native-vision-camera-realtime/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/react-native-vision-camera-realtime/
1Skills CLI (Vercel)
npx skills add margelo/react-native-skills --skill react-native-vision-camera-realtime -a codex2Manually: put the files in place
.agents/skills/react-native-vision-camera-realtime/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add margelo/react-native-skills --skill react-native-vision-camera-realtime -a cursor2Manually: put the files in place
.cursor/skills/react-native-vision-camera-realtime/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install margelo/react-native-skills skills/react-native-vision-camera-realtime2Manually: put the files in place
.github/skills/react-native-vision-camera-realtime/SKILL.md1Skills CLI (Vercel)
npx skills add margelo/react-native-skills --skill react-native-vision-camera-realtime -a gemini-cli2Platform CLI
gemini skills install https://github.com/margelo/react-native-skills --path skills/react-native-vision-camera-realtimeManually: put the files in place
.devin/skills/react-native-vision-camera-realtime/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add margelo/react-native-skills --skill react-native-vision-camera-realtime -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about react-native-vision-camera-realtime
How do I install react-native-vision-camera-realtime in Claude Code?
Run npx skills add margelo/react-native-skills --skill react-native-vision-camera-realtime -a claude-code. The command registers the skill directly from the Margelo repository.
How is this different from the standard react-native-vision-camera skill?
The base skill handles installation, controls, photos, and upgrading from v4. This companion focuses strictly on low-latency frame pipelines, Nitro plugins, WebGPU, and zero-copy rendering.
Why should physical buffer rotation be disabled?
Rotating camera buffers in memory consumes frame time. Keeping enablePhysicalBufferRotation: false lets you apply orientation metadata inside shaders or display transforms without copying raw pixels.