Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计异常

gcp-to-awsGCP TO AWS 搜索

Agent Skill

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

总安装

582

周安装

24

GitHub Stars

634

下载量

190
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:gcp-to-aws(GCP TO AWS 搜索)
来源仓库:https://github.com/awslabs/agent-plugins
仓库路径:skills/gcp-to-aws
安装命令:
npx skills add https://github.com/awslabs/agent-plugins --skill gcp-to-aws
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/awslabs/agent-plugins --skill gcp-to-aws

简介

用于将 GCP 资源或服务迁移至 AWS 云平台。

  • 提供配置转换指南、API 映射和兼容性说明。
  • 通过 GitHub 安装,无需特殊权限即可获取迁移方案。
  • 网络拓扑和安全组规则需重新适配 AWS 模型。
  • 建议先在隔离环境验证迁移结果。gcp-to-aws 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

GCP-to-AWS Migration Skill

Philosophy

  • Re-platform by default: Select AWS services that match GCP workload types (e.g., Cloud Run → Fargate, Cloud SQL → RDS).
  • Dev sizing unless specified: Default to development-tier capacity (e.g., db.t4g.micro, single AZ). Upgrade only on user direction.
  • Infrastructure-first approach: v1.0 migrates Terraform-defined infrastructure only. App code scanning and billing import are v1.1+.

Prerequisites

User must provide GCP infrastructure-as-code:

  • One or more .tf files (Terraform)
  • Optional: .tfvars or .tfstate files

If no Terraform files are found, stop immediately and ask user to provide them.

State Management

Migration state lives in .migration/[MMDD-HHMM]/ directory (created by Phase 1, persists across invocations):

.migration/
├── .gitignore                       # Auto-created to protect state files from git
└── 0226-1430/                       # MMDD-HHMM timestamp
    ├── .phase-status.json           # Current phase tracking
    ├── gcp-resource-inventory.json  # All GCP resources found
    ├── gcp-resource-clusters.json   # Clustered resources by affinity
    ├── clarified.json               # User answers (Phase 2 output)
    ├── aws-design.json              # AWS services mapping (Phase 3 output)
    ├── estimation.json              # Cost breakdown (Phase 4 output)
    └── execution.json               # Timeline + risks (Phase 5 output)

Note: The .migration/ directory is automatically protected by a .gitignore file created in Phase 1. Migration state files will not be accidentally committed to version control.

.phase-status.json schema:

{
  "phase": "discover|clarify|design|estimate|execute",
  "status": "in-progress|completed",
  "timestamp": "2026-02-26T14:30:00Z",
  "version": "1.0.0"
}

If .phase-status.json exists:

  • If status is completed: advance to next phase (discover→clarify, clarify→design, etc.)
  • If status is in-progress: resume from that phase

