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

service-omni-supervisor-users-create

Skill by forcedotcom

Creates N Omni-Channel supervisor users on a Salesforce org through Anonymous Apex, with deterministic usernames and re-run safe detection. Intended for admins and developers provisioning supervisor test or sandbox accounts.

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

Install service-omni-supervisor-users-create

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/service-omni-supervisor-users-create ~/.claude/skills/service-omni-supervisor-users-create

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

Step-by-step: install service-omni-supervisor-users-create in Claude Code

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

About

This agent skill creates supervisor users on a Salesforce org for the classic Omni-Channel Supervisor Configuration. Users follow a deterministic supervisor{i}.<suffix>@example.com pattern, so re-runs detect existing usernames with SOQL and skip them. The skill runs a read-only plan mode and a run mode that first checks a production guard, the safe_to_write flag, before inserting only the missing supervisors.

Passwords are set with System.setPassword and handled fail-closed. The wrapper checks for an active debug TraceFlag before setting any password. If safety cannot be proven, the user stays active and is flagged for password reset. Binding supervisors to a config and assigning the ContactCenterSupervisor permission set are separate skills. The skill is for Salesforce admins and developers who need supervisor accounts in sandbox, scratch, or developer orgs.

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

What it can do

  • Create supervisor usersInserts N supervisor users via Anonymous Apex, filling only the missing indexes.
  • Idempotent detectionQueries User by generated username so re-runs skip existing supervisors.
  • Production guardBlocks writes unless the org is a sandbox, trial, Developer Edition, or Base Edition.
  • Fail-closed password settingSets passwords only after proving no active debug TraceFlag exists, otherwise flags reset.
  • Plan modeRuns a read-only preview of what would be created without writing to the org.

What you need

  • Salesforce CLI (sf) 2.139.6 or later
  • jq 1.6 or later
  • Authenticated Salesforce org with a Service Cloud license
  • Executing user with ModifyAllData and ManagePasswordPolicies permissions

Try asking

  • Create 2 supervisor users on my sandbox org called dev-sandbox.
  • Plan how many supervisor users are missing on my scratch org.
  • Provision supervisor accounts for my Omni-Channel test org.

Good to know

  • Blocked on production customer orgs by the safe_to_write guard.
  • Creates supervisor users only and never deletes or deactivates users.
  • Concurrent runs are not guaranteed to avoid duplicates; the username uniqueness constraint is the backstop.
  • Username pattern and org suffix are fixed and cannot be configured.

Security check

A

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

Checked automatically: skills/service-omni-supervisor-users-create/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Bash Read Write Edit Glob Grep

Alternatives to service-omni-supervisor-users-create

All alternatives →

Compare with lead-triage, lead-finder or outreach-composer

service-omni-supervisor-users-create: common questions

Does this skill work on production Salesforce orgs?

No. The detect script blocks writes unless the org is a sandbox, has a trial expiration date, or is a Developer or Base Edition org. Scratch and dev orgs are allowed.

How are supervisor passwords handled?

Passwords are set with System.setPassword only when no active debug TraceFlag is proven. Otherwise the user stays active and is flagged reset_required with a security warning.

Does it assign the supervisor permission set or bind users to a config?

No. Binding to OmniSupervisorConfig and assigning the ContactCenterSupervisor permission set are handled by separate skills.

How do I install service-omni-supervisor-users-create?

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

Is service-omni-supervisor-users-create free?

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

Is service-omni-supervisor-users-create safe to use?

It scores 79 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 service-omni-supervisor-users-create?

Similar skills: lead-triage, lead-finder, outreach-composer, cold-email.

service-omni-supervisor-users-create Install

Add to stack

Loading.