View and specify Skills in ChatOps
Skills extend the O&M capabilities of ChatOps in specific scenarios. On the Skills page, you can browse system Skills and view the README and SKILL file of a Skill to learn about its scope and usage. You can also specify a Skill before you start a conversation so that the conversation preferentially uses the Skill to process your request.
Overview
ChatOps provides the following two ways to learn about and use Skills:
-
View Skill details: Browse the list of system Skills on the Skills page and go to the details page of a Skill to view its README and SKILL file. This helps you learn about the features and usage limits of the Skill. You can also go to the conversation page directly from the details page to use the Skill.
-
Specify a Skill before a conversation: Open the Skill panel above the input box on the conversation page, search for a Skill by name or description, and then select it. The conversation then preferentially uses the selected Skill.
If you are not sure which Skill to use, describe your issue in natural language. ChatOps automatically matches a suitable Skill based on your description. Specifying a Skill is more suitable for scenarios in which you already know the capability that you want to use.
Prerequisites
-
CloudOps Orchestration Service (OOS) is activated.
-
If you log on as a RAM user, the RAM user is granted the permissions to access ChatOps and the RAM permissions on the cloud services that you want to manage.
View Skill details
The Skills page displays all available system Skills. The details page of a Skill helps you learn about its capability boundaries and applicable scenarios before you use the Skill.
Go to the Skills page
-
Log on to the OOS console.
-
In the left-side navigation pane, click ChatOps.
-
Above the conversation list, click Skills to go to the Skill list page.
Skills are displayed as cards. Each card contains the following information:
-
Skill name: the display name of the Skill, which indicates the core capability of the Skill.
-
Identifier: the unique identifier of the Skill, which is used to specify the Skill when you install or invoke it.
-
Capability description: a summary of the applicable scenarios and processing logic of the Skill, which helps you quickly determine whether the Skill meets your requirements.
-
Update time: the time when the Skill was last updated, which helps you learn about the iteration of the Skill.
View the description of a Skill
Click a Skill card to go to its details page. The top of the details page displays the name, detection status, identifier, and update time of the Skill. The detection status indicates whether the Skill has passed the availability check. The body of the details page provides the following two tabs:
-
README: the description document of the Skill. It contains the introduction, features, execution process, and usage limits of the Skill, which help you learn about the tasks that the Skill can complete and the steps in which the tasks are completed.
-
SKILL file: the content of the definition file of the Skill, which helps you learn about the implementation and invocation logic of the Skill.
The details page also provides entry points for obtaining the Skill. You can install the Skill to a local AI client with one click, download the package of the Skill file, or install the Skill by using Alibaba Cloud CLI. For more information about how to use OOS Skills in a local AI client, see Use ChatOps Agent Skill to manage cloud resources.
Start a conversation from the details page
In the upper-right corner of the Skill details page, click Go to conversation. You are redirected to the conversation page, and the current Skill is automatically selected. You do not need to search for the Skill again.
Specify a Skill before a conversation
If you already know the capability that you want to use, you can specify a Skill before you send a message. The conversation then preferentially uses the Skill, which prevents ambiguity among multiple similar Skills.
-
Above the input box on the conversation page, click Skill to open the Skill panel.
-
In the search box at the top of the Skill panel, search for the Skill by name or capability description.
-
Click the Skill to select it. After the Skill is selected, its identifier is displayed above the input box, which helps you confirm the Skill that takes effect.
-
Enter your question and send it. The conversation preferentially uses the selected Skill to process your request.
If you do not specify a Skill, ChatOps automatically matches a Skill and manual selection is not required. For operations that involve changes, ChatOps lists the parameters for you to confirm and performs the operation only after you confirm the parameters.