hf-cloud-aws-context-discovery
Discover the user's local AWS context (active profile, region, account ID, caller identity) at the start of any AWS task. Use this skill before any other AWS work — deploying to SageMaker, creating resources, calling AWS APIs, or anything that touches an AWS account. Use it especially when the user has not specified a region or profile explicitly, when they say things like "use my AWS account", "deploy to AWS", "use my profile", or when about to make any AWS CLI or SDK call. Never guess the region or account ID — always use this skill to read it from the local configuration first.
Target: Cloud, operations & security. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- AWS Context Discovery
- 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
Before doing any AWS work, read the user's local AWS config. Don't guess the region, and don't ask the user for things their config already answers. Run these at the start of the AWS work and remember the results for the rest of the session. AWSPROFILE env var, else default. If the user mentioned a profile in their prompt, that overrides. If the named profile doesn't exist in /.aws/config, surface that clearly. Resolution order — stop at the first one that produces a value: 1. Region the user explicitly named in this conversation 2. AWSREGION env var 3. AWSDEFAULTREGION env var 4. region field on the active profile in /.aws/config 5. Ask the user — but only after the first four have failed Do not fall back to us-east-1 or any other hardcoded default. Three purposes in one call: confirms credentials are valid (stop if not), returns the Account ID (needed for ARN construction), returns the Arn of the caller. The Arn field tells you what kind of principal this is. The pattern matters because it determines what IAM operations the caller can do. | ARN pattern | Type | IAM write capability | |---|---|---| | arn:aws:iam:: :user/ | IAM user | Depends on attached policies | | arn:aws:sts::
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- huggingface/skills
- Source file
- skills/hf-cloud-aws-context-discovery/SKILL.md
- Fixed revision
- 25910b3d0ba31a2ba102f901cdc9e008c278a69c
Requirements
- Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.
A small first task
先阅读原作者说明,再决定是否在自己的 AI 工具中使用。
Instructions for your AI tool
- Claude Desktop: resource-specific guide not available yet
- Claude Code: resource-specific guide not available yet
- Cursor: resource-specific guide not available yet
- Codex: resource-specific guide not available yet
Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: huggingface/skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T16:01:02.677Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
Apache-2.0. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.