Agent skill

React Native Vision Camera

by margelo in margelo/react-native-skills

Best-practices guide for React Native VisionCamera v5 setup, migration, capture, controls, outputs, and basic frame processing.

No licenceAuto-check passedMobile

Install React Native Vision Camera

skills CLI
$ npx skills add margelo/react-native-skills --skill react-native-vision-camera -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install margelo/react-native-skills react-native-vision-camera --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/margelo/react-native-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/react-native-vision-camera .claude/skills/react-native-vision-camera && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
react-native-vision-camera
GitHub stars
175
Token cost
~2.2k tokens
SKILL.md length
914 words
Files
8 (incl. references)
Skills in repo
9
Repo updated
First seen
Licence
None found

At a glance

Best-practices guide for React Native VisionCamera v5 setup, migration, capture, controls, outputs, and basic frame processing.

  • Works in 9 steps: Install the Nitro peers.… → outputs={[...]} replaces photo / video /… → There is no format prop and no… → …
  • Tasks that involve Cross-platform mobile apps
  • SKILL.md covers When to load which reference, Non-negotiable rules for v5 code, Operating rules for this skill and Authoritative links
  • Calls gh

What it does

React Native Vision Camera is an agent skill from margelo/react-native-skills. Best-practices guide for React Native VisionCamera v5 setup, migration, capture, controls, outputs, and basic frame processing. Use the separate react-native-vision-camera-realtime skill for production low-latency GPU, ML, CV, Skia or WebGPU pipelines and frame-coupled overlays.

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including reference files (for example `references/advanced-features.md`, `references/capture-and-controls.md` and `references/frame-processors.md`).

It sits in Mobile, covering Cross-platform mobile apps. It works with React Native. The repository describes itself as: The best react-native Agent Skills. Forget 10x, this is 100x.

When your agent uses it

  • Tasks that involve Cross-platform mobile apps

Example prompts

  • “/react-native-vision-camera”

Workflow steps

9 steps, taken from the first numbered list in SKILL.md.

  1. Install the Nitro peers. react-native-nitro-modules and react-native-nitro-image are required peer deps. Frame processors additionally…
  2. outputs={[...]} replaces photo / video / frameProcessor / codeScanner props. Create outputs with usePhotoOutput, useVideoOutput…
  3. There is no format prop and no useCameraFormat. Use constraints={[...]} — array order = priority, descending. The Camera negotiates the…
  4. takePhoto() does not exist. Use photoOutput.capturePhoto(settings, callbacks) for in-memory Photo, or photoOutput.capturePhotoToFile(...)…
  5. Frame Processor plugins must be Nitro Modules. The v4 FrameProcessorPlugin base class, VISION_EXPORT_SWIFT_FRAME_PROCESSOR macro, and…
  6. Every Frame (and Depth) MUST be .dispose()d. The buffer pool is bounded; leaking a frame stalls the pipeline. Wrap work in try { ... }…
  7. CodeScanner is not in core. react-native-vision-camera-barcode-scanner is a separate package, MLKit-based on both platforms. For iOS-only…
  8. Keep the Camera mounted; toggle isActive. Remounting tears down the session. Integrate with useIsFocused() from react-navigation so the…
  9. Frame output pixelFormat defaults to 'native' (zero-copy), NOT 'yuv'. 'native' streams in the session's negotiated nativePixelFormat with…

What it can do on your machine

Read from SKILL.md and the folder at commit 1e9e17b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • visioncamera.margelo.com
    • docs.swmansion.com
    • blog.margelo.com
    • github.com
    • visioncamera4.margelo.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

React Native Vision Camera loads about 2.2k tokens when it runs, and up to ~24k if it reads all its reference files. Until then it costs about 77 tokens; SKILL.md has 914 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~77
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~24k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 914 words (~2,197 tokens).

“VisionCamera v5 is the maintained and latest version of react-native-vision-camera. It is a full Nitro Modules rewrite with a new Constraints API, Output-based architecture, in-memory Photo, and a hard break from the v4 format/prop model. Almost every v4 surface is…”

— opening of SKILL.md by margelo
name
react-native-vision-camera

Read the full SKILL.md on GitHub

Files

SKILL.md and 7 other files (references) in skills/react-native-vision-camera of margelo/react-native-skills.

  • SKILL.md
  • references/advanced-features.md
  • references/capture-and-controls.md
  • references/frame-processors.md
  • references/migration-templates.md
  • references/migration-v4-to-v5.md
  • references/outputs-and-constraints.md
  • references/quickstart-v5.md

Open the folder on GitHubat commit 1e9e17b

Compare with similar skills

React Native Vision Camera next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

React Native Vision Camera compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
React Native Vision Camera this skillmargelo/react-native-skills175—~2.2kAutomated safety check: PassNone
React Native Best Practicesvercel-labs/openreview1.7k17 repos~1.1kAutomated safety check: PassMIT
Creating Reanimated Animationsgluestack/gluestack-ui5.3k—~2.4kAutomated safety check: PassNone
RtlGetStream/stream-chat-react-native1.2k—~4.4kAutomated safety check: PassCustom licence
Mobile App UI Designceorkm/mobile-app-ui-design400—~2kAutomated safety check: PassNone
Sleek Design Mobile Appssleekdotdesign/agent-skills584—~2.1kAutomated safety check: PassMIT

