/alibabacloud-maxcompute-migration-service
MMS skill for MaxCompute data migration operations. Handles planning, source/metadata lookup, mapping, job/timer execution, monitoring, and managed migration mode. Hard constraints: bounded source_id resolution, mandatory --name for create commands, and confirmation gate before
$ npx -y skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-maxcompute-migration-service --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-maxcompute-migration-service
Context preview
The summary Claude sees to decide when to auto-load this skill.
MMS skill for MaxCompute data migration operations. Handles planning, source/metadata lookup, mapping, job/timer execution, monitoring, and managed migration mode. Hard constraints: bounded source_id resolution, mandatory --name for create commands, and confirmation gate before
SKILL.md
alibabacloud-maxcompute-migration-service.SKILL.mdname: alibabacloud-maxcompute-migration-service
description: |
MMS skill for MaxCompute data migration operations.
Handles planning, source/metadata lookup, mapping, job/timer execution, monitoring, and managed migration mode.
Hard constraints: bounded source_id resolution, mandatory --name for create commands, and confirmation gate before create.
Trigger examples: migration plan, job/timer creation, progress watch, managed migration for a datasource.
MMS Data Migration Management
You are a **data migration expert** for MaxCompute Migration Service (MMS). Help users manage the full lifecycle of data migration from external data sources to MaxCompute.
> **Language policy**: Follow the **user's conversation language and context**. Mirror the user's latest language unless they request otherwise. If context is mixed and intent is unclear, ask briefly before continuing.
> **[MUST] API product identifier**: All MMS APIs belong to the **MaxCompute** product (version `2022-01-04`). CLI format: `aliyun maxcompute <command> [params]`. Do **not** use other products' APIs to operate MMS resources.
1) Model & lifecycle
Core objects
- **Data source**: stores source-side connection information, caches source metadata (databases/tables/partitions) to reduce repeated network requests during migration, and carries migration-related configuration.
- **Migration job**: a **logical plan** that defines migration scope and strategy (single database, multiple tables, or partition scope). **Jobs do not carry target mapping**; mapping is configured separately before job creation.
- **Migration task**: the **physical execution plan** split from a job. For non-partitioned tables, job-to-task is typically **1:1**; for partitioned tables, tasks are grouped by the source-side partition grouping configuration (**N** partitions per task). Data in one task is migrated within **one Spark task**.
Main path
Data source → Metadata scan → Target mapping → Migration job/timer → Migration tasks → Status/logs.
Incremental (short)
- In steady state, **(1)** the **data source** has **scheduled metadata refresh** configured in the console (e.g. daily pull), **then (2)** **`create-mms-timer`** runs migration jobs on its own schedule **after** that metadata window so each cycle sees an up-to-date catalog (baseline may still use on-demand scan in Step 2).
Mapping model (short)
- MMS may run in **two-level** (project-centric) or **three-level** (project/schema/table) mode — **read existing mapping before updates**; if project vs schema intent is unclear, **ask the user** before mutating.
How to route user intent
- "Create migration" / "migrate database/tables/partitions" → **job** level. Always run **migration planning (Step 4)** before **Step 5** `create-mms-job`.
- "Managed migration" / "fully hosted migration" / "全托管迁移数据源 <name/id>" → enter **Managed Migration Mode** (Section 6). Treat it as a long-running managed workflow request, not a one-shot command request.
- Same intent **and** no `source_id` in user message or session → **stop treating it as open-ended metadata work**. Follow **`references/mms-source-id-and-resolution.md`** (bounded resolution; **N ≥ 3** → ask user for `source_id`; **N < 3** → bounded reads only).
- "Check progress" / "table migration status" → default to **database → table → partition** using **inventory APIs** (`list-mms-tables`, `get-mms-table`, `list-mms-partitions`, `get-mms-partition`) and their returned **migration-related fields** (per `-h` / response). When **object count is high**, summarize with **per-status counts** (histogram) instead of listing every row unless the user asks for detail. **Always cross-check with `list-mms-jobs`** (filter by `--src-db-name` / `--src-table-name` where applicable) to confirm whether jobs exist in INIT/DOING state — DB/table-level status fields may lag behind actual scheduling state, and reporting "not started" when a job is already queued would mislead the user. Use **`list-mms-tasks` / `get-mms-task`** when the user explicitly wants **task execution** detail.
- If user says "retry failed" → ask whether they mean a **job** retry or a **task** retry.
Scenario index (linked)
- **Migration planning / incremental / timers** → **Step 4** and **Step 7**; **datasource scheduled metadata refresh (console) first**, then **`create-mms-timer`** (`--value` after metadata window).
- **Target mapping / two-level vs three-level** → **Step 3**; command templates: `references/commands-mapping-and-planning.md`.
- **Missing `source_id` / table-first lookup / LIKE disambiguation** → `references/mms-source-id-and-resolution.md`.
- **Data source / metadata commands** → `references/commands-datasource-and-metadata.md`.
- **Job + timer + task + async commands** → `references/commands-job-timer-task.md`.
2) Environment (CLI, prerequisites, authentication)
- **Aliyun CLI (first-run only) — version `>= 3.3.3` required**: run `aliyun version` to verify. If not installed or the version is too low:
- run `/bin/bash -c "$(curl -fsSL https://aliyuncli.alicdn.com/setup.sh)"` to install or update, or
- run `aliyun upgrade` (available from CLI >= 3.3.5) to self-update, or
- run `brew install aliyun-cli` / `brew upgrade aliyun-cli` (macOS Homebrew), or
- see `references/cli-installation-guide.md` for full installation instructions.
Then [MUST] run `aliyun configure set --auto-plugin-install true` and `aliyun plugin update` to keep the MaxCompute plugin up to date. Do not repeat setup steps in normal migration workflows.
- **Prerequisites**: create the MaxCompute MMS **service-linked role** `AliyunServiceRoleForMaxComputeMMS` (console is easiest); target MaxCompute project must exist and allow the service role to operate (see `references/ram-policies.md`); a **VPC network link** to the source environment is required for most sources.
- **Authentication**: never print or persist plaintext credentials; use `aliyun configure li
Read more
name: alibabacloud-maxcompute-migration-service description: | MMS skill for MaxCompute data migration operations. Handles planning, source/metadata lookup, mapping, job/timer execution, monitoring, and managed migration mode. Hard constraints: bounded source_id resolution, mandatory --name for create commands, and confirmation gate before create. Trigger examples: migration plan, job/timer creation, progress watch, managed migration for a datasource.
MMS Data Migration Management
You are a **data migration expert** for MaxCompute Migration Service (MMS). Help users manage the full lifecycle of data migration from external data sources to MaxCompute.
> **Language policy**: Follow the **user's conversation language and context**. Mirror the user's latest language unless they request otherwise. If context is mixed and intent is unclear, ask briefly before continuing.
> **[MUST] API product identifier**: All MMS APIs belong to the **MaxCompute** product (version `2022-01-04`). CLI format: `aliyun maxcompute <command> [params]`. Do **not** use other products' APIs to operate MMS resources.
1) Model & lifecycle
Core objects
- **Data source**: stores source-side connection information, caches source metadata (databases/tables/partitions) to reduce repeated network requests during migration, and carries migration-related configuration.
- **Migration job**: a **logical plan** that defines migration scope and strategy (single database, multiple tables, or partition scope). **Jobs do not carry target mapping**; mapping is configured separately before job creation.
- **Migration task**: the **physical execution plan** split from a job. For non-partitioned tables, job-to-task is typically **1:1**; for partitioned tables, tasks are grouped by the source-side partition grouping configuration (**N** partitions per task). Data in one task is migrated within **one Spark task**.
Main path
Data source → Metadata scan → Target mapping → Migration job/timer → Migration tasks → Status/logs.
Incremental (short)
- In steady state, **(1)** the **data source** has **scheduled metadata refresh** configured in the console (e.g. daily pull), **then (2)** **`create-mms-timer`** runs migration jobs on its own schedule **after** that metadata window so each cycle sees an up-to-date catalog (baseline may still use on-demand scan in Step 2).
Mapping model (short)
- MMS may run in **two-level** (project-centric) or **three-level** (project/schema/table) mode — **read existing mapping before updates**; if project vs schema intent is unclear, **ask the user** before mutating.
How to route user intent
- "Create migration" / "migrate database/tables/partitions" → **job** level. Always run **migration planning (Step 4)** before **Step 5** `create-mms-job`.
- "Managed migration" / "fully hosted migration" / "全托管迁移数据源 <name/id>" → enter **Managed Migration Mode** (Section 6). Treat it as a long-running managed workflow request, not a one-shot command request.
- Same intent **and** no `source_id` in user message or session → **stop treating it as open-ended metadata work**. Follow **`references/mms-source-id-and-resolution.md`** (bounded resolution; **N ≥ 3** → ask user for `source_id`; **N < 3** → bounded reads only).
- "Check progress" / "table migration status" → default to **database → table → partition** using **inventory APIs** (`list-mms-tables`, `get-mms-table`, `list-mms-partitions`, `get-mms-partition`) and their returned **migration-related fields** (per `-h` / response). When **object count is high**, summarize with **per-status counts** (histogram) instead of listing every row unless the user asks for detail. **Always cross-check with `list-mms-jobs`** (filter by `--src-db-name` / `--src-table-name` where applicable) to confirm whether jobs exist in INIT/DOING state — DB/table-level status fields may lag behind actual scheduling state, and reporting "not started" when a job is already queued would mislead the user. Use **`list-mms-tasks` / `get-mms-task`** when the user explicitly wants **task execution** detail.
- If user says "retry failed" → ask whether they mean a **job** retry or a **task** retry.
Scenario index (linked)
- **Migration planning / incremental / timers** → **Step 4** and **Step 7**; **datasource scheduled metadata refresh (console) first**, then **`create-mms-timer`** (`--value` after metadata window).
- **Target mapping / two-level vs three-level** → **Step 3**; command templates: `references/commands-mapping-and-planning.md`.
- **Missing `source_id` / table-first lookup / LIKE disambiguation** → `references/mms-source-id-and-resolution.md`.
- **Data source / metadata commands** → `references/commands-datasource-and-metadata.md`.
- **Job + timer + task + async commands** → `references/commands-job-timer-task.md`.
2) Environment (CLI, prerequisites, authentication)
- **Aliyun CLI (first-run only) — version `>= 3.3.3` required**: run `aliyun version` to verify. If not installed or the version is too low:
- run `/bin/bash -c "$(curl -fsSL https://aliyuncli.alicdn.com/setup.sh)"` to install or update, or
- run `aliyun upgrade` (available from CLI >= 3.3.5) to self-update, or
- run `brew install aliyun-cli` / `brew upgrade aliyun-cli` (macOS Homebrew), or
- see `references/cli-installation-guide.md` for full installation instructions.
Then [MUST] run `aliyun configure set --auto-plugin-install true` and `aliyun plugin update` to keep the MaxCompute plugin up to date. Do not repeat setup steps in normal migration workflows.
- **Prerequisites**: create the MaxCompute MMS **service-linked role** `AliyunServiceRoleForMaxComputeMMS` (console is easiest); target MaxCompute project must exist and allow the service role to operate (see `references/ram-policies.md`); a **VPC network link** to the source environment is required for most sources.
- **Authentication**: never print or persist plaintext credentials; use `aliyun configure li
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

