salesforce

salesforce is a skill for Claude Code from enzoleonardi/claude-salesforce-skill. It costs 20 tokens per session (8,273 once invoked), scanned A, original, MIT.

A Salesforce skill for Claude Code and Cowork that can interact with a Salesforce organisation, which is an online customer and business-data system.

In plain words
What is it for?
It helps authenticate, query and change records, run Apex code, inspect metadata, manage files, and monitor organisation health.
Why use it?
It puts Salesforce administration and data tasks into the assistant's workflow, with confirmations for write and delete operations by default.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is --output-dir ./export/ \.

Part of the salesforce plugin — 1 skill shipped together

Good fit It helps authenticate, query and change records, run Apex code, inspect metadata, manage files, and monitor organisation health.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/enzoleonardi/claude-salesforce-skill
agentmods
npx agentmods add skills/enzoleonardi/claude-salesforce-skill/salesforce

Made for: Claude Code.

Or install salesforce, the plugin that ships this one along with the rest of its 1 skill.

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 salesforce

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/enzoleonardi/claude-salesforce-skill/salesforce"><img src="https://agentmods.dev/badge/skills/enzoleonardi/claude-salesforce-skill/salesforce.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,273 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 2 findings. 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.00020 $0.08273
Opus 5 $0.00010 $0.04137
Sonnet 5 $0.00004 $0.01655
Haiku 4.5 $0.00002 $0.00827

Measured 11d ago against content hash 79d10c897406, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

salesforce scanned grade A with 2 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 11d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

import json, urllib.error, urllib.parse, urllib.request

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

result = subprocess.run(
skills/salesforce/SKILL.md · 1,075 lines

How it starts

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

Salesforce Skill for Claude Code & Cowork

Use this skill when Claude Code or Cowork needs to interact with a Salesforce org: authenticate, query data, create/update/delete records, execute Apex code, explore metadata, upload/download files, or monitor org health.

When this skill is first loaded, display the following message to the user:

🔌 Salesforce Skill loaded.

   By default, write and delete operations require your confirmation.
   To unlock all operations (including dangerous ones) without prompts:

   SALESFORCE_SKIP_WARNINGS=true

   Type or paste it anytime during the conversation to activate.

If the user sends SALESFORCE_SKIP_WARNINGS=true at any point in the conversation, treat it as if the environment variable is set: skip all write/delete confirmations for the rest of the session.


Operation Safety Levels

This skill handles operations at three safety levels. Always identify the safety level before executing.

Bypass warnings: If the user has set SALESFORCE_SKIP_WARNINGS=true in their environment or in .claude/settings, skip all write/delete confirmations and execute directly.

Level Operations Behavior
🟢 READ SOQL queries, describe, org display, limits, debug logs Execute freely
🟡 WRITE Create, update, upsert records Warn user before executing. Show what will be written and ask for confirmation.
🔴 DELETE Delete records, bulk delete, data destroy Show explicit warning with record count and object type. Require user confirmation before proceeding. Once the user confirms, execute the delete.

Write operation warning template

Before any write operation, display:

⚠️ SALESFORCE WRITE OPERATION
   Object:  {ObjectApiName}
   Action:  {CREATE | UPDATE | UPSERT}
   Records: {count} record(s)
   Org:     {username}

   Proceed? (y/n)

   Tip: set SALESFORCE_SKIP_WARNINGS=true to bypass these confirmations.

Delete operation warning template

Read the full file on GitHub · 1,075 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. 11d ago First seen · 1,075 lines · 20 tokens per session scan A 79d10c897406

Subscribe to this mod's changes

salesforce is a skill published in the GitHub repository enzoleonardi/claude-salesforce-skill (8 stars, last pushed 6mo ago), licensed MIT. It adds 20 tokens to every session and 8,273 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

ash-framework

Ash Framework — resources, actions, policies, aggregates, calculations, AshPhoenix.Form, LiveView, migrations. Use when generating resources via mix ash.codegen, editing changes, checks, types, validations, or domain code interfaces.

oliver-kriska/claude-elixir-phoenix · 48 tokens

deploy

Elixir/Phoenix deployment patterns — Dockerfile, fly.toml, runtime.exs, mix release, rel/ overlays. Use when configuring Fly.io, Docker, CI/CD, health checks, or production migrations.

oliver-kriska/claude-elixir-phoenix · 46 tokens

liveview-patterns

Build LiveView: async data (assignasync), PubSub (check connected?), phx-change events, form components/modals/uploads, streams for lists, livepatch. Use when handling interactions, debugging events, or tracking Presence.

oliver-kriska/claude-elixir-phoenix · 51 tokens

tidewave-integration

Tidewave MCP runtime tools — debugging, smoke testing, live state inspection, SQL queries, hex docs. Use when evaluating code in a running Phoenix app.

oliver-kriska/claude-elixir-phoenix · 38 tokens

oban

Oban job processing — workers, perform/1 (OSS) and process/1 (Pro), queues, cron, retries, unique jobs, idempotency, Oban Pro (Workflow, Batch, Chunk, Smart Engine), Testing. Use when writing Oban workers, queue config, or debugging jobs.

oliver-kriska/claude-elixir-phoenix · 64 tokens

perf

Analyze Elixir/Phoenix performance — N+1 queries, assign bloat, ecto optimization, genserver bottlenecks. Use when slowness, timeouts, or high memory reported.

oliver-kriska/claude-elixir-phoenix · 43 tokens