Skip to main content
skill CX Codex

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add margelo/react-native-skills --skill react-native-vision-camera-realtime -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/react-native-vision-camera-realtime/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/react-native-vision-camera-realtime/

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.

Similar skills

All skills for Mobile →

From the same set9

build-nitro-modules build-nitro-modules walks through building a React Native Nitro Module: HybridObject TypeScript specs, nitrogen codegen, native Swift, Kotlin and C++ implementations. CX Codex +1 1,700installs react-native-mmkv Works in Codex, Cursor, Copilot, Gemini CLI and OpenCode too. It keeps AI assistants on the real react-native-mmkv API — a synchronous key-value store built on the MMKV engine. CX Codex +1 1,700installs api-design The api-design skill shapes and reviews public APIs for TypeScript, JavaScript, React, and React Native libraries before implementation. CX Codex +1 1,400installs cpp Sets rules for C++ design: type modeling, ownership, file boundaries and async. Fits .cpp, .hpp, CMake and C++-backed Nitro modules. CX Codex +1 1,300installs kotlin A skill for Kotlin and Android API work: it pushes typed state modeling, explicit async boundaries, and keeps blocking calls out of properties. Useful when you touch .kt files or a Nitro Module wrapper. CX Codex +1 1,300installs swift A skill for Swift work: type-safe API design, concurrency choices, Apple-platform integration. Fires when edits touch .swift files, async/await, DispatchQueue, or Nitro Modules. CX Codex +1 1,300installs react-native-vision-camera react-native-vision-camera — a routing skill for VisionCamera v5 in React Native: it tells the agent which reference to load for the task and which v5 rules to respect. CX Codex +1 776installs nitro-fetch Points AI assistants at the real react-native-nitro-fetch APIs instead of invented ones: fetch, WebSocket, TextDecoder, prefetching. CX Codex +1 668installs

Project sponsors

Companies that keep this analytics open