Command Palette

Search for a command to run...

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

llm-to-bedrock

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

Use to migrate code that calls OpenAI, Gemini/Google AI, or the Anthropic API to Amazon Bedrock — a pure model/SDK rewrite. End-to-end: assesses the codebase…

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

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

Migrate to Bedrock (Assess + Execute)

Single-command AI migration: OpenAI / Gemini / Anthropic → Amazon Bedrock.

Requires the bedrock-migration-assessment skill installed alongside this one. This skill has no Assess implementation of its own. Phase A below runs Assess by reading and executing bedrock-migration-assessment's own instruction files in this same session (Discover, Clarify, Design and Estimate for an AI-only migration), then confirms the result with that skill's readiness script. There is no cross-skill tool call and no turn boundary, so your agent does not need a Skill or subagent dispatch mechanism: reading a file works on any agent. There is no fallback that performs Assess itself. If you installed this skill on its own (for example with a single-skill npx skills add), install bedrock-migration-assessment too before using it.

The skill base directory is given in the "Base directory for this skill: X" line the harness emits at load time. Call it <SKILL_BASE>. Derived paths:

  • $SCRIPTS = <SKILL_BASE>/scripts
  • $HELPERS = <SKILL_BASE>/references/helpers (the former helper skills, now references)
  • $BMA_BASE = <SKILL_BASE>/../bedrock-migration-assessment, the assessment skill's own directory, checked in Step 0b. Phase A reads its instruction files from this path. Inside a bedrock-migration-assessment file, <SKILL_BASE> and every relative reference (references/..., scripts/...) mean $BMA_BASE, exactly as they would if that skill were running on its own.

Optional usage telemetry

Before starting or resuming, load references/vendored/telemetry/PROTOCOL.md and run its read-only status check. Use the returned reporting mode rather than the model's identity. Complete the existing notice exchange only when that protocol requires it; unavailable or declined telemetry never blocks this skill.

Step 0 — Check prerequisites

0a. Check that uv is available

uv --version 2>/dev/null || echo "MISSING"

If missing: "Install uv first — see the official install guide: https://docs.astral.sh/uv/getting-started/installation/ (e.g. brew install uv or pipx install uv)". Stop.

0a-bis. Route: full migration vs. access-only

This skill has two modes. Decide which the user wants before the Assess-skill check (0b). The access-only mode does not use bedrock-migration-assessment at all, so requiring it there would block a user who only wants access enablement.

If the user wants the Claude apps themselves (Claude Desktop or Claude Code) running on Bedrock, with no application code to migrate, stop and use claude-apps-to-bedrock instead. It calls this skill's Access-only mode for the model-access step when both are installed.

Route to Access-only mode (jump to the "## Access-only mode" section below, skip 0b and Steps 1+) when either is true:

  • $ARGUMENTS contains an explicit access-request phrase — model access, request access, enable model access, just access, or preflight (and no source-code path). Do not route on the bare words enable or access alone — "enable the Bedrock rewrite" is a full migration, not an access request. When in doubt, use the AskUserQuestion below rather than the keyword. Or
  • the user's request is about getting Bedrock model access enabled rather than rewriting code — e.g. "help me request access to Claude on Bedrock", "enable GPT models on Bedrock", "which models do I need to turn on", "I just want access, my engineers will do the migration".

If it is ambiguous (the user mentions both a codebase and access), AskUserQuestion:

"Two things I can do — which do you want? [Full migration] Rewrite your OpenAI/Gemini/Anthropic calls for Bedrock end-to-end. [Just model access] Check and walk you through enabling Bedrock access for specific models, no code changes."

[Just model access] → Access-only mode. [Full migration] → continue to 0b.

Otherwise (a code path / clear rewrite intent) → continue to 0b for the full migration.

0b. Check that bedrock-migration-assessment is installed

Phase A below runs Assess by reading and executing bedrock-migration-assessment's own phase instruction files (Discover, Clarify, Design, Estimate) in this same session, and then runs its $BMA_BASE/scripts/readiness.py. There is no Assess logic in this skill to fall back to. bedrock-migration-assessment is a separate skill, not bundled inside this one: a single-skill install (for example npx skills add ... --skill llm-to-bedrock) does not bring it along. Check for it now, before promising the user an Assess phase this deployment cannot run:

