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.
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-createRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install service-omni-agent-users-create in Claude Code
git clone --depth 1 https://github.com/forcedotcom/sf-skills /tmp/sf-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/sf-skills/skills/service-omni-agent-users-create ~/.gemini/antigravity-cli/skills/service-omni-agent-users-createAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install service-omni-agent-users-create in Antigravity CLI
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
ANo 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 →Scores inbound HubSpot leads on engagement, company fit and urgency, then ranks the ones worth a call today. Built for sales owners who need to decide who to call first.
Builds a ranked list of prospects by deriving an ideal customer profile from existing customers. It finds look-alike companies and decision-makers, then scores them. Built for owners who need new customers.
Writes prospect outreach and follow-up sequences in the owner's own voice, learned from their sent mail. Queues every send for approval and logs each touch to the CRM. Runs draft-only when no mail connector is available.
Writes and runs B2B cold outbound, including cold emails, follow-up sequences, LinkedIn messages and multichannel cadences. Built for sales development and outbound teams that want replies rather than template blasts.
Speed to Lead checks inbound inquiries from web forms, the shared inbox, and the CRM, then drafts replies for the owner to approve. It is for owners who lose leads because nobody replies fast enough.
Helps write, build and improve B2B cold email and follow-up sequences for prospects who did not opt in. Covers SDR and founder outreach.
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.
