service-omni-work-skill-routing-configure
Skill by forcedotcom
Authors an Omni WorkSkillRouting rule that requires a Skill when a related-entity field has a given value, deployed through the Metadata API. Built for Salesforce Service Cloud admins configuring Omni-Channel skills-based routing.
Install service-omni-work-skill-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-work-skill-routing-configure ~/.claude/skills/service-omni-work-skill-routing-configurRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install service-omni-work-skill-routing-configure 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-work-skill-routing-configure ~/.gemini/antigravity-cli/skills/service-omni-work-skill-routing-configurAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install service-omni-work-skill-routing-configure in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill creates an Omni WorkSkillRouting rule, which routes work by a field value on the work record instead of only by the skills an agent holds. For example, it can require the Voice skill when Case.Origin is Phone. Each rule is one WorkSkillRouting record deployed via the Metadata API, with one rule per related entity.
The skill checks that the referenced Skill exists and blocks if it does not. It reads the existing rule first, keeps unrelated attributes, and adds or updates only the requested field and value mapping. Results are reported as created, updated, or reused, based on the Metadata API file state. It is intended for Salesforce Service Cloud administrators who set up Omni-Channel skills-based routing.
Written from the project's SKILL.md and checked against it.
What it can do
- Field-based skill ruleMaps a related-entity field value to a required Omni Skill.
- Skill prerequisite checkConfirms the Skill exists by DeveloperName before writing the rule.
- Merge-safe updatesPreserves unrelated attributes and replaces only the requested field and value mapping.
- Idempotent deployReports created, updated, or reused based on the Metadata API files state.
- Graceful degradationReports blocked with a clear message when WorkSkillRouting is not available in the org.
What you need
- Salesforce org authenticated via the sf CLI
- Service Cloud license
- sf CLI 2.139.6 or later
- python3 3.8 or later
- jq 1.6 or later
- Omni-Channel base settings with skills-based routing enabled
Try asking
- Require the Voice skill when Case.Origin is Phone
- Add field-based skill routing for MessagingSession records
- Route Cases with a given field value to an Omni skill
Good to know
- One field-to-skill mapping per invocation and one rule per related entity.
- Does not create the Skill, ServiceResources, agent users, queues, or presence configuration.
- Plain field values only; XML-reserved characters are not supported.
- WorkSkillRouting is not provisioned on every org, so some deploys may be blocked.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/service-omni-work-skill-routing-configure/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
-
SKILL.md6 KB -
references/api-notes.md3 KB -
scripts/configure-and-report.sh13 KB -
scripts/tests/_bootstrap.py5 KB -
scripts/tests/test_work_skill_routing_contracts.py7 KB
Alternatives to service-omni-work-skill-routing-configure
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-work-skill-routing-configure: common questions
Does this skill create the Omni Skill?
No. The Skill must already exist. The source says to use service-omni-skills-based-routing-configure to create the Skill and bind agents to it.
What happens if I run the same rule twice?
The source says re-running the same mapping reports reused. A new mapping is merged into the existing attribute list.
Which objects can the rule apply to?
The source gives examples including Case, MessagingSession, LiveChatTranscript, Lead, and VoiceCall.
How do I install service-omni-work-skill-routing-configure?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is service-omni-work-skill-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-work-skill-routing-configure safe to use?
It scores 81 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-work-skill-routing-configure?
Similar skills: lead-triage, lead-finder, outreach-composer, cold-email.
