ClaudeSwitchProvider — DevOps skill for Claude Code
Simple utility to allow easy switching between AWS Bedrock (or similar) and Claude Subscription.
How to install ClaudeSwitchProvider
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open erikbuild/ClaudeSwitchProvider and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What ClaudeSwitchProvider does
Simple utility to allow easy switching between AWS Bedrock (or similar) and Claude Subscription.
Alternatives in DevOps
- AWS Skills Pack — AWS cloud services skills 1.6k ★
- Proxy — route Claude Code requests through multiple upstream providers (OpenCode Go, OpenCode Zen, and AWS Bedrock) wi 957 ★
- Cheetahclaws — CheetahClaws: A Fast and Easy-to-Use Agent Harness Infrastructure for Long-Horizon, Multi-Model, and Tool-Usin 768 ★
README
ClaudeSwitchProvider
Swap Claude Code between any of the provider backends it supports — Claude subscription, Anthropic Console, AWS Bedrock, Microsoft Foundry, Google Vertex AI — by flipping `~/.claude/settings.json` between named profiles.
Why
Claude Code picks its backend at startup from the `env` block in `~/.claude/settings.json` (flags like `CLAUDE_CODE_USE_BEDROCK`, `CLAUDE_CODE_USE_VERTEX`, default model IDs, etc.) plus whatever credentials are in your shell environment. Changing providers means editing that file. This script keeps a separate JSON profile per provider in `~/.claude/profiles/` and copies the one you want into place.
The five profiles correspond to the options in Claude Code's `/login` menu:
| Profile | Provider | Auth source |
|---|---|---|
subscription |
Pro / Max / Team / Enterprise | OAuth via /login |
console |
Anthropic Console (API usage billing) | ANTHROPIC_API_KEY in your shell env |
bedrock |
AWS Bedrock | AWS_BEARER_TOKEN_BEDROCK or standard AWS creds |
foundry |
Microsoft Foundry | Azure auth configured in your shell env |
vertex |
Google Vertex AI | gcloud Application Default Credentials |
You can add your own profiles too — any `~/.claude/profiles/settings..json` becomes `claude-switch `.
Requirements
bashandjq(macOS ships a compatiblejqat/usr/bin/jq; on Linux:apt install jqor equivalent).- An existing
~/.claude/settings.json(created on first Claude Code launch).
Install
Clone the repo and wire it into your shell:
git clone https://github.com/erikbuild/ClaudeSwitchProvider.git ~/Code/ClaudeSwitchProvider
Add these two lines near the bottom of `~/.zshrc` (or your shell's rc file):
[ -f "$HOME/.claude/secrets.env" ] && source "$HOME/.claude/secrets.env"
alias claude-switch="$HOME/Code/ClaudeSwitchProvider/switch-provider.sh"
The first line loads provider credentials from a local, gitignored secrets file (see [Secrets](
Related Skills
AWS Observability Labs
Terraform-driven AWS CloudWatch labs covering governance, dashboards & alarms, CloudWatch Agent, EMF/PutMetric
Guidance For Cost Analysis And Optimization With Amazon Bedrock Agentcore
This Guidance shows how to simplify AWS cost management across multiple accounts by building a conversational
Claude Code AWS Gateway
new Self-hosted API gateway that routes Claude Code through Amazon Bedrock with team API keys, budgets, rate l
Cc AWS Keepalive
Keep Claude Code sessions alive through AWS credential expiry -- proactive expiration warnings, credential ref
Claude Local Stack
Claude Code stack for Apple Silicon — local MLX + AWS Bedrock routing, token compression, plugin management
AWS Agentic Document Assistant Upgraded
An upgraded fork of AWS's Agentic Documents Assistant, updated to work with current Bedrock models, LangChain
Related Agents
Game AI Designer
AI Designer (specialist). Decision trees, utility AI, behavior selection, NPC routines. Activated for colony s
Cloud Manager
Owns cloud architecture across AWS/Azure/GCP — account/subscription/project structure, landing zones, networki
Promotion Officer
Use when authorizing transition between subscription modes (start_shadow shadow_to_assisted assisted_to_autono