Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

platform-permission-set-generate

Skill by forcedotcom

Generates deployable Salesforce permission set metadata in PermissionSet XML, covering object, field, user, and app permissions. Built for Salesforce developers and admins who create or edit permission sets and deploy them with Salesforce CLI.

  • Score 80
  • 1.2k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install platform-permission-set-generate

Built from the published package, never by AI.

git clone --depth 1 https://github.com/forcedotcom/sf-skills /tmp/sf-skills && mkdir -p ~/.claude/skills && cp -r /tmp/sf-skills/skills/platform-permission-set-generate ~/.claude/skills/platform-permission-set-generate

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install platform-permission-set-generate in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The platform-permission-set-generate skill helps an AI assistant write Salesforce permission set metadata in PermissionSet XML. It covers object permissions, field-level security, user permissions, app and tab visibility, Apex class and Visualforce page access, license and record type settings, and Agentforce Employee Agent access. The skill is published by forcedotcom and targets API version 60.0 or later.

The skill includes a validation checklist and a list of common deployment failures. It tells the assistant to leave required fields out of field permissions, to avoid inventing field names, and to grant only the permissions a request names. Deployment is done with Salesforce CLI. It is aimed at Salesforce developers and admins who create or edit permission sets.

Written from the project's SKILL.md and checked against it.

What it can do

  • Define core propertiesSets the fullName, label, and description of a permission set.
  • Configure object permissionsAdds create, read, edit, delete, and view-all permissions for standard and custom objects.
  • Set field-level securityDefines readable and editable field permissions while avoiding required fields.
  • Grant user permissionsAdds system-level permissions such as ApiEnabled and RunReports.
  • Configure app and tab visibilitySets application visibility and tab settings, including the __c suffix rules.
  • Add Apex and Visualforce accessGrants access to Apex classes and Visualforce pages.
  • Set license and record type settingsSpecifies license, activation requirement, and record type visibility.
  • Set agent accessEnables access to Agentforce Employee Agents for assigned users.

What you need

  • Salesforce CLI

Try asking

  • Create a permission set giving read and edit access to the Account object
  • Generate a permission set with field-level security for SSN__c on Account
  • Write a permission set that makes the Sales_Console app and a custom tab visible

Good to know

  • Required fields cannot have field-level security and must be omitted from field permissions.
  • Formula fields cannot be editable.
  • ViewAllData, ModifyAllData, and ManageUsers require security review.
  • Agent names must match existing Agentforce Employee Agent developer names.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/platform-permission-set-generate/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB

Alternatives to platform-permission-set-generate

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

platform-permission-set-generate: common questions

Can this skill grant field access to required fields?

No. The source says required fields must never appear in field permissions, and granting them causes deployment failure.

How are permission sets deployed?

The source says to deploy using Salesforce CLI.

What naming rules apply to tabs?

Custom object tabs must include the __c suffix. Standard object tabs use the standard- prefix, such as standard-Account.

How do I install platform-permission-set-generate?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is platform-permission-set-generate free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is platform-permission-set-generate safe to use?

It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to platform-permission-set-generate?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

platform-permission-set-generate Install

Add to stack

Loading.