Install and use your first Skill

Updated at:

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. Run node --version to verify the version number.

Note

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

  1. Go to Agent Catalog.

  2. 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.

  3. 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.

Note

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.

Note

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:

  1. Select Install Tool: Skills CLI (a universal installation tool that supports multiple Agent clients) or ClawHub CLI (a tool exclusive to the OpenClaw ecosystem).

  2. Select Agent Client: Select the client where the Skill will be installed.

  3. 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/.

      Note

      When 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-depth

For global installation, the -g flag is automatically appended to the command. You do not need to add it manually.

Values of the --agent parameter for each client

Agent client

--agent value

Claude Code

claude-code

Cursor

cursor

Qoder

qoder

Qwen Code

qwen-code

Codex

codex

OpenClaw

openclaw

Gemini CLI

gemini-cli

GitHub Copilot

github-copilot

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 ls

If you installed the Skill globally, use the -g flag:

npx skills ls -g

Step 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 version to verify the version number. Run aliyun configure list to 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-center to activate it. RAM users must have the AliyunResourceCenterReadOnlyAccess permission 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

  1. In the terminal, navigate to the project directory where the Skill is installed.

  2. Start Claude Code:

    claude
  3. Enter 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

  1. Open the project where the Skill is installed in Cursor.

  2. Open Agent mode (press Cmd+L or Ctrl+L to open the chat panel, then switch to Agent mode).

  3. 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

  1. Open the project where the Skill is installed in Qoder.

  2. 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 |
Note
  • 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-search

  • alibabacloud-ecs-diagnose

  • alibabacloud-network-reachability-analysis

  • alibabacloud-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-depth

The 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 -g flag 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 the SKILL.md file 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 project and global scope, 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: npx or a message that the Node.js version does not meet the requirement, run node --version to 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 EACCES or permission denied), do not use sudo to run npx. Instead, check and fix the write permissions of the current user for the project directory.

  • If the error is 404 Not Found or 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-identity to verify that the current CLI credentials are valid and have not expired. If they have expired, run aliyun configure to reconfigure.

  • If the error is insufficient permissions (such as Forbidden.RAM or NoPermission), go to the RAM console and add the required permission policy for the current RAM user or role (Resource Center search requires the AliyunResourceCenterReadOnlyAccess permission). Then let the Agent retry.

  • If the error indicates that Resource Center is not activated (such as ServiceNotEnabled), run aliyun resourcecenter enable-resource-center to 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.