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 instructions/forcedotcom/salesforcemobilesdk-reactnative/claude-mdgit clone --depth 1 https://github.com/forcedotcom/SalesforceMobileSDK-ReactNativeWhat 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 | $0.04155 | $0.04155 |
| Opus 5 | $0.02077 | $0.02077 |
| Sonnet 5 | $0.00831 | $0.00831 |
| Haiku 4.5 | $0.00415 | $0.00415 |
Grade A, and why
SalesforceMobileSDK-ReactNative CLAUDE.md 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 3d 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 — 391 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md — Salesforce Mobile SDK for React Native
About This Project
The Salesforce Mobile SDK for React Native provides JavaScript/TypeScript bindings and native bridge modules that enable React Native applications to integrate with the Salesforce platform. This repo contains:
- JavaScript/TypeScript libraries (
src/) - The public API exposed to React Native apps - iOS bridge code (
ios/SalesforceReact/) - Objective-C++ TurboModule bridges to iOS SDK - Android bridge code (
android/) - Kotlin TurboModule bridges to Android SDK - iOS tests (
iosTests/) - XCTest suite for iOS bridge functionality - Android tests (
androidTests/) - AndroidX Test suite for Android bridge functionality - JavaScript tests (
test/) - Test suite for JavaScript API - Pre-built codegen (
android/generated/) - C++ JavaTurboModule wrappers committed to npm package. Regenerated bysetversion.shduring releases. Must be regenerated manually if bridge methods change insrc/specs/.
Key constraint: This is a public SDK. Every change is visible to external developers. Backward compatibility, deprecation cycles, and semver discipline are non-negotiable.
Architecture
This repository is part of a cross-platform architecture:
React Native App
└── react-native-force (this repo)
├── JavaScript/TypeScript API (src/)
├── iOS Bridge (ios/SalesforceReact/)
│ └── depends on → SalesforceMobileSDK-iOS libraries
└── Android Bridge (android/)
└── depends on → SalesforceMobileSDK-Android libraries
Note: As of SDK 14.0, the Android bridge code lives in this repo (android/), matching the iOS bridge layout. It was previously in SalesforceMobileSDK-Android/libs/SalesforceReact/. Both platforms now use unified SF* prefix module names (e.g. SFOauthReactBridge, SFNetReactBridge). React Native autolinking handles module registration automatically.
Repository Structure
SalesforceMobileSDK-ReactNative/
├── src/ # TypeScript source - public API
│ ├── index.ts # Main export
│ ├── react.force.oauth.ts # OAuth/Authentication
│ ├── react.force.net.ts # REST API client
│ ├── react.force.smartstore.ts # SmartStore (encrypted storage)
│ ├── react.force.mobilesync.ts # MobileSync (sync framework)
│ ├── react.force.util.ts # Utilities
│ ├── react.force.log.ts # Logging
│ ├── react.force.test.ts # Test harness utilities
│ ├── specs/ # TurboModule codegen specs
│ └── typings/ # TypeScript type definitions
├── ios/SalesforceReact/ # iOS bridge modules (Objective-C++)
│ ├── SFOauthReactBridge.mm # OAuth bridge
│ ├── SFNetReactBridge.mm # REST client bridge
│ ├── SFSmartStoreReactBridge.mm # SmartStore bridge
│ ├── SFMobileSyncReactBridge.mm # MobileSync bridge
│ ├── SFSDKReactLogger.m # Logging bridge
│ └── SalesforceReactSDKManager.m # SDK manager
├── android/ # Android bridge modules (Kotlin)
│ ├── src/main/java/.../bridge/ # Bridge classes (SF*ReactBridge.kt)
│ ├── src/main/java/.../ui/ # SalesforceReactActivity (bridgeless mode)
│ ├── src/main/java/.../app/ # SDK manager
│ └── build.gradle.kts # Gradle build config
├── iosTests/ # iOS test application
│ ├── ios/ # Xcode project with XCTest tests
│ └── prepareios.js # Test setup script
├── androidTests/ # Android test application (mirrors iosTests/)
│ └── mobile_sdk/ # Android SDK clone for testing
├── test/ # JavaScript test suite
│ ├── alltests.js # Test entry point
│ ├── oauth.test.js # OAuth tests
│ ├── net.test.js # REST API tests
│ ├── smartstore.test.js # SmartStore tests
│ ├── mobilesync.test.js # MobileSync tests
│ └── harness.test.js # Test infrastructure
├── dist/ # Compiled TypeScript output
├── package.json # npm package definition (includes codegenConfig)
├── SalesforceReact.podspec # CocoaPods spec for iOS
└── tsconfig.json # TypeScript configuration
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.
- 3d ago First seen · 391 lines · 4,155 tokens per session scan A 0231328d95a5
SalesforceMobileSDK-ReactNative CLAUDE.md is an instructions file published in the GitHub repository forcedotcom/SalesforceMobileSDK-ReactNative (57 stars, last pushed 5d ago), licensed BSD-3-Clause. It adds 4,155 tokens to every session, about $0.0208 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 instructions, from other repositories
react-native CLAUDE.md
Instructions for storybookjs/react-native, covering development commands, initial setup, development, story generation and testing.
collie CLAUDE.md
Instructions for AltanS/collie, covering claude.md — working agreement for this repo, decision records — read before reopening a settled question, versioning — mandatory, build / run (operational facts that are easy to forget) and frontend data layer (react router, not tanstack).
react-native-chat AGENTS.md
Instructions for kesha-antonov/react-native-chat, covering agents.md, what this is, setup, commands and layout.
grass-expo CLAUDE.md
Instructions for anildukkipatty/grass-expo: The old code is in the (tabs) folder. The updated code which is actually loaded for the user is in the new-navbar / (tabs) folder. Please refer to this folder instead of just previous (tabs). Similarly the relevant diff screen from now on is in app/new-navbar/diffs.tsx vs…
skyroc CLAUDE.md
Instructions for Ohh-889/skyroc, a project described as: Skyroc 是一个基于 React 19 + TypeScript 的跨端前端工程化 monorepo:既提供开箱即用的 Web 中后台模板(Admin / RuoYi 对接版)和 Expo 移动端业务模板,也把请求、状态、日志、主题、双端 UI 组件库等能力沉淀为边界清晰的 workspace 包。.
react-native-ease CLAUDE.md
Instructions for appandflow/react-native-ease, a project described as: 🍃 Lightweight declarative animations powered by platform APIs.