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-agent-users-create

Skill by forcedotcom

Creates reusable agent users in a Salesforce org so Omni-Channel has agents to route work to. Built for admins setting up Omni-Channel routing and test or sandbox environments. It inserts only missing users, so re-runs are safe.

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

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

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

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

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

About

service-omni-agent-users-create is an agent skill for Salesforce orgs. It creates agent users through Anonymous Apex so Omni-Channel has agents to route work to. Usernames follow a deterministic pattern based on the org ID. The skill first runs a read-only detection step with SOQL and inserts only the users that are missing, so re-running it is safe.

Before writing, the detection script checks that the org is a sandbox, trial, Developer Edition, or Base Edition org, and blocks the run otherwise. Passwords are set with System.setPassword and are never accepted from the operator. The skill is meant for Salesforce admins and Service Cloud teams preparing Omni-Channel routing and test environments. It is called by a coordinator skill after Omni-Channel is enabled.

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

What it can do

  • Plan modePreviews which agent user slots are missing without writing anything to the org.
  • Run modeDetects existing users, enforces the production guard, then inserts only the missing users.
  • Deterministic usernamesBuilds usernames from an 8-character suffix derived from Organization.Id so re-runs are idempotent.
  • Password generationSets passwords through Anonymous Apex and reports users that need a manual reset.
  • VerificationRe-runs detection after insertion and fails if any missing users did not persist.
  • Structured JSON outputReturns a status such as created, partial, reused, action_needed, or blocked with per-user details.

What you need

  • Salesforce org authenticated with the sf CLI (version 2.139.6 or later)
  • Service Cloud license present in the target org
  • Executing user with PermissionsModifyAllData and PermissionsManagePasswordPolicies
  • jq (1.6 or later) and python3 (3.9 or later)

Try asking

  • Preview how many Omni agent users are missing in my sandbox org
  • Create three Omni-Channel routing agent users in my sandbox
  • Repair missing demo agents in my test org and report any reset-required users

Good to know

  • Refuses to write to production orgs unless the org is a sandbox, trial, or Developer or Base Edition org.
  • Never deletes, deactivates, or changes existing users.
  • Usernames and the org suffix are fixed and cannot be configured by the operator.
  • Duplicate protection across concurrent runs relies on username uniqueness and retries, not the in-transaction check alone.

Security check

A

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

Checked automatically: skills/service-omni-agent-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-agent-users-create

All alternatives →

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

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

Does this skill create supervisor users or assign permission sets?

No. The source says supervisor users come from a separate skill, and permission set assignment and queue membership are separate leaves.

Can I run it safely more than once?

Yes. The skill is designed to be idempotent, since it detects existing users by their deterministic usernames and inserts only the missing ones.

Where do generated passwords appear?

The source says the returned JSON is the only place generated passwords appear, and callers that save output must store it in a restricted CREDENTIALS.json file.

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

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

Is service-omni-agent-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-agent-users-create 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 service-omni-agent-users-create?

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

service-omni-agent-users-create Install

Add to stack

Loading.