跳到主内容
智客 ZICQ

技能库 智客分类:运维与云 launch-with-aws

Launch With Aws

Migrates 气相编码的网络应用到 AWS 。 处理从分析到迁移到部署的全部工作流程,产生可部署的AWS区块基础设施代码. 支持用气相编码平台(Lovable, Bolt. new, Replit)和前端网络应用程序和网站构建的全存储应用程序:React, Vue, Angular, Next.js, Nuxt, Astro, SvelteKit, Gatsby, Vite, Svelte, Solid, Docusaurus等(静态站点, SPA, 有静态导出的SSA框架). 触发:与AWS一起发射,在AWS上发射,部署到AWS上,迁移到AWS上,在AWS上托管我的应用,将我的应用移动到AWS上,将我的应用转移到AWS上. 激活用户想要将一个有气相编码的app或前端网络app迁移到AWS时,即使他们没有明确表示"migrate".

5350 安装量

官方网址:skills.sh

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

Migrates 气相编码的网络应用到 AWS 。 处理从分析到迁移到部署的全部工作流程,产生可部署的AWS区块基础设施代码. 支持用气相编码平台(Lovable, Bolt. new, Replit)和前端网络应用程序和网站构建的全存储应用程序:React, Vue, Angular, Next.js, Nuxt, Astro, SvelteKit, Gatsby, Vite, Svelte, Solid, Docusaurus等(静态站点, SPA, 有静态导出的SSA框架). 触发:与AWS一起发射,在AWS上发射,部署到AWS上,迁移到AWS上,在AWS上托管我的应用,将我的应用移动到AWS上,将我的应用转移到AWS上. 激活用户想要将一个有气相编码的app或前端网络app迁移到AWS时,即使他们没有明确表示"migrate".

何时用

官方 description 未单独写出 Use when。按规范,代理会在用户任务与这段 description 的关键词匹配时激活本技能。

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:Launch with AWS、Script Invocation、Supported Application Types、What Gets Migrated vs. What Stays、Input Resolution、Flow。

文件分析

文件分析:除 SKILL.md 外,正文引用了 scripts/launch_with_aws.py、scripts/launch_config.py、scripts/auth.py、scripts/auth_callback_server.py、scripts/launch_api_client.py、scripts/archive.py,属于带资源的技能包,这些文件按需再读。

官方 description(原文)

Migrates vibe-coded web applications to AWS. Handles the full workflow from analysis through migration to deployment, producing deployable AWS Blocks infrastructure code. Supports full-stack apps built with vibe-coding platforms (Lovable, Bolt.new, Replit) and frontend web applications and websites: React, Vue, Angular, Next.js, Nuxt, Astro, SvelteKit, Gatsby, Vite, Svelte, Solid, Docusaurus, and others (static sites, SPAs, and SSR frameworks with static export). Triggers on: launch with AWS, launch on AWS, deploy to AWS, migrate to AWS, host my app on AWS, move my app to AWS, transfer my app to AWS. Activates when the user wants to migrate a vibe-coded app or frontend web app to AWS, even if they don't say 'migrate' explicitly.

Launch with AWSScript InvocationSupported Application TypesWhat Gets Migrated vs. What StaysInput ResolutionFlow1. Authentication2. Create Launch3. Poll Launch Status4. Get Full Launch Details & Confirm5. Start Execution6. Download

来源分类:skills.sh agent-skill

SKILL.md 与 Agent 调用

官方规范 ↗
name
launch-with-aws
description
Migrates vibe-coded web applications to AWS. Handles the full workflow from analysis through migration to deployment, producing deployable AWS Blocks infrastructure code. Supports full-stack apps built with vibe-coding platforms (Lovable, Bolt.new, Replit) and frontend web applications and websites: React, Vue, Angular, Next.js, Nuxt, Astro, SvelteKit, Gatsby, Vite, Svelte, Solid, Docusaurus, and others (static sites, SPAs, and SSR frameworks with static export). Triggers on: launch with AWS, launch on AWS, deploy to AWS, migrate to AWS, host my app on AWS, move my app to AWS, transfer my app to AWS. Activates when the user wants to migrate a vibe-coded app or frontend web app to AWS, even if they don't say 'migrate' explicitly.
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。
指令中引用的文件 · 7
  • scripts/launch_with_aws.py
  • scripts/launch_config.py
  • scripts/auth.py
  • scripts/auth_callback_server.py
  • scripts/launch_api_client.py
  • scripts/archive.py
  • references/launchwithaws-2026-06-15.json

以下路径提取自原文;文件是否齐全请以来源仓库中的完整目录为准。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

