hf-cloud-aws-context-discovery
Discover the effective local AWS profile, region, account, and caller identity before any AWS task without exposing credentials.
npx skills add sickn33/agentic-awesome-skills --skill hf-cloud-aws-context-discovery --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# AWS Context Discovery Before doing any AWS work, inspect only masked AWS CLI metadata. Don't guess the region, and don't ask the user for things the CLI already answers. Never open or print `~/.aws/credentials`, credential-process output, secret environment variables, access keys, session tokens, or SSO token caches. ## When to Use - Establish the effective AWS profile, region, account, and caller before AWS work. - Diagnose expired SSO sessions, missing profiles, or configuration overrides. - Provide verified context to later SageMaker planning and deployment skills. ## What to discover Run these at the start of the AWS work and remember the results for the rest of the session. ### 1. Active profile Use a profile the user explicitly named, otherwise use the profile identified by masked AWS CLI metadata. If the named profile is absent from `aws configure list-profiles`, surface that clearly. ### 2. Region Resolution order — stop at the first one that produces a value: 1. Region the user explicitly named in this conversation 2. Region reported by `aws configure list --profile "$profile"` 3. Region reported by `aws configure get region --profile "$profile"` 5. Ask the user — but on
- When to Use
- What to discover
- 1. Active profile
- 2. Region
- 3. Credentials, account ID, caller ARN
- 4. Identify SSO / assumed-role principals
- Commands to run
- What to report back
- Limitations
aws sts get-caller-identity --profile "$profile" --region "$region" Profiles and masked effective metadata; never read credential files directly aws configure list-profiles aws configure list --profile "$profile" aws configure get region --profile "$profile" Validate credentials and get identity
What does the hf-cloud-aws-context-discovery skill do?
Discover the effective local AWS profile, region, account, and caller identity before any AWS task without exposing credentials.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill hf-cloud-aws-context-discovery --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.