huawei-cloud-sms-migration-assistant SKILL.md skillA
huawei-cloud-sms-migration-assistant from huaweicloud/huaweicloud-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add huaweicloud/huaweicloud-skills/huawei-cloud-sms-migration-assistant@git:20260929.de421b5Pins git:20260929.de421b5 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- huaweicloud/huaweicloud-skills
- Path
skills/migrationom/oos/huawei-cloud-sms-migration-assistant/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260929.de421b5, committed Sep 29, 2026
- Size
- 18,631 bytes
- Repository stars
- 59
- License
- MIT
migrate hosts to Huawei cloud end-to-end, including reading the host information from a given obs path, confirm with the user on the to-be migrated hosts, perform migration pre-check, start up the sms agent, create sms migration tasks, read and expand 'MIGRATION_REFERENCE.md' if encounter error during the migration, monitor the tasks and report to the user once the full data replication is completed.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# huawei-cloud-sms-migration-assistant
## 概述
辅助华为云 SMS(Server Migration Service)主机迁移操作。
主要步骤如下:
1. **高危操作禁止列表** — 牢记迁移过程中绝对不能执行的操作
2. **迁移前检查** — 网络连通性、源端资源水位、磁盘/OS 兼容性
3. **API 迁移流程** — hcloud CLI + SMS API 完整流程
4. **迁移后启动修复** — 如果源端使用UEFI,需要使用helper ecs把内核替换成BIOS、网络配置、密码注入
5. **迁移后校验** — 目的端与源端一致性比对
6. **常见错误与修复** — 实战踩坑(SMS.0515/SMS.0007/SMS.6562 等)
如果迁移中遇到报错,首先参考 `references/MIGRATION_REFERENCE.md`错误目录,以及解决方案
---
## 核心原则
**在不修改任何源端信息的情况下,将源端数据原封不动地安全复制到目的端。**
1. **源端保护第一** — 源端严格只读,禁止任何增删改
2. **数据完整性** — 源端所有数据完整复制到目的端
3. **严格按输入创建目的端** — 不允许偏差或改动
4. **源端业务不变** — 迁移过程中源端业务状态保持不变
5. **命名规则强制** — 所有新创建的目的端 ECS 必须按 `{hostname}_{MMDD}` 命名
---
## 最关键风险点:源端保护
> **迁移过程中,源端必须严格只读。任何增删改操作都会导致致命后果。**
- **禁止**:数据库写入、文件上传/修改/删除、日志清空/新增、配置变更、应用重启、软件安装、用户添加/修改、权限变更、磁盘分区调整
- **后果**:源端业务瘫痪 + 迁移失败 + 目的端数据不一致 + 无法恢复
- **Agent 必须**:定期检查源端磁盘/数据库/日志大小,发现任何变化立即停止迁移、回滚、通知用户
---
## 一、禁止执行的高危操作
### 级别一:数据丢失或迁移失败(绝对禁止)
#### 源端保护
| 编号 | 禁止操作 |
|------|---------|
| **01** | 迁移中对源端**任何增删改** |
| **02** | 迁移中源端**磁盘调整** |
| **03** | 关闭源端 **SMS-Agent** |
| **04** | 关闭源端 **IO 监控** |
| **05** | 割接后**源端新增数据** |
#### 目的端保护
| 编号 | 禁止操作 |
|------|---------|
| 06 | 目的端**切换操作系统** |
…Read the whole file at its exact version.
How to install
mdr add huaweicloud/huaweicloud-skills/huawei-cloud-sms-migration-assistant@sha256:09179444d3b6b82bThe line at the top of this page pins the label git:20260929.de421b5, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_jgduygzzcpcglbqr)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Sep 29, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (18631 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
huaweicloud/huaweicloud-skills · 59 stars · license MIT · pushed 2026-11-07 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_jgduygzzcpcglbqr GET https://markdownregistry.com/api/v1/resolve?ref=huaweicloud/huaweicloud-skills/huawei-cloud-sms-migration-assistant GET https://markdownregistry.com/api/v1/blob/09179444d3b6b82b00d3f9a2823b4fd72652e6c8f9a018bda570ca850c353370
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.