huawei-cloud-sms-host-migrator

huawei-cloud-sms-host-migrator is a skill for Claude Code, Codex from huaweicloud/huaweicloud-skills. It costs 169 tokens per session (6,231 once invoked), scanned B, original, MIT.

A host migration assistant for moving servers from a local data centre or another cloud to Huawei Cloud virtual machines through Server Migration Service (SMS). It supports file-level or block-level replication depending on the source system.

In plain words
What is it for?
Use it to prepare source hosts, run compatibility checks, define target virtual machines, track replication, perform cutover synchronisation, and validate the migrated host.
Why use it?
Moving a server can fail because of incompatible operating systems, disk layouts, firmware, file systems, or network access. This add-on checks those conditions and helps coordinate the move.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to prepare source hosts, run compatibility checks, define target virtual machines, track replication, perform cutover synchronisation, and validate the migrated host.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/huaweicloud/huaweicloud-skills/huawei-cloud-sms-host-migrator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-sms-host-migrator
Clone the repo
git clone --depth 1 https://github.com/huaweicloud/huaweicloud-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for huawei-cloud-sms-host-migrator

README.md
[![agentmods](https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-sms-host-migrator/github.svg)](https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-sms-host-migrator)
Your own site
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-sms-host-migrator"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-sms-host-migrator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for huawei-cloud-sms-host-migrator

Your own site · 80×15
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-sms-host-migrator"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-sms-host-migrator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 169 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,231 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00169 $0.06231
Opus 5.5 $0.00068 $0.02492
Sonnet 5.5 $0.00034 $0.01246
Haiku 4.5 $0.00017 $0.00623

Measured 29d ago against content hash c88b2794ca33, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

huawei-cloud-sms-host-migrator scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 29d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/test-cli-commands.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- If `state: "unavailable"`, the agent is disconnected; guide the user to restart the agent on the source host (`sudo ./startup.sh` on Linux or restart `SMS-Agent` Windows service).
skills/solution/migration/huawei-cloud-sms-host-migrator/SKILL.md · 336 lines

How it starts

The opening of the file, as written. The whole thing — 336 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Huawei Cloud SMS Host Migrator

The Huawei Cloud SMS Host Migrator skill automates and guides the full lifecycle of host migration from on-premise IDCs or third-party clouds (Alibaba Cloud, Tencent Cloud, AWS) to Huawei Cloud ECS or Flexus X instances using the Huawei Cloud Server Migration Service (SMS).

Overview

The migration process supports file-level replication (MIGRATE_FILE) for Linux source hosts and block-level replication (MIGRATE_BLOCK) for Windows Server source hosts.

Key capabilities provided:

  • Guided Agent Deployment: Generate installation instructions for Linux and Windows Server source machines.
  • Pre-migration Compatibility Diagnostics: Automatic checks for OS version, firmware (BIOS/UEFI), disk partition table (MBR/GPT), file system, and required network ports.
  • Target Specification Modeling: Provision migration templates targeting Huawei Cloud standard ECS or cost-effective Flexus X instances.
  • Replication Orchestration: Track replication tasks, remaining time (remain_seconds), throttling limits, progress percentages, and subtask states.
  • Cutover and Validation: Execute incremental sync windows, detach migration drivers, and verify target host boot status.

Prerequisites

  1. KooCLI (hcloud): Installed and authenticated with a valid profile (cn-north-4, ap-southeast-3, etc.).
    • Follow instructions in references/cli-installation-guide.md.
  2. Target Security Group Inbound Rules: The destination ECS security group must allow specific inbound ports strictly from the source server IP:
    • Linux: Inbound TCP port 22 (secure rsync over SSH).
    • Windows Server: Inbound TCP ports 22 (initialization), 8899 (control channel), and 8900 (block data streaming).
    • Default Creation Behavior: By default, create a dedicated new security group populated strictly with these rules rather than reusing an existing group.
    • Target Outbound Rules: Outbound TCP port 443 allowed to SMS API and Huawei Cloud services.
    • Target Subnet Network ACL: Ensure associated subnet ACLs allow matching inbound ports and return ephemeral ports.
    • Security Guardrail: Do not set source address to 0.0.0.0/0; restrict strictly to source server IP.
  3. Source Server Network & Environment:
    • Outbound TCP port 443 open to SMS control plane: sms.cn-north-4.myhuaweicloud.com (China Site) or sms.ap-southeast-3.myhuaweicloud.com (International Site - Singapore).
    • Outbound TCP ports 22, 8899, 8900 open to target ECS (public EIP or private IP via VPN/Direct Connect).
    • NTP Time Synchronization: Source system clock drift must be within 15 minutes of standard time.
    • Dependencies: Linux requires rsync, tar, nohup, python; Windows requires PowerShell 3.0+ and VSS service.
    • Disk Space: Linux root partition (/) ≥ 200 MB free space; Windows partitions ≥ 600 MB require ≥ 320 MB free space.
  4. IAM Permissions: Sufficient permissions for SMS FullAccess, ECS CommonOperations, VPC Administrator, and EVS CommonOperations.
    • See least-privilege definitions in references/iam-policies.md.
    • See complete pre-migration checklist in references/pre-migration-checklist.md.

Read the full file on GitHub · 336 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 29d ago First seen · 336 lines · 169 tokens per session scan B c88b2794ca33

Subscribe to this mod's changes

huawei-cloud-sms-host-migrator is a skill published in the GitHub repository huaweicloud/huaweicloud-skills (59 stars, last pushed yesterday), licensed MIT. It adds 169 tokens to every session and 6,231 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-29.