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 when the user wants to retrieve or update Organization-Wide Default (OWD) sharing settings for Salesforce objects.
$ npx skills add forcedotcom/sf-skills --skill platform-sharing-owd-configure -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install forcedotcom/sf-skills platform-sharing-owd-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/platform-sharing-owd-configure .claude/skills/platform-sharing-owd-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 "platform-sharing-owd-configure" agent skill from https://github.com/forcedotcom/sf-skills/tree/main/skills/platform-sharing-owd-configure into .claude/skills/platform-sharing-owd-configure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "platform-sharing-owd-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/platform-sharing-owd-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 platform-sharing-owd-configure -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install forcedotcom/sf-skills platform-sharing-owd-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/platform-sharing-owd-configure .agents/skills/platform-sharing-owd-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 "platform-sharing-owd-configure" agent skill from https://github.com/forcedotcom/sf-skills/tree/main/skills/platform-sharing-owd-configure into .agents/skills/platform-sharing-owd-configure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "platform-sharing-owd-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 platform-sharing-owd-configure -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install forcedotcom/sf-skills platform-sharing-owd-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/platform-sharing-owd-configure .cursor/skills/platform-sharing-owd-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 "platform-sharing-owd-configure" agent skill from https://github.com/forcedotcom/sf-skills/tree/main/skills/platform-sharing-owd-configure into .cursor/skills/platform-sharing-owd-configure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "platform-sharing-owd-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/platform-sharing-owd-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 platform-sharing-owd-configure -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install forcedotcom/sf-skills platform-sharing-owd-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/platform-sharing-owd-configure .gemini/skills/platform-sharing-owd-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 "platform-sharing-owd-configure" agent skill from https://github.com/forcedotcom/sf-skills/tree/main/skills/platform-sharing-owd-configure into .gemini/skills/platform-sharing-owd-configure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "platform-sharing-owd-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 platform-sharing-owd-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 platform-sharing-owd-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/platform-sharing-owd-configure .github/skills/platform-sharing-owd-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 "platform-sharing-owd-configure" agent skill from https://github.com/forcedotcom/sf-skills/tree/main/skills/platform-sharing-owd-configure into .github/skills/platform-sharing-owd-configure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "platform-sharing-owd-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 platform-sharing-owd-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 platform-sharing-owd-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/platform-sharing-owd-configure .opencode/skills/platform-sharing-owd-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 "platform-sharing-owd-configure" agent skill from https://github.com/forcedotcom/sf-skills/tree/main/skills/platform-sharing-owd-configure into .opencode/skills/platform-sharing-owd-configure/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "platform-sharing-owd-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.
platform-sharing-owd-configureA skill your agent uses when the user wants to retrieve or update Organization-Wide Default (OWD) sharing settings for Salesforce objects.
Platform Sharing Owd Configure is an agent skill from forcedotcom/sf-skills. Use when the user wants to retrieve or update Organization-Wide Default (OWD) sharing settings for Salesforce objects. TRIGGER on org-wide defaults, checking/viewing sharing defaults, changing default access levels (Private, Public Read Only, Public Read/Write, Controlled by Parent), internal/external access for standard or custom objects, making records private, or sharingModel in .object-meta.xml files. DO NOT TRIGGER for sharing rules, criteria-based sharing, role hierarchy, or manual sharing — delegate to…
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `examples/get_owd_output.md`, `examples/update_owd_output.md` and `references/access_levels.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 step headings in SKILL.md.
Read from SKILL.md and the folder at commit e5164d9. 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.
Shell commands in SKILL.md call:
sfFrom 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.
Platform Sharing Owd Configure loads about 2.2k tokens when it runs, and up to ~3.9k if it reads all its reference files. Until then it costs about 145 tokens; SKILL.md has 1,027 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); files beside SKILL.md are not scanned.
The full file from forcedotcom/sf-skills at commit e5164d9, republished under its Apache-2.0 licence (© forcedotcom). 1,027 words, ~2,241 tokens.
.claude/skills/platform-sharing-owd-configure/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.Retrieve and update Organization-Wide Default (OWD) sharing settings for standard and custom objects in a Salesforce org. OWDs define the baseline level of access users have to records they do not own.
Before proceeding, confirm with the user if not already clear:
Gather or infer before proceeding:
Account, Contact) or custom object API name (e.g., Invoice__c)Defaults unless specified:
All steps are sequential. Do not skip or reorder.
Query current OWD settings using the Salesforce CLI Tooling API:
sf data query --query "SELECT QualifiedApiName, InternalSharingModel, ExternalSharingModel FROM EntityDefinition WHERE QualifiedApiName = '<ObjectName>'" --use-tooling-api --target-org <org>
For retrieving all OWD settings at once:
sf data query --query "SELECT QualifiedApiName, InternalSharingModel, ExternalSharingModel FROM EntityDefinition WHERE IsCustomizable = true ORDER BY QualifiedApiName" --use-tooling-api --target-org <org>
Present results clearly — read references/access_levels.md for valid values and display a formatted table to the user.
Check for immutable/fixed OWD — read references/access_levels.md "Immutable / Fixed OWD Objects" section. If the requested change targets a fixed value (e.g., Price Book external OWD), stop immediately and explain to the user that this value is platform-fixed and cannot be changed by any means. Do not attempt a deploy.
Validate the requested access level — read references/access_levels.md to confirm the value is valid for the target object. If the value is not in the allowed set for that object, explain what values are valid and ask the user to choose one. Do not guess alternative values.
Retrieve the object metadata using the Metadata API (same command for both standard and custom objects): sf project retrieve start --metadata CustomObject:<ObjectName> --target-org <org>. This retrieves <ObjectName>.object-meta.xml containing <sharingModel> and <externalSharingModel>. See references/metadata_api_approach.md for the full procedure.
Modify the sharing settings — update the <sharingModel> (internal access) and/or <externalSharingModel> (external access) in the object's .object-meta.xml. Read references/metadata_api_approach.md for details.
Pre-deploy verification — before deploying, confirm:
ControlledByParentreferences/access_levels.md)references/access_levels.md)references/access_levels.mdDeploy the updated settings: sf project deploy start --metadata CustomObject:<ObjectName> --target-org <org>.
Handle deploy failure (max 2 attempts): If the deploy fails:
sf project retrieve start --metadata CustomObject:<ObjectName> --target-org <org>), and ask the user how to proceed.Verify the change by re-running the query from Phase 1, Step 1.
| Constraint | Rationale |
|---|---|
Objects with Master-Detail relationships must use ControlledByParent | Platform enforces this — attempting other values fails |
| External access cannot be more permissive than internal access | Salesforce rejects configurations where external > internal |
| Some objects have immutable/fixed OWD (e.g., Price Book external, User, Activity external) | These are platform-enforced — explain impossibility upfront, never attempt a deploy |
Price Book only accepts Use (ReadSelect) or No Access (None) for internal OWD; external is always None | Standard access levels (Private/Read/ReadWrite) are invalid for Price Book |
| Changing OWD to more restrictive triggers sharing recalculation | This can take significant time on large orgs — warn the user |
Custom objects default to Public Read/Write when created | Users may not realize the default is permissive |
For managed package custom objects, use the full API name including namespace prefix (e.g., ns__Object__c) | Namespace-prefixed objects require the prefix in both queries and metadata retrieval |
| Always verify the org connection before querying | Prevents confusing error messages |
| Maximum 2 deploy attempts per change | Prevents unbounded retry loops — after 2 failures, stop and report to the user |
| Issue | Resolution |
|---|---|
INSUFFICIENT_ACCESS error when updating | User needs Manage Sharing permission or System Administrator profile |
| OWD change appears stuck | Sharing recalculation is running — check Setup > Sharing Settings for progress |
| Custom object not found in query | Use the full API name including __c suffix |
ControlledByParent not available | Object has no Master-Detail relationship — use Private, Public Read Only, or Public Read/Write |
| External access field not showing | External sharing model only appears when external org-wide defaults are enabled |
| Query returns no results | Object may not be customizable or API name may be incorrect — verify spelling |
| Deploy fails with invalid value for Price Book | Price Book only accepts Use/None (internal) and external is fixed at None — do not retry with other values, explain to user |
Deliverables:
| Need | Delegate to |
|---|---|
| Creating sharing rules after restricting OWD | platform-sharing-rules-generate skill |
| Deploying metadata changes to another org | platform-metadata-deploy skill |
| File | When to read |
|---|---|
references/access_levels.md | When validating or explaining OWD access level values |
references/metadata_api_approach.md | When using Metadata API to update OWD instead of Tooling API |
examples/get_owd_output.md | To verify formatted output matches expected structure |
examples/update_owd_output.md | To verify update confirmation matches expected structure |
© 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 4 other files (references) in skills/platform-sharing-owd-configure of forcedotcom/sf-skills.
Open the folder on GitHubat commit e5164d9
Platform Sharing Owd 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 |
|---|---|---|---|---|---|---|
| Platform Sharing Owd Configure this skillforcedotcom/sf-skills | 1.1k | — | ~2.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 | 125 | — | ~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 when the user wants to retrieve or update Organization-Wide Default (OWD) sharing settings for Salesforce objects. Platform Sharing Owd Configure is an agent skill from forcedotcom/sf-skills. Use when the user wants to retrieve or update Organization-Wide Default (OWD) sharing settings for Salesforce objects.
Platform Sharing Owd Configure fits situations like: the user wants to retrieve; update Organization-Wide Default (OWD) sharing settings for Salesforce objects; org-wide defaults; checking/viewing sharing defaults.
Run `npx skills add forcedotcom/sf-skills --skill platform-sharing-owd-configure -a claude-code`. Or copy the skill folder (skills/platform-sharing-owd-configure in forcedotcom/sf-skills) into .claude/skills/platform-sharing-owd-configure in your project. Claude Code loads it when a task matches its description.
Run `npx skills add forcedotcom/sf-skills --skill platform-sharing-owd-configure -a codex`. Or copy the skill folder (skills/platform-sharing-owd-configure in forcedotcom/sf-skills) into .agents/skills/platform-sharing-owd-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 platform-sharing-owd-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/platform-sharing-owd-configure, .gemini/skills/platform-sharing-owd-configure, .github/skills/platform-sharing-owd-configure and .opencode/skills/platform-sharing-owd-configure in your project.
Going by SKILL.md and its folder, Platform Sharing Owd Configure needs the command-line tools its instructions call (sf).
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. Review the folder before installing.
Platform Sharing Owd 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 2.2k tokens (SKILL.md is roughly 9k 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 1.6k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Platform Sharing Owd 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, 125 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,060 GitHub stars. The repository holds 251 skills in this directory. The repository was last updated on October 7, 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.