barcode-capture-rn

barcode-capture-rn is a skill for Claude Code from Scandit/skills. It costs 91 tokens per session (1,963 once invoked), scanned A, original, Apache-2.0.

A guide for adding single-barcode scanning to React Native apps using Scandit's Barcode Capture tools. React Native lets developers build mobile apps with JavaScript or TypeScript, while Scandit provides the barcode-scanning software.

In plain words
What is it for?
Use it to configure supported barcode types, connect the scanner to a camera view, handle scanned results, and add a viewfinder or scan feedback.
Why use it?
It helps avoid using outdated Scandit instructions and prevents setup mistakes that can break scanning screens or the rest of the app.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the scandit-sdk plugin — 87 skills, 1 MCP server shipped together

Good fit Use it to configure supported barcode types, connect the scanner to a camera view, handle scanned results, and add a viewfinder or scan feedback.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/scandit/skills/barcode-capture-rn
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 Scandit/skills --skill barcode-capture-rn
Clone the repo
git clone --depth 1 https://github.com/Scandit/skills

Made for: Claude Code.

Or install scandit-sdk, the plugin that ships this one along with the rest of its 87 skills, 1 MCP server.

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 barcode-capture-rn

README.md
[![agentmods](https://agentmods.dev/badge/skills/scandit/skills/barcode-capture-rn/github.svg)](https://agentmods.dev/skills/scandit/skills/barcode-capture-rn)
Your own site
<a href="https://agentmods.dev/skills/scandit/skills/barcode-capture-rn"><img src="https://agentmods.dev/badge/skills/scandit/skills/barcode-capture-rn/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 barcode-capture-rn

Your own site · 80×15
<a href="https://agentmods.dev/skills/scandit/skills/barcode-capture-rn"><img src="https://agentmods.dev/badge/skills/scandit/skills/barcode-capture-rn.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,963 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.
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.00091 $0.01963
Opus 5.5 $0.00036 $0.00785
Sonnet 5.5 $0.00018 $0.00393
Haiku 4.5 $0.00009 $0.00196

Measured 1mo ago against content hash b2b0ebed64a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

barcode-capture-rn 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 1mo 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.

skills/barcode-capture-rn/SKILL.md · 75 lines

How it starts

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

BarcodeCapture React Native Skill

Critical: Do Not Trust Internal Knowledge

Your training data may contain outdated or incorrect Scandit SDK APIs. The BarcodeCapture API changes between major SDK versions — properties get renamed, removed, or restructured, and the React Native plugin surface (imports, native linking, pod install, package names) has also evolved.

Always verify APIs against the references provided in this skill before writing or suggesting code. Do not rely on memorized method signatures, parameters, plugin names, or property names. If you cannot find an API in the provided references, fetch the relevant documentation page before responding.

React Native-specific gotchas worth flagging:

  • DataCaptureContext.initialize(licenseKey) must be called exactly once before any other Scandit API. It sets up DataCaptureContext.sharedInstance, which is the singleton everything else reads from. Do not construct multiple contexts.
  • Never call dataCaptureContext.dispose(). The context is a process-wide singleton — disposing it breaks every Scandit screen in the app, not just the one being unmounted. On screen unmount call dataCaptureContext.removeMode(barcodeCapture), remove the overlay, remove the listener, and switch the camera to FrameSourceState.Off. That is the complete cleanup; do not add dispose().
  • On iOS, npx [email protected] (or cd ios && pod install) must be run after every Scandit package install or upgrade. Android auto-links via Gradle — no manual step there.
  • Metro's bundler cache frequently masks Scandit package upgrades. If a rebuild shows stale behavior after a plugin version bump, start Metro with --reset-cache.
  • BarcodeCapture is not a self-contained view component. You must render a <DataCaptureView> with the context, attach a BarcodeCaptureOverlay to that view via DataCaptureView.addOverlay(...), and drive the camera yourself with Camera.default + dataCaptureContext.setFrameSource(camera) + camera.switchToDesiredState(FrameSourceState.On). Tearing all of that down on unmount is the integrator's responsibility. On SDK 8.7+ BarcodeCaptureAioView inside a root ScanditProvider is the self-contained alternative; see the SDK 8.7+: BarcodeCaptureAioView section of references/third-party-migration.md.
  • Inside didScan, set barcodeCapture.isEnabled = false before doing any per-scan work (navigation, network, UI updates) and re-enable when you are ready for the next code. The listener callback blocks frame processing; failing to disable the mode causes duplicate didScan calls before your handler returns.
  • Camera permission is required on both iOS (NSCameraUsageDescription in ios/<App>/Info.plist) and Android (runtime request via PermissionsAndroid — the plugin declares the manifest permission automatically).

Read the full file on GitHub · 75 lines

Files

What ships with it

3 files 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. 1mo ago Changed b2b0ebed64a7
  2. 1mo ago Changed d5ef42a7d137
  3. 1mo ago Changed 1097cf6b5109
  4. 1mo ago Changed · -2 lines · +15 tokens per session 7d6bf9e368f5
  5. 2mo ago Changed · +17 lines c9d4d7a2517e
  6. 3mo ago First seen · 60 lines · 76 tokens per session scan A 6c04ac3d13da

Subscribe to this mod's changes

barcode-capture-rn is a skill published in the GitHub repository Scandit/skills (22 stars, last pushed 9d ago), licensed Apache-2.0. It adds 91 tokens to every session and 1,963 once invoked, about $0.0004 per session on Opus 5.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-08-30.

Related

barcode-capture-rn compared with skills from other repositories

barcode-capture-rn next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
barcode-capture-rnScandit/skillsSkill229d agoApache-2.0A91Claude Code
react-native-devMiniMax-AI/skillsSkill14k23d agoMITA102Claude Code
expo-native-uiexpo/skillsSkill4.3ktodayMITA63Claude Code, Codex
truesheet-usagelodev09/react-native-true-sheetSkill2.1ktodayMITA171Claude Code, Codex
expo-brownfieldexpo/skillsSkill4.3ktodayMITA70Claude Code, Codex
vercel-react-native-skillsfcakyon/claude-codex-settingsSkill1.2kyesterdayApache-2.0A57Claude Code
react-native-ease-refactorappandflow/react-native-easeSkill1.0k20d agoMITA18Claude Code