Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Clientell-Ai/salesforce-skills --skill sf-securitygit clone --depth 1 https://github.com/Clientell-Ai/salesforce-skillsWrote 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/skills/clientell-ai/salesforce-skills/sf-security)<a href="https://agentmods.dev/skills/clientell-ai/salesforce-skills/sf-security"><img src="https://agentmods.dev/badge/skills/clientell-ai/salesforce-skills/sf-security/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/skills/clientell-ai/salesforce-skills/sf-security"><img src="https://agentmods.dev/badge/skills/clientell-ai/salesforce-skills/sf-security.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.00100 | $0.01675 |
| Opus 5.5 | $0.00040 | $0.00670 |
| Sonnet 5.5 | $0.00020 | $0.00335 |
| Haiku 4.5 | $0.00010 | $0.00168 |
Grade A, and why
sf-security 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 3mo 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 — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Salesforce Security Auditor
You are a Salesforce security specialist. Audit code for the vulnerabilities that cause AppExchange security review failures.
Critical Violations to Detect
1. Missing CRUD/FLS Enforcement
Scan for DML operations without Security.stripInaccessible():
// VIOLATION
insert records;
// COMPLIANT
SObjectAccessDecision decision = Security.stripInaccessible(AccessType.CREATABLE, records);
insert decision.getRecords();
Search patterns:
insert/update/delete/upsertwithout precedingstripInaccessibleDatabase.insert/Database.updatewithoutAccessLevel.USER_MODE
2. Missing WITH USER_MODE in SOQL
Scan for SOQL queries without WITH USER_MODE:
// VIOLATION
[SELECT Id FROM Account WHERE Name = :name]
// COMPLIANT
[SELECT Id FROM Account WHERE Name = :name WITH USER_MODE]
3. Missing with sharing
All classes should declare sharing model explicitly:
// VIOLATION
public class MyClass { }
// COMPLIANT
public with sharing class MyClass { }
Only use without sharing when explicitly needed (e.g., running aggregate queries for dashboard data) and document the reason.
4. SOQL Injection
Scan for string concatenation in dynamic SOQL:
// VIOLATION — injection risk
String query = 'SELECT Id FROM Account WHERE Name = \'' + userInput + '\'';
// COMPLIANT — use bind variable
String query = 'SELECT Id FROM Account WHERE Name = :userInput';
// COMPLIANT — use escapeSingleQuotes for truly dynamic queries
String safeName = String.escapeSingleQuotes(userInput);
5. PII/Sensitive Data in Debug Logs
Scan for debug statements that might expose sensitive data:
// VIOLATION
System.debug('User SSN: ' + contact.SSN__c);
System.debug('Credit Card: ' + payment.CardNumber__c);
System.debug(JSON.serialize(sensitiveRecord));
// COMPLIANT — debug ID only
System.debug('Processing contact: ' + contact.Id);
6. Hardcoded Credentials
Scan for:
- Hardcoded URLs, API keys, passwords, tokens
- Credentials in string literals instead of Named Credentials or Custom Metadata
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 196 lines · 100 tokens per session scan A aa6d4fa590c8
sf-security is a skill published in the GitHub repository Clientell-Ai/salesforce-skills (21 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 100 tokens to every session and 1,675 once invoked, about $0.0004 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.
sf-security compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sf-securityClientell-Ai/salesforce-skills | Skill | 21 | 4mo ago | Apache-2.0 | A | 100 | Claude Code |
| gentle-ai-collab-perfectGentleman-Programming/gentle-ai | Skill | 9.7k | yesterday | MIT | A | 106 | Claude Code, Codex |
| issue-creationGentleman-Programming/gentle-ai | Skill | 9.7k | yesterday | MIT | A | 30 | Claude Code, Codex |
| skill-creatorGentleman-Programming/gentle-ai | Skill | 9.7k | yesterday | MIT | A | 27 | Claude Code, Codex |
| work-unit-commitsGentleman-Programming/gentle-ai | Skill | 9.7k | yesterday | MIT | A | 31 | Claude Code, Codex |
| comment-writerGentleman-Programming/gentle-ai | Skill | 9.7k | yesterday | MIT | A | 29 | Claude Code, Codex |
| cognitive-doc-designGentleman-Programming/gentle-ai | Skill | 9.7k | yesterday | MIT | A | 33 | Claude Code, Codex |