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-skills-based-routing-configure

Skill by forcedotcom

Configures Salesforce Omni skills-based routing so service agents can receive skill-matched work. It ensures an Omni Skill exists and binds it to each active agent through the classic SkillUser junction, without re-creating existing records.

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

Install service-omni-skills-based-routing-configure

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-skills-based-routing-configure ~/.claude/skills/service-omni-skills-based-routing-config

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

Step-by-step: install service-omni-skills-based-routing-configure in Claude Code

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

About

This skill makes agents routable by Omni skills-based routing (SBR) in Salesforce. It ensures an Omni Skill exists, deploying it through the Metadata API if it is missing, then assigns that skill to each active agent user through the classic SkillUser junction. The run is idempotent: existing skills and bindings are reused, and only missing bindings are created.

It works on Service Cloud orgs without requiring Field Service. The script reports a status of configured, reused, partial or blocked. Inactive users are reported rather than skilled, and one skill is handled per run. It does not author WorkSkillRouting rules, create agent users, or configure queues. It is aimed at Salesforce admins and developers preparing agents for skill-based routing.

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

What it can do

  • Ensure Omni SkillQueries a Skill by DeveloperName and creates it through the Metadata API only when it is absent.
  • Assign skill to agentsCreates missing SkillUser bindings between the skill and each active agent user.
  • Idempotent re-runsReuses existing skills and bindings so repeated runs do not create duplicates.
  • Partial failure reportingReturns partial status with per-agent errors while keeping successful bindings in place.
  • Structured JSON outputReturns status, skill details, agent bindings, created and reused counts, and blocking issues.

What you need

  • Salesforce Service Cloud license
  • Salesforce CLI (sf) version 2.139.6 or later
  • Python 3.8 or later
  • jq 1.6 or later
  • Omni-Channel base settings with skills-based routing enabled

Try asking

  • Set up skills-based routing for agents in my Service Cloud org
  • Assign the Omni skill Omni_Demo_Voice to these agent usernames
  • Repair missing skill assignments for my active agents

Good to know

  • One skill per invocation; run again for each additional skill.
  • Does not author WorkSkillRouting rules or field-based skill criteria.
  • Does not create agent users, queues, or presence configuration.
  • SkillUser.SkillLevel is left at the platform default.

Security check

A

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

Checked automatically: skills/service-omni-skills-based-routing-configure/SKILL.md, skills/service-omni-skills-based-routing-configure/scripts/configure-and-report.sh, skills/service-omni-skills-based-routing-configure/scripts/tests/_bootstrap.py, skills/service-omni-skills-based-routing-configure/scripts/tests/test_sbr_contracts.py. 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

  • SKILL.md5 KB
  • references/api-notes.md3 KB
  • scripts/configure-and-report.sh12 KB
  • scripts/tests/_bootstrap.py6 KB
  • scripts/tests/test_sbr_contracts.py6 KB

Alternatives to service-omni-skills-based-routing-configure

All alternatives →

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

service-omni-skills-based-routing-configure: common questions

Does this work without Field Service?

Yes. The source says it works on Service Cloud orgs without requiring Field Service, and it uses the SkillUser path instead of ServiceResourceSkill.

What happens if I run it twice?

Existing skills and user bindings are reused and only missing bindings are created, so re-runs converge without duplication.

Will it skill inactive users?

No. Only active users are resolved, and inactive users are reported instead of being skilled.

How do I install service-omni-skills-based-routing-configure?

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

Is service-omni-skills-based-routing-configure free?

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

Is service-omni-skills-based-routing-configure safe to use?

It scores 83 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-skills-based-routing-configure?

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

service-omni-skills-based-routing-configure Install

Add to stack

Loading.