Soql Lib Query Builder
beyond-the-cloud-dev/soql-lib
Builds Salesforce SOQL queries using the SOQL Lib fluent builder API (SOQL.cls).
A skill your agent uses to configure Salesforce Email-to-Case headlessly via the Metadata API.
$ npx skills add forcedotcom/sf-skills --skill service-email-to-case-configure -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install forcedotcom/sf-skills service-email-to-case-configure --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/forcedotcom/sf-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/service-email-to-case-configure .claude/skills/service-email-to-case-configure && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "service-email-to-case-configure" agent skill from https://github.com/forcedotcom/sf-skills/tree/main/skills/service-email-to-case-configure into .claude/skills/service-email-to-case-configure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "service-email-to-case-configure", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/forcedotcom/sf-skills/tree/main/skills/service-email-to-case-configureType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add forcedotcom/sf-skills --skill service-email-to-case-configure -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install forcedotcom/sf-skills service-email-to-case-configure --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/forcedotcom/sf-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/service-email-to-case-configure .agents/skills/service-email-to-case-configure && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "service-email-to-case-configure" agent skill from https://github.com/forcedotcom/sf-skills/tree/main/skills/service-email-to-case-configure into .agents/skills/service-email-to-case-configure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "service-email-to-case-configure", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add forcedotcom/sf-skills --skill service-email-to-case-configure -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install forcedotcom/sf-skills service-email-to-case-configure --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/forcedotcom/sf-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/service-email-to-case-configure .cursor/skills/service-email-to-case-configure && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "service-email-to-case-configure" agent skill from https://github.com/forcedotcom/sf-skills/tree/main/skills/service-email-to-case-configure into .cursor/skills/service-email-to-case-configure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "service-email-to-case-configure", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/forcedotcom/sf-skills.git --path skills/service-email-to-case-configure--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add forcedotcom/sf-skills --skill service-email-to-case-configure -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install forcedotcom/sf-skills service-email-to-case-configure --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/forcedotcom/sf-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/service-email-to-case-configure .gemini/skills/service-email-to-case-configure && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "service-email-to-case-configure" agent skill from https://github.com/forcedotcom/sf-skills/tree/main/skills/service-email-to-case-configure into .gemini/skills/service-email-to-case-configure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "service-email-to-case-configure", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install forcedotcom/sf-skills service-email-to-case-configureInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add forcedotcom/sf-skills --skill service-email-to-case-configure -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/forcedotcom/sf-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/service-email-to-case-configure .github/skills/service-email-to-case-configure && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "service-email-to-case-configure" agent skill from https://github.com/forcedotcom/sf-skills/tree/main/skills/service-email-to-case-configure into .github/skills/service-email-to-case-configure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "service-email-to-case-configure", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add forcedotcom/sf-skills --skill service-email-to-case-configure -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install forcedotcom/sf-skills service-email-to-case-configure --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/forcedotcom/sf-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/service-email-to-case-configure .opencode/skills/service-email-to-case-configure && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "service-email-to-case-configure" agent skill from https://github.com/forcedotcom/sf-skills/tree/main/skills/service-email-to-case-configure into .opencode/skills/service-email-to-case-configure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "service-email-to-case-configure", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
service-email-to-case-configureA skill your agent uses to configure Salesforce Email-to-Case headlessly via the Metadata API.
Service Email To Case Configure is an agent skill from forcedotcom/sf-skills. Use to configure Salesforce Email-to-Case headlessly via the Metadata API. Reads CaseSettings, applies the emailToCase config with updateMetadata, and verifies by re-reading. Also the entry point for attaching an Agentforce agent to Email-to-Case: configures the E2C base, then delegates agent creation and channel wiring. TRIGGER on set up/configure Email-to-Case, enable E2C routing addresses, add a routing address, or E2C with an Agentforce agent. DO NOT TRIGGER for the interactive Easy Setup wizard, On-Demand…
Its SKILL.md is about 5.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 21 other files, including scripts, reference files and assets (for example `references/apply-mechanics.md`, `references/routing_address_reference.md` and `references/troubleshooting.md`).
It sits in Sales & Support, covering CRM management. It works with Salesforce. The repository describes itself as: Salesforce's curated collection of agent skills for building applications. Optimized for Agentforce Vibes, compatible with all AI tools. The licence is Apache-2.0.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 4bbae5c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 10 files in scripts/ (Python and Shell, from the files we listed), which the agent can run.
Shell commands in SKILL.md call:
python3sfFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Service Email To Case Configure loads about 5.2k tokens when it runs, and up to ~9.6k if it reads all its reference files. Until then it costs about 156 tokens; SKILL.md has 2,431 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from forcedotcom/sf-skills at commit 4bbae5c, republished under its Apache-2.0 licence (© forcedotcom). 2,431 words, ~5,231 tokens.
.claude/skills/service-email-to-case-configure/SKILL.md (or your agent's skills folder). This skill also uses 16 other files; get the full folder from GitHub.Configure Salesforce Email-to-Case entirely through the Metadata API (no Setup UI), for headless org configuration. The skill builds a CaseSettings source file for the desired emailToCase state, then applies it with scripts/apply-casesettings.py, which runs updateMetadata in two phases — the full emailToCase block + Support Settings (Phase A), then routing addresses (Phase B) — and verifies by re-reading. Two phases because a single deploy fails on a fresh org: On-Demand must be live before an address binds (see Rules / Constraints).
EmailToCase, Outlook, and GmailOAuth routing addresses; applying the change to an sf-CLI-authenticated org via apply-casesettings.py; verifying by re-reading.E2cEasy routing addresses — created only through the Service Easy Setup wizard, not the Metadata API; route the user there.sf org login web); the script reuses that session and never handles passwords or tokens.When the user wants an Agentforce Service Agent to answer these emails, configure the Email-to-Case base (the Workflow below), then delegate — this skill never creates or modifies agents.
Gate on org capability first. Attaching an agent needs the org entitled for Agentforce Email-to-Case; that entitlement surfaces as the BotEmailDefinition metadata type, so probe read-only before delegating:
scripts/check-agent-email-capability.sh <target-org-alias> # pins describe to the org's API versionExit 3 → not entitled: stop, tell the user, and configure the plain Email-to-Case base only — make no Agentforce agent or channel-wiring changes. Any other non-zero is an unreachable org, not "not entitled" — fix auth and re-run. On exit 0, delegate:
agentforce-generate, omitting the Service Customer Verification topic (unsupported on the email channel) and including an Escalation subagent so the agent can hand off to a human — on email, escalation transfers the case to a service rep, and without the subagent the agent can't escalate.service-agentforce-channel-configure Branch C.Gather or infer before applying. Ask only when a wrong assumption would produce a broken or incorrect result:
sf org display and sf org auth show-access-token; it does not log in for you.routingName (unique label), addressType (EmailToCase default, or Outlook / GmailOAuth), caseOrigin, and casePriority. The platform rejects the address if caseOrigin or casePriority is missing, so treat all four as required in the source file.--routing-email (one per address; the script fails closed on a count mismatch).--overwrite-support-settings). Ask only for the field(s) unset.User/Queue) + value (active Username or Queue DeveloperName) → --owner-type/--owner-value; Automated Case User type (User/System) — User needs a username, System needs no value → --automated-type/--automated-value (+ optional --system-user-email for System when the org's automated user doesn't exist yet).--use-authenticated-user only if the user explicitly asks.createTask, saveEmailHeaders, and an optional per-address Default Case Owner (caseOwner + caseOwnerType), opt-in per address (see step 6): omitted by default so cases fall to the org Default Case Owner / assignment rules. When set, caseOwner (active Username or Queue DeveloperName) must be paired with caseOwnerType (User/Queue); the script validates it against the org, failing closed if absent.emailToCase section (enableHtmlEmail, notifyOwnerOnNewCaseEmail, enableE2CDeduplicateAttachments, showWordCountInComposer, plus enableE2CSourceTracking, overEmailLimitAction, unauthorizedSenderAction), and top-level Support Settings (enableDraftEmails — plural element name, a sibling of emailToCase). See step 4's table for container/UI-label mapping; top-level scalar toggles apply in Phase A.Defaults: enableEmailToCase and enableOnDemandEmailToCase default to true (both required — On-Demand before routing addresses); addressType defaults to EmailToCase. Support Settings have no default — preserved if set, otherwise elicited (never the authenticated user).
All steps are sequential.
Confirm the org (and its type) — confirm the target org alias is authenticated (sf org display --target-org <alias>). The apply script checks the Organization row and refuses to mutate a production org (non-sandbox, non-trial) unless --confirm-production is passed — enabling Email-to-Case is permanent and org-wide. If production, tell the user and confirm before re-running with --confirm-production. Sandboxes, scratch orgs, and trials deploy without the flag.
Elicit the routing email(s) — ask the user for the exact customer-facing email address for each routing address (never assume, default, or carry a value over from earlier). Pass them to the script via --routing-email in the order the addresses appear in the source file.
Load the template — read assets/CaseSettings.settings-meta.xml for structure and field placement. Its comments are authoring guidance for you — never copy them into the output. Emit only the elements you set; the output must be comment-free, matching examples/CaseSettings-two-addresses.settings-meta.xml.
Enable the E2C switches, then confirm the optional toggles — set both enableEmailToCase and enableOnDemandEmailToCase to true (both required; On-Demand must be on before routing addresses can be created — the script enables it in Phase A before Phase B). Then handle the non-required convenience settings, which the template turns on by default:
| UI label | Field | Container |
|---|---|---|
| Enable HTML email | enableHtmlEmail | emailToCase |
| Eliminate duplicate email attachments | enableE2CDeduplicateAttachments | emailToCase |
| Show word count in composer | showWordCountInComposer | emailToCase |
| Notify case owners on new emails | notifyOwnerOnNewCaseEmail | emailToCase |
| Enable Email Drafts | enableDraftEmails (top-level CaseSettings) | Support Settings |
Before enabling these, tell the user exactly which will be turned on and let them opt out (e.g. "I'll also enable these optional settings: … — let me know if you'd like to skip any."). Remove any the user opts out of; keep the rest in their correct container (four inside <emailToCase>, enableDraftEmails at the root). Never silently enable these or any other optional flag the user didn't agree to. Confirmed toggles apply in Phase A.
Pick the correct surface per routing address — for each address, decide by addressType using references/routing_address_reference.md. If any requested address is E2cEasy, stop and route the user to the Service Easy Setup wizard instead of emitting Metadata for it.
Populate routing-address fields — for each EmailToCase / Outlook / GmailOAuth address, set addressType, routingName, caseOrigin, and casePriority (all required — the platform rejects the operation with "Missing caseOrigin"/"Missing casePriority" if either is absent), plus any optional case defaults. Do not put emailAddress in the source file — it is supplied at apply time via --routing-email. Do not set the read-only fields emailServicesAddress or isVerified — the platform manages them. See examples/CaseSettings-two-addresses.settings-meta.xml for a complete multi-address example.
Per-address Default Case Owner (opt-in). Ask one address at a time whether cases from this address go to a specific owner or fall to the org Default Case Owner / assignment rules (the default) — different addresses can route to different owners. If the user declines, leave caseOwner/caseOwnerType out of the source file entirely (the template ships them commented out). If the user opts in, ask for the type (User/Queue) and value (active Username or Queue DeveloperName) and set both <caseOwnerType> and <caseOwner> — the platform rejects caseOwner without its type. apply-casesettings.py validates it against the org and fails closed if absent. Do not guess or reuse the top-level Default Case Owner.
Determine Support Settings (Default Case Owner + Automated Case User) — run python3 scripts/apply-casesettings.py --target-org <alias> --input <source-file> --verify-only and inspect defaultCaseOwner / defaultCaseUser / useSystemUserAsDefaultCaseUser. When the user names a value, write it into the source file (defaultCaseOwner + defaultCaseOwnerType; defaultCaseUser, or useSystemUserAsDefaultCaseUser + optional systemUserEmail) — the scored, versionable artifact; the script also accepts these as flags. Leave each field the org already has as-is — omit it and it is preserved (override only if the user asks — then --overwrite-support-settings). For a field unset and unnamed, ask; never assume the authenticated user (--use-authenticated-user only if explicitly asked).
Validate the source file — run python3 scripts/validate-casesettings.py <path-to-source-file> and resolve any reported errors before applying.
Apply to the org — run:
python3 scripts/apply-casesettings.py --target-org <alias> --input <source-file> \
--routing-email <email-for-address-1> [--routing-email <email-for-address-2> ...] \
[--owner-type User|Queue --owner-value <username-or-queue-devname>] \
[--automated-type User --automated-value <username> | --automated-type System [--system-user-email <email>]] \
[--confirm-production]Provide exactly one --routing-email per routing address, in document order. Supply the owner/automated flags only when the org's Support Settings are not already configured (step 7); if configured, omit them and they are preserved. If the script rejects a value as invalid, relay it, get a valid value, and re-run — never fall back to the authenticated user. If the script reports production and exits, do not add --confirm-production yourself — confirm with the user first (step 1). The script applies Phase A (support settings + toggles), then Phase B (routing addresses), re-reads to verify, and exits non-zero on any fault.
Confirm the result — check the JSON summary: verified.enableEmailToCase / verified.enableOnDemandEmailToCase are true, verified.routingAddressCount matches the address count, each phaseB entry is status: created (or already_exists), and supportSettings.action is preserved-existing / set-from-input / set-from-authenticated-user. Use --verify-only to re-read without writing.
Configuration is complete after step 10.
The items below are not workflow steps — present them to the user once setup is confirmed.
Always give the user this guidance — it is how inbound mail to the customer-facing address actually reaches Salesforce:
Your routing address now has a Salesforce-generated email services address. To receive inbound mail, configure your email system to forward mail sent to your customer-facing address (e.g.
support@company.com) to that generated services address.
Offer to prove inbound email creates Cases — a live round-trip; skip it if the user declines. The skill never sends email — it orchestrates two human actions, then verifies with SOQL: (1) Address ownership — Salesforce emails a confirmation link; isVerified flips only when the human clicks it. Tell the user to click it and wait. (2) Send a test email — ask the user to send one real email from an external mailbox to the routing address's Salesforce-generated email services address (not the customer-facing address, which only receives mail once forwarding is configured), report the sender, and wait. (3) Verify with evidence — then run:
python3 scripts/apply-casesettings.py --target-org <alias> --verify-cases \
[--supplied-email <external-sender-address>]Read-only: it queries Case where Origin='Email' (last 3 days, optionally narrowed by sender) plus the linked incoming EmailMessage rows (Incoming=true, ParentId = the new Case), and exits non-zero if no matching Case has a linked incoming email (mail not processed yet — wait and re-run — or address not verified). On success it prints the Case + EmailMessage evidence with proven: true.
| Constraint | Rationale |
|---|---|
Apply via apply-casesettings.py (two-phase updateMetadata), never a plain deploy or a minimal emailToCase patch | A single deploy fails on a fresh org; the full emailToCase block (not a field-level flip) is what provisions On-Demand before addresses bind. See references/apply-mechanics.md. |
Write only the top-level fields the skill owns; never echo the whole CaseSettings record | The platform re-validates every top-level field in the payload (e.g. Case Feed → Chatter); sending only emailToCase + enableDraftEmails + Support Settings avoids unrelated failures and needs no Chatter prerequisite. Omitted fields keep their values via field-level merge. |
The customer-facing email must be explicit user input (--routing-email), never in the source file and never assumed | Prevents a guessed or stale address from being provisioned. The script fails closed if --routing-email count ≠ address count. |
CaseSettings fullName is always Case | It is an org singleton settings type; the script targets Case automatically. |
| Support Settings are preserved per field if configured; never assumed if not | Default Case Owner and Automated Case User are independent — each configured field is left untouched (unless --overwrite-support-settings), and only an unset field requires an explicit, org-validated value (fails closed otherwise). The authenticated user is used only with --use-authenticated-user. |
Automated Case User "System" and a named defaultCaseUser are mutually exclusive | --automated-type System sets useSystemUserAsDefaultCaseUser and must not carry a user value; the platform rejects both. |
| The script reads → patches → updates (append-only for addresses) | It merges onto current settings, so existing routing addresses are preserved; a duplicate routingName/emailAddress is reported as already_exists. New addresses are emitted before existing ones (updateMetadata replaces the collection wholesale and would drop an existing address that a new one follows; a runtime guard fails the run if any existing address is dropped). See references/apply-mechanics.md. |
EmailToCaseSettings is never applied directly; enableEmailToCase cannot be turned off once on | It is written only as the emailToCase child of CaseSettings. The platform permanently enables the feature after the first true apply; never rely on setting it back to false. |
Production orgs require explicit --confirm-production; never add the flag unprompted | Enabling Email-to-Case is permanent and org-wide. The script fails closed on a non-sandbox, non-trial org (and one whose type it can't read) until the user confirms. Sandboxes and trials are exempt. |
| Proving inbound Cases is a read-only step the user triggers; the skill never sends email | --verify-cases only queries Case/EmailMessage after the human verified the address and sent a test email. Fails closed until a Case with a linked incoming email exists. |
E2cEasy addresses must use the Service Easy Setup wizard | The prebuilt service_case queue binding and isVerified flip are not reproducible through the Metadata API. |
Never write emailServicesAddress or isVerified | Both are read-only, platform-generated; the script strips them if present. |
| The generated source file contains only the elements being set — no XML comments | Template/example comments are authoring guidance, not output. Copying them bloats the file (gold is comment-free) and CLI-example comments with <placeholder> tokens can fail XML validation. Put explanation in your chat reply, never in the .settings-meta.xml. |
For the full symptom → resolution table (Phase B provisioning errors, Case Feed/Chatter, per-address owner half-fills, GmailOAuth conflicts, --verify-cases failures, and every toggle-placement pitfall), read references/troubleshooting.md.
Deliverables:
CaseSettings source file (e.g. Case.settings-meta.xml) for the desired emailToCase state — toggles and routing-address fields, without emailAddress (supplied at apply time), read-only fields, or XML comments. Structure follows assets/CaseSettings.settings-meta.xml.apply-casesettings.py, plus its JSON summary (resolved owner, per-address status, verification read).| File | When to read / run |
|---|---|
assets/CaseSettings.settings-meta.xml | Step 3 — the starting template for the source file |
references/apply-mechanics.md | Read before touching how the script builds or sequences its updateMetadata payloads |
references/troubleshooting.md | When the apply or verify step reports an error, or a configured setting doesn't behave — full symptom → resolution table |
references/routing_address_reference.md | Steps 5–6 — routing-address field semantics and the addressType surface-selection rule |
examples/CaseSettings-two-addresses.settings-meta.xml | Step 6 — to verify the source-file structure for multiple routing addresses |
scripts/check-agent-email-capability.sh | Attaching an Agentforce service agent — the pre-delegation capability gate (probes for BotEmailDefinition) |
scripts/validate-casesettings.py | Step 8 — deterministic structural validation before applying |
scripts/apply-casesettings.py | Step 9 — applies the settings via two-phase updateMetadata and verifies |
scripts/tests/test_get_session.py | Run when changing session-token acquisition (get_session / _usable_access_token) — the unit suite guarding token extraction and API-version resolution |
© forcedotcom, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 16 other files (scripts, references, assets) in skills/service-email-to-case-configure of forcedotcom/sf-skills.
Open the folder on GitHubat commit 4bbae5c
Service Email To Case Configure next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Service Email To Case Configure this skillforcedotcom/sf-skills | 1.1k | — | ~5.2k | Automated safety check: Pass | Apache-2.0 | |
| Soql Lib Query Builderbeyond-the-cloud-dev/soql-lib | 154 | — | ~4.3k | Automated safety check: Pass | MIT | |
| Sf DatacloudJaganpro/sf-skills | 424 | — | ~2.7k | Automated safety check: Pass | MIT | |
| Soql Lib Selectorbeyond-the-cloud-dev/soql-lib | 154 | — | ~2k | Automated safety check: Pass | MIT | |
| Dev SetupPortwood-Global-Solutions/Portwood | 126 | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Sf FlowJaganpro/sf-skills | 424 | — | ~1.8k | Automated safety check: Pass | MIT |
beyond-the-cloud-dev/soql-lib
Builds Salesforce SOQL queries using the SOQL Lib fluent builder API (SOQL.cls).
Jaganpro/sf-skills
Salesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows.
beyond-the-cloud-dev/soql-lib
Creates Salesforce Apex selector classes using the SOQL Lib selector pattern.
Portwood-Global-Solutions/Portwood
Get from a fresh clone of Portwood to a working, fully-tested Salesforce org.
Jaganpro/sf-skills
Creates and validates Salesforce Flows with 110-point scoring.
gmapsscraper/google-maps-agent-skills
Export Google Maps business data to CSV, JSON, or CRM format (HubSpot, Pipedrive, Salesforce).
forcedotcom/sf-skills
Declared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA plugins.
forcedotcom/sf-skills
Data Cloud 360° view of a single Agentforce session. An agent skill from forcedotcom/sf-skills.
forcedotcom/sf-skills
Apply a Salesforce sandbox post-copy automation JSON config against a target org.
forcedotcom/sf-skills
Apply a Salesforce sandbox post-copy automation JSON config against a target org.
forcedotcom/sf-skills
Apply SLDS-compliant UI using the correct blueprints, styling hooks, utility classes, and icons.
forcedotcom/sf-skills
Lightning Web Components with PICKLES methodology and 165-point scoring.
Works with
Categories
A skill your agent uses to configure Salesforce Email-to-Case headlessly via the Metadata API. Service Email To Case Configure is an agent skill from forcedotcom/sf-skills. Use to configure Salesforce Email-to-Case headlessly via the Metadata API.
Service Email To Case Configure fits situations like: configure Salesforce Email-to-Case headlessly via the Metadata API; set up/configure Email-to-Case; enable E2C routing addresses; add a routing address.
Run `npx skills add forcedotcom/sf-skills --skill service-email-to-case-configure -a claude-code`. Or copy the skill folder (skills/service-email-to-case-configure in forcedotcom/sf-skills) into .claude/skills/service-email-to-case-configure in your project. Claude Code loads it when a task matches its description.
Run `npx skills add forcedotcom/sf-skills --skill service-email-to-case-configure -a codex`. Or copy the skill folder (skills/service-email-to-case-configure in forcedotcom/sf-skills) into .agents/skills/service-email-to-case-configure in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add forcedotcom/sf-skills --skill service-email-to-case-configure -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/service-email-to-case-configure, .gemini/skills/service-email-to-case-configure, .github/skills/service-email-to-case-configure and .opencode/skills/service-email-to-case-configure in your project.
Going by SKILL.md and its folder, Service Email To Case Configure needs Python and a shell for the scripts in its folder and the command-line tools its instructions call (python3 and sf). Our summary lists: Python 3; A Bash shell.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Service Email To Case Configure is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 5.2k tokens (SKILL.md is roughly 21k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.4k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Service Email To Case Configure: Soql Lib Query Builder (beyond-the-cloud-dev/soql-lib, 154 stars), Sf Datacloud (Jaganpro/sf-skills, 424 stars), Soql Lib Selector (beyond-the-cloud-dev/soql-lib, 154 stars) and Dev Setup (Portwood-Global-Solutions/Portwood, 126 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
forcedotcom (a GitHub organization) maintains it in forcedotcom/sf-skills, which has 1,067 GitHub stars. The repository holds 252 skills in this directory. The repository was last updated on October 9, 2026.
Source: forcedotcom/sf-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.