
Working With Claude Code
Onboard to Claude Code features, settings, and Superpowers integration paths.
Install
npx skills add https://github.com/obra/superpowers-developing-for-claude-code --skill working-with-claude-codeWhat is this skill?
- Claude Code environment setup.
- Superpowers skill loading paths.
- Platform-specific tool mappings.
Adoption & trust: 66 installs on skills.sh; 130 GitHub stars; 2/3 security scanners passed (skills.sh audits).
Recommended Skills
Microsoft Foundrymicrosoft/azure-skills
Azure Aimicrosoft/azure-skills
Azure Hosted Copilot Sdkmicrosoft/azure-skills
Lark Eventlarksuite/cli
Running Claude Code Via Litellm Copilotxixu-me/skills
Setup Matt Pocock Skillsmattpocock/skills
Journey fit
Common Questions / FAQ
Is Working With Claude Code safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Working With Claude Code
# Claude Code on Amazon Bedrock > Learn about configuring Claude Code through Amazon Bedrock, including setup, IAM configuration, and troubleshooting. ## Prerequisites Before configuring Claude Code with Bedrock, ensure you have: * An AWS account with Bedrock access enabled * Access to desired Claude models (e.g., Claude Sonnet 4.5) in Bedrock * AWS CLI installed and configured (optional - only needed if you don't have another mechanism for getting credentials) * Appropriate IAM permissions ## Setup ### 1. Enable model access First, ensure you have access to the required Claude models in your AWS account: 1. Navigate to the [Amazon Bedrock console](https://console.aws.amazon.com/bedrock/) 2. Go to **Model access** in the left navigation 3. Request access to desired Claude models (e.g., Claude Sonnet 4.5) 4. Wait for approval (usually instant for most regions) ### 2. Configure AWS credentials Claude Code uses the default AWS SDK credential chain. Set up your credentials using one of these methods: **Option A: AWS CLI configuration** ```bash theme={null} aws configure ``` **Option B: Environment variables (access key)** ```bash theme={null} export AWS_ACCESS_KEY_ID=your-access-key-id export AWS_SECRET_ACCESS_KEY=your-secret-access-key export AWS_SESSION_TOKEN=your-session-token ``` **Option C: Environment variables (SSO profile)** ```bash theme={null} aws sso login --profile=<your-profile-name> export AWS_PROFILE=your-profile-name ``` **Option D: Bedrock API keys** ```bash theme={null} export AWS_BEARER_TOKEN_BEDROCK=your-bedrock-api-key ``` Bedrock API keys provide a simpler authentication method without needing full AWS credentials. [Learn more about Bedrock API keys](https://aws.amazon.com/blogs/machine-learning/accelerate-ai-development-with-amazon-bedrock-api-keys/). #### Advanced credential configuration Claude Code supports automatic credential refresh for AWS SSO and corporate identity providers. Add these settings to your Claude Code settings file (see [Settings](/en/docs/claude-code/settings) for file locations). When Claude Code detects that your AWS credentials are expired (either locally based on their timestamp or when Bedrock returns a credential error), it will automatically run your configured `awsAuthRefresh` and/or `awsCredentialExport` commands to obtain new credentials before retrying the request. ##### Example configuration ```json theme={null} { "awsAuthRefresh": "aws sso login --profile myprofile", "env": { "AWS_PROFILE": "myprofile" } } ``` ##### Configuration settings explained **`awsAuthRefresh`**: Use this for commands that modify the `.aws` directory (e.g., updating credentials, SSO cache, or config files). Output is shown to the user (but user input is not supported), making it suitable for browser-based authentication flows where the CLI displays a code to enter in the browser. **`awsCredentialExport`**: Only use this if you cannot modify `.aws` and must directly return credentials. Output is captured silently (not shown to the user). The command must output JSON in this format: ```json theme={null} { "Credentials": { "AccessKeyId": "value", "SecretAccessKey": "value", "SessionToken": "value" } } ``` ### 3. Configure Claude Code Set the following environment variables to enable Bedrock: ```bash theme={null} # Enable Bedrock integration export CLAUDE_CODE_USE_BEDROCK=1 export AWS_REGION=us-east-1 # or your preferred region # Optional: Override the region for the small/fast model (Haiku) export ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION=us-west-2 ``` When enabling Bedrock for Claude Code, keep the following in mind: * `AWS_REGION` is a required environment variable. Claude Code does not read from the `.aws` config file for this setting. * When using Bedrock, the `/login` and `/logout` commands are disabled since authentication is handled through AWS credentials. * You can use settings files for environment variables like `AWS_PROFILE` th