소스 정보
- 저장소
- aws-samples/sample-opencode-with-bedrock
- 최근 소스 활동
- 2026년 3월 3일 20:28
- 감지된 SKILL.md 언어
- 영어
- 스타
- 17
- 포크
- 5
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/aws-samples/sample-opencode-with-bedrock --skill troubleshoot명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | troubleshoot |
| description | Diagnose common OpenCode Stack deployment issues |
You are helping the user diagnose deployment issues with the OpenCode Stack. Start by understanding what's failing, then run targeted checks.
Ask the user what's failing, or detect from conversation context. Common categories:
aws ecs describe-services --cluster <cluster> --services <service> --query 'services[0].events[:5]'
aws ecs list-tasks --cluster <cluster> --service-name <service> --desired-status STOPPED
aws ecs describe-tasks --cluster <cluster> --tasks <task-arn> --query 'tasks[0].stoppedReason'
aws logs tail /ecs/bedrock-router-<env> --since 30m
aws ecr describe-images --repository-name <repo> --query 'imageDetails | sort_by(@, &imagePushedAt) | [-1]'
aws elbv2 describe-target-health --target-group-arn <tg-arn>
aws elbv2 describe-listeners --load-balancer-arn <alb-arn>
aws ssm get-parameters-by-path --path "/opencode/<env>/oidc/" --query 'Parameters[].Name'
curl -sf $(aws ssm get-parameter --name "/opencode/<env>/oidc/jwks-url" --query 'Parameter.Value' --output text)
aws secretsmanager get-secret-value --secret-id "opencode/<env>/oidc-alb-client-secret" --query 'SecretString' --output text | head -c 5
(Print only first 5 chars to confirm it exists without exposing the secret.)aws ssm get-parameter --name "/opencode/<env>/cognito/user-pool-id" --query 'Parameter.Value' --output text
dig +short <api-domain>
dig +short <web-domain>
aws acm list-certificates --query "CertificateSummaryList[?DomainName=='*.<domain>']"
aws secretsmanager describe-secret --secret-id "opencode/<env>/oidc-alb-client-secret"
./scripts/deploy.sh auth which auto-creates it../scripts/setup.sh or creating it manually.aws cloudformation describe-stack-events --stack-name <stack> --query 'StackEvents[?ResourceStatus==`CREATE_FAILED` || ResourceStatus==`UPDATE_FAILED`][:5]'
aws cloudformation describe-stacks --stack-name OpenCodeShare-<env> --query 'Stacks[0].StackStatus'
aws ssm get-parameters-by-path --path "/opencode/<env>/share/" --query 'Parameters[].{Name:Name,Value:Value}' --output table
aws logs tail "/aws/lambda/opencode-share-api-<env>" --since 30m
aws logs tail "/aws/lambda/opencode-share-ws-connect-<env>" --since 30m
aws logs tail "/aws/lambda/opencode-share-ws-disconnect-<env>" --since 30m
TABLE=$(aws ssm get-parameter --name "/opencode/<env>/share/connections-table-name" --query 'Parameter.Value' --output text 2>/dev/null)
aws dynamodb scan --table-name "$TABLE" --select COUNT
BUCKET=$(aws ssm get-parameter --name "/opencode/<env>/share/bucket-name" --query 'Parameter.Value' --output text 2>/dev/null)
aws s3 ls "s3://$BUCKET/" --summarize
# API ALB (JWT)
LISTENER_ARN=$(aws ssm get-parameter --name "/opencode/<env>/alb/jwt/listener-arn" --query 'Parameter.Value' --output text)
aws elbv2 describe-rules --listener-arn "$LISTENER_ARN" --query 'Rules[?Priority==`7` || Priority==`8`]'
After diagnosing, suggest specific fixes:
./scripts/deploy.sh build-image./scripts/deploy.sh auth (Cognito) or ./scripts/setup.sh (external)./scripts/deploy.sh redeploy./scripts/deploy.sh./scripts/deploy.sh share./scripts/deploy.sh preflightGet cluster name, service name, and other resource identifiers from SSM parameters under /opencode/<env>/.
WS_URL=$(aws ssm get-parameter --name "/opencode/<env>/share/websocket-url" --query 'Parameter.Value' --output text)
# Use wscat or curl to test: wscat -c "$WS_URL"