Similar skills

  • React Native Best Practices

    vercel-labs/openreview

    Official

    A prioritized rule set for React Native and Expo apps covering list performance, animation, navigation, UI patterns, state, rendering, monorepos and configuration.

    1.7k GitHub starsUsed in 17 repos~1.1k tokens
    MobileAuto-check passed
  • Creating Reanimated Animations

    gluestack/gluestack-ui

    Generate React Native Reanimated animation code for React Native apps.

    5.3k GitHub stars~2.4k tokensUpdated 1 mo ago
    MobileAuto-check passed
  • Rtl

    GetStream/stream-chat-react-native

    Audit and maintain RTL (right-to-left) layout compatibility in stream-chat-react-native.

    1.2k GitHub stars~4.4k tokensUpdated yesterday
    MobileAuto-check passed
  • Mobile App UI Design

    ceorkm/mobile-app-ui-design

    Design high-quality mobile app UI/UX screens, flows, and components.

    400 GitHub stars~2k tokensUpdated 3 mo ago
    MobileAuto-check passed
  • Sleek Design Mobile Apps

    sleekdotdesign/agent-skills

    Design mobile app screens with Sleek, edit Sleek projects, and implement their designs in React Native or HTML.

    584 GitHub stars~2.1k tokensUpdated 2 days ago
    MobileAuto-check passed
  • Argent Metro Debugger

    bbplayer-app/BBPlayer

    Debug a JS runtime via CDP using argent debugger tools. An agent skill from bbplayer-app/BBPlayer.

    1.1k GitHub stars~3.4k tokensUpdated today
    MobileAuto-check passed

More from margelo/react-native-skills

All 9 skills in this repo
  • Build Nitro Modules

    margelo/react-native-skills

    Builds and designs React Native Nitro Modules with Nitrogen, HybridObject TypeScript specs, Nitro View components, generated native implementations, zero-copy and native-state APIs, Swift/Kotlin/C++…

    175 GitHub stars~9.9k tokensUpdated 1 mo ago
    Auto-check passed
  • Kotlin

    margelo/react-native-skills

    Design, implement, and review Kotlin and Android APIs. An agent skill from margelo/react-native-skills.

    175 GitHub stars~3k tokensUpdated 1 mo ago
    Auto-check passed
  • Swift

    margelo/react-native-skills

    Design, implement, and review Swift APIs and Apple-platform code.

    175 GitHub stars~3.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Nitro Fetch

    margelo/react-native-skills

    Fast native networking primitives for React Native built on Nitro Modules — react-native-nitro-fetch, react-native-nitro-websockets, and react-native-nitro-text-decoder.

    175 GitHub stars~1.5k tokensUpdated 1 mo ago
    Auto-check passed
  • React Native Mmkv

    margelo/react-native-skills

    Fast synchronous key-value storage for React Native via react-native-mmkv (Nitro-backed).

    175 GitHub stars~2.1k tokensUpdated 1 mo ago
    Auto-check passed
  • React Native Vision Camera Realtime

    margelo/react-native-skills

    Design and review production-grade low-latency VisionCamera v5 pipelines.

    175 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed

Works with

Categories

Questions about React Native Vision Camera

What does React Native Vision Camera do?

Best-practices guide for React Native VisionCamera v5 setup, migration, capture, controls, outputs, and basic frame processing. React Native Vision Camera is an agent skill from margelo/react-native-skills. Best-practices guide for React Native VisionCamera v5 setup, migration, capture, controls, outputs, and basic frame processing.

When should I use React Native Vision Camera?

React Native Vision Camera fits situations like: tasks that involve Cross-platform mobile apps.

How do I install React Native Vision Camera in Claude Code?

Run `npx skills add margelo/react-native-skills --skill react-native-vision-camera -a claude-code`. Or copy the skill folder (skills/react-native-vision-camera in margelo/react-native-skills) into .claude/skills/react-native-vision-camera in your project. Claude Code loads it when a task matches its description.

How do I install React Native Vision Camera in Codex?

Run `npx skills add margelo/react-native-skills --skill react-native-vision-camera -a codex`. Or copy the skill folder (skills/react-native-vision-camera in margelo/react-native-skills) into .agents/skills/react-native-vision-camera in your project. Codex loads it when a task matches its description.

Can I use React Native Vision Camera in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add margelo/react-native-skills --skill react-native-vision-camera -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/react-native-vision-camera, .gemini/skills/react-native-vision-camera, .github/skills/react-native-vision-camera and .opencode/skills/react-native-vision-camera in your project.

What does React Native Vision Camera need to run?

Going by SKILL.md and its folder, React Native Vision Camera needs the command-line tools its instructions call (gh).

Does React Native Vision Camera access the network?

SKILL.md names 5 domains. As links in the text: visioncamera.margelo.com, docs.swmansion.com, blog.margelo.com, github.com and visioncamera4.margelo.com. This is read from the text; nothing was executed.

Is React Native Vision Camera safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does React Native Vision Camera use?

No licence was found for React Native Vision Camera or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does React Native Vision Camera use?

About 2.2k tokens (SKILL.md is roughly 8.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 22k tokens, read only when the agent opens those files.

What are the alternatives to React Native Vision Camera?

Skills that share tags, products or a category with React Native Vision Camera: React Native Best Practices (vercel-labs/openreview, 1.7k stars), Creating Reanimated Animations (gluestack/gluestack-ui, 5.3k stars), Rtl (GetStream/stream-chat-react-native, 1.2k stars) and Mobile App UI Design (ceorkm/mobile-app-ui-design, 400 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains React Native Vision Camera?

margelo (a GitHub organization) maintains it in margelo/react-native-skills, which has 175 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on August 21, 2026.

Source: margelo/react-native-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.