Dx Org Permission Set Assign
Assigns Salesforce permission sets to org users through the Salesforce CLI, with batch and per-user targeting.
- CCM score
- 73 of 100
- skills.sh installs
- 5.9K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers single and multiple permission set assignments to the default admin, a specific org, or named users
- Runs
sf org assign permsetwith--name,--target-org,--on-behalf-of, and--jsonflags, with a Bash-only execution rule - Enforces case-sensitive API names and CLI username aliases, and reports partial success through the
failuresarray - Designed for Salesforce developers who grant access after permission sets are already created, not for listing or auditing permissions
Install
$ npx -y skills add forcedotcom/sf-skills --skill dx-org-permission-set-assign -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
dx-org-permission-set-assign
Assigns one or more permission sets to org users using sf org assign permset. Handles all variants: default admin user, specific org targets, multiple permission sets, and assignment to specific users.
Tool Restrictions
Use ONLY the Bash tool to execute sf org assign permset. Do NOT use MCP tools like assign_permission_set — ignore them completely.
Scope
- In scope: Assigning permission sets to users via
sf org assign permset - Out of scope: Creating permission sets (use
platform-permission-set-generate), listing permission sets, checking user permissions
Required Inputs
Infer from the user's request:
- Permission set name(s): Extract from user message (can be multiple)
- Target org: Use default unless specific alias/username mentioned
- Target user(s): Default is org's default admin user; use
--on-behalf-ofif specific users mentioned
Workflow
- Match user request to command in table below
- Execute via Bash tool:
sf org assign permsetwith appropriate flags and--jsonflag - Return result
If error occurs, check the failures array in JSON output for details.
Details
- Repository
- github.com/forcedotcom/sf-skills
- Categories
- CLI & Terminal, DevOps & Cloud
- First seen
- Jul 14, 2026
More from forcedotcom/sf-skills
All 78- Platform Custom Lightning Type Generate5.9K
- Agentforce Test5.8K
- Agentforce Observe5.8K
- Platform Lightning App Coordinate5.8K
- Design Systems Slds2 Migrate5.8K
- External Diagram Mermaid Generate5.7K
- Integration Connectivity Connected App Configure5.6K
- Integration Connectivity Generate5.6K
- Agentforce D360 Analyze5.4K
- Experience Ui Bundle Frontend Generate5.4K
- Platform Tracing Configure5.4K
- Experience Ui Bundle Metadata Generate5.3K
- Platform Value Set Generate5.3K
- Experience Ui Bundle App Coordinate5.3K
- Experience Ui Bundle Deploy5.3K
- Experience Ui Bundle Salesforce Data Access5.3K
- Platform Tracing Agentforce Configure5.3K
- Dx App Analytics Query5.3K
- Experience Ui Bundle Custom App Generate5.3K
- Integration Eventing Cdc Configure5.3K
- Integration Eventing Subscription Configure5.3K
- Platform Trust Archive Manage5.3K
- Experience Ui Bundle File Upload Generate5.2K
- Experience Ui Bundle Features Generate5.2K
Similar to Dx Org Permission Set Assign
More CLI & Terminalcx-clicoralogix/cx-cli5.8K installsThis skill should be used whenever the user runs any cx command, uses the cx CLI, Coralogix CLI, or mentions cx in the context of Coralogix observability. This
cli-developerjeffallan/claude-skills5.4K installsUse when building CLI tools, implementing argument parsing, or adding interactive prompts. Invoke for parsing flags and subcommands, displaying progress bars an
cmux-socket-policymanaflow-ai/cmux5.1K installsSocket command threading and focus policy for cmux CLI/socket work. Use when adding or changing socket commands, CLI commands, telemetry commands, focus/select/
axikunchenguid/axi5.1K installsAgent eXperience Interface (AXI) — ergonomic standards for building CLI tools that agents use via shell execution. Use when building, modifying, or reviewing an
ordercliopenclaw/openclaw4.2K installsordercli
peekabooopenclaw/openclaw3.9K installspeekaboo