AWS Bedrock Guide
A reference skill with CLI and boto3 patterns for invoking Bedrock foundation models, streaming, embeddings and RAG.
Dev & CodingIntermediate★ 1,146⑂ 445AI score 9/10Last updated: Aug 10, 2026
What it does
Gives Claude a practical reference for working with Amazon Bedrock:
- Foundation model overview (Claude, Titan, Llama, Mistral, Stable Diffusion) and model-access requirements
- Comparison of On-Demand, Provisioned Throughput and Batch inference
- boto3 snippets for model invocation, streaming responses, embeddings and multi-turn conversations
- CLI tables for Bedrock control plane, runtime and agent runtime (retrieve / retrieve-and-generate)
- Cost, performance and security best practices plus a least-privilege IAM policy
- Troubleshooting for AccessDenied, ModelNotReady, Throttling and Validation errors
Who it's for
- Backend/ML engineers building generative AI apps on AWS
- Teams standing up internal chatbots or RAG pipelines on Bedrock
- Cloud engineers debugging Bedrock permissions and quotas
Examples
- "Write a Python function that streams Claude output from Bedrock" → generator code using
invoke_model_with_response_stream - "Embed my docs with Titan" →
amazon.titan-embed-text-v2:0call with dimensions and normalize options - "I keep getting AccessDeniedException" → model access check plus
iam simulate-principal-policydiagnosis
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/itsmostafa/aws-agent-skills/HEAD/skills/bedrock/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/bedrock folder from the GitHub repo itsmostafa/aws-agent-skills into my ~/.claude/skills/bedrock/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/itsmostafa/aws-agent-skills.git && mkdir -p ~/.claude/skills && cp -r aws-agent-skills/skills/bedrock ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repo:
git clone https://github.com/itsmostafa/aws-agent-skills.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r aws-agent-skills/skills/bedrock ~/.claude/skills/ - Restart Claude Code and ask something like "help me invoke a Bedrock model" to trigger the skill.
- For real runs you also need the AWS CLI installed, credentials via
aws configure, and model access approved in the Bedrock console.
View source on GitHub ↗License: MIT