Install and use your first Skill
Install your first official Alibaba Cloud Skill from Agent Catalog into an agent client (Qoder, Claude Code, Cursor and so on). Let the Agent search and manage cloud resources using natural language to complete the quick start of Agent Catalog.
Prerequisites
Alibaba Cloud account: Real-name verification completed.
Agent client: An Agent client that supports Skills. The following examples use Qoder, Cursor and Claude Code. Configuration for other clients is similar.
Node.js 22+: Required only when installing via CLI commands. The Skill installation command uses
npx, and the installation tool requires Node.js 22 or later. Runnode --versionto verify the version number.
These are general prerequisites for installing Skills. The environment and permissions required to run each Skill vary and are described in the Prerequisites section of SKILL.md on its detail page. Prepare accordingly before use. For the runtime prerequisites of the example Skill in this topic, see Step 3: Use the Skill in your Agent client below.
Procedure
Agent Catalog provides two paths: use official Agents directly in the corresponding cloud product consoles with no development required, or install Skills and Plugins into your own agent client to extend its cloud operation capabilities. This topic demonstrates the latter: install and use your first Skill.
Step 1: Browse Agent Catalog and select a Skill
Go to Agent Catalog.
Enter a keyword (such as "resource search") in the search box on the landing page or in the navigation bar. Search results are grouped by asset type into the All, Agents, Skills, and Plugins tabs. Click the Skills tab to filter. Alternatively, click Skills in the navigation bar to browse the Skill list by cloud product category.
Click a Skill to open its detail page. The detail page shows information such as the introduction, download count, and last update time of the Skill. The Passed business testing and Passed security check badges indicate the quality status. The body is the full SKILL.md, describing the capability scope, runtime prerequisites (Prerequisites), and usage flow of the Skill. The following steps use Resource Center global resource search (
alibabacloud-resourcecenter-search) as an example.
If you do not want to install the Skill locally yet, click Skill Trial in the navigation bar to try it online first. Some Skills support online trials. Complete OAuth authorization before the trial. The trial runs against real cloud resources.
Step 2: Install the Skill
At the top of the Skill detail page, click Install Guide and choose an installation method as prompted. The recommended method is to let the Agent install autonomously. Alternatively, copy the CLI command and run it in your terminal.
Let the Agent install autonomously
On the Skill detail page, click Install Guide, copy the following content, and send it to your Agent. The Agent automatically completes the download and installation based on the current tool environment:
Please download and install the {skill-name} Skill through https://agentcatalog.aliyun.com/api/public/skills/{skill-name}/download. After installation, let me know whether I need to restart the conversation.Replace {skill-name} with the identifier of the target Skill. The Agent determines the client type and installation path by itself. No manual specification is required.
This method requires the Agent to access the internet and write local files. If your agent client lacks these abilities (for example, it runs in a restricted environment), switch to Install via CLI command and run the installation from your local terminal instead.
Install via CLI command
On the Skill detail page, click Install Guide and complete the following three configuration steps:
Select Install Tool: Skills CLI (a universal installation tool that supports multiple Agent clients) or ClawHub CLI (a tool exclusive to the OpenClaw ecosystem).
Select Agent Client: Select the client where the Skill will be installed.
Select Install Scope: Current project or global.
Current project: The Skill is available only in the current project and can be committed to Git along with the project. The installation path is
.{client}/skills/under the project root directory.Global: The Skill is available across all projects. The installation path is
~/.{client}/skills/.NoteWhen a Skill with the same name exists in both the project and global scope, the project scope takes priority.
After you complete the configuration, the installation command appears at the bottom of the page. Click the copy icon and paste the command into your terminal and run it.
The Skills CLI generates a command in the following format:
npx skills add aliyun/alibabacloud-aiops-skills --skill <skill-name> --agent <client> -y --full-depthFor global installation, the -g flag is automatically appended to the command. You do not need to add it manually.
If you use the OpenClaw ecosystem, choose ClawHub CLI for a simpler command:
npx clawhub install <skill-name>ClawHub CLI does not require you to specify the client or installation scope.
After you run the command, the CLI prompts you to confirm the skills@latest installation. Enter y and press Enter. The Skill files are written to the client's skills directory. Restart the client to load the Skill.
Run the following command to verify the installation:
npx skills lsIf you installed the Skill globally, use the -g flag:
npx skills ls -gStep 3: Use the Skill in your Agent client
The example Skill in this topic, Resource Center global resource search, operates on cloud resources through Alibaba Cloud CLI. Complete the following preparation before use. For the runtime prerequisites of other Skills, refer to the Prerequisites section of SKILL.md on their detail pages.
Alibaba Cloud CLI: Install CLI and configure identity credentials. Version 3.3.3 or later is required. Run
aliyun versionto verify the version number. Runaliyun configure listto verify that credentials are configured.Resource Center service: The Resource Center service must be activated. If it is not activated, run the CLI command
aliyun resourcecenter enable-resource-centerto activate it. RAM users must have theAliyunResourceCenterReadOnlyAccesspermission policy.
After installation, restart the Agent client to load the newly installed Skill. The following examples use Claude Code, Cursor, and Qoder:
Use in Claude Code
In the terminal, navigate to the project directory where the Skill is installed.
Start Claude Code:
claudeEnter a task prompt:
Search for all ECS instances under my current account.
Claude Code matches the Skill, reads its instructions, and runs aliyun resourcecenter search-resources to search cloud resources.
Use in Cursor
Open the project where the Skill is installed in Cursor.
Open Agent mode (press
Cmd+LorCtrl+Lto open the chat panel, then switch to Agent mode).Enter a task prompt:
Search for all ECS instances under my current account.
The Agent matches the resource search Skill, reads SKILL.md, and executes the steps: verifies CLI credentials and runs aliyun resourcecenter search-resources to search cloud resources.
Use in Qoder
Open the project where the Skill is installed in Qoder.
In the chat panel, enter a task prompt:
Search for all ECS instances under my current account.
Qoder matches the Skill, reads its instructions, and runs aliyun resourcecenter search-resources to search cloud resources.
Expected results
After the Agent completes the task, the output looks similar to the following:
# ECS Instance Search Results
Found **3** ECS instances.
| Instance ID | Instance Name | Region | Status | Instance Type |
|---------|---------|------|------|------|
| i-bp1abc**** | web-server-01 | cn-hangzhou | Running | ecs.g6.large |
| i-bp2def**** | db-server-01 | cn-hangzhou | Running | ecs.r6.xlarge |
| i-bp3ghi**** | test-instance | cn-shanghai | Stopped | ecs.c6.large |If your account has no resources, an empty list is returned, which is normal.
The actual output varies depending on the Agent, the underlying model, and the number and configuration of resources in your account.
Step 4: Try more operations
Once the Skill works correctly, try more complex tasks. The following prompts are all supported by the Resource Center global resource search Skill:
Search resources by region
Show me all cloud resources in the China East 1 (Hangzhou) region.The Agent executes the flow defined in the Skill: runs aliyun resourcecenter search-resources to filter by region and displays the matching resources in a table.
Summarize resource distribution
Show me the resource count for each product type under my current account.The Agent runs aliyun resourcecenter get-resource-counts to retrieve the resource count per product type and displays a distribution overview.
Install multiple Skills
Install multiple Skills to give the Agent more comprehensive capabilities. For example, installing the following four Skills together enables a troubleshooting chain of "resource search → ECS instance diagnosis → network reachability analysis → security alert query".
alibabacloud-resourcecenter-searchalibabacloud-ecs-diagnosealibabacloud-network-reachability-analysisalibabacloud-sas-alert-handler
With multiple Skills installed, the Agent can combine different Skills in a single conversation to complete compound tasks. For example, an operations engineer receives a report that the application on an ECS instance occasionally times out when accessed from the public network, and needs to quickly determine whether the cause is the instance itself, the network path, or a security event:
The application on ECS instance i-bp1xxxxxxx occasionally times out when accessed from the public network. First, diagnose the health status of this instance. Then, analyze the network reachability from the public network to port 80 of this instance. Finally, check whether Cloud Security Center has any related security alerts in the last 24 hours.Update an installed Skill
Run the installation command again or re-download the Skill to get the latest version. For example:
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-resourcecenter-search --full-depthThe Skill detail page on Agent Catalog shows when each Skill was last updated, helping you decide whether to update the local version.
FAQ
Why can't my Agent client find the installed Skill after a successful installation?
If the Agent does not recognize an installed Skill, the cause is typically a mismatch between the installation directory and the working directory, the client not reloading, or incomplete Skill files. Check the following in order:
Verify that you ran the installation command in the correct project directory. Skills are installed to the project-level directory
.<client>/skills/by default and will not automatically take effect in other projects. To use a Skill across projects, add the-gflag for global installation.After installation, restart the Agent client or reopen the current project in the client to let it rescan the skills directory.
Run
ls .<client>/skills/<skill-name>/to verify that theSKILL.mdfile exists. If the file is missing or the directory is empty, delete the directory and run the installation command again.When a Skill with the same name is installed in both
projectandglobalscope, the project directory takes priority. If a global update does not take effect, check whether an older version remains in the project directory.
Why does the npx skills add command fail?
Installation failures typically stem from the local Node.js environment, network connectivity, or directory permissions. Check the following in order:
If you see
command not found: npxor a message that the Node.js version does not meet the requirement, runnode --versionto verify that Node.js is installed and the version is 22 or later. If Node.js is not installed, refer to Node.js official website for installation.If the error is a network timeout or slow download, check your local network connection and try again.
If the error is a permission error (such as
EACCESorpermission denied), do not usesudoto runnpx. Instead, check and fix the write permissions of the current user for the project directory.If the error is
404 Not Foundor the Skill name does not exist, go to Agent Catalog and verify that the Skill identifier is spelled correctly and the Skill has been published.
What do I do if the Agent reports that it cannot download the Skill during autonomous installation?
This method requires the Agent to access the external network and write local files. When the Agent reports that the network is unreachable or permissions are insufficient, handle it as follows:
If the Agent itself lacks external network access or file writing capability but the local terminal works normally, switch to Install via CLI command and run the installation command in the terminal.
Why do I get errors when the Agent invokes a Skill?
Invocation errors typically stem from Alibaba Cloud CLI credential issues, insufficient RAM permissions, or an inactive Resource Center service. Check the following in order:
If the error is an authentication failure, run
aliyun sts get-caller-identityto verify that the current CLI credentials are valid and have not expired. If they have expired, runaliyun configureto reconfigure.If the error is insufficient permissions (such as
Forbidden.RAMorNoPermission), go to the RAM console and add the required permission policy for the current RAM user or role (Resource Center search requires theAliyunResourceCenterReadOnlyAccesspermission). Then let the Agent retry.If the error indicates that Resource Center is not activated (such as
ServiceNotEnabled), runaliyun resourcecenter enable-resource-centerto activate the service and try again.If the error involves a specific cloud product API (such as ECS or SAS), refer to the corresponding cloud product documentation to add the required permissions of that product for the RAM user.