Skills lzcreate
支持从 AWS、阿里云、GCP、华为云、Azure 向腾讯云迁移的 Landing Zone 全流程客户端。通过远程 MCP Server 自动完成:扫描源云资源(5朵云13种资源)、AI智能填充调研问卷、生成设计文档、生成Terraform代码。当用户提到云迁移、Landing Zone、Terraform、扫描AWS/阿里云/GCP资源、调研问卷、lzcreate时使用。
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/awaili/lzcreate" ~/.claude/skills/clawdbot-skills-lzcreate && rm -rf "$T"
manifest:
skills/awaili/lzcreate/SKILL.mdsource content
LZ Create — 多云迁移到腾讯云 Landing Zone 客户端
支持从 AWS、阿里云、GCP、华为云、Azure 向腾讯云迁移的全流程自动化工具。 自动扫描源云 13 种资源(VPC/CVM/RDS/Redis/TKE/CLB/COS 等),AI 生成设计文档和 Terraform 代码。
MCP Server 地址
默认: http://159.75.221.23/mcp
如用户指定了其他 MCP 地址,使用用户指定的地址。
前置准备
执行任何操作前,先运行连接脚本确认 MCP Server 可用:
python3 {SKILL_DIR}/scripts/mcp_client.py connect --url http://159.75.221.23/mcp
核心工作流
流程 A:只给凭据,全自动完成(推荐)
用户只需提供源云 AK/SK,无需手动填写任何 Excel。程序自动:生成问卷 → 注入凭据 → 扫描资源 → AI 最佳实践填充全部 26 道题 → 输出已填好的 Excel。
# 一步到位:传入凭据,自动完成一切 python3 {SKILL_DIR}/scripts/mcp_client.py complete-form \ --ak "ASIA..." --sk "AvTR..." --token "IQoJ..." \ --cloud AWS --region ap-southeast-3 \ --account-name myxl-shared \ --model qwen3.5:397b-cloud \ --output ./FILLED_survey.xlsx
用户也可以传入已填好凭据的 Excel(不传 --ak/--sk 时):
python3 {SKILL_DIR}/scripts/mcp_client.py complete-form \ --excel ./survey_with_creds.xlsx \ --output ./FILLED_survey.xlsx
流程 B:标准全流程(分步执行)
适合需要精细控制每个步骤的场景。先用 complete-form 智能填充,它会自动将填好的版本覆盖回 session 中的原始问卷,后续步骤直接用同一个 session_id 即可。
# 1. 智能填充问卷(凭据→扫描→AI 填好→覆盖回 session) python3 {SKILL_DIR}/scripts/mcp_client.py complete-form \ --ak "..." --sk "..." --token "..." \ --cloud AWS --region ap-southeast-3 \ --output ./FILLED_survey.xlsx # 记下输出的 Session ID,后续步骤复用 # 2. 生成设计文档(直接复用 session,自动读取已填好的问卷 + 扫描结果) python3 {SKILL_DIR}/scripts/mcp_client.py design-doc \ --session <session_id> \ --model qwen3.5:397b-cloud \ --output ./ # 3. 生成 Terraform 代码(同一 session,设计文档已就绪) python3 {SKILL_DIR}/scripts/mcp_client.py terraform \ --session <session_id> \ --env nonprod \ --model qwen3.5:397b-cloud \ --output ./terraform/
流程 C:从已有 Session 继续
如果之前已执行过扫描/设计文档,可通过 session_id 继续后续步骤,无需重新扫描。
python3 {SKILL_DIR}/scripts/mcp_client.py terraform \ --session <之前的 session_id> \ --env prod \ --model qwen3.5:397b-cloud
命令参考
| 命令 | 功能 | 耗时 |
|---|---|---|
| 测试 MCP 连接 | <1s |
| 生成空白问卷 | <2s |
| 一键智能填充 | 1-2min |
| 扫描源云资源 | 30-120s |
| 查询腾讯云规格 | 10-30s |
| AI 生成设计文档 | 5-15min |
| AI 生成 Terraform | 10-30min |
| 列出工作区文件 | <1s |
| 下载工作区文件 | <1s |
AI 模型
| 模型 | 推荐场景 |
|---|---|
| 生产推荐 |
| 快速测试 |
| Terraform 代码 |
错误处理
→ 重新执行,会自动创建新 SessionSession not found
→ 检查 Excel 凭据清单 Sheet 的 AK/SK 是否正确凭据读取失败
→ 重新获取临时凭据STS Token 过期
→ 检查 Region 是否正确、凭据是否有只读权限扫描 0 资源
→ 换模型或稍后重试AI 调用失败
详细参考
关于每个 MCP Tool 的完整参数和返回值,参见
{SKILL_DIR}/references/mcp_api.md。