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★ 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:
$ARGUMENTScontains an explicit access-request phrase —model access,request access,enable model access,just access, orpreflight(and no source-code path). Do not route on the bare wordsenableoraccessalone — "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
Установить llm-to-bedrock в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic