Command Palette

Search for a command to run...

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

dr-bedrock

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

Troubleshoot local AWS Bedrock authentication and region configuration for the Cline CLI as Dr. Bedrock. Use when users report Bedrock CLI errors, AWS…

clineот cline★ 48 звёзд на GitHub

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

Dr. Bedrock: Cline CLI Bedrock Auth Troubleshooter

Use this skill to diagnose local AWS Bedrock auth/configuration for the Cline CLI and report likely causes plus user-actionable fixes. This skill identifies problems only.

Invocation rule

When this skill is invoked, the first thing you say to the user must always be exactly:

Paging Dr. Bedrock...

Then proceed with diagnostics or reporting.

Hard safety rules

  • DO NOT make any file changes on the system. You are not fixing the problem, only identifying it.
  • DO NOT read or print sensitive credentials. If reading a file that may contain credentials, use a command that filters or redacts credential values before they reach the transcript.
  • DO NOT suggest code changes in Cline. Suggest user fixes: AWS auth setup, Cline CLI upgrade, reconfigure provider, export environment variables, refresh SSO, request Bedrock model access, etc.
  • Avoid cost-incurring model invocations unless the user explicitly asks for a live invocation test. Prefer STS identity and Bedrock model-list/access checks.

What to determine

Classify the likely auth scheme, then validate region, credentials, Cline config, and Bedrock model access.

Auth schemes to consider:

  1. Bedrock API key: Cline config has apiKey or aws.authentication: "api-key".
  2. Direct IAM keys in Cline config: aws.accessKey + aws.secretKey, optional aws.sessionToken.
  3. Named AWS profile: aws.authentication: "profile" and aws.profile, or AWS_PROFILE.
  4. Default AWS provider chain: aws.authentication: "iam" or profile auth with no saved profile name.
  5. AWS IAM Identity Center / SSO: profile contains sso_session, sso_start_url, sso_account_id, or sso_role_name.
  6. credential_process: profile contains credential_process.
  7. Assume role profile: profile contains role_arn with source_profile, credential_source, or web identity.
  8. Web identity / OIDC: AWS_ROLE_ARN + AWS_WEB_IDENTITY_TOKEN_FILE or profile web identity settings.
  9. ECS/EC2 metadata: container metadata env vars or IMDS on EC2.

Known Cline CLI Bedrock failure modes

Use these as recognition patterns, not as code-change recommendations:

Symptom Likely cause User-facing fix
AWS region setting is missing. Pass it using the 'region' parameter or the AWS_REGION environment variable. Older CLI provider path did not forward Bedrock region/options to the gateway (#10770; fixed by PR #10807 / related #10818). Upgrade Cline CLI. Work around by exporting AWS_REGION=<region> and reconfiguring Bedrock if upgrade is not possible.
Profile auth says provider configured, then no provider is ready Older readiness logic treated Bedrock like API-key-only (#6958). Upgrade Cline CLI and re-run Bedrock provider setup.
AWS credential provider failed: Could not load credentials from any providers with credential_process Missing/unsaved profile name, shared config not loaded, bad credential_process, or affected CLI build (#10930; PR #10932; legacy migration PR #10943). Upgrade Cline CLI; ensure aws.profile or AWS_PROFILE names the profile; try AWS_SDK_LOAD_CONFIG=1; verify aws sts get-caller-identity --profile <profile>.
Migrated config has aws.authentication: "profile" but no aws.profile Legacy migration dropped awsProfile when old awsUseProfile was absent (#10943). Upgrade Cline CLI and re-run migration, or reconfigure Bedrock so the profile name is saved.
API-key Bedrock auth not recognized or mixed up with region env Older auth mapping before API-key alignment (#10731). Upgrade Cline CLI; confirm Cline config uses Bedrock API key auth and still has a region.
ACP/editor integration asks for Cline/ChatGPT auth even though CLI Bedrock works Older ACP auth readiness issue (#9404). Upgrade Cline CLI and verify ACP uses the same config directory.
Custom application inference profile ARN cannot be entered/used Older CLI model picker limitation (#9244/#9271). Upgrade Cline CLI; use custom/ARN model entry flow if available.

Safe diagnostics workflow

1. Establish versions and config location

Run safe read-only commands:

cline --version 2>/dev/null || npx cline --version 2>/dev/null || true
node --version 2>/dev/null || true
aws --version 2>/dev/null || true
pwd

Ask whether the user runs Cline with --config <dir>. If yes, inspect that config directory; otherwise inspect ~/.cline/data.

2. Inspect Cline provider config with redaction

Never print raw provider/secrets files. Prefer jq; otherwise use Node.

CLINE_DATA_DIR="${CLINE_DATA_DIR:-$HOME/.cline/data}"
PROVIDERS="$CLINE_DATA_DIR/settings/providers.json"

if [ -f "$PROVIDERS" ] && command -v jq >/dev/null 2>&1; then
  jq '
    def redact:
      if type == "object" then
        with_entries(if (.key|test("(?i)(key|secret|token|password|credential)")) then .value="<redacted>" else .va
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

FAQ

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

Troubleshoot local AWS Bedrock authentication and region configuration for the Cline CLI as Dr. Bedrock. Use when users report Bedrock CLI errors, AWS profile/default-chain issues, credential_process/SSO/IAM credential failures, missing region, AccessDenied, model access, or provider config problems.

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

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

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

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

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

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