Borrowing it
Nothing to install: this file belongs to forcedotcom/SalesforceMobileSDK-ReactNative. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-ReactNative/dev/CLAUDE.mdgit clone --depth 1 https://github.com/forcedotcom/SalesforceMobileSDK-ReactNativeWrote 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/instructions/forcedotcom/salesforcemobilesdk-reactnative/claude-md)<a href="https://agentmods.dev/instructions/forcedotcom/salesforcemobilesdk-reactnative/claude-md"><img src="https://agentmods.dev/badge/instructions/forcedotcom/salesforcemobilesdk-reactnative/claude-md/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.
<a href="https://agentmods.dev/instructions/forcedotcom/salesforcemobilesdk-reactnative/claude-md"><img src="https://agentmods.dev/badge/instructions/forcedotcom/salesforcemobilesdk-reactnative/claude-md.svg" alt="Reviewed on agentmods" width="80" 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.04155 | $0.04155 |
| Opus 5.5 | $0.01662 | $0.01662 |
| Sonnet 5.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 2mo 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.
- 2mo 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 11d ago), licensed BSD-3-Clause. It adds 4,155 tokens to every session, about $0.0166 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.
SalesforceMobileSDK-ReactNative CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| SalesforceMobileSDK-ReactNative CLAUDE.mdforcedotcom/SalesforceMobileSDK-ReactNative | Instructions file | 57 | 11d ago | BSD-3-Clause | A | 4,155 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |