1.7 KiB
1.7 KiB
AWS & Kubernetes Environment Setup for Judge
This skill ensures correct AWS and Kubernetes context before working on Judge platform tasks.
When to Use
Automatically activates when:
- Working with Judge platform code
- Running AWS CLI or Terraform commands
- Executing kubectl commands
- Starting work on demo-judge cluster
Critical Setup Command
IMPORTANT: Always run this before starting Claude Code for Judge platform work:
export AWS_PROFILE=conda-demo && kubectl config use-context arn:aws:eks:us-east-1:831646886084:cluster/demo-judge
This ensures:
- AWS CLI & Terraform use the
conda-demoprofile (demo account) - kubectl commands target the
demo-judgeEKS cluster - All agent commands will use the correct AWS account and Kubernetes context
Command Prefixes
When executing commands in Judge context:
-
AWS/Terraform commands: Always prefix with
AWS_PROFILE=conda-demoAWS_PROFILE=conda-demo terraform plan AWS_PROFILE=conda-demo aws s3 ls -
kubectl commands: No prefix needed (context already set to demo-judge)
kubectl get pods -n judge kubectl logs -n judge deployment/judge-api
Verification
Before executing AWS or kubectl commands, verify:
# Check AWS profile
echo $AWS_PROFILE # Should output: conda-demo
# Check kubectl context
kubectl config current-context # Should output: arn:aws:eks:us-east-1:831646886084:cluster/demo-judge
Auto-Configuration
When this skill is active, Claude will:
- Verify AWS_PROFILE and kubectl context before AWS/kubectl commands
- Automatically prefix AWS/Terraform commands with
AWS_PROFILE=conda-demo - Warn if context appears incorrect for Judge platform work
- Suggest re-running the setup command if needed