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-code

Installs 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

More from jdrhyne/agent-skills

All 17
1jdrhyne avatarZendeskjdrhyne/agent-skillsManage Zendesk tickets, users, and support workflows through the Zendesk API. Use when searching tickets, updating support state, checking users, or exporting q0skills.sh installs
2jezweb avatarMCP OAuth Cloudflarejezweb/claude-skillsAdd OAuth authentication to MCP servers on Cloudflare Workers. Uses @cloudflare/workers-oauth-provider with Google OAuth for Claude.ai-compatible authentication0skills.sh installs
3leiting-eric avatardaily-briefleiting-eric/dailybriefOperational knowledge for the daily-brief digest pipeline (this project). RSS/API fetchers, pluggable LLM enrichment (default claude CLI on Max; also anthropic/0skills.sh installs
4microck avataraws-serverless-edamicrock/ordinary-claude-skillsAWS serverless and event-driven architecture expert based on Well-Architected Framework. Use when building serverless APIs, Lambda functions, REST APIs, microse0skills.sh installs
5microsoft avatarazure-kubernetesmicrosoft/github-copilot-for-azurePlan, create, and configure production-ready Azure Kubernetes Service (AKS) clusters. Covers Day-0 checklist, SKU selection (Automatic vs Standard), networking 0skills.sh installs
6mlflow avatarfetch-unresolved-commentsmlflow/mlflowFetch unresolved PR review comments using GitHub GraphQL API, filtering out resolved and outdated feedback.0skills.sh installs