Automation & Ops

AWS Context Discovery

Resolve the active AWS environment before any account operation.

50/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 11k
Last updated
18d ago
License
Apache-2.0
aws-cliaws-profileaws-regioncaller-identity
+3aws-ssoiamsagemaker

What does this skill do, and when should you use it?

This skill establishes the user’s local AWS context at the beginning of AWS work. It resolves the effective profile and region, then calls AWS STS to validate credentials and retrieve the account ID and caller ARN. It classifies the caller as an IAM user, regular assumed role, or SSO assumed role. For SSO identities, it surfaces the likely limitation around creating or modifying IAM roles before later work begins.

Reads AWS_PROFILE, AWS_REGION, AWS_DEFAULT_REGION, and the active profile’s local AWS configuration; runs aws configure list to inspect effective settings; runs aws sts get-caller-identity to validate credentials and retrieve Account and Arn; classifies the caller from the ARN; and reports the profile, region, account ID, principal type, and relevant IAM limitation.

Good fit
  • A user says “use my AWS account” without naming an account or region, so the agent can resolve the local configuration first.
  • A model is about to be deployed to SageMaker without an explicit profile or region, so the agent can identify the actual AWS target.
  • An AWS CLI or SDK call is about to run, so credentials can be validated beforehand.
  • A user authenticated through AWS SSO is preparing SageMaker work, so likely IAM role-creation restrictions can be flagged early.

How do you install this skill?

Before you use it
  • The skill reads local AWS configuration and sends an identity query to AWS STS; users should confirm the data-handling requirements for the active profile and account.
  • The examples using aws configure list and parameterless get-caller-identity are inconsistent with the earlier explicit profile/region resolution and may use a different effective context.
  • AWS CLI installation, credential-source handling, SSO renewal, and concrete recovery steps for missing regions are not documented.
  • No assurance is provided for mainland-China network reachability or Chinese-language error feedback.
Before you start
Your agent needs
  • Shell / CLI
  • Network access
  • Local filesystem
Install first
  • AWS CLI

Copy or symlink skills/hf-cloud-aws-context-discovery/ from the repository’s skills/ directory into a standard Codex .agents/skills location, such as .agents/skills in the repository or .agents/skills in the user directory. The README does not provide a dedicated installation command for this individual skill.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/huggingface/skills.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/skills/hf-cloud-aws-context-discovery" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Use my AWS profile to deploy to SageMaker.

After placing the skill where the client can discover it, invoke it in an AWS task such as “Use my AWS profile to deploy to SageMaker.” It should run before other AWS work and report a specific error if the profile, region, or credentials cannot be resolved.

What are this skill's strengths and limitations?

Pros
  • Defines an explicit profile and region resolution order instead of guessing.
  • Uses one STS call to validate credentials and obtain both the account ID and caller ARN.
  • Identifies AWSReservedSSO principals early, before IAM role operations fail later.
Limitations
  • Requires the local AWS CLI, AWS configuration, and usable credentials.
  • Requires network access to AWS STS; it stops when credentials are expired, a profile is missing, or no region is configured.
  • Only discovers context; it does not deploy resources, create IAM roles, or perform subsequent AWS operations.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
AWS Context Discovery this page 50 · Use with care ★ 11k 18d ago Apache-2.0
SageMaker IAM Preflight 41 · Not recommended ★ 11k 18d ago Apache-2.0
Google Cloud Authentication Guide ✓ Google · Official 58 · Recommended ★ 21k 12d ago Apache-2.0
Google Cloud Foundation Builder ✓ Google · Official 39 · Not recommended ★ 21k 12d ago Apache-2.0
Google Cloud WAF Security Advisor ✓ Google · Official 54 · Use with care ★ 21k 12d ago Apache-2.0

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
50/ 100 5-point scale 2.5 / 5
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
1Trust16 / 25 · 3.2/5

The skill mainly reads local AWS configuration and calls STS for identity discovery; no malware or credential theft is evident. However, it lacks explicit user confirmation, disclosure of sensitive-data exposure boundaries, permission isolation, and recovery controls, so points are deducted.

2Reliability8 / 20 · 2.0/5

Profile and region precedence, stop conditions, and reporting format are reasonably clear. However, the command examples are inconsistent about passing profile and region, and edge cases such as credential-chain failures, missing regions, and environment/config conflicts lack controlled diagnostics or behavior tests; the static ceiling also applies.

3Adaptability8 / 15 · 2.7/5

Triggers, target scenarios, and expected output are clear for pre-deployment AWS context discovery. Boundaries for non-fit cases, Chinese-language interaction, and mainland-China reachability of AWS CLI/STS are not documented, so points are deducted.

4Convention8 / 15 · 2.7/5

The documentation is readable and includes examples and relevant caveats; the repository supplies an Apache-2.0 license and CI for generated artifacts. The skill itself lacks versioning, changelog, explicit maintenance ownership, update path, dependency installation notes, and FAQs, so points are deducted.

