SalesforceMobileSDK-Package: Instructions file for Claude Code

CLAUDE.md

SalesforceMobileSDK-Package CLAUDE.md is an instructions file for Claude Code from forcedotcom/SalesforceMobileSDK-Package. It costs 3,919 tokens per session, scanned B, original, BSD-3-Clause.

Repository guidance for Salesforce Mobile SDK Package, the distribution and tooling hub for building Salesforce mobile apps.

In plain words
What is it for?
Use it when changing the Mobile SDK’s iOS, Android, hybrid, or React Native command-line tools, Salesforce CLI plugin, tests, or release automation.
Why use it?
It gives coding agents the project structure and explains that changes can affect command-line tools, Salesforce CLI integration, testing, and SDK releases.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

This is forcedotcom/SalesforceMobileSDK-Package's own configuration. It tells Claude Code how to work on SalesforceMobileSDK-Package itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything SalesforceMobileSDK-Package configures →

Reuse

Borrowing it

Nothing to install: this file belongs to forcedotcom/SalesforceMobileSDK-Package. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/forcedotcom/SalesforceMobileSDK-Package/dev/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/forcedotcom/SalesforceMobileSDK-Package

Made for: Claude Code.

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 SalesforceMobileSDK-Package CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/forcedotcom/salesforcemobilesdk-package/claude-md/github.svg)](https://agentmods.dev/instructions/forcedotcom/salesforcemobilesdk-package/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/forcedotcom/salesforcemobilesdk-package/claude-md"><img src="https://agentmods.dev/badge/instructions/forcedotcom/salesforcemobilesdk-package/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.

agentmods 80×15 button for SalesforceMobileSDK-Package CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/forcedotcom/salesforcemobilesdk-package/claude-md"><img src="https://agentmods.dev/badge/instructions/forcedotcom/salesforcemobilesdk-package/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,919 This file is loaded in full into every session.
When invoked 3,919 The same file — it is already loaded in full.
Security scan B 1 finding. 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.03919 $0.03919
Opus 5.5 $0.01568 $0.01568
Sonnet 5.5 $0.00784 $0.00784
Haiku 4.5 $0.00392 $0.00392

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

Security

Grade B, and why

SalesforceMobileSDK-Package CLAUDE.md scanned grade B with 1 finding 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.

Asks the agent to reveal its instructionsmediumSystem prompt leakage

Directions to print, repeat or translate the system prompt extract configuration the operator did not intend to expose.

6. **Next Steps**: Print instructions for opening in Xcode/Android Studio
CLAUDE.md · 505 lines

How it starts

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

CLAUDE.md — Salesforce Mobile SDK Package


About This Project

The Salesforce Mobile SDK Package repository is the distribution and tooling hub for the entire Mobile SDK ecosystem. It provides the command-line tools, SFDX plugin, testing framework, and release automation that enable developers to create and maintain Salesforce mobile applications.

Key constraint: This is the release orchestrator. Changes here affect how developers create apps and how the entire SDK is released and distributed.

Repository Purpose

This repository serves three primary functions:

  1. CLI Tools - Standalone command-line tools (forceios, forcedroid, forcehybrid, forcereact)
  2. SFDX Plugin - Salesforce CLI integration (sf mobilesdk commands)
  3. Release Infrastructure - Scripts to test, package, and release the entire Mobile SDK

Repository Structure

SalesforceMobileSDK-Package/
├── ios/                      # forceios CLI tool
│   ├── forceios.js           # Entry point
│   └── package.json          # NPM package definition
├── android/                  # forcedroid CLI tool
│   ├── forcedroid.js         # Entry point
│   └── package.json          # NPM package definition
├── hybrid/                   # forcehybrid CLI tool
│   ├── forcehybrid.js        # Entry point
│   └── package.json          # NPM package definition
├── react/                    # forcereact CLI tool
│   ├── forcereact.js         # Entry point
│   └── package.json          # NPM package definition
├── sfdx/                     # SFDX plugin (sf mobilesdk)
│   ├── generate_oclif.js     # Generates OCLIF command classes
│   ├── package.json          # Plugin package definition
│   └── README.md             # Plugin documentation
├── shared/                   # Shared utilities (symlinked into each tool)
│   ├── constants.js          # SDK version, tool requirements, CLI definitions
│   ├── createHelper.js       # Core app creation logic
│   ├── templateHelper.js     # Template handling and listing
│   ├── configHelper.js       # CLI argument parsing
│   ├── utils.js              # File operations, git, shell commands
│   ├── commandLineUtils.js   # Argument parsing utilities
│   └── outputColors.js       # Terminal color formatting
├── test/                     # Testing framework
│   └── test_force.js         # Comprehensive app generation tests
├── release/                  # Release automation
│   ├── release.js            # Main release orchestrator
│   └── common.js             # Release helper functions
├── pack/                     # NPM packaging
│   └── pack.js               # Creates .tgz packages for distribution
├── unittests/                # Unit tests
│   └── *.test.js             # Jest tests for shared utilities
└── package.json              # Root package definition

Read the full file on GitHub · 505 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. 2mo ago First seen · 505 lines · 3,919 tokens per session scan B c5c8c78376c1

Subscribe to this mod's changes

SalesforceMobileSDK-Package CLAUDE.md is an instructions file published in the GitHub repository forcedotcom/SalesforceMobileSDK-Package (22 stars, last pushed 14d ago), licensed BSD-3-Clause. It adds 3,919 tokens to every session, about $0.0157 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks the agent to reveal its instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

SalesforceMobileSDK-Package CLAUDE.md compared with instructions from other repositories

SalesforceMobileSDK-Package CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
SalesforceMobileSDK-Package CLAUDE.mdforcedotcom/SalesforceMobileSDK-PackageInstructions file2214d agoBSD-3-ClauseB3,919Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot