mobile-platform-native-capabilities-integrate

mobile-platform-native-capabilities-integrate is a skill for Claude Code, Codex from forcedotcom/sf-skills. It costs 174 tokens per session (2,000 once invoked), scanned A, original, Apache-2.0.

A builder for Salesforce Lightning Web Components that use native phone features such as barcode scanning, location, biometrics, NFC, or document scanning.

In plain words
What is it for?
It is for adding mobile device capabilities to Salesforce LWCs, including scanning, payments, calendars, contacts, and geofencing.
Why use it?
It handles checking whether a device supports a feature and helps the component respond when the feature is unavailable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Part of the mobile-development plugin — 3 skills shipped together

Good fit It is for adding mobile device capabilities to Salesforce LWCs, including scanning, payments, calendars, contacts, and geofencing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/forcedotcom/sf-skills/mobile-platform-native-capabilities-integrate
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 forcedotcom/sf-skills --skill mobile-platform-native-capabilities-integrate
Clone the repo
git clone --depth 1 https://github.com/forcedotcom/sf-skills

Made for: Claude Code, Codex.

Or install mobile-development, the plugin that ships this one along with the rest of its 3 skills.

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 mobile-platform-native-capabilities-integrate

README.md
[![agentmods](https://agentmods.dev/badge/skills/forcedotcom/sf-skills/mobile-platform-native-capabilities-integrate/github.svg)](https://agentmods.dev/skills/forcedotcom/sf-skills/mobile-platform-native-capabilities-integrate)
Your own site
<a href="https://agentmods.dev/skills/forcedotcom/sf-skills/mobile-platform-native-capabilities-integrate"><img src="https://agentmods.dev/badge/skills/forcedotcom/sf-skills/mobile-platform-native-capabilities-integrate/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 mobile-platform-native-capabilities-integrate

Your own site · 80×15
<a href="https://agentmods.dev/skills/forcedotcom/sf-skills/mobile-platform-native-capabilities-integrate"><img src="https://agentmods.dev/badge/skills/forcedotcom/sf-skills/mobile-platform-native-capabilities-integrate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 174 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,000 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. Third-party audits
  • Socket pass 28 Aug 2026
  • Snyk warn 28 Aug 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00174 $0.02000
Opus 5 $0.00087 $0.01000
Sonnet 5 $0.00035 $0.00400
Haiku 4.5 $0.00017 $0.00200

Measured 5d ago against content hash e424f9be221b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

mobile-platform-native-capabilities-integrate 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 5d 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.

plugins/builder/mobile-development/skills/mobile-platform-native-capabilities-integrate/SKILL.md · 186 lines

How it starts

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

Using Mobile Native Capabilities

The lightning/mobileCapabilities module exposes a set of factory functions that return service objects for native device features (barcode scanning, biometrics, location, etc.). Each service extends a common BaseCapability with an isAvailable() method, so an LWC can degrade gracefully on surfaces where the capability is not present (desktop, mobile web).

This skill routes an agent through (1) picking the right capability, (2) loading the authoritative type definitions, and (3) wiring the service into an LWC with the correct availability gating, error handling, and deprecation-aware API choice.

When to Use This Skill

  • User asks for an LWC that uses a device capability listed in the index below.
  • User mentions lightning/mobileCapabilities, "mobile capability", or "Nimbus" by name.
  • User wants to know which mobile native APIs are available, or which one fits their feature.

Do NOT use this skill for:

  • Mobile-offline review of an LWC (lwc:if, inline GraphQL, Komaci-priming violations) — use mobile-platform-offline-validate.
  • Choosing or styling generic Lightning Base Components / SLDS blueprints — use design-systems-slds-apply.

Prerequisites

  • Knowledge that the LWC will run inside a supported mobile container (Salesforce Mobile App, Field Service Mobile App). These capabilities are unavailable on desktop and mobile web; gate every call behind isAvailable().
  • Familiarity with the lightning/mobileCapabilities module declaration (see mobile-capabilities).

Capability Index

Capability Reference One-line use
App Review App Review Prompt the user for a native in-app review.
AR Space Capture AR Space Capture Capture a 3D scan of a physical space using AR.
Barcode Scanner Barcode Scanner Read QR / UPC / EAN / Code-128 / etc. from the camera.
Biometrics Biometrics Authenticate via Face ID / fingerprint.
Calendar Calendar Read or create events on the device calendar.
Contacts Contacts Read or create entries in the device address book.
Document Scanner Document Scanner Scan paper documents using the camera with edge detection.
Geofencing Geofencing Trigger logic when the device crosses a geographic boundary.
Location Location Read GPS coordinates and watch for updates.
NFC NFC Read or write NFC tags.
Payments Payments Take an Apple Pay / Google Pay payment.

Read the full file on GitHub · 186 lines

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. 5d ago First seen · 186 lines · 174 tokens per session scan A e424f9be221b

Subscribe to this mod's changes

mobile-platform-native-capabilities-integrate is a skill published in the GitHub repository forcedotcom/sf-skills (974 stars, last pushed today), licensed Apache-2.0. It adds 174 tokens to every session and 2,000 once invoked, about $0.0009 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-09-03.