/alibabacloud-agent-toolkit-install
Install Alibaba Cloud Agent Toolkit end-to-end: verify and set up prerequisites (uv, Alibaba Cloud CLI, authentication, CLI plugins, MCP Server Core, bearer token exchange), then install the toolkit via openplugin. Use when: alibabacloud agent toolkit install, environment check,
$ npx -y skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-agent-toolkit-install --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/alibabacloud-agent-toolkit-install
Context preview
The summary Claude sees to decide when to auto-load this skill.
Install Alibaba Cloud Agent Toolkit end-to-end: verify and set up prerequisites (uv, Alibaba Cloud CLI, authentication, CLI plugins, MCP Server Core, bearer token exchange), then install the toolkit via openplugin. Use when: alibabacloud agent toolkit install, environment check,
SKILL.md
alibabacloud-agent-toolkit-install.SKILL.mdname: alibabacloud-agent-toolkit-install
description: >
Install Alibaba Cloud Agent Toolkit end-to-end: verify and set up prerequisites
(uv, Alibaba Cloud CLI, authentication, CLI plugins, MCP Server Core, bearer
token exchange), then install the toolkit via openplugin. Use when: alibabacloud
agent toolkit install, environment check, prerequisite check, setup alibabacloud,
plugin install, toolkit setup, mcp core setup, aliyun CLI setup.
license: Apache-2.0
metadata:
domain: environment-setup
owner: sdk-team
Alibaba Cloud Agent Toolkit — Installation
This skill sets up all prerequisites and installs the Alibaba Cloud Agent Toolkit. Execute each step **in order** — later steps depend on earlier ones.
Safety Policy
Each step is classified by risk level. Follow these rules strictly:
| Classification | Agent behavior | |----------------|----------------| | **Auto** (read-only check) | Execute without asking. | | **Confirm** (local install / CLI plugin install) | Show the user the exact command, explain what it does, and **wait for explicit approval** before executing. Never pipe-to-shell silently. | | **User-only** (interactive / browser-based) | Display instructions for the user to run in a **separate terminal**. Do not attempt to execute. | | **Confirm-cloud** (cloud-side write) | Explain the cloud resource that will be created, then **wait for explicit approval** before executing. |
---
Checklist Overview
Run through these steps sequentially. **Skip any step whose check already passes.**
1. [Check / Install `uv`](#step-1-uv) — Confirm 2. [Check / Install Alibaba Cloud CLI (`aliyun`)](#step-2-aliyun-cli) — Confirm 3. [Check CLI authentication](#step-3-cli-authentication) — Auto (check) / User-only (login) 4. [Check / Install CLI plugins](#step-4-cli-plugins) — Confirm 5. [Check / Create MCP Server Core](#step-5-mcp-server-core) — Auto (check) / Confirm-cloud (create) 6. [Check Bearer token exchange](#step-6-bearer-token-exchange) — Auto (check) 7. [Install Alibaba Cloud Agent Toolkit](#step-7-install-toolkit) — Confirm
---
Observability
All `aliyun` CLI business API commands in this skill **must** include the `--user-agent` flag for attribution tracking:
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-agent-toolkit-install/{session-id}**`{session-id}` generation rules:**
- Generate a UUID v4 once at the **start** of the skill run.
- Reuse the same `{session-id}` value for **every** `aliyun` command within the same
skill invocation.
- Do **not** replace `{session-id}` with a literal — it is a template variable resolved
at runtime.
---
Step 1: `uv` {#step-1-uv}
`uv` is the Python package manager required to start MCP servers.
Check (Auto)
uv --version
- **Pass** → output shows a version string (e.g. `uv 0.6.x`). Proceed to Step 2.
- **Fail** → `command not found`. Install below.
Install (Confirm — ask user before executing)
Present the appropriate command to the user and **wait for approval**:
| Platform | Command | |-----------------|---------| | macOS / Linux | `curl -LsSf https://astral.sh/uv/install.sh \| sh` | | Windows (PowerShell) | `powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 \| iex"` |
> **Security note:** These are pipe-to-shell commands. Show the command to the user > and let them decide whether to run it. Do not execute without explicit consent.
After installation, verify with `uv --version`. If the shell cannot find `uv`, instruct the user to restart their terminal or source their shell profile (`source ~/.bashrc`, `source ~/.zshrc`, etc.) so the PATH update takes effect.
---
Step 2: Alibaba Cloud CLI (`aliyun`) {#step-2-aliyun-cli}
Check (Auto)
aliyun version
- **Pass** → outputs a version string (e.g. `3.x.x`). Proceed to Step 3.
- **Fail** → `command not found`. Install below.
Install (Confirm — ask user before executing)
Present the appropriate command to the user and **wait for approval**:
macOS / Linux
/bin/bash -c "$(curl -fsSL https://aliyuncli.alicdn.com/install.sh)"
> **Security note:** This is a pipe-to-shell command. Show the command and let the > user decide. Do not execute without explicit consent.
Windows (PowerShell)
The installer script is located at [`scripts/install-aliyun-cli-windows.ps1`](scripts/install-aliyun-cli-windows.ps1).
Instruct the user to download or copy the script, then run:
powershell.exe -ExecutionPolicy Bypass -File .\install-aliyun-cli-windows.ps1
After installation, verify with `aliyun version`. If the command is not found, instruct the user to open a new terminal session so the updated PATH takes effect.
---
Step 3: CLI Authentication {#step-3-cli-authentication}
Check (Auto)
aliyun sts get-caller-identity --user-agent AlibabaCloud-Agent-Skills/alibabacloud-agent-toolkit-install/{session-id}- **Pass** → returns JSON containing `AccountId`, `Arn`, and `UserId`. **Record the
authentication mode** (AK vs OAuth) — it affects Step 6. Proceed to Step 4.
- **Fail** → error response (e.g. `InvalidAccessKeyId`, `ERROR: ...`,
or similar). Guide the user through OAuth login below.
> **Note:** The output of `aliyun sts get-caller-identity` tells you who the current > user is. Share this with the user so they can confirm the correct identity is in use.
OAuth Login (User-only — user must run in a separate terminal)
The OAuth login flow is **interactive** — it opens a browser. The agent **must not** attempt to execute this. Display the following instructions for the user:
Please run this command in a separate terminal:
aliyun configure --mode OAuth --profile <ProfileName>
Replace <ProfileName> with a name of your choice (e.g. "default", "myprofile").
This will open a browser for Alibaba Cloud login. Follow the prompts to complete authentication.After the user confirms they have completed t
Read more
name: alibabacloud-agent-toolkit-install description: > Install Alibaba Cloud Agent Toolkit end-to-end: verify and set up prerequisites (uv, Alibaba Cloud CLI, authentication, CLI plugins, MCP Server Core, bearer token exchange), then install the toolkit via openplugin. Use when: alibabacloud agent toolkit install, environment check, prerequisite check, setup alibabacloud, plugin install, toolkit setup, mcp core setup, aliyun CLI setup. license: Apache-2.0 metadata: domain: environment-setup owner: sdk-team
Alibaba Cloud Agent Toolkit — Installation
This skill sets up all prerequisites and installs the Alibaba Cloud Agent Toolkit. Execute each step **in order** — later steps depend on earlier ones.
Safety Policy
Each step is classified by risk level. Follow these rules strictly:
| Classification | Agent behavior | |----------------|----------------| | **Auto** (read-only check) | Execute without asking. | | **Confirm** (local install / CLI plugin install) | Show the user the exact command, explain what it does, and **wait for explicit approval** before executing. Never pipe-to-shell silently. | | **User-only** (interactive / browser-based) | Display instructions for the user to run in a **separate terminal**. Do not attempt to execute. | | **Confirm-cloud** (cloud-side write) | Explain the cloud resource that will be created, then **wait for explicit approval** before executing. |
---
Checklist Overview
Run through these steps sequentially. **Skip any step whose check already passes.**
1. [Check / Install `uv`](#step-1-uv) — Confirm 2. [Check / Install Alibaba Cloud CLI (`aliyun`)](#step-2-aliyun-cli) — Confirm 3. [Check CLI authentication](#step-3-cli-authentication) — Auto (check) / User-only (login) 4. [Check / Install CLI plugins](#step-4-cli-plugins) — Confirm 5. [Check / Create MCP Server Core](#step-5-mcp-server-core) — Auto (check) / Confirm-cloud (create) 6. [Check Bearer token exchange](#step-6-bearer-token-exchange) — Auto (check) 7. [Install Alibaba Cloud Agent Toolkit](#step-7-install-toolkit) — Confirm
---
Observability
All `aliyun` CLI business API commands in this skill **must** include the `--user-agent` flag for attribution tracking:
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-agent-toolkit-install/{session-id}**`{session-id}` generation rules:**
- Generate a UUID v4 once at the **start** of the skill run.
- Reuse the same `{session-id}` value for **every** `aliyun` command within the same
skill invocation.
- Do **not** replace `{session-id}` with a literal — it is a template variable resolved
at runtime.
---
Step 1: `uv` {#step-1-uv}
`uv` is the Python package manager required to start MCP servers.
Check (Auto)
uv --version
- **Pass** → output shows a version string (e.g. `uv 0.6.x`). Proceed to Step 2.
- **Fail** → `command not found`. Install below.
Install (Confirm — ask user before executing)
Present the appropriate command to the user and **wait for approval**:
| Platform | Command | |-----------------|---------| | macOS / Linux | `curl -LsSf https://astral.sh/uv/install.sh \| sh` | | Windows (PowerShell) | `powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 \| iex"` |
> **Security note:** These are pipe-to-shell commands. Show the command to the user > and let them decide whether to run it. Do not execute without explicit consent.
After installation, verify with `uv --version`. If the shell cannot find `uv`, instruct the user to restart their terminal or source their shell profile (`source ~/.bashrc`, `source ~/.zshrc`, etc.) so the PATH update takes effect.
---
Step 2: Alibaba Cloud CLI (`aliyun`) {#step-2-aliyun-cli}
Check (Auto)
aliyun version
- **Pass** → outputs a version string (e.g. `3.x.x`). Proceed to Step 3.
- **Fail** → `command not found`. Install below.
Install (Confirm — ask user before executing)
Present the appropriate command to the user and **wait for approval**:
macOS / Linux
/bin/bash -c "$(curl -fsSL https://aliyuncli.alicdn.com/install.sh)"
> **Security note:** This is a pipe-to-shell command. Show the command and let the > user decide. Do not execute without explicit consent.
Windows (PowerShell)
The installer script is located at [`scripts/install-aliyun-cli-windows.ps1`](scripts/install-aliyun-cli-windows.ps1).
Instruct the user to download or copy the script, then run:
powershell.exe -ExecutionPolicy Bypass -File .\install-aliyun-cli-windows.ps1
After installation, verify with `aliyun version`. If the command is not found, instruct the user to open a new terminal session so the updated PATH takes effect.
---
Step 3: CLI Authentication {#step-3-cli-authentication}
Check (Auto)
aliyun sts get-caller-identity --user-agent AlibabaCloud-Agent-Skills/alibabacloud-agent-toolkit-install/{session-id}- **Pass** → returns JSON containing `AccountId`, `Arn`, and `UserId`. **Record the
authentication mode** (AK vs OAuth) — it affects Step 6. Proceed to Step 4.
- **Fail** → error response (e.g. `InvalidAccessKeyId`, `ERROR: ...`,
or similar). Guide the user through OAuth login below.
> **Note:** The output of `aliyun sts get-caller-identity` tells you who the current > user is. Share this with the user so they can confirm the correct identity is in use.
OAuth Login (User-only — user must run in a separate terminal)
The OAuth login flow is **interactive** — it opens a browser. The agent **must not** attempt to execute this. Display the following instructions for the user:
Please run this command in a separate terminal:
aliyun configure --mode OAuth --profile <ProfileName>
Replace <ProfileName> with a name of your choice (e.g. "default", "myprofile").
This will open a browser for Alibaba Cloud login. Follow the prompts to complete authentication.After the user confirms they have completed t
Official Alibaba Cloud Agent Skills collection, providing AI agents with rich Alibaba Cloud product capabilities and general-purpose tooling.
Other skills on alibabacloud-aiops-skills.
- /alibabacloud-agentbay-aio-skills
Execute code in a secure cloud sandbox via AgentBay SDK. Use this skill whenever users request to run, execute, or evaluate code (Python, JavaScript, R, Java), including plotting charts, running scripts, or viewing code output. Covers requests like "run this code", "execute
Open skill - /alibabacloud-agentloop-dataset
Operate Alibaba Cloud AgentLoop Dataset resources with aliyun CLI and the AgentLoop API version 2026-05-20. Use when requests concern AgentLoop datasets, data rows, Dataset schemas, embedding fields, semantic search, ExecuteQuery, AgentSpace data, 数据集, 数据写入, 数据查询, 语义检索, or ask
Open skill - /alibabacloud-agentloop-evaluation
Orchestrate AgentLoop evaluation workflows through the Aliyun CLI plugin with safe previews, saved evaluator and evaluator-skill management, one-shot sample tests, trace or dataset batch runs, polling, and result inspection. Analyze evaluation quality and low-score cases from
Open skill - /alibabacloud-agentloop-experience
Proactively use AgentLoop Recall to retrieve prior Alibaba Cloud AgentLoop experience through the bundled SearchContext CLI whenever the user asks or implies that prior work may help. Trigger for requests to check, search, recall, retrieve, look up, review, consult, reference,
Open skill - /alibabacloud-agentloop-management
AgentLoop APM接入 / AI可观测接入 / 应用监控接入 / 自研探针 / 探针安装. Use for Python aliyun-bootstrap (aliyun-instrument), Java AliyunJavaAgent, Golang instgo, Node.js cms_node_sdk, PHP/.NET OpenTelemetry, ack-onepilot, LicenseKey, AgentLoop workspace agentloop-*. Also for LangChain, Dify,
Open skill - /alibabacloud-avatar-video
Use Alibaba Cloud DashScope API and LingMou to generate AI video and speech. Seven capabilities — (1) LivePortrait talking-head (image + audio → video, two-step), (2) EMO talking-head, (3) AA/AnimateAnyone full-body animation (three-step), (4) T2I text-to-image (Wan 2.x, default
Open skill

