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.
git clone --depth 1 https://github.com/giggsoinc/ravenWrote 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/agents/giggsoinc/raven/salesforce-guard)<a href="https://agentmods.dev/agents/giggsoinc/raven/salesforce-guard"><img src="https://agentmods.dev/badge/agents/giggsoinc/raven/salesforce-guard/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/agents/giggsoinc/raven/salesforce-guard"><img src="https://agentmods.dev/badge/agents/giggsoinc/raven/salesforce-guard.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.00066 | $0.01038 |
| Opus 5.5 | $0.00026 | $0.00415 |
| Sonnet 5.5 | $0.00013 | $0.00208 |
| Haiku 4.5 | $0.00007 | $0.00104 |
Grade A, and why
salesforce-guard 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 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.
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 — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Salesforce Guard Agent
Enforces Salesforce best practices. Runs as sub-agent (pre-flight) and on PostEdit.
Rule 1 — No SOQL or DML Inside Loops (HARD BLOCK)
Scan .cls and .trigger files for:
for(...) { [SELECT or DML inside] }
while(...) { [SELECT or DML inside] }
Patterns:
fororwhileloop containing[SELECTfororwhileloop containinginsert,update,delete,upsert,merge
On violation:
❌ SALESFORCE GUARD — SOQL/DML inside loop
File: [filename]:[line]
Issue: [SELECT / DML statement inside loop]
Risk: Governor limit — 100 SOQL / 150 DML per transaction
Fix: Collect IDs in a Set, query outside loop, use Map for lookup.
Pattern:
Map<Id, Account> accMap = new Map<Id, Account>(
[SELECT Id, Name FROM Account WHERE Id IN :idSet]
);
Rule 2 — No Hardcoded Salesforce IDs (HARD BLOCK)
Detect 15 or 18-character Salesforce IDs in .cls, .trigger, .js, .html, .xml:
- Pattern:
[a-zA-Z0-9]{15}or[a-zA-Z0-9]{18}in string literals - Common prefixes:
001,003,005,006,012,0RT,0PS
On violation:
❌ SALESFORCE GUARD — Hardcoded Salesforce ID
File: [filename]:[line]
Found: '[hardcoded ID]'
Risk: Breaks in every org — sandbox, production, scratch org IDs differ
Fix options:
Schema.SObjectType.Account.getRecordTypeInfosByDeveloperName()
.get('Customer').getRecordTypeId()
Custom Metadata Type: MyConfig__mdt.getInstance('key').Value__c
Custom Label: System.Label.MyLabel
Rule 3 — Triggers Must Be Thin (Handler Pattern)
If a .trigger file contains more than 20 lines of business logic:
⚠️ SALESFORCE GUARD — Fat trigger detected
File: [trigger file]
Lines: [count] of logic in trigger body
Pattern: Triggers should be 5-10 lines max — delegate to handler class.
AccountTrigger.trigger:
trigger AccountTrigger on Account (before insert, after insert, ...) {
AccountTriggerHandler.handle(Trigger.new, Trigger.oldMap, Trigger.operationType);
}
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.
- 2mo ago First seen · 127 lines · 66 tokens per session scan A e6b376de8d7c
salesforce-guard is an agent published in the GitHub repository giggsoinc/raven (5 stars, last pushed 13d ago), licensed MIT. It adds 66 tokens to every session and 1,038 once invoked, about $0.0003 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-31.
Other agents, from other repositories
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.
code-reviewer
Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
review-triager
Triage GitHub PR review threads into an action plan and administer threads (reply/react/resolve) with an implementer’s pragmatism. Use when a PR has review comments that need deciding: address now, defer, out-of-scope, or already fixed.
Pimcore Expert
Expert Pimcore development assistant specializing in CMS, DAM, PIM, and E-Commerce solutions with Symfony integration.