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.
npx agentmods add skills/scandit/skills/matrixscan-batch-iosnpx skills add Scandit/skills --skill matrixscan-batch-iosgit clone --depth 1 https://github.com/Scandit/skillsWrote 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.
[](https://agentmods.dev/skills/scandit/skills/matrixscan-batch-ios)<a href="https://agentmods.dev/skills/scandit/skills/matrixscan-batch-ios"><img src="https://agentmods.dev/badge/skills/scandit/skills/matrixscan-batch-ios.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00068 | $0.01907 |
| Opus 5 | $0.00034 | $0.00954 |
| Sonnet 5 | $0.00014 | $0.00381 |
| Haiku 4.5 | $0.00007 | $0.00191 |
Grade A, and why
matrixscan-batch-ios 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MatrixScan Batch iOS Skill
Critical: Do Not Trust Internal Knowledge
Your training data may contain outdated or incorrect Scandit SDK APIs. The BarcodeBatch API changes between major SDK versions — initializer signatures, overlay constructors, and delegate method names have all evolved (e.g. BarcodeTracking → BarcodeBatch).
Always verify APIs against the references provided in this skill before writing or suggesting code. Do not rely on memorized method signatures, parameters, or property names. If you cannot find an API in the provided references, fetch the relevant documentation page before responding.
iOS-specific gotchas worth flagging:
BarcodeBatch(context: context, settings: settings)is a direct convenience initializer — not a factory method like Android'sBarcodeBatch.forDataCaptureContext(...). Passing a non-nil context auto-attaches the mode to the context.- Camera setup is manual: get
Camera.default, callcontext.setFrameSource(camera, completionHandler: nil), thencamera?.apply(BarcodeBatch.recommendedCameraSettings, completionHandler: nil). Drive the camera fromviewWillAppear/viewWillDisappear. BarcodeBatchListener.barcodeBatch(_:didUpdate:frameData:)is called on a background queue — not the main thread. Dispatch UI work viaDispatchQueue.main.async {}.- Do not hold references to
BarcodeBatchSession.trackedBarcodes,addedTrackedBarcodes,updatedTrackedBarcodes, orremovedTrackedBarcodesoutside the callback — copy the data before the callback returns. BarcodeBatchBasicOverlay(barcodeBatch:view:)andBarcodeBatchAdvancedOverlay(barcodeBatch:view:)auto-add the overlay to theDataCaptureView— no separateaddOverlaycall needed.DataCaptureViewmust beaddSubview'd manually — unlikeBarcodeArView,DataCaptureViewdoes not auto-attach to a parent view.- Per-barcode brush customization (
barcodeBatchBasicOverlay(_:brushFor:),setBrush(_:for:)) requires the MatrixScan AR add-on license. A uniform default brush (no delegate) does not. - BarcodeBatchAdvancedOverlay requires the MatrixScan AR add-on license.
- No built-in feedback —
BarcodeBatchnever plays a sound or vibrates on its own (unlikeBarcodeCapture/SparkScan). Emit feedback manually withFeedback.default.emit()from inside the listener callback (dispatched to the main thread), gated onsession.addedTrackedBarcodesso it doesn't beep every frame. session.removedTrackedBarcodesis an[Int]of tracking identifiers (barcodes that left the frame) — notTrackedBarcodeobjects.addedTrackedBarcodes/updatedTrackedBarcodesare[TrackedBarcode].- iOS symbology cases are camelCase:
.ean13UPCA,.code128,.qr— notEAN13_UPCA/CODE128/QRlike Android. - iOS delegate methods use Swift naming:
barcodeBatchBasicOverlay(_:didTap:)(not Android'sonTrackedBarcodeTapped),barcodeBatchAdvancedOverlay(_:viewFor:)(notviewForTrackedBarcode). BarcodeBatchAdvancedOverlayDelegateusesUIView— not AndroidViewor SwiftUI views.- SwiftUI:
DataCaptureViewis aUIViewand cannot be dropped into SwiftUI directly. Wrap a UIKit view controller in aUIViewControllerRepresentableand keep all BarcodeBatch APIs inside that view controller. - Cleanup:
BarcodeBatchListeneris held as a weak reference, so a missedremoveListenerwon't leak — but callbarcodeBatch.removeListener(self)indeinitto make the lifecycle explicit. When using the shared singleton (DataCaptureContext.shared), modes stay attached for the app's lifetime — you don't need to callremoveCurrentMode()ordispose(). Those methods do exist onDataCaptureContextif you want to tear down explicitly. DataCaptureContextexposes two valid initializers:DataCaptureContext.initialize(licenseKey:)+.shared(added 7.1.0/7.6.0 — the modern singleton pattern, and what this skill uses) and the olderDataCaptureContext(licenseKey:)convenience init (still non-deprecated, and what the UIKit Get Started page on docs.scandit.com still shows). Prefer the singleton form.
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.
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.
- 6d ago First seen · 64 lines · 68 tokens per session scan A d880e29a72be
matrixscan-batch-ios is a skill published in the GitHub repository Scandit/skills (19 stars, last pushed 4d ago), licensed Apache-2.0. It adds 68 tokens to every session and 1,907 once invoked, about $0.0003 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-08-30.
Other skills, from other repositories
wear-compose-m3
Expert guidance for working with Wear OS Compose Material3. Use this skill when creating, updating, or migrating Wear OS projects. This includes the androidx.wear.compose.material3, androidx.wear.compose.foundation, and androidx.wear.compose.navigation3 libraries. Also working with core components such as AppScaffold…
kotlin-specialist
Provides idiomatic Kotlin implementation patterns including coroutine concurrency, Flow stream handling, multiplatform architecture, Compose UI construction, Ktor server setup, and type-safe DSL design. Use when building Kotlin applications requiring coroutines, multiplatform development, or Android with Compose.…
build-android-binary
Compile a PAM control's Android Kotlin module into the runtime-loadable DEX for a .ppmplugin. Creates a staged Gradle build with the pinned wrapper and react-android compile dependency, verifies manifest/module/package alignment and runtime-loading constraints, builds the release AAR, then runs d8 --min-api 24. Writes…
swiftui-dev
Use this skill for SwiftUI development, architecture, structure, performance, and Apple native app profiling. It combines.
android-navigation-3
Install and migrate to Jetpack Navigation 3. Use when implementing Navigation 3 patterns including NavDisplay, NavKey routes, deep links, multiple backstacks, scenes (dialogs, bottom sheets), or migrating from Navigation 2.
mobiai-kmp
Use when working on a Kotlin Multiplatform project — shared code, expect/actual declarations, platform-specific implementations, building and testing.