Set up AWS CLI SSO for Repo and sync TranslationService translations to S3
From claude-toolkitnpx claudepluginhub johwer/marketplace --plugin claude-toolkitThis skill uses the workspace's default tool permissions.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Executes pre-written implementation plans: critically reviews, follows bite-sized steps exactly, runs verifications, tracks progress with checkpoints, uses git worktrees, stops on blockers.
Use this skill when AWS CLI credentials are needed (e.g., syncing translations to S3, accessing S3 buckets, or any aws command).
aws sts get-caller-identity 2>&1
If this returns credentials, skip to the task. If "Unable to locate credentials", proceed to Step 2.
~/.aws/config existscat ~/.aws/config 2>/dev/null
If missing, create it:
[sso-session repo]
sso_start_url = https://d-9367b997a7.awsapps.com/start
sso_region = eu-north-1
sso_registration_scopes = sso:account:access
[profile repo]
sso_session = repo
sso_account_id = 107311625882
sso_role_name = Frontend-Developer
region = eu-west-1
Try SSO login first:
aws sso login --profile repo
If SSO login fails (common with some SSO configurations), use the temporary credentials method:
export lines (Option 1: environment variables)Then verify:
aws sts get-caller-identity
TRANSLATION_SERVICE_KEY=$(grep TRANSLATION_SERVICE_API_KEY apps/web/.env.local | cut -d= -f2)
python3 scripts/sync_lokalise_translations.py \
--project-id 3907704568ac1345097c75.30587214 \
--api-key "$TRANSLATION_SERVICE_KEY" \
--s3-location repo-translations
Important: The AWS env vars don't persist between shell invocations. If using temporary credentials, prepend them to the command or export them in the same && chain.
curl -s "https://repo-translations.s3.eu-west-1.amazonaws.com/en/en.json" | python3 -c "
import sys,json
d=json.load(sys.stdin)
key='YOUR_KEY_HERE'
print(f'{key}: \"{d.get(key, \"NOT FOUND\")}\"')
"
| Item | Value |
|---|---|
| SSO Portal | https://d-9367b997a7.awsapps.com/start |
| Account | Repo (107311625882) |
| Role | Frontend-Developer |
| S3 Bucket | repo-translations |
| S3 Region | eu-west-1 |
| Confluence Guide | https://your-company.atlassian.net/wiki/spaces/MEDHELP/pages/8151334915 |