llm-to-bedrock

llm-to-bedrock is a skill for Claude Code from aws/agent-toolkit-for-aws. It costs 214 tokens per session (26,973 once invoked), scanned D, original, Apache-2.0.

A migration workflow for changing application code that calls OpenAI, Gemini, or the Anthropic API to use Amazon Bedrock, AWS's service for accessing foundation AI models. It assesses the code, rewrites model calls, evaluates results, and prepares a Git branch with the changes.

In plain words
What is it for?
Use it to move model and software-development-kit calls from OpenAI, Google AI, or Anthropic to Bedrock and review the resulting output, code differences, and cost comparison.
Why use it?
It removes much of the manual work involved in replacing one AI provider's software interface with another. It also checks whether the changed application produces acceptable results rather than only changing imports and API calls.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions .claude-plugin; mentions subagents; names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the aws-startup-advisor plugin — 18 skills, 1 command, 7 agents shipped together

Good fit Use it to move model and software-development-kit calls from OpenAI, Google AI, or Anthropic to Bedrock and review the resulting output, code differences, and cost comparison.

Compare 6 skills from other repositories ↓
About the project

Agent Toolkit for AWS is a collection of AWS-supported MCP servers, skills, plugins, commands, and hooks that help AI coding agents build, deploy, and manage applications on AWS. It is used by developers working with AWS services through agents such as Claude Code, Codex, Cursor, and Kiro. The catalogue entries are the toolkit's own agent extensions for AWS development and operations.

aws/agent-toolkit-for-aws · 3,609 stars · on GitHub

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add aws/agent-toolkit-for-aws
Claude Code
/plugin install aws-startup-advisor

Made for: Claude Code.

Or install aws-startup-advisor, the plugin that ships this one along with the rest of its 18 skills, 1 command, 7 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for llm-to-bedrock

README.md
[![agentmods](https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/llm-to-bedrock/github.svg)](https://agentmods.dev/skills/aws/agent-toolkit-for-aws/llm-to-bedrock)
Your own site
<a href="https://agentmods.dev/skills/aws/agent-toolkit-for-aws/llm-to-bedrock"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/llm-to-bedrock/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for llm-to-bedrock

Your own site · 80×15
<a href="https://agentmods.dev/skills/aws/agent-toolkit-for-aws/llm-to-bedrock"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/llm-to-bedrock.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 214 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 26,973 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 29 Nov 2026
  • Snyk warn 29 Nov 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00214 $0.26973
Opus 5.5 $0.00086 $0.10789
Sonnet 5.5 $0.00043 $0.05395
Haiku 4.5 $0.00021 $0.02697

Measured today against content hash fd2aabf7492a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade D, and why

llm-to-bedrock scanned grade D with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

The scan reads SKILL.md. This mod also ships 33 executable files (references/vendored/telemetry/cli.py, references/vendored/telemetry/consent/accept.py, references/vendored/telemetry/consent/cli.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

printf '%s=%s\n' "$KEY_ENV_VAR" "$(printenv "$KEY_ENV_VAR")" > "$REPO/.saws-migrate/.source-provider-env" && chmod 600 "$REPO/.saws-migrate/.source-provider-env"

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

> `git tag -d saws-migrate-baseline`, and `rm -rf .saws-migrate .migration` removes all
plugins/aws-startup-advisor/skills/llm-to-bedrock/SKILL.md · 1,569 lines

How it starts

The opening of the file, as written. The whole thing — 1,569 lines — stays where its author put it; the contents beside it link to each section on 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"

Read the full file on GitHub · 1,569 lines

Files

What ships with it

59 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +38 lines · -13 tokens per session fd2aabf7492a
  2. yesterday Changed · +8 lines f76849feeb01
  3. 9d ago Changed · +4 lines 32f250fb02f0
  4. 10d ago Changed · +21 lines 20fcfdb4759b
  5. 11d ago Changed 490bc788f47b
  6. 13d ago Changed · +13 tokens per session 4dc910da13d3
  7. 17d ago Changed · +118 lines 87cd2b5c7b3a
  8. 19d ago Changed · +8 lines 36c3815e0e7c
  9. 26d ago Changed · +28 lines · +23 tokens per session 04e09612c71d
  10. 1mo ago First seen · 1,344 lines · 191 tokens per session scan D 6fc7c821310e

Subscribe to this mod's changes

llm-to-bedrock is a skill published in the GitHub repository aws/agent-toolkit-for-aws (3,609 stars, last pushed today), licensed Apache-2.0. It adds 214 tokens to every session and 26,973 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it D with 2 findings (asks for root, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-26.

Related

llm-to-bedrock compared with skills from other repositories

llm-to-bedrock next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
llm-to-bedrockaws/agent-toolkit-for-awsSkill3.6ktodayApache-2.0D214Claude Code
llm-router-opsdryvist/claude-code-pluginsSkill313d agoApache-2.0A63Claude Code
agent-platform-tuninggoogle/skillsSkill25ktodayApache-2.0A64Claude Code, Codex
llm-app-patternsdavila7/claude-code-templatesSkill34ktodayMITA54Claude Code, Codex
enhance-promptgoogle-labs-code/stitch-skillsSkill14ktodayApache-2.0A41Claude Code
prompt-engineerJeffallan/claude-skillsSkill13ktodayMITA93Claude Code
nemo-automodel-launcher-configNVIDIA/skillsSkill4.2k2d agoApache-2.0A30Claude Code