← Back to Skills Marketplace
awaili

腾讯云跨账号资源迁移

by awaili · GitHub ↗ · v1.0.0 · MIT-0
linux ✓ Security Clean
141
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install tc-migrate
Description
腾讯云跨账号资源迁移工具。将源账号(账号A)的 VPC、CLB、NAT、CVM、安全组等资源迁移到目标账号(账号B),通过 CCN 云联网实现跨账号网络互通。支持自动扫描、配置生成、Terraform 部署。
Usage Guidance
这个 Skill 看起来确实在做它声称的迁移工作,但会要求你提供腾讯云 SecretId/SecretKey(通过本地 account.yaml),并会把这些凭据合并写入生成的 terraform.tfvars,执行 apply 后还会生成 terraform.tfstate(包含敏感信息)。在安装/使用前请注意: - 不要在聊天或公开渠道粘贴密钥。按照 README/SKILL.md 将 account.yaml 与 terraform.tfvars、terraform.tfstate 加入 .gitignore。 - 为迁移创建专用、权限最小的 API 密钥(只授予必要的 Describe/Create/CCN 权限),并优先使用短期/临时凭据(如支持时)。 - 在运行前手动审查生成的 terraform.tfvars 内容(tc-migrate generate --preview)并确认不含不必要的凭据或敏感字段;考虑将 Terraform provider 改为通过环境变量或临时凭据传递以避免把长期密钥写入文件。 - 在受控环境(干净的工作目录、限制网络访问的机器)执行 terraform apply,并确保 terraform.tfstate 的安全存储(加密、受限访问)。 - 如果可能,先在非生产账号或最小环境做一次完整演练并核对 CCN 路由/隔离策略是否按预期工作。 如果你需要我更深入审查特定文件(例如查看生成 tfvars 的具体代码片段、确认是否有外部/隐藏网络端点),请指出要检查的文件或片段。
Capability Analysis
Type: OpenClaw Skill Name: tc-migrate Version: 1.0.0 The tc-migrate skill is a legitimate utility designed to automate the migration of Tencent Cloud resources (VPC, CLB, NAT, CVM, and Security Groups) between accounts using Terraform. It uses the official Tencent Cloud SDK to discover resources and generates HCL variables for deployment. While the tool handles sensitive credentials (SecretId and SecretKey) stored in 'account.yaml', the code and SKILL.md instructions include explicit warnings against displaying or logging these secrets. No evidence of data exfiltration, unauthorized remote execution, or malicious prompt injection was found across the codebase (e.g., src/tc_migrate/api_helpers.py, src/tc_migrate/terraform.py).
Capability Assessment
Purpose & Capability
Skill 名称、描述及命令(config/scan/generate/run/destroy)与源代码一致:使用 tencentcloud-sdk 查询源账号资源、生成迁移配置并用 Terraform 在目标账号创建资源。所需二进制(python3, terraform)和 Python 依赖与功能相符。
Instruction Scope
SKILL.md 与代码指示用户通过 account.yaml 提供 SecretId/SecretKey,并允许全自动扫描、生成 terraform.tfvars 及一键执行 terraform apply。指令范围与目的对齐,但会把密钥从 account.yaml 合并并写入 terraform.tfvars(以及生成 terraform.tfstate),这会导致敏感凭据以文件形式存在磁盘,务必谨慎处理。
Install Mechanism
这是一个 instruction+源码包,没有自动的远程下载或可疑安装步骤。文档建议通过 pip 安装 requirements.txt(从 PyPI),以及手动/系统方式安装 Terraform(HashiCorp 官方)。这些是常见、可审计的来源,风险为中等可管理。
Credentials
Skill 不要求平台环境变量或云平台凭据作为 declared env,但实现通过本地 account.yaml 提供腾讯云 SecretId/SecretKey。把这些凭据写入 terraform.tfvars 和最终的 terraform.tfstate(工具行为明确)是合理以完成 Terraform 部署,但对凭据暴露/长期存储构成实质风险——数量与类型与任务相称但需要最小权限与良好密钥管理。
Persistence & Privilege
skill metadata 不设置 always: true,且默认允许模型调用(平台默认)。代码不会修改其他 skills 或系统级 agent 配置;其持久性体现在生成/写入配置与 Terraform 状态文件(本地 filesystem),这是合理且与用途一致。
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install tc-migrate
  3. After installation, invoke the skill by name or use /tc-migrate
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Slug tc-migrate
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 腾讯云跨账号资源迁移?

腾讯云跨账号资源迁移工具。将源账号(账号A)的 VPC、CLB、NAT、CVM、安全组等资源迁移到目标账号(账号B),通过 CCN 云联网实现跨账号网络互通。支持自动扫描、配置生成、Terraform 部署。 It is an AI Agent Skill for Claude Code / OpenClaw, with 141 downloads so far.

How do I install 腾讯云跨账号资源迁移?

Run "/install tc-migrate" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 腾讯云跨账号资源迁移 free?

Yes, 腾讯云跨账号资源迁移 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 腾讯云跨账号资源迁移 support?

腾讯云跨账号资源迁移 is cross-platform and runs anywhere OpenClaw / Claude Code is available (linux).

Who created 腾讯云跨账号资源迁移?

It is built and maintained by awaili (@awaili); the current version is v1.0.0.

💬 Comments