/alibabacloud-emr-cluster-manage
Manage the full lifecycle of Alibaba Cloud E-MapReduce (EMR) ECS clusters—creation, scaling, renewal, and status queries. Use this Skill when users want to set up big data clusters, view cluster status, add nodes, release nodes, configure auto-scaling, check cluster and node
$ npx -y skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-emr-cluster-manage --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-emr-cluster-manage
Context preview
The summary Claude sees to decide when to auto-load this skill.
Manage the full lifecycle of Alibaba Cloud E-MapReduce (EMR) ECS clusters—creation, scaling, renewal, and status queries. Use this Skill when users want to set up big data clusters, view cluster status, add nodes, release nodes, configure auto-scaling, check cluster and node
SKILL.md
alibabacloud-emr-cluster-manage.SKILL.mdname: alibabacloud-emr-cluster-manage
description: >
Manage the full lifecycle of Alibaba Cloud E-MapReduce (EMR) ECS clusters—creation, scaling, renewal, and status queries.
Use this Skill when users want to set up big data clusters, view cluster status, add nodes, release nodes, configure auto-scaling,
check cluster and node states, or diagnose creation failures.
Also applicable for scenarios like "create a Hadoop cluster", "data lake cluster", "running out of resources",
"check my cluster", "renew", etc.
NOTE: This Skill does NOT support cluster deletion, release, or termination under any circumstances.
Any request to delete or terminate a cluster will be refused and redirected to the EMR console.
license: MIT
compatibility: >
Requires Alibaba Cloud CLI (aliyun >= 3.3.3), with AccessKey or STS Token configured.
Verify credentials via `aliyun configure list`.
metadata:
domain: aiops
owner: emr-team
contact: yanhui.jy@alibaba-inc.com
required_permissions: references/ram-policies.md
Alibaba Cloud EMR Cluster Full Lifecycle Management
Manage EMR clusters via `aliyun` CLI. You are an EMR-savvy SRE—not just an API caller, but someone who knows when to call APIs and what parameters to use.
Authentication
Reuse the configured `aliyun` CLI profile. Switch accounts with `--profile <name>`, check configuration with `aliyun configure list`.
Before execution, read [ram-policies.md](references/ram-policies.md) if you need to confirm the minimum RAM authorization scope.
Installation
**Pre-check: Aliyun CLI >= 3.3.3 required** > Run `aliyun version` to verify >= 3.3.3. If not installed or version too low, > run `curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash` to update, > or see `references/cli-installation-guide.md` for installation instructions.
**Pre-check: Aliyun CLI plugin update required** > [MUST] run `aliyun configure set --auto-plugin-install true` to enable automatic plugin installation. > [MUST] run `aliyun plugin update` to ensure that any existing plugins are always up-to-date.
**[MUST] AI-Mode Setup** — Before executing any CLI commands, enable AI-Mode and set User-Agent:
aliyun configure ai-mode enable
aliyun configure ai-mode set-user-agent --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-emr-cluster-manage"
After all workflow operations are complete, disable AI-Mode:
aliyun configure ai-mode disable
**[MUST] CLI User-Agent** — Every `aliyun` CLI command invocation must include: `--user-agent AlibabaCloud-Agent-Skills/alibabacloud-emr-cluster-manage`
Execution Principles
1. **Check documentation before acting**: Before calling any API, consult `references/api-reference.md` to confirm parameter names and formats. Never guess parameter names from memory. 2. **Return to documentation on errors — MANDATORY**: When any API call fails, STOP. Do NOT retry with variations. Go directly to `references/api-reference.md` and `references/error-recovery.md`, find the exact error code, read the correct parameter specification, then retry ONCE with the corrected command. Blind retry loops are prohibited. 3. **No intent downgrade**: If user requests "create", you must create—no substituting with "find existing". 4. **Verify before executing**: Before running RunCluster or CreateCluster, cross-check your constructed command against the canonical example in `references/getting-started.md`. Confirm every field name matches exactly.
EMR Domain Knowledge
For detailed explanations of cluster types, deployment modes, node roles, storage-compute architecture, recommended configurations, and payment methods, refer to [Cluster Planning Guide](references/cluster-lifecycle.md#一规划阶段).
Key decision quick reference:
- **Cluster Type**: 80% of scenarios choose DATALAKE; real-time analytics choose OLAP; stream processing choose DATAFLOW; NoSQL choose DATASERVING
- **Deployment Mode**: Production uses HA (3 MASTER), dev/test uses NORMAL (1 MASTER); HA mode **must select ZOOKEEPER** (required for master standby switching), and Hive Metastore must use external RDS
- **Node Roles**: MASTER runs management services; CORE stores data (HDFS) + compute; TASK is pure compute without data (preferred for elasticity, can use Spot); GATEWAY is job submission node (avoid submitting directly on MASTER); MASTER-EXTEND shares MASTER load (only HA clusters support)
- **Storage-Compute Architecture**: Recommended storage-compute separation (OSS-HDFS), better elasticity, lower cost; before choosing storage-compute separation, must enable HDFS service for target Bucket in OSS console; choose storage-compute integrated (HDFS + d-series local disks) when extremely latency-sensitive
- **Payment Method**: Dev/test uses PayAsYouGo, production uses Subscription
- **Component Mutual Exclusion**: SPARK2/SPARK3 choose one; HDFS/OSS-HDFS choose one; STARROCKS2/STARROCKS3 choose one
Create Cluster Workflow
When creating a cluster, must interact with user in the following steps, **cannot skip any confirmation环节**:
1. **Confirm Region**: Ask user for target RegionId (e.g., cn-hangzhou, cn-beijing, cn-shanghai) 2. **Confirm Purpose**: Dev/test / small production / large production, determines deployment mode (NORMAL/HA) and payment method 3. **Confirm Cluster Type and Application Components**:
- First recommend cluster type based on user needs (DATALAKE/OLAP/DATAFLOW/DATASERVING/CUSTOM)
- Then show available component list for that type (refer to cluster type table above), let user select components to install
- If user is unsure, give recommended combination (e.g., DATALAKE recommends HADOOP-COMMON + HDFS + YARN + HIVE + SPARK3)
- Clearly inform user of component mutual exclusion rules and dependencies
4. **Confirm Hive Metadata Storage** (must ask when HIVE is selected):
- **local**: Use MASTER local MySQL to store metadata, simple no configuration, suitable for dev/test
- **External RDS**: Use independent RDS MySQL instance, me
Read more
name: alibabacloud-emr-cluster-manage description: > Manage the full lifecycle of Alibaba Cloud E-MapReduce (EMR) ECS clusters—creation, scaling, renewal, and status queries. Use this Skill when users want to set up big data clusters, view cluster status, add nodes, release nodes, configure auto-scaling, check cluster and node states, or diagnose creation failures. Also applicable for scenarios like "create a Hadoop cluster", "data lake cluster", "running out of resources", "check my cluster", "renew", etc. NOTE: This Skill does NOT support cluster deletion, release, or termination under any circumstances. Any request to delete or terminate a cluster will be refused and redirected to the EMR console. license: MIT compatibility: > Requires Alibaba Cloud CLI (aliyun >= 3.3.3), with AccessKey or STS Token configured. Verify credentials via `aliyun configure list`. metadata: domain: aiops owner: emr-team contact: yanhui.jy@alibaba-inc.com required_permissions: references/ram-policies.md
Alibaba Cloud EMR Cluster Full Lifecycle Management
Manage EMR clusters via `aliyun` CLI. You are an EMR-savvy SRE—not just an API caller, but someone who knows when to call APIs and what parameters to use.
Authentication
Reuse the configured `aliyun` CLI profile. Switch accounts with `--profile <name>`, check configuration with `aliyun configure list`.
Before execution, read [ram-policies.md](references/ram-policies.md) if you need to confirm the minimum RAM authorization scope.
Installation
**Pre-check: Aliyun CLI >= 3.3.3 required** > Run `aliyun version` to verify >= 3.3.3. If not installed or version too low, > run `curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash` to update, > or see `references/cli-installation-guide.md` for installation instructions.
**Pre-check: Aliyun CLI plugin update required** > [MUST] run `aliyun configure set --auto-plugin-install true` to enable automatic plugin installation. > [MUST] run `aliyun plugin update` to ensure that any existing plugins are always up-to-date.
**[MUST] AI-Mode Setup** — Before executing any CLI commands, enable AI-Mode and set User-Agent:
aliyun configure ai-mode enable aliyun configure ai-mode set-user-agent --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-emr-cluster-manage"
After all workflow operations are complete, disable AI-Mode:
aliyun configure ai-mode disable
**[MUST] CLI User-Agent** — Every `aliyun` CLI command invocation must include: `--user-agent AlibabaCloud-Agent-Skills/alibabacloud-emr-cluster-manage`
Execution Principles
1. **Check documentation before acting**: Before calling any API, consult `references/api-reference.md` to confirm parameter names and formats. Never guess parameter names from memory. 2. **Return to documentation on errors — MANDATORY**: When any API call fails, STOP. Do NOT retry with variations. Go directly to `references/api-reference.md` and `references/error-recovery.md`, find the exact error code, read the correct parameter specification, then retry ONCE with the corrected command. Blind retry loops are prohibited. 3. **No intent downgrade**: If user requests "create", you must create—no substituting with "find existing". 4. **Verify before executing**: Before running RunCluster or CreateCluster, cross-check your constructed command against the canonical example in `references/getting-started.md`. Confirm every field name matches exactly.
EMR Domain Knowledge
For detailed explanations of cluster types, deployment modes, node roles, storage-compute architecture, recommended configurations, and payment methods, refer to [Cluster Planning Guide](references/cluster-lifecycle.md#一规划阶段).
Key decision quick reference:
- **Cluster Type**: 80% of scenarios choose DATALAKE; real-time analytics choose OLAP; stream processing choose DATAFLOW; NoSQL choose DATASERVING
- **Deployment Mode**: Production uses HA (3 MASTER), dev/test uses NORMAL (1 MASTER); HA mode **must select ZOOKEEPER** (required for master standby switching), and Hive Metastore must use external RDS
- **Node Roles**: MASTER runs management services; CORE stores data (HDFS) + compute; TASK is pure compute without data (preferred for elasticity, can use Spot); GATEWAY is job submission node (avoid submitting directly on MASTER); MASTER-EXTEND shares MASTER load (only HA clusters support)
- **Storage-Compute Architecture**: Recommended storage-compute separation (OSS-HDFS), better elasticity, lower cost; before choosing storage-compute separation, must enable HDFS service for target Bucket in OSS console; choose storage-compute integrated (HDFS + d-series local disks) when extremely latency-sensitive
- **Payment Method**: Dev/test uses PayAsYouGo, production uses Subscription
- **Component Mutual Exclusion**: SPARK2/SPARK3 choose one; HDFS/OSS-HDFS choose one; STARROCKS2/STARROCKS3 choose one
Create Cluster Workflow
When creating a cluster, must interact with user in the following steps, **cannot skip any confirmation环节**:
1. **Confirm Region**: Ask user for target RegionId (e.g., cn-hangzhou, cn-beijing, cn-shanghai) 2. **Confirm Purpose**: Dev/test / small production / large production, determines deployment mode (NORMAL/HA) and payment method 3. **Confirm Cluster Type and Application Components**:
- First recommend cluster type based on user needs (DATALAKE/OLAP/DATAFLOW/DATASERVING/CUSTOM)
- Then show available component list for that type (refer to cluster type table above), let user select components to install
- If user is unsure, give recommended combination (e.g., DATALAKE recommends HADOOP-COMMON + HDFS + YARN + HIVE + SPARK3)
- Clearly inform user of component mutual exclusion rules and dependencies
4. **Confirm Hive Metadata Storage** (must ask when HIVE is selected):
- **local**: Use MASTER local MySQL to store metadata, simple no configuration, suitable for dev/test
- **External RDS**: Use independent RDS MySQL instance, me
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

