Claude Code Reference
v2.1.178 · 87 auto-discovered · Commands, shortcuts, hooks, Python/AWS tips.
Live
AWS & DevOps
AWS Bedrock
Set CLAUDE_CODE_USE_BEDROCK=1 to route all Claude calls through your AWS account. No Anthropic API key needed.
export CLAUDE_CODE_USE_BEDROCK=1GitHub Actions + Bedrock
Use anthropics/claude-code-action@v1 with use_bedrock: true and AWS_ROLE_TO_ASSUME secret.
AWS CLI in Claude
Claude can run aws CLI commands via Bash tool. Pre-approve with --allowedTools 'Bash(aws *)'.
Terraform/CDK
Claude reads and writes Terraform/CDK. Put your backend config and state bucket info in CLAUDE.md.
ECS/Lambda deploys
Create a custom skill in .claude/skills/deploy/SKILL.md with your deploy steps. Claude follows it every time.
Cost control in CI
Use --max-budget-usd and --max-turns in CI pipelines to cap spending.
claude -p --max-budget-usd 2.00 --max-turns 5 "review this PR"Example: GitHub Actions PR review with AWS Bedrock
name: Claude PR Review
on:
pull_request:
types: [opened, synchronize]
jobs:
review:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
pull-requests: write
steps:
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
aws-region: us-east-1
- uses: anthropics/claude-code-action@v1
with:
use_bedrock: "true"
claude_args: "--model us.anthropic.claude-sonnet-4-6 --max-turns 3"
prompt: "Review this PR for bugs, security issues, and code quality."