5Effectiveness6 / 15 · 2.0/5

Discovering the profile, region, account ID, caller ARN, and possible SSO status plausibly completes the core task with concise usable output. Static evidence cannot confirm end-to-end correctness, and several configuration failures still require manual handling, so the score remains limited.

6Verifiability4 / 10 · 2.0/5

The skill text and repository CI artifact checks are auditable, but the CI does not test the skill's AWS execution paths and there are no committed behavioral tests, third-party execution records, or independent reproductions; only limited credit is justified.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 86cdeee824b7 Review evidence[1][2][3][4][5]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Does it default to us-east-1?
No. It checks the conversation, environment variables, and active profile in the specified order, then asks the user only if none provides a region.
What local information does it require?
It uses AWS_PROFILE or the default profile and reads local AWS configuration. Usable credentials are also required for the AWS STS call.
Can an SSO user create an IAM role with this skill?
The skill does not assume so. If the ARN shows an AWSReservedSSO principal, it warns that an existing role may be needed or that an access administrator must help.

More skills from this repository

All from huggingface/skills

Automation & Ops

SageMaker IAM Preflight

Find and validate a usable SageMaker execution role before deployment or training.

★ 11k FS 41 Not recommended 18d ago
Automation & Ops

SageMaker Deployment Planner

Choose a practical Amazon SageMaker deployment path for your model, traffic pattern, and latency needs.

★ 11k FS 50 Use with care 18d ago
Automation & Ops

SageMaker Python Environment Setup

Build an isolated, version-aligned Python environment for SageMaker and AWS automation.

★ 11k FS 49 Use with care 18d ago
Automation & Ops

SageMaker Production Defaults

Deploy SageMaker real-time or async endpoints with autoscaling, CloudWatch alarms, and consistent tagging built in.

★ 11k FS 46 Use with care 18d ago
Automation & Ops

SageMaker Serving Image Selector

Choose a compatible SageMaker serving container and retrieve the current regional image URI for a Hugging Face model.

★ 11k FS 47 Use with care 18d ago
Dev & Engineering

Hugging Face Hub CLI Skill

Give agents command-line control over Hugging Face Hub models, datasets, Spaces, jobs, and infrastructure.

★ 11k FS 42 Not recommended 18d ago
Dev & Engineering

Hugging Face API Tool Builder

Turn Hugging Face API calls into reusable, composable command-line tools.

★ 11k FS 41 Not recommended 18d ago
Dev & Engineering

Gradio Interactive App Builder

Build Gradio web interfaces, machine-learning demos, and chat apps in Python.

★ 11k FS 40 Not recommended 18d ago
Dev & Engineering

Hugging Face ZeroGPU Builder

Build dependable Gradio AI demos and GPU workloads on Hugging Face ZeroGPU.

★ 11k FS 56 Use with care 18d ago
Dev & Engineering

LoRA Space Demo Builder

Build and publish a tailored Gradio Space for a Hugging Face LoRA.

★ 11k FS 51 Use with care 18d ago
Dev & Engineering

Hugging Face Spaces Builder

Build, deploy, debug, and maintain machine-learning apps on Hugging Face Spaces.

★ 11k FS 50 Use with care 18d ago
Data & Analysis

Hugging Face Dataset Explorer

Explore, query, and extract Hugging Face datasets through the Dataset Viewer API.

★ 11k FS 49 Use with care 18d ago
Dev & Engineering

Hugging Face Paper Research Assistant

Read AI papers and retrieve structured metadata from Hugging Face paper pages.

★ 11k FS 49 Use with care 18d ago
Data & Analysis

Hugging Face LLM Trainer

Train, fine-tune, and preserve models on Hugging Face cloud GPUs.

★ 11k FS 48 Use with care 18d ago
Data & Analysis

TRL Language Model Trainer

Train and fine-tune transformer language models with TRL’s CLI for SFT, preference alignment, and reinforcement learning.

★ 11k FS 48 Use with care 18d ago
Data & Analysis

Hugging Face Local Evaluator

Run controlled inspect-ai or lighteval evaluations for Hugging Face Hub models on local hardware.

★ 11k FS 47 Use with care 18d ago
Data & Analysis

Sentence Transformers Training Assistant

Train retrieval, similarity, reranking, and sparse-search models with Sentence Transformers.

★ 11k FS 47 Use with care 18d ago
Data & Analysis

Transformers.js Inference Skill

Run Hugging Face models directly inside JavaScript applications.

★ 11k FS 46 Use with care 18d ago
Data & Analysis

Hugging Face Model Memory Estimator

Estimate inference memory without downloading model weights.

★ 11k FS 44 Not recommended 18d ago
Dev & Engineering

Hugging Face Local Model Runner

Choose compatible GGUF quantizations from Hugging Face and run them locally with llama.cpp.

★ 11k FS 44 Not recommended 18d ago

Related skills