Skill defines a reusable skill used in Field Service or to route chats to agents in Chat. It stores the skill's name, description, and type, and can include Chat user and profile assignments. Routing and supervisor configurations can reference the skill, but the definition alone does not establish routing activity or agent availability.
The nested assignments are Chat assignments, not Service Resource proficiency records or SkillRequirement records that specify skills needed by a work item. Also distinguish the metadata component, which represents configuration, from the runtime Skill sObject, which represents a Salesforce record. Support for metadata deployment does not imply support for inserting that record through Apex.
Key Elements
| Element | What the Element Controls |
|---|---|
fullName |
Identifies the metadata component. This field is inherited from Metadata; it is distinct from the skill's label. |
label |
Specifies the skill's name. |
description |
Describes the skill. |
skillType |
Describes the associated skill type, such as language or department. It is a string; those examples are not a documented fixed list of allowed values. |
assignments |
Contains Chat assignments through profiles, individual users, or both. |
assignments.profiles.profile |
Identifies an associated Profile by its custom name. |
assignments.users.user |
Identifies an individual user by username, not by a User record ID. |
Behavior and Constraints
Profile-based and individual-user assignments can coexist in one Skill. The profiles and users structures are nested within assignments; they are not separately deployable components.
The assignment structure is specifically documented for Chat users. Do not treat it as a way to define Service Resource proficiency or the skills required for a particular work item. Those are separate concerns from the skill identity.
A skill's effect depends on the routing and supervisor configurations that actually reference it. Creating a skill does not, by itself, make an agent available or cause work to route. Supervisor filtering can also affect whether an existing skill appears in the Skills Backlog, as described under Reported Issues.
Deployment and Retrieval
In Metadata API format, each component is stored as <developer_name>.skill in the skills directory. Use Skill as the metadata type in package.xml. The type supports the * wildcard in the manifest.
For cross-org deployment, account for the destination's profile names and usernames. The source values in assignments.profiles.profile and assignments.users.user must identify the intended destination profiles and users; they are not portable record IDs.
Assignment dependencies and routing consumers are different relationships. A profile assignment refers to a profile, while a routing or supervisor configuration consumes the skill identity. These relationships do not establish a mandatory deployment sequence.
Package removal needs separate consideration from deployment. A reported unlocked-package case involving validation bypass left Skill components associated with the package and blocked uninstallation. Neither the reported package-upgrade deletion attempt nor a Metadata API deletion resolved that case. The conditions and error are detailed below; the report does not establish that every package or deletion path behaves the same way.
Relationships
Skill references profiles through its Chat assignments. Other metadata types reference the skill for routing or supervisor configuration. These are references, not containment relationships, and they describe possible connections rather than proof that a particular skill is in use. Individual-user assignments identify users by username.
References
-
Profile:profilewithinassignments.profiles.
Referenced By
-
LiveChatAgentConfig:skill,supervisorDefaultSkillFilter. -
LiveChatButton:skill. -
OmniSupervisorConfig:skill. -
QueueRoutingConfig:skill. -
WorkSkillRouting:skill.
Reported Issues
-
Unlocked-package uninstallation can remain blocked after an attempted removal. In March 2024, a reporter described adding unsupported
Skillcomponents to an unlocked package using--skip-validation. The components remained associated with the package even when they were not displayed in the UI. The reporter said--upgrade-type Deletedid not resolve the problem, and Metadata API deletion returneddelete() not supported for Skill. This was a reported outcome under those packaging conditions, not a universal rule for every deletion path. Package removal discussion. -
Dynamic skill creation through Apex DML can fail. In October 2025, a reporter attempting to create skills for account-specific Omni-Channel routing received
DML operation Insert not allowed on Skill. DML is Apex's mechanism for changing records. This report concerns insertion of the runtimeSkillsObject, not a Metadata API deployment failure. Apex skill creation discussion. - A skill can be absent from Skills Backlog because of supervisor filtering. In December 2022, a reporter found that pending routing records existed, but the supervisor configuration explicitly selected only previously created skills. Selecting the additional skills resolved the discrepancy. The reporter also stated that selecting no skills applied all skills. This makes the supervisor selection a relevant diagnostic check before concluding that the skill or pending routing record is missing. Skills Backlog filtering discussion.
Common Questions
How do I retrieve Skill metadata?
Specify Skill in package.xml. The type supports the * wildcard. Metadata API files use the .skill suffix and reside in the skills directory.
Does a Skill user assignment use a username or a User ID?
It uses the username in assignments.users.user, not a User record ID. Profile assignments use the profile's custom name. Both need to identify the intended users and profiles in the destination org.
Can I insert a Skill record in Apex?
Do not assume that metadata support permits Apex insertion. An October 2025 report received DML operation Insert not allowed on Skill when inserting the runtime sObject. That result does not establish a Metadata API deployment failure.
Why is my skill missing from Omni Supervisor Skills Backlog?
Supervisor filtering is one reported cause. In the December 2022 case, explicitly selected skills excluded newly added skills. Selecting those additional skills resolved the issue; the reporter also said selecting none applied all skills.
Can removing Skill from an unlocked package block uninstallation?
A March 2024 report described that outcome after components were added using --skip-validation. The reporter could not resolve it with --upgrade-type Delete or Metadata API deletion. The report is specific to those packaging conditions and does not establish a universal deletion rule.