service-omni-permission-set-assign
Installation
SKILL.md
service-omni-permission-set-assign
Assign one or more PermissionSets to N agent users via PermissionSetAssignment Data API POSTs. The default target is Omni_Agent, the permission set granting the OmniChannel widget, presence-status access, and demo-queue visibility — without an assignment row, agents cannot open the widget or receive routed work. Detection is SOQL-based, so the skill only creates the assignments that are missing. Agent users come from service-omni-agent-users-create, and it runs alongside service-omni-presence-status-deploy so assigned agents can both open the widget and select a status.
Inputs
bash scripts/verify-and-assign.sh <org-alias> [count=3] [permission-set-names-csv=Omni_Agent]
org-alias(required).count(optional, default3, range1..10) — must match the agent user count.permission-set-names-csv(optional, defaultOmni_Agent) — comma-separated for multiple. Every user gets every listed set (cross-product):count=3× 2 sets = up to 6 assignments.