aws-bedrock

aws-bedrock is a skill for Claude Code, Codex from ashish7802/awesome-api-skills. It costs 0 tokens per session (737 once invoked), scanned A, original, MIT.

A managed AWS service for calling foundation models, which are general-purpose AI models that can generate or understand text and other content. Its common conversation interface keeps request formats similar across supported model providers.

In plain words
What is it for?
Use it to send single or streaming conversations to models such as Claude, Amazon Nova, Llama, and Mistral, with prompts, guardrails, and tool calls through AWS.
Why use it?
It avoids writing a different conversation request format for every supported model. AWS identity and access controls can restrict which applications are allowed to call the models.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to send single or streaming conversations to models such as Claude, Amazon Nova, Llama, and Mistral, with prompts, guardrails, and tool calls through AWS.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ashish7802/awesome-api-skills/aws-bedrock
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ashish7802/awesome-api-skills --skill aws-bedrock
Clone the repo
git clone --depth 1 https://github.com/ashish7802/awesome-api-skills

Made for: Claude Code, Codex.

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 aws-bedrock

README.md
[![agentmods](https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/aws-bedrock/github.svg)](https://agentmods.dev/skills/ashish7802/awesome-api-skills/aws-bedrock)
Your own site
<a href="https://agentmods.dev/skills/ashish7802/awesome-api-skills/aws-bedrock"><img src="https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/aws-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 aws-bedrock

Your own site · 80×15
<a href="https://agentmods.dev/skills/ashish7802/awesome-api-skills/aws-bedrock"><img src="https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/aws-bedrock.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 737 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00000 $0.00737
Opus 5.5 $0.00000 $0.00295
Sonnet 5.5 $0.00000 $0.00147
Haiku 4.5 $0.00000 $0.00074

Measured 12d ago against content hash 0df09c26175c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aws-bedrock scanned grade A with 0 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (examples/quickstart.ts), 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/aws-bedrock/SKILL.md · 51 lines

How it starts

The opening of the file, as written. The whole thing — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AWS Bedrock Runtime Skill

Verification Tier: code_example_tested | Last Verified: 2026-11-18
Official Docs: https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference.html

Overview

Amazon Bedrock provides managed access to foundation models (Anthropic Claude, Amazon Nova, Meta Llama, Mistral) inside AWS. The unified Converse and ConverseStream APIs eliminate model-specific JSON payload formatting differences across providers.

Installation

npm install @aws-sdk/client-bedrock-runtime
pip install boto3

Authentication

Use AWS IAM Roles (ECS Task Role, Lambda Execution Role, EKS IRSA, or SSO profiles) with AWS Signature Version 4. Grant least-privilege bedrock:InvokeModel and bedrock:InvokeModelWithResponseStream permissions scoped to specific model or inference profile ARNs. Never embed long-lived static AWS_SECRET_ACCESS_KEY values in code.

Core Concepts

  • ConverseCommand / ConverseStreamCommand: Unified message, system prompt, guardrail, and tool-calling contract across supported Bedrock models.
  • Cross-Region Inference Profiles: Newer models often require inference profile IDs (e.g., us.anthropic.claude-sonnet-4-20250514-v1:0) rather than bare on-demand model IDs.
  • Bedrock Guardrails: Apply server-side content filtering and PII redaction via guardrailConfig.

Error Handling & Rate Limits

  • Handle ThrottlingException (HTTP 429) and ServiceUnavailableException (HTTP 503) using AWS SDK adaptive retry mode (retryMode: "adaptive", maxAttempts: 5).
  • Check response.stopReason (end_turn, tool_use, max_tokens, guardrail_intervened).

Security Best Practices

  • Use VPC Interface Endpoints (AWS PrivateLink) to keep prompts off the public internet.
  • Scope IAM policy resources to explicit model/inference-profile ARNs rather than Resource: "*".
  • Enable CloudWatch Model Invocation Logging only with PII-safe S3 buckets and KMS encryption.

AI Pitfalls

  • Using legacy InvokeModelCommand with brittle provider-specific JSON bodies instead of ConverseCommand.
  • Passing bare foundation model IDs when the model requires a regional inference profile ID (ValidationException).
  • Instantiating new BedrockRuntimeClient() inside a Lambda handler instead of reusing a module-scoped client.

Read the full file on GitHub · 51 lines

Files

What ships with it

2 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. 12d ago First seen · 51 lines · 0 tokens per session scan A 0df09c26175c

Subscribe to this mod's changes

aws-bedrock is a skill published in the GitHub repository ashish7802/awesome-api-skills (13 stars, last pushed 12d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 737 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-19.

Related

aws-bedrock compared with skills from other repositories

aws-bedrock next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aws-bedrockashish7802/awesome-api-skillsSkill1312d agoMITA0Claude Code, Codex
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
cost-aware-llm-pipelinehashgraph-online/awesome-codex-pluginsSkill1.6ktodayApache-2.0A42Claude Code, Codex
naturalNPC-Worldwide/npcpySkill1.5k2d agoMITA41Claude Code, Codex
agentica-promptsparcadei/Continuous-Claude-v3Skill4.0k14d agoMITB21Claude Code
loom-prompt-engineeringcosmix/loomSkill66yesterdayMITA34Claude Code
happyhorse-promptercclank/lanshu-awesome-ai-video-kitSkill4701mo agoMITA116Claude Code, Codex