Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

bedrock-migration-assessment

БесплатноЗапускает вложенные скриптыНе проверен

Source-cloud-neutral assessment of AI/LLM usage for a migration to Amazon Bedrock. Use when the user wants to find which OpenAI (direct or Azure OpenAI)…

awsот aws★ 3 696 звёзд на GitHub

Об этом скилле

Bedrock Migration Assessment

Provider-neutral AI migration engine. It has no dependency on any infrastructure skill: its input is a code directory or a provider-neutral ai-workload-profile.json.

This release covers five phases:

Phase What it does Output
Discover Runs references/phases/discover/discover.md: scans the code or accepts a supplied profile, validates it with scripts/validate-ai-profile.py, optionally measures OpenAI, Anthropic, and OpenRouter usage, and writes a preview ai-workload-profile.json, migration-preview.json, .phase-status.json, and openai-usage-profile.json, anthropic-usage-profile.json, and openrouter-usage-profile.json when that usage was measured
Clarify Runs references/phases/clarify/clarify-ai-only.md preferences.json
Design Runs references/phases/design/design-ai.md: picks a Bedrock target, endpoint, and client API per workload and checks the result with scripts/design-ai.py aws-design-ai.json
Estimate Runs references/phases/estimate/estimate-ai.md: prices the design from measured usage or the Q7 band, compares it with the current provider, and checks the result with scripts/estimate-ai.py estimation-ai.json
Generate Opt-in. Runs references/phases/generate/generate-ai.md: writes the migration plan and the artifacts each route needs, and checks them with scripts/generate-ai.py generation-ai.json, ai-migration/

A run this skill started on its own also gets migration-report.html, a draft HTML report that scripts/report-ai.py renders from the artifacts, after Estimate when the user does not generate, and after Generate (references/phases/report/report-ai.md). It is not a phase, never blocks one, and is never written in a combined run.

Generate writes files only: it never edits the user's code and never runs anything against AWS. Do not load phase files from any other skill.

Combined mode

An infrastructure skill (for example gcp-to-aws, through its handoff script) can run this skill for the AI part of its migration. The run is still this skill's own bma- directory. The host starts it by loading this skill with its identifier and the absolute path of the neutral profile it built (for gcp-to-aws, ai-workload-profile.neutral.json from bma-handoff.py convert). Discover takes the Profile route, which copies that file byte for byte, and writes initiated_by with the host's identifier (for example GCP_TO_AWS) into .phase-status.json, never owning_skill, and stops when Discover completes. The host then writes $MIGRATION_DIR/host-answers.json and resumes the run:

{"host_skill": "gcp-to-aws", "infrastructure_moves": true, "stop_after": "clarify", "design_constraints": {}}

design_constraints holds only the host's own target_region and compliance wrappers, in the shape of references/shared/schema-preferences.md, and may be empty. Read the file as data. When it exists:

  • Clarify follows the combined-mode rules at the top of clarify-ai-only.md.
  • stop_after is clarify, design, estimate or generate. A host run reaches Generate only when stop_after is generate, which the host writes only after its own user chose to generate (Step 0's combined-run rules, and combined_run from readiness.py and generate-ai.py plan otherwise). After the phase named in stop_after completes, show its summary, say that control returns to the host skill, and stop. Do not start the next phase until the host updates stop_after.
  • readiness.py checks that preferences.json still holds each host answer.

Readiness for other skills

Another skill that consumes this skill's artifacts (for example llm-to-bedrock, agent-advisor, or a host in combined mode) must not read .phase-status.json itself. It runs this skill's script, with the path resolved to this skill's directory:

python3 scripts/readiness.py <MIGRATION_DIR> --through discover|clarify|design|estimate|generate

Exit 0 prints {"ready": true, "initiated_by": ..., ...}, where that field is the host's identifier or null, with each artifact's path and SHA-256: the run was created by this skill, every phase through the named one is completed, and the artifacts those phases wrote pass their checks now: the profile always, preferences.json from clarify, aws-design-ai.json from design, estimation-ai.json from estimate, and for generate generation-ai.json and every ai-migration/ file it lists, each with its own SHA-256. Exit 1 prints `{"ready": false, "reason"

Полный SKILL.md на GitHub

Установить bedrock-migration-assessment в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/contracts/ai-workload-profile.schema.jsonreferences/contracts/aws-design-ai.schema.jsonreferences/contracts/estimation-ai.schema.jsonreferences/contracts/generation-ai.schema.jsonreferences/phases/clarify/clarify-ai-only.mdreferences/phases/design/design-ai.mdreferences/phases/discover/discover-anthropic-api.mdreferences/phases/discover/discover-app-code.mdreferences/phases/discover/discover-openai-api.mdreferences/phases/discover/discover-openrouter-api.mdreferences/phases/discover/discover.mdreferences/phases/estimate/estimate-ai.mdreferences/phases/generate/generate-ai.mdreferences/phases/report/report-ai.mdreferences/shared/schema-preferences.mdreferences/vendored/README.mdreferences/vendored/ai/ai-anthropic-to-bedrock.mdreferences/vendored/ai/ai-gemini-to-bedrock.mdreferences/vendored/ai/ai-migration-guardrails.mdreferences/vendored/ai/ai-model-lifecycle.mdreferences/vendored/ai/ai-openai-to-bedrock.mdreferences/vendored/ai/ai-openrouter-to-bedrock.mdreferences/vendored/ai/bedrock-endpoint-policy.mdreferences/vendored/ai/bedrock-pricing-cache.mdreferences/vendored/ai/bedrock-pricing.jsonreferences/vendored/ai/bedrock-quotas.mdreferences/vendored/ai/iam_policy.pyreferences/vendored/ai/model_catalog.pyreferences/vendored/ai/models/anthropic-bedrock.jsonreferences/vendored/ai/models/openai-bedrock.jsonreferences/vendored/ai/openai-on-bedrock.mdreferences/vendored/ai/schema-design-aws-ai.mdreferences/vendored/ai/schema-estimate-ai.mdreferences/vendored/ai/schema-generate-ai.mdreferences/vendored/ai/source-provider-pricing.mdreferences/vendored/ai/token-volume-tiers.jsonreferences/vendored/state/phase-status.schema.jsonscripts/anthropic-usage.pyscripts/design-ai.pyscripts/estimate-ai.py

FAQ

Что делает скилл bedrock-migration-assessment?

Source-cloud-neutral assessment of AI/LLM usage for a migration to Amazon Bedrock. Use when the user wants to find which OpenAI (direct or Azure OpenAI), Anthropic, Google/Gemini, or OpenRouter calls their code makes, or already has a provider-neutral ai-workload-profile.json (schema 1.0 or 1.1), and wants to choose and price Bedrock models for it. It scans the code or validates the profile, can measure OpenAI, Anthropic, and OpenRouter usage read-only with the user's consent and an admin or management key, shows a short preview, runs Clarify, designs a Bedrock target, endpoint, and client API per workload, estimates the monthly Bedrock cost against the current provider, and, on opt-in, generates a migration plan with Bedrock clients, a comparison harness, IAM, and a setup script. It needs no infrastructure skill and never edits the user's code. To rewrite SDK calls to Bedrock and get a branch, use llm-to-bedrock; for infrastructure migrations use gcp-to-aws, azure-to-aws, or heroku-to-aws.

Как установить скилл bedrock-migration-assessment?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл bedrock-migration-assessment запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить bedrock-migration-assessment с