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.
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-mgc-migration-ecs-gcp-to-hwgit clone --depth 1 https://github.com/huaweicloud/huaweicloud-skillsWrote 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.
[](https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-mgc-migration-ecs-gcp-to-hw)<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-mgc-migration-ecs-gcp-to-hw"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-mgc-migration-ecs-gcp-to-hw/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.
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-mgc-migration-ecs-gcp-to-hw"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-mgc-migration-ecs-gcp-to-hw.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00286 | $0.04325 |
| Opus 5.5 | $0.00114 | $0.01730 |
| Sonnet 5.5 | $0.00057 | $0.00865 |
| Haiku 4.5 | $0.00029 | $0.00432 |
Grade A, and why
huawei-cloud-mgc-migration-ecs-gcp-to-hw scanned grade A with 0 findings 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 24d ago.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 210 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MGC Cross-Region Migration
Overview
This skill runs the migration flow implemented in this repository, from precheck to task startup and result validation, keeping execution deterministic by following the exact command sequence and error-handling rules already implemented in the migration scripts.
Architecture: Terraform (main.tf) reads terraform.tfvars, maps the values to runtime environment variables, and invokes scripts/run_migration.sh, which currently calls python3 scripts/mgc_sms_existing_target_batch.py (batch existing-target SMS migration). That script signs and issues HTTPS requests directly against the Huawei Cloud IAM, SMS, ECS, VPC, and EVS REST APIs (no KooCLI/hcloud involved) to create migration projects, register migration tasks against pre-existing target servers, and poll them to completion. scripts/mgc_migrate.py remains available for the single-source SMS/rsync workflow, and scripts/repair_boot_via_helper.py performs post-migration boot-disk/SSH repair via a temporary helper ECS. Default policy is SMS first; when precheck/runtime indicates an incompatible source (for example SMS.6504), single-source runs switch to rsync phases (full_sync -> incremental_sync -> cutover_sync).
Applicable scenarios:
- Batch-migrating multiple sources to pre-existing target ECS instances matched by fixed IP.
- Migrating a single on-prem VMware VM, or an external GCP/AWS instance, into Huawei Cloud.
- Resuming a paused/interrupted batch run from checkpoint files.
- Repairing a target ECS that fails to boot or accept SSH after migration.
- Postmortem/experience-capture requests after a migration run.
Example user requests:
- "帮我批量迁移这几台 GCP 实例到已有的目标机器上。"
- "terraform apply 报错 SMS.1404,target disk 提示 IN-USE,怎么处理?"
- "迁移之后目标机器起不来,GRUB 报 Cannot open root device,帮我修。"
- "上次批量迁移中断了,帮我从 checkpoint 继续。"
Relationship to huawei-cloud-sms-host-migrator: that skill is a general, interactive SMS-console/API assistant for ad-hoc host migrations from any source (IDC, Alibaba Cloud, Tencent Cloud, AWS) to Huawei Cloud. This skill is narrower and automation-first: it drives the exact same SMS APIs through a fixed Terraform + Python pipeline (main.tf -> scripts/run_migration.sh -> mgc_sms_existing_target_batch.py/mgc_migrate.py) to get deterministic, repeatable batch runs, with built-in rsync/VPN-bridge fallback and boot-disk/SSH repair (repair_boot_via_helper.py) that huawei-cloud-sms-host-migrator does not provide. Prefer this skill when the user already has (or wants) a Terraform-driven, scriptable, resumable migration pipeline; prefer huawei-cloud-sms-host-migrator for one-off, console-guided migrations.
What ships with it
21 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 252 B
- main.tf 5.4 KB
- README.md 2.6 KB
- references/acceptance-criteria.md 3.1 KB
- references/iam-policies.md 3.7 KB
- references/lessons-learned.md 12 KB
- references/migration-skill-summary.md 5.0 KB
- references/reuse-bundle.md 2.4 KB
- references/runbook.md 11 KB
- references/verification-method.md 2.2 KB
- scripts/aws_to_huawei_direct.py 23 KB runs code
- scripts/aws_to_huawei_rsync.py 21 KB runs code
- scripts/mgc_cleanup_migprojects.py 6.3 KB runs code
- scripts/mgc_migrate.py 171 KB runs code
- scripts/mgc_sms_existing_target_batch.py 62 KB runs code
- scripts/repair_boot_via_helper.py 26 KB runs code
- scripts/run_aws_migration.sh 2.5 KB runs code
- scripts/run_migration.sh 3.9 KB runs code
- terraform.tfvars.example 2.1 KB
- tools/build_bundle_from_latest_out.sh 1.6 KB runs code
- variables.tf 7.2 KB
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.
- 24d ago First seen · 210 lines · 286 tokens per session scan A c39b1fcee206
huawei-cloud-mgc-migration-ecs-gcp-to-hw is a skill published in the GitHub repository huaweicloud/huaweicloud-skills (59 stars, last pushed 4d ago), licensed MIT. It adds 286 tokens to every session and 4,325 once invoked, about $0.0011 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-06.
huawei-cloud-mgc-migration-ecs-gcp-to-hw compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| huawei-cloud-mgc-migration-ecs-gcp-to-hwhuaweicloud/huaweicloud-skills | Skill | 59 | 4d ago | MIT | A | 286 | Codex |
| huawei-cloud-apig-instance-managementhuaweicloud/huaweicloud-devkit | Skill | 71 | today | Apache-2.0 | A | 206 | Claude Code |
| huawei-cloud-deployment-task-managementhuaweicloud/huaweicloud-devkit | Skill | 71 | today | Apache-2.0 | A | 203 | Claude Code |
| infrastructure-as-code-guardianJPeetz/agent-skills | Skill | 21 | 13d ago | none | A | 106 | Claude Code, Codex |
| auditing-terraform-infrastructure-for-securityxalgorix/xalgorix | Skill | 1.5k | yesterday | Apache-2.0 | A | 59 | Claude Code, Codex |
| implementing-infrastructure-as-code-security-scanningxalgorix/xalgorix | Skill | 1.5k | yesterday | Apache-2.0 | A | 81 | Claude Code, Codex |
| huawei-cloud-cts-trace-managementhuaweicloud/huaweicloud-devkit | Skill | 71 | today | Apache-2.0 | A | 249 | Claude Code |