Phase Routing

  1. On skill invocation: Check for .migration/*/ directory

- If none exist: Initialize Phase 1 (Discover), set status to in-progress - If multiple exist: STOP. Output: "Multiple migration sessions detected in .migration/:" then for each directory, display its name and the contents of its .phase-status.json (phase + status). Output: "Pick one to continue: [list with phase info]" - If exists: Load .phase-status.json and validate: - If empty file (0 bytes): STOP. Output: "State file is empty. Delete .migration/[MMDD-HHMM]/.phase-status.json and restart." - If invalid JSON: STOP. Output: "State file corrupted (invalid JSON). Delete .migration/[MMDD-HHMM]/.phase-status.json and restart Phase [X]." - If missing required fields (phase, status, timestamp, version): STOP. Output: "State file incomplete (missing [field]). Delete and restart." - If version!= "1.0.0": STOP. Output: "Incompatible state file version: [version]. This skill requires version 1.0.0." - If unrecognized phase value: STOP. Output: "Unrecognized phase: [value]. Valid values: discover, clarify, design, estimate, execute." - If status not in {in-progress, completed}: STOP. Output: "Unrecognized status: [value]. Valid values: in-progress, completed." - If valid: Determine next action: - If phase status is in-progress: Resume that phase - If phase status is completed: Advance to next phase

  1. Phase transition mapping (when phase is completed):

- discover (completed) → Route to clarify - clarify (completed) → Route to design - design (completed) → Route to estimate - estimate (completed) → Route to execute - execute (completed) → Migration complete; offer summary and cleanup options

  1. Phase gate checks: If prior phase incomplete, do not advance (e.g., cannot enter estimate without completed design)

Phase Summary Table

PhaseInputsOutputsReference
Discover.tf filesgcp-resource-inventory.json, gcp-resource-clusters.json, .phase-status.json updatedreferences/phases/discover/discover.md
Clarifygcp-resource-inventory.json, gcp-resource-clusters.jsonclarified.json, .phase-status.json updatedreferences/phases/clarify.md
Designgcp-resource-inventory.json, gcp-resource-clusters.json, clarified.jsonaws-design.json, aws-design-report.md, .phase-status.json updatedreferences/phases/design.md
Estimateaws-design.json, clarified.jsonestimation.json, estimation-report.md, .phase-status.json updatedreferences/phases/estimate.md
Executeaws-design.json, estimation.jsonexecution.json, execution-timeline.md, .phase-status.json updatedreferences/phases/execute.md

MCP Servers

awspricing (for cost estimation):

  1. Call get_pricing_service_codes() to detect availability
  2. If success: use live AWS pricing
  3. If timeout/error: fall back to references/shared/pricing-fallback.json (includes 2026 on-demand rates for major services)

awsknowledge (for design validation):

  1. Use for regional availability checks (e.g., service available in target region?)
  2. Use for feature parity checks (e.g., do required features exist in AWS service?)
  3. Use for service constraints and best practices
  4. Fallback: if unavailable, set validation_status: "skipped" in aws-design.json with note in design report
  5. Important: Validation is informational; design proceeds either way (not blocking)

Error Handling

ConditionAction
No .tf files foundStop. Output: "No Terraform files detected. Please provide .tf files with your GCP resources and try again."
.phase-status.json missing phase gateStop. Output: "Cannot enter Phase X: Phase Y-1 not completed. Start from Phase Y or resume Phase Y-1."
awspricing unavailable after 3 attemptsDisplay user warning about ±15-25% accuracy. Use pricing-fallback.json. Add pricing_source: fallback to estimation.json.
User does not answer all Q1-8Offer Mode C (defaults) or Mode D (free text). Phase 2 completes either way.
aws-design.json missing required clustersStop Phase 4. Output: "Re-run Phase 3 to generate missing cluster designs."

Defaults

  • IaC output: None (v1.0 produces design, cost estimates, and execution plans — no IaC code generation)
  • Region: us-east-1 (unless user specifies, or GCP region → AWS region mapping suggests otherwise)
  • Sizing: Development tier (e.g., Aurora Serverless v2 0.5 ACU for databases, 0.5 CPU for Fargate)
  • Migration mode: Full infrastructure path (no AI-only subset path in v1.0)
  • Cost currency: USD
  • Timeline assumption: 8-12 weeks total

Workflow Execution

When invoked, the agent MUST follow this exact sequence:

  1. Load phase status: Read .phase-status.json from .migration/*/.

- If missing: Initialize for Phase 1 (Discover) - If exists: Determine current phase based on phase field and status value

  1. Determine phase to execute:

- If status is in-progress: Resume that phase (read corresponding reference file) - If status is completed: Advance to next phase (read next reference file) - Phase mapping for advancement: - discover (completed) → Execute clarify (read references/phases/clarify.md) - clarify (completed) → Execute design (read references/phases/design.md) - design (completed) → Execute estimate (read references/phases/estimate.md) - estimate (completed) → Execute execute (read references/phases/execute.md) - execute (completed) → Migration complete

  1. Read phase reference: Load the full reference file for the target phase.
  2. Execute ALL steps in order: Follow every numbered step in the reference file. Do not skip, optimize, or deviate.
  3. Validate outputs: Confirm all required output files exist with correct schema before proceeding.
  4. Update phase status: Each phase reference file specifies the final .phase-status.json update (records the phase that just completed).
  5. Display summary: Show user what was accomplished, highlight next phase, or confirm migration completion.

Critical constraint: Agent must strictly adhere to the reference file's workflow. If unable to complete a step, stop and report the exact step that failed.

User can invoke the skill again to resume from last completed phase.

Scope Notes

v1.0 includes:

  • Terraform infrastructure discovery (no app code scanning)
  • User requirement clarification (8 structured questions)
  • Structured Design (cluster-based mapping from Terraform)
  • AWS cost estimation (from pricing API or fallback)
  • Execution timeline and risk assessment

Deferred to v1.1+:

  • App code scanning (runtime detection of compute workload types)
  • AI-only fast-track path in Clarify/Design
  • Billing data import from GCP
  • Flat Design path (for non-Terraform codebases)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.23%
按下载量换算67

Claude

32.65%
按下载量换算62

Cursor

18.83%
按下载量换算36

Gemini CLI

9.98%
按下载量换算19

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

未通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills