
Salesforce
This is a comprehensive wrapper around the Salesforce CLI that gives Claude direct access to your CRM. You can run SOQL queries to pull reports, inspect schemas, create and update records, bulk import thousands of rows from CSV, execute Apex anonymously, and hit raw REST endpoints. The skill includes smart guardrails: it won't mutate production data or reveal auth tokens without confirmation, always uses the `--json` flag for structured responses, and won't write files unless you explicitly ask. Honestly, the authentication story is the trickiest part since you need `sf org login web` working first, but once that's sorted, it beats context-switching to the Salesforce UI for quick data pulls or schema inspection during development.
- GitHub stars
- 235
- last updated
- Jun 10, 2026
Install
$ npx -y skills add jdrhyne/agent-skills --skill salesforce --agent claude-codeInstalls into .claude/skills of the current project.
Files
Salesforce Skill
Use the Salesforce CLI (sf) to interact with Salesforce orgs. The CLI must be authenticated before use. Always add --json for structured output.
If the sf binary is not available, stop and ask the user to install the Salesforce CLI using the repo's declared install metadata or the official Salesforce CLI guide. After the CLI is available, authenticate with sf org login web before touching org data.
Safety Boundaries
- Do not create, update, delete, deploy, or execute Apex without explicit user confirmation.
- Do not reveal access tokens, auth URLs, refresh tokens, or verbose org-display output in chat.
- Do not export data to files unless the user asked for a saved artifact or bulk workflow.
- Do not target a production org by default when sandbox or staging access is available.
Authentication and Org Management
Log in (opens browser)
sf org login web --alias my-org
Other login methods:
# JWT-based login (CI/automation)
sf org login jwt --client-id <consumer-key> --jwt-key-file server.key --username user@example.com --alias my-org
Sponsors
Details
- Repository
- github.com/jdrhyne/agent-skills
- Categories
- Backend & APIs, DevOps & CI/CD, AI & Agent Building, Release Management, Sales & Marketing, CLI & Terminal
- First seen
- Jun 11, 2026