sf-message-grammar-audit

sf-message-grammar-audit is a skill for Claude Code from kugamon/salesforce-isv-skills. It costs 198 tokens per session (2,138 once invoked), scanned A, original, MIT.

A review tool for finding grammar problems in messages shown by a Salesforce managed package, which is software distributed through Salesforce. It examines Apex, Lightning Web Components, Aura, and Visualforce files.

In plain words
What is it for?
Use it to extract user-facing messages from a package, identify grammatical issues, and produce an ordered list of fixes.
Why use it?
It gives you one prioritized report of wording problems across the package instead of requiring a manual search through different Salesforce component types.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the salesforce-isv plugin — 2 skills shipped together

Good fit Use it to extract user-facing messages from a package, identify grammatical issues, and produce an ordered list of fixes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kugamon/salesforce-isv-skills/sf-message-grammar-audit
Install

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.

Any agent
npx skills add kugamon/salesforce-isv-skills --skill sf-message-grammar-audit
Clone the repo
git clone --depth 1 https://github.com/kugamon/salesforce-isv-skills

Made for: Claude Code.

Or install salesforce-isv, the plugin that ships this one along with the rest of its 2 skills.

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 sf-message-grammar-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/kugamon/salesforce-isv-skills/sf-message-grammar-audit/github.svg)](https://agentmods.dev/skills/kugamon/salesforce-isv-skills/sf-message-grammar-audit)
Your own site
<a href="https://agentmods.dev/skills/kugamon/salesforce-isv-skills/sf-message-grammar-audit"><img src="https://agentmods.dev/badge/skills/kugamon/salesforce-isv-skills/sf-message-grammar-audit/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 sf-message-grammar-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/kugamon/salesforce-isv-skills/sf-message-grammar-audit"><img src="https://agentmods.dev/badge/skills/kugamon/salesforce-isv-skills/sf-message-grammar-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 198 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,138 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00198 $0.02138
Opus 5 $0.00099 $0.01069
Sonnet 5 $0.00040 $0.00428
Haiku 4.5 $0.00020 $0.00214

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

Security

Grade A, and why

sf-message-grammar-audit 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 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.

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.

plugins/salesforce-isv/skills/sf-message-grammar-audit/SKILL.md · 168 lines

How it starts

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

Salesforce Managed Package — Message Grammar Audit

Generate an internal remediation report identifying grammatical issues in user-facing messages across a Salesforce managed package. This skill builds on the same extraction pipeline as sf-message-catalog but adds a grammar analysis pass and produces a different output format focused on actionable fixes.

Before You Begin

  1. Read the docx skill — locate and read the docx SKILL.md in your available skills. You will generate a .docx using docx-js.
  2. Check if a recent message catalog exists. If the user has already run sf-message-catalog and the output is available, you can read that file to extract messages instead of re-querying Salesforce. Ask the user.
  3. If no catalog exists, follow the same extraction process as sf-message-catalog (query Tooling API across all five component types). The extraction instructions are identical — refer to that skill for the full Tooling API query patterns and message-detection regex.
  4. Identify the Salesforce org connector. Ask the user which connected Salesforce org to query. Look for available MCP tools matching mcp__salesforce-*__tooling_execute. If multiple orgs are connected, ask the user to pick one.
  5. Identify the managed package namespace prefix (e.g., kugo2p).

Phase 1: Extract All Messages

Follow the same five-type extraction as sf-message-catalog:

  1. Apex Classes + TriggersaddError(), ApexPages.addMessage(), throw new ...Exception()
  2. LWCShowToastEvent, setCustomValidity, .catch() handlers, custom error components
  3. Auraforce:showToast, component.set("v.errorMessage"), ServerActionService, c:Alert/c:Toast
  4. VF Pagesapex:pageMessages, apex:pageMessage, JS alert()/confirm(), conditional panels
  5. VF Components — inline validation text, watermarks, conditional apex:outputText

Parallelize extraction across component types using subagents when possible.

For each message, record: component name, method/context, message text, condition, severity, and source type (Apex/LWC/Aura/VF Page/VF Component).

Read the full file on GitHub · 168 lines

Files

What ships with it

2 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.

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 · 168 lines · 198 tokens per session scan A 5f6a52ce5e7a

Subscribe to this mod's changes

sf-message-grammar-audit is a skill published in the GitHub repository kugamon/salesforce-isv-skills (2 stars, last pushed 21d ago), licensed MIT. It adds 198 tokens to every session and 2,138 once invoked, about $0.0010 per session on Opus 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.

Related

Other skills, from other repositories

chief-strategy-officer

Owns where the business plays and how it wins over a multi-year horizon — portfolio choices, corporate development, strategic partnerships, and planning under uncertainty. Use this for a decision about which markets or businesses to be in, whether to build, buy, or partner, how to allocate capital across business…

cbrock84/headcount · 93 tokens

seo-strategy

Audits and improves organic search performance — technical health, site architecture, internal linking, structured data, and the content decisions that determine what can rank. Use this to run an SEO audit, diagnose why pages are not ranking or were deindexed, plan a site's URL and navigation structure, add structured…

cbrock84/headcount · 74 tokens

financial-statement-analysis

Reads a set of financial statements and establishes what changed and why — fluctuation analysis against prior period and against budget, profitability, liquidity, solvency and efficiency ratios, benchmarking, and the non-GAAP measures presented alongside them. Use this to interpret results, review a counterparty's or…

cbrock84/headcount · 93 tokens

service-desk

Runs the IT service desk — intake, triage, prioritization, escalation, knowledge, and the metrics that improve service rather than distort it. Use this to set up or fix a service desk, design ticket priority and escalation, reduce repeat contacts, structure a knowledge base, or work out why a desk hitting its targets…

cbrock84/headcount · 73 tokens

youtube-producer

Plans, packages, and scripts long-form video for retention and channel growth — idea selection, titles and thumbnails, script structure, and diagnosing why a video or channel underperforms. Use this for video ideas, packaging, scripting, a retention teardown, or channel strategy — including when someone describes a…

cbrock84/headcount · 86 tokens

estimating-and-contingency

Produces a cost or effort estimate someone can defend — decomposing the work, choosing between analogous, parametric and bottom-up methods, documenting the basis and its assumptions, expressing confidence as a range, and sizing contingency and management reserve separately. Use this to build an estimate, challenge one…

cbrock84/headcount · 87 tokens