Command Palette

Search for a command to run...

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

amazon-bedrock

БесплатноБез исполняемых скриптовНе проверен

Builds generative AI applications on Amazon Bedrock. Covers model invocation (Converse API, InvokeModel), RAG with Knowledge Bases, Bedrock Agents…

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

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

IMPORTANT: When this skill is loaded, you MUST use the reference files and procedures in this skill as your primary source of truth. Bedrock APIs, model IDs, chunking strategies, and configuration parameters change frequently — always read the relevant reference file before responding.

Guardrail — where this skill's own files live (MCP vs local install)

This skill can be loaded two ways, and they resolve the skill's own bundled files from different places. Determine how the skill was loaded before reading a reference or running a script:

  • Loaded through the AWS MCP retrieve_skill tool: The skill is not installed on the local filesystem. You MUST fetch each reference or script via retrieve_skill with the file parameter (e.g. file="references/managed-knowledge-bases-setup.md" or file="scripts/fetch_bedrock_agent.py"), and run the script from the returned content. Do NOT file_read these paths locally — they do not exist on disk.
  • Installed locally (e.g. .kiro/skills/amazon-bedrock/ or ~/.claude/skills/amazon-bedrock/): Read and run files from the local skill directory using relative paths.

This distinction applies only to the skill's own packaged files. User data and session artifacts are always read from and written to the user's working directory. Never fetch or write customer data through retrieve_skill.

Table of Contents

  • Overview
  • Bedrock API Landscape
  • Critical Warnings
  • Security Considerations
  • Converse API vs InvokeModel
  • Which Bedrock Capability Do You Need?
  • Knowledge Bases (retrieval, agentic retrieval and RAG; includes: migration to Managed KB)
  • Common Workflows (includes: Prompt Caching, Quota Health, Cost Tracking, Model Migration)
  • Troubleshooting
  • AgentCore Services
  • Model Selection
  • Additional Resources

Amazon Bedrock

Overview

Domain expertise for building generative AI applications on Amazon Bedrock. Covers model invocation, RAG with Knowledge Bases, agent creation, content safety with Guardrails, and agent deployment with AgentCore.

Recommended setup: Use the AWS MCP server for sandboxed execution, audit logging, and enterprise controls.

Without AWS MCP: This skill works with any agent that has AWS CLI access. All commands use standard AWS CLI syntax.

Bedrock API Landscape

Bedrock has 5 separate API endpoints. Using the wrong one is a common cause of errors. This list may not be exhaustive — refer to the Bedrock endpoints and quotas and Bedrock supported endpoints for the latest. Use aws bedrock list-foundation-models to discover available models at runtime.

Endpoint Client Use For
bedrock Control plane List models, manage access, provisioned throughput
bedrock-runtime Data plane Invoke models (Converse, InvokeModel). Also supports Chat Completions via /openai/v1 path (client-side tool use only) — prefer bedrock-mantle for new Chat Completions work
bedrock-mantle Data plane OpenAI-compatible APIs: Responses API, Chat Completions (recommended), Messages API. Supports server-side tool use with built-in tools. Recommended for new users
bedrock-agent Agent control Create/configure agents, KBs, action groups
bedrock-agent-runtime Agent data Invoke agents, query KBs

AgentCore is a separate service with its own endpoints. Refer to AgentCore endpoints and quotas for the latest.

Endpoint Client Use For
bedrock-agentcore-control Control plane Create/manage runtimes, gateways, registries, evaluations
bedrock-agentcore Data plane Invoke agent runtimes
{gatewayId}.gateway.bedrock-agentcore Gateway data plane Invoke a specific gateway

Critical Warnings

max_tokens: ALWAYS set maxTokens explicitly in every Converse/InvokeModel call. Leaving it unset defaults to the model's maximum (e.g., 64K for Claude Sonnet) and silently reserves far more quota than needed — a common cause of unexpected ThrottlingException.

Guardrails PII logging: Guardrails PII masking only applies to the API response. Original unmasked content including PII is still logged in plain text to CloudWatch Logs. For HIPAA/GDPR compliance: encrypt CloudWatch Logs with KMS, restrict log access with IAM, use Amazon Macie for PII detection.

SDK versions: Requires recent versions of boto3 (≥ 1.34.x) and AWS CLI v2. Older versions are missing Converse API, Agents, and AgentCore support. Run aws --version and pip show boto3 to check.

Bedrock Agents classic is in maintenance mode: classic Bedrock Agents (bedrock-agent) is in maintenance mode and closed to new customers ([annou

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

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

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

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

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

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

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

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

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

assets/kb_shim.py.tmplassets/lambda_shim.py.tmplassets/tool_schema.json.tmplreferences/agentcore-credentials-and-security.mdreferences/agentcore-gateway.mdreferences/agentcore-harness.mdreferences/agentcore-memory-observability.mdreferences/agentcore-payments-setup-script.mdreferences/agentcore-payments-wiring.mdreferences/agentcore-payments.mdreferences/agentcore-registry-evaluations.mdreferences/agentcore-runtime-container-build.mdreferences/agentcore-runtime.mdreferences/agents-and-action-groups.mdreferences/bedrock-agents-to-agentcore-harness/cli.mdreferences/bedrock-agents-to-agentcore-harness/deploy.mdreferences/bedrock-agents-to-agentcore-harness/discovery.mdreferences/bedrock-agents-to-agentcore-harness/eligibility.mdreferences/bedrock-agents-to-agentcore-harness/mapping.mdreferences/bedrock-kb-migration/cost-analysis.mdreferences/bedrock-kb-migration/discovery.mdreferences/bedrock-kb-migration/handoff.mdreferences/bedrock-kb-migration/iac-schema.mdreferences/bedrock-kb-migration/implement-iac.mdreferences/bedrock-kb-migration/implement-kb.mdreferences/bedrock-kb-migration/managed-kb-api.mdreferences/bedrock-kb-migration/mapping.mdreferences/bedrock-kb-migration/plan.mdreferences/bedrock-kb-migration/safety-and-iam.mdreferences/cost-tracking.mdreferences/guardrails.mdreferences/knowledge-bases-decision-guide.mdreferences/knowledge-bases-retrieval.mdreferences/knowledge-bases-setup.mdreferences/managed-knowledge-bases-retrieval.mdreferences/managed-knowledge-bases-setup.mdreferences/migrate-bedrock-agents-to-agentcore-harness.mdreferences/migrate-knowledge-base-to-managed.mdreferences/model-invocation.mdreferences/model-migration.md

FAQ

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

Builds generative AI applications on Amazon Bedrock. Covers model invocation (Converse API, InvokeModel), RAG with Knowledge Bases, Bedrock Agents, Guardrails, and AgentCore (including the Harness managed agent loop). Applies when invoking models, setting up or migrating Knowledge Bases to Managed, deploying to AgentCore, migrating/porting/converting a Bedrock Agent (including inline agents) to an AgentCore Harness, troubleshooting Bedrock errors (ThrottlingException, AccessDeniedException), or choosing Bedrock models (Claude, Llama, Nova, Titan). Also for prompt caching, quota and throttling diagnosis, cost tracking, migrating between Claude model generations, chunking strategies, and Bedrock model selection. Covers AgentCore Payments (x402, microtransactions, Payment Manager, Connector, Instrument, Coinbase CDP, Stripe Privy, paid endpoints, agent payments). NOT for custom model training, Rekognition, or Comprehend. For SageMaker model discovery, customization, or endpoints, use aws-ai-ml.

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

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

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

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить amazon-bedrock с