dx-org-permission-set-assign

Assign Salesforce permission sets to users via the sf org assign permset command.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/padjei/SF_Agents --skill dx-org-permission-set-assign-padjei
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dx-org-permission-set-assign
Source: https://github.com/padjei/SF_Agents/tree/main/.claude/skills/dx-org-permission-set-assign
Command: npx skills add https://github.com/padjei/SF_Agents --skill dx-org-permission-set-assign-padjei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of assigning permission sets to Salesforce org users, reducing manual effort and ensuring consistent application of user permissions.

Core Features & Use Cases

  • Automated Permission Set Assignment: Assign one or more permission sets to users, specific orgs, or default admin with ease.
  • Customizable Command Execution: Execute the sf org assign permset command with specific flags and configurations for various scenarios.
  • Error Handling & Validation: Provides detailed error messages and structured output for effective troubleshooting.
  • Use Case: Quickly grant permissions to a group of users or specific users in a given org without manually navigating through Salesforce Setup.

Quick Start

Use the dx-org-permission-set-assign skill to assign 'SalesforceAdmin' permission set to the default admin user in your org.

Frequently Asked Questions about dx-org-permission-set-assign

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I assign Salesforce permission sets to users via the CLI?

Assign Salesforce permission sets to users by running the sf org assign permset command, which supports targeting specific orgs, multiple permission sets, and on-behalf-of user assignments. This automates the process without navigating Salesforce Setup.

Can I assign multiple permission sets to users in a specific Salesforce org at once?

Yes, you can assign multiple permission sets to a specific Salesforce org by executing the sf org assign permset command with the appropriate flags, allowing batch permission assignments for users or the default admin.

What is the best way to automate user permission set assignments in Salesforce?

Automating Salesforce user permission set assignments is best achieved by using the sf org assign permset CLI command, which ensures consistent application of permissions and reduces manual effort across target orgs.

Do I need the Salesforce CLI to assign permission sets to org users?

Yes, you need the Salesforce CLI to use this automation approach, as it directly executes the sf org assign permset command to handle user permissions and role assignments within your target orgs.

What happens if a Salesforce permission set assignment fails during automation?

If a Salesforce permission set assignment fails, the automation provides detailed error messages and structured output to help you troubleshoot and validate the specific permission or user assignment issue effectively.