if [ -f "<SKILL_BASE>/../bedrock-migration-assessment/SKILL.md" ] && [ -f "<SKILL_BASE>/../bedrock-migration-assessment/scripts/readiness.py" ]; then
  echo BMA_PRESENT
else
  echo BMA_MISSING
fi

This checks the sibling directory relative to <SKILL_BASE>, which works under any install path: a native plugin ins

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

Установить llm-to-bedrock в Claude Code и Claude Desktop

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

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

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

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

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

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

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

references/helpers/bedrock-known-fixes/bedrock-known-fixes.mdreferences/helpers/bedrock-known-fixes/references/bedrock-iam-inference-profile.mdreferences/helpers/bedrock-known-fixes/references/bedrock-inference-profile-model-id.mdreferences/helpers/bedrock-known-fixes/references/bedrock-response-key-casing.mdreferences/helpers/bedrock-known-fixes/references/bedrock-vision.mdreferences/helpers/bedrock-known-fixes/references/bedrock-vision.py.templatereferences/helpers/behavior-delta-detection/behavior-delta-detection.mdreferences/helpers/behavior-delta-detection/references/anthropic-to-bedrock.mdreferences/helpers/behavior-delta-detection/references/gemini-to-bedrock.mdreferences/helpers/behavior-delta-detection/references/openai-to-bedrock.mdreferences/helpers/dependency-conflict-resolution/dependency-conflict-resolution.mdreferences/helpers/resolve-bedrock-model-id/resolve-bedrock-model-id.mdreferences/helpers/run-source-model-baseline/run-source-model-baseline.mdreferences/vendored/README.mdreferences/vendored/ai/bedrock-pricing.jsonreferences/vendored/ai/models/anthropic-bedrock.jsonreferences/vendored/ai/models/openai-bedrock.jsonreferences/vendored/telemetry/PROTOCOL.mdreferences/vendored/telemetry/cli.pyreferences/vendored/telemetry/consent/accept.pyreferences/vendored/telemetry/consent/cli.pyreferences/vendored/telemetry/consent/notice.pyreferences/vendored/telemetry/consent/opt_out.pyreferences/vendored/telemetry/consent/record.pyreferences/vendored/telemetry/metric_emission/client.pyreferences/vendored/telemetry/metric_emission/migration.pyreferences/vendored/telemetry/metric_emission/migration_attributes.pyreferences/vendored/telemetry/version.jsonscripts/bedrock_pricing.pyscripts/iam_policy.pyscripts/image_input.pyscripts/model_catalog.pyscripts/model_identity.pyscripts/preflight_bedrock.pyscripts/pyproject.tomlscripts/render_report.pyscripts/resolve_source_model.pyscripts/schemas/analysis.jsonscripts/schemas/delta-decisions.jsonscripts/schemas/eval.json

FAQ

Что делает скилл llm-to-bedrock?

Use to migrate code that calls OpenAI, Gemini/Google AI, or the Anthropic API to Amazon Bedrock — a pure model/SDK rewrite. End-to-end: assesses the codebase, optionally captures OpenAI, OpenRouter, or Anthropic cost and token usage through consent-gated provider APIs, rewrites SDK calls, evaluates output quality against Bedrock, and delivers a ready-to-merge branch. Also has an access-only mode for checking or enabling Bedrock model access for specific models (e.g. 'request access to Claude on Bedrock', 'which models do I turn on') with no code migration — it checks each model and walks the access step, then stops. Not for agent runtime selection or agent migration planning (use agent-advisor), self-hosted LLM batch inference (use self-hosted-llm-batch-inference), nor standalone cost estimates or infra-only migration. The full migration REQUIRES bedrock-migration-assessment installed alongside this skill; access-only mode does not need it.

Как установить скилл llm-to-bedrock?

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

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

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

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

Сравнить llm-to-bedrock с