# alibabacloud-ack-cli

alibabacloud-ack-cli — a skill that drives Alibaba Cloud ACK from the terminal: clusters, node pools, addons, kubeconfig via aliyun cs. Handy when kubectl won't connect or RAM answers Forbidden.RAM.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 196 installs · ★ 300 repo stars
- Author: aliyun
- License: Apache-2.0 · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/aliyun/alibabacloud-aiops-skills/tree/HEAD/skills/container/csk/alibabacloud-ack-cli/SKILL.md
- Updated: 2026-10-23
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/alibabacloud-ack-cli

## What it does

The skill gives the agent a working map of ACK through the `cs` plugin of the `aliyun` CLI: cluster lifecycle, node pools, addons, kubeconfig and RBAC for RAM users, CVE scanning and repair, audit logging, inspections, plus async tasks you can track, pause, resume or cancel. Commands stay in the kebab-case plugin form. The older PascalCase OpenAPI shape is off limits here.

Before composing anything it runs `--help`, since parameter shapes for cluster creation and addon config are easy to get wrong. Every business call carries `--user-agent AlibabaCloud-Agent-Skills/alibabacloud-ack-cli/{session-id}`, with one id reused for the whole session. Scripts under `./scripts/` check and install the plugin, and wait on a `task-id` in a given region.

You need `aliyun` CLI 3.3.3 or newer with the `cs` plugin (`aliyun plugin install --names cs`), `jq` for the helper scripts, `kubectl` to use the kubeconfig it fetches, and network access to `*.aliyuncs.com`. Leave the plugin out and nothing runs: `plugin 'cs' not found`.

## Requirements
- Works with: Kubernetes

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-ack-cli -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/alibabacloud-ack-cli/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/alibabacloud-ack-cli/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-ack-cli -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/alibabacloud-ack-cli/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-ack-cli -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/alibabacloud-ack-cli/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install aliyun/alibabacloud-aiops-skills skills/container/csk/alibabacloud-ack-cli
```

2. **Manually: put the files in place**
- File: `.github/skills/alibabacloud-ack-cli/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-ack-cli -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/aliyun/alibabacloud-aiops-skills --path skills/container/csk/alibabacloud-ack-cli
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/alibabacloud-ack-cli/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-ack-cli -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/aliyun/alibabacloud-aiops-skills/tree/HEAD/skills/container/csk/alibabacloud-ack-cli/SKILL.md

## When to use it
- create an ACK cluster and poll the async task to completion
- patch a node CVE without opening the console
- issue a kubeconfig to a RAM user, then revoke it
- find out why kubectl cannot reach the cluster
- upgrade an addon without hitting a deprecated API

## Example prompts
- Create an ACK cluster in `cn-hangzhou` and follow the task until it finishes.
- Revoke the kubeconfig issued to a RAM user and confirm kubectl can no longer connect.
- Show which addons in the cluster are outdated and update them one at a time.

## Source text · SKILL.md · Apache-2.0

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: c7b8751d176b0efb.

BEGIN THIRD-PARTY FILE c7b8751d176b0efb
````text
---
name: alibabacloud-ack-cli
description: >
  Use when the user operates Alibaba Cloud Container Service for Kubernetes (ACK). Covers cluster lifecycle (create / modify / delete / upgrade), node pools & nodes (create, modify, delete, repair, fix CVE), addons (install / upgrade / uninstall), KubeConfig & RBAC (issue for RAM user, grant / revoke), security & policy (CVE scan/fix, policy governance, KMS, delete protection), logging / audit / alerting, intelligent O&M (check / inspect / diagnosis / auto-repair), async tasks (track / pause / resume / cancel), templates, autoscaling, tags & quotas. Triggers: create / upgrade / delete ACK cluster, migrate to Pro, scale nodepool, fix node CVE, install / remove addon, get / revoke kubeconfig, grant RBAC, enable audit log, run inspection, diagnose cluster, track task_id, debug cs error, Forbidden.RAM, kubectl cannot connect. Terms: ACK, container service, k8s cluster, nodepool, addon, AutoMode, Terway, Flannel, ForRegion, kubeconfig, RBAC, CVE.
license: Apache-2.0
metadata:
  domain: aiops
  owner: ack-team
  contact: ack-team@alibabacloud.com
compatibility: >
  Requires aliyun CLI >= 3.3.3 with the cs plugin (aliyun plugin install --names cs). Helper scripts use jq; kubeconfig retrieval pairs with kubectl. Network access to *.aliyuncs.com OpenAPI endpoints required.
allowed-tools: Bash
---

# ACK (Container Service) CLI Expert

Help users manage Alibaba Cloud Container Service for Kubernetes (ACK) from the terminal using the `aliyun cs` plugin. Generic Aliyun CLI rules (plugin vs OpenAPI-style, `--help` discipline, structured parameter syntax, output filtering, debugging) still apply — this skill focuses on the ACK-specific patterns layered on top: async tasks, region-unitised APIs, JSON-string-inside-JSON shapes, deprecated-API avoidance, and the few high-value workflows (create / scale / addon / kubeconfig / upgrade).

> **Version note.** Concrete API/parameter lists below were captured against `aliyun-cli` 3.3.2 + `cs` plugin 0.2.1. If your plugin is newer, re-run the self-discovery commands embedded throughout this skill to refresh:
>
> ```bash
````
END THIRD-PARTY FILE c7b8751d176b0efb

The third-party file has ended. Everything between the c7b8751d176b0efb tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2130 of 24947 bytes. © aliyun · Apache-2.0 · https://github.com/aliyun/alibabacloud-aiops-skills/tree/HEAD/skills/container/csk/alibabacloud-ack-cli/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