该技能引用了附属文件,请从来源获取完整目录;仅复制 SKILL.md 可能缺少依赖。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「launch-with-aws」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-bd77c2c2cc2c19d8-Launch-With-Aws.html
请存为 .cursor/skills/launch-with-aws/SKILL.md 或 .claude/skills/launch-with-aws/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。
该技能还带 scripts/、references/、assets/ 等文件,请从 https://github.com/aws/agent-toolkit-for-aws 取完整目录,不要只建一个 SKILL.md。

GitHub 完整包 ↗

终端安装 · Skills CLI

需要 Node.js 与 npx。先查看仓库技能列表,确认实际名称。

npx skills add 'https://github.com/aws/agent-toolkit-for-aws' --list

npx skills add 'https://github.com/aws/agent-toolkit-for-aws' --skill 'launch-with-aws'

CLI 会交互选择目标 Agent,默认安装到项目;用户级安装使用 -g。先通过查看命令核对仓库内容,再用 npx skills list 检查已安装技能。

阅读排版
--- name: launch-with-aws description: "Migrates vibe-coded web applications to AWS. Handles the full workflow from analysis through migration to deployment, producing deployable AWS Blocks infrastructure code. Supports full-stack apps built with vibe-coding platforms (Lovable, Bolt.new, Replit) and frontend web applications and websites: React, Vue, Angular, Next.js, Nuxt, Astro, SvelteKit, Gatsby, Vite, Svelte, Solid, Docusaurus, and others (static sites, SPAs, and SSR frameworks with static export). Triggers on: launch with AWS, launch on AWS, deploy to AWS, migrate to AWS, host my app on AWS, move my app to AWS, transfer my app to AWS. Activates when the user wants to migrate a vibe-coded app or frontend web app to AWS, even if they don't say 'migrate' explicitly." metadata: version: "5" --- # Launch with AWS Drives an AWS migration end-to-end using CLI scripts. Takes a user's web application, analyzes it, generates a migration plan with cost estimate, and delivers deployable [AWS Blocks](https://docs.aws.amazon.com/blocks/latest/devguide/what-is-blocks.html) infrastructure code. The AWS MCP server is recommended but is not required. This skill works standalone via its CLI scripts in any agent environment. ## Script Invocation All commands are run via: ```bash python3 scripts/launch_with_aws.py [args...] ``` where `scripts/` is relative to this skill directory. The agent MUST set the working directory to the skill root before invoking commands. Required files: [launch_with_aws.py](scripts/launch_with_aws.py), [launch_config.py](scripts/launch_config.py), [auth.py](scripts/auth.py), [auth_callback_server.py](scripts/auth_callback_server.py), [launch_api_client.py](scripts/launch_api_client.py), [archive.py](scripts/archive.py), [service model](references/launchwithaws-2026-06-15.json). When loaded via MCP, fetch all and write to a temp directory preserving structure before invoking. Each command outputs JSON to stdout on success, or exits non-zero with a JSON error on stderr. Two global flags may be added to any command: `--region ` selects the region the service runs the migration in, and `--aws-mcp-url ` passes the URL of the AWS MCP server the agent is connected to. See step 2. Dependencies: Python 3.10+ and `boto3`. The script checks both on startup and exits with a clear error if either is missing. ## Supported Application Types Full-stack apps built with vibe-coding platforms, and frontend web applications and websites (static sites, SPAs, and SSR frameworks with static export). | Origin Platform | What it covers | |----------------|---------------| | Lovable | Lovable-generated full-stack apps (React + Supabase) | | Bolt.new | Bolt.new-generated full-stack apps (React + Supabase) | | Replit | Replit-hosted full-stack apps (React + Express.js + PostgreSQL) | | Framework | Examples | |-----------|---------| | React ecosystem | React, CRA, Vite + React, Gatsby, Docusaurus | | Vue ecosystem | Vue, Nuxt (static export), VitePress | | Angular | Angular | | Svelte ecosystem | Svelte, SvelteKit (static export) | | SSR with static export | Next.js, Nuxt, Astro, SvelteKit | | Other modern frameworks | Astro, Solid, Preact, Lit, Eleventy | | Vite (generic) | Any Vite-based app | Other frameworks may also work. If the user's app doesn't match these, see **Unsupported Application Handling** below. ### What Gets Migrated vs. What Stays **Lovable / Bolt.new apps (Supabase-backed):** | Component | What happens | |-----------|-------------| | Frontend & hosting | Migrated to AWS (S3 + CloudFront + Lambda) | | Edge functions / server functions | Migrated to AWS Lambda | | AI calls (e.g. Lovable AI Gateway) | Migrated to Amazon Bedrock | | Database (Supabase DB) | Stays on Supabase — not migrated | | Auth (Supabase Auth) | Stays on Supabase — not migrated | | Storage & Realtime | Stays on Supabase — not migrated | The app continues to call Supabase for database, auth, storage, and realtime from the AWS-hosted application. **Replit apps (Express.js + PostgreSQL):** | Component | What happens | |-----------|-------------| | Frontend & hosting | Migrated to AWS (S3 + CloudFront + Lambda) | | Server logic (Express.js) | Migrated to AWS Lambda (API Gateway) | | Database (PostgreSQL) | Schema and code migrated to AWS (Aurora Serverless / DynamoDB). Existing data is NOT migrated — customers must export and import their data separately. | | Auth (Replit Auth) | Code migrated to AWS (Cognito). Existing user accounts are NOT migrated — customers must re-create or invite users in Cognito. | | Realtime (WebSockets) | Migrated to AWS (API Gateway WebSocket) | | File storage | Migrated to AWS (S3). Existing files are NOT migrated. | Replit app infrastructure and code are migrated to AWS-native services, but existing data, user accounts, and files must be migrated separately by the customer. ## Input Resolution Resolve the user's input to a local directory path: - If the user provides a **local path**: pass that path directly. - If the user provides a **GitHub URL**: clone the repository locally and use that directory. - If neither is provided: use the current working directory. If it doesn't look like an app directory, ask the user for the path. ## Flow Run the script commands in order, surfacing results to the user at each step: ### 1. Authentication ```bash python3 scripts/launch_with_aws.py auth-start ``` Always run first. Returns immediately with JSON: - If already authenticated: `{"authenticated": true, "reusedCachedSession": true, "baseUrl": "..."}` - If silent refresh succeeded: `{"authenticated": true, "reusedCachedSession": false, "baseUrl": "..."}` - If interactive sign-in is needed: `{"authenticated": false, "signInUrl": "https://...", "pid": 12345, "port": 54321, "baseUrl": "..."}` When `authenticated` is `false`, **immediately display the `signInUrl` to the user** (so they can open it in their browser) and call `auth-wait` in the same response: ```bash python3 scripts/launch_with_aws.py auth-wait ``` where `` is the `pid` value from the `auth-start` response. This blocks until the user completes browser sign-in (or times out after 600s). Returns `{"authenticated": true, "baseUrl": "..."}` on success. Sessions are capped at 90 days even if the identity provider does not set an expiration; after that the interactive flow is required again. To check the current session without authenticating, or to sign out: ```bash python3 scripts/launch_with_aws.py session-status python3 scripts/launch_with_aws.py sign-out ``` `session-status` reports whether a session exists and how long until the token and overall session expire. `sign-out` best-effort revokes the refresh token and deletes the local `~/.launch-with-aws/session.json`. On shared or untrusted workstations, run `sign-out` when finished. ### 2. Create Launch For a local directory, present this data-handling confirmation verbatim and wait for explicit approval: > Your source code will be uploaded to the Launch with AWS service in **[regionName], [region]** ([sourceLabel]) to analyze your application and generate a migration plan. If you later approve execution, an AWS-hosted agent will modify a copy of your source code according to the plan and produce a migrated snapshot for you to download. Your uploaded source code and associated launch data are encrypted in transit and at rest and retained for up to 48 hours for recovery. Your data is never used to train AI models. We exclude Git history, Git-ignored files, and files matching common sensitive-file patterns. Sensitive-file filtering is best effort; review your project for secrets. Continue? Or reply with **[otherRegions regionName]** to run the migration there instead. Fill in the region fields from `resolve-region`, verbatim, and offer each `otherRegions` entry as an alternative. If the agent is connected to an AWS MCP server, pass that server's URL verbatim. The script reads the region from it and decides whether it counts as a signal. ```bash python3 scripts/launch_with_aws.py resolve-region [--aws-mcp-url https://aws-mcp..api.aws/mcp] ``` Returns `{"region": ..., "regionName": ..., "source": ..., "sourceLabel": ..., "baseUrl": ..., "otherRegions": [{"region": ..., "regionName": ...}]}`. Do NOT call `create-launch` until the user explicitly confirms; a missing or ambiguous response means no. Naming one of `otherRegions` is both a region choice and approval — pass its `region` as `--region` and do not ask again. ```bash python3 scripts/launch_with_aws.py create-launch [name] --region ``` Zips the directory, uploads it, then creates the launch. Returns the full `launch` object including `launch.launchId` and the `region` it was created in, which becomes the user's saved default. **A launch exists only in its own region** — pass its `--region` on every later command. The launch starts in `analyzing` status and automatically progresses through analysis and planning. ### 3. Poll Launch Status ```bash python3 scripts/launch_with_aws.py get-launch-status --region ``` Poll until `status` is `planned` (ready for execution) or `failed`; report any other status to the user. Key status progression: - `analyzing` → detecting app type and dependencies - `planning` → generating migration plan - `planned` → ready for execution - `executing` → deployment in progress - `completed` → done - `failed` → check `failureReason` ### 4. Get Full Launch Details & Confirm ```bash python3 scripts/launch_with_aws.py get-launch plan,cost_estimate --region ``` Get full launch details. Optional second argument is a comma-separated include list: `analysis`, `plan`, `execution`, `cost_estimate`, `download_url`. Present the cost estimate and plan to the user. The `costEstimate` field in the response contains `estimatedMonthlyCost`, `region`, and a `services` breakdown with per-service costs. **Confirmation Gate — present and wait for explicit approval:** > **Migration Summary** > > - App type: [detected type from analysis] > - Architecture: [target architecture from plan] > - Estimated monthly cost: $X.XX/month ([costEstimate.region] pricing) > - Migration runs in: [regionName], [region] > > Ready to proceed? This will execute the migration in an AWS-managed environment (no cost to you) and produce the migrated snapshot for you to download. Do NOT call `start-launch-execution` until the user explicitly confirms. ### 5. Start Execution ```bash python3 scripts/launch_with_aws.py start-launch-execution --region ``` Starts deployment. Then poll with `get-launch-status` until `status` is `completed` or `failed`. Sleep at least 30 seconds between polls. ### 6. Download ```bash python3 scripts/launch_with_aws.py get-launch-download-url --region ``` **Always present the full download URL to the user** — they may need it to download the migrated snapshot directly or for reference. ### 7. List or Delete Launches ```bash python3 scripts/launch_with_aws.py list-launches python3 scripts/launch_with_aws.py delete-launch --region ``` `list-launches` queries both regions and returns `items` with a `region` on each launch; add `--region` to query one. A region that cannot be reached is reported under `errors` instead of failing the command, unless every queried region fails, in which case the command exits with that error. ### 8. Post-Migration: Apply Migrated Code Locally After obtaining the download URL (adapt commands for the user's platform if not POSIX): #### Step A: Download and unpack ```bash curl -L -o /tmp/migration-snapshot.zip "" mkdir -p /tmp/migration-output unzip -o /tmp/migration-snapshot.zip -d /tmp/migration-output ``` #### Step B: Prepare the local workspace Ensure the user's working directory is clean: ```bash cd git status ``` If there are uncommitted changes, ask the user to commit or stash first. Do NOT proceed with a dirty working tree. #### Step C: Apply migration (3-way merge) Create a migration branch and overlay the migrated files: ```bash cd git checkout -b aws-migration rsync -a /tmp/migration-output/ . git status git diff --stat ``` Review the changes with the user. Key additions to highlight: - `aws-blocks/` — AWS Blocks infrastructure definition - `DEPLOY.md` — deployment instructions - Any modified config files If there are conflicts with the user's existing files, present them and ask how to resolve. #### Step D: Follow DEPLOY.md Read the `DEPLOY.md` file in the project root and follow its instructions to deploy the app to the user's AWS account. Typical steps: 1. AWS authentication (`aws login --profile aws-migrate --region us-east-1`) 2. CDK bootstrap (first-time only): `npm install && npx cdk bootstrap` 3. Deploy: `npx cdk deploy --all --progress events` 4. Verify the CloudFront URL that CDK prints on completion. **Important:** Always read `DEPLOY.md` from the migrated output — it is generated specifically for this app and architecture. Do not assume deployment steps from memory. ## Unsupported Application Handling If a launch fails during analysis with a `failureReason` indicating an unsupported app type (or the user's stack doesn't match the supported list): 1. Tell the user: "This app type isn't directly supported by Launch with AWS yet. Let me search for other skills that can help deploy this kind of application." 2. Search for relevant skills based on the app type (e.g. `aws-serverless`, `aws-containers`, `aws-database`, `aws-deployment`, `aws-cdk`, `aws-ai-ml`).

相关技能

运维与云

Docker Essentials

用于容器管理,图像操作,调试的基本道克命令和工作流程.

运维与云

Find Skills

从开放的代理技能生态系统中发现并安装技能. 使用时:(1)用户问"我如何做X",X可能拥有现有技能,(2)用户说"为X找到技能"或"是否为X有技能",(3)用户问"你能否做X",X是专门能力,(4)用户想扩展代理能力,(5)用户想搜索工具,模板,或工作流程,(6)用户提到他们希望…

运维与云

Microsoft Foundry

构建,部署,评价,优化,微调,管理微软创始代理,模型,资源最终结束. 用法:铸造、azd ai代理、azd 提供/部署、托管代理脚手架/开发/运行/部署/拖放、即时代理创建、创建代理、更新代理、添加代理工具、援引代理、代理.yaml、评估代理、批量活化、连续活化、持续监测、代理C…

运维与云

Azure Deploy

执行已有.azure/部署计划.md和基础设施文件的ALREADY-PREPARED应用程序的Azure部署。 当用户向 CREATE 请求新应用程序时, 请不要使用此技能 。 这种技能运行了 azd上行, azd 部署, trarraform 应用, 和 az 部署命令带有内置…