npx claudepluginhub chaddahlgren/claude-code-bedrockAWS Bedrock integration for Claude Code. Run /bedrock:manage to configure.
Configure Claude Code to use AWS Bedrock with ease.
# Add the marketplace
/plugin marketplace add ChadDahlgren/claude-code-bedrock
# Install the plugin
/plugin install bedrock@claude-code-bedrock
Then run /bedrock:manage to start the setup wizard.
git clone https://github.com/ChadDahlgren/claude-code-bedrock.git
claude --plugin-dir /path/to/claude-code-bedrock/plugin
This plugin simplifies configuring Claude Code to use AWS Bedrock through an interactive setup wizard.
/bedrock:manage| Command | Description |
|---|---|
/bedrock:manage | Main menu - setup, configure, and manage Bedrock |
/bedrock:status | Quick status check |
/bedrock:refresh | Re-authenticate your SSO session |
/bedrock:thinking | Configure reasoning depth (thinking mode) |
brew install awscli)AmazonBedrockFullAccess or equivalentjq for enhanced session status (brew install jq)Settings are stored in ~/.claude/settings.json:
{
"env": {
"CLAUDE_CODE_USE_BEDROCK": "1",
"AWS_PROFILE": "your-profile",
"AWS_REGION": "us-west-2",
"ANTHROPIC_MODEL": "global.anthropic.claude-sonnet-4-5-20250929-v1:0",
"MAX_THINKING_TOKENS": "8192",
"CLAUDE_CODE_MAX_OUTPUT_TOKENS": "8192"
},
"awsAuthRefresh": "aws sso login --profile your-profile"
}
Configure how deeply Claude reasons before responding:
| Preset | Reasoning | Output | Description |
|---|---|---|---|
| Focused | 4096 | 4096 | Quick deliberation for routine tasks |
| Balanced | 8192 | 8192 | Solid reasoning without overthinking (default) |
| Thorough | 16384 | 16384 | Extended deliberation for architecture decisions |
Note: This controls reasoning time, not context window (how much code Claude can see).
Run /bedrock:status to check for issues. Common problems:
/bedrock:refreshbrew install awscliglobal. prefixsso:account:access scope for 90-day sessionsIf Claude becomes unresponsive due to API errors:
~/.claude/settings.json"env":
CLAUDE_CODE_USE_BEDROCKAWS_PROFILEAWS_REGIONANTHROPIC_MODEL"awsAuthRefresh" (if present)| Configuration | Session Duration |
|---|---|
| Legacy (without refresh tokens) | ~8 hours |
| SSO Session (with refresh tokens) | Up to 90 days |
The setup wizard guides you to configure sso:account:access scope for extended sessions.
claude-code-bedrock/
├── .claude-plugin/
│ └── marketplace.json # Marketplace definition
├── plugin/ # The plugin
│ ├── .claude-plugin/
│ │ ├── plugin.json # Plugin manifest
│ │ └── hooks/ # Session and tool hooks
│ ├── commands/ # Slash commands
│ ├── scripts/ # TypeScript implementation
│ └── skills/ # Reference documentation
└── README.md
MIT
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.