Automation & Ops aws-cliaws-profileaws-regioncaller-identityaws-ssoiamsagemaker

AWS Context Discovery

Resolve the active AWS environment before any account operation.

FollowSkills review · FSRS-2.0
Not recommended
50/ 100 5-point scale 2.5 / 5
Trust16 / 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.

Reliability8 / 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.

Adaptability8 / 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.

Convention8 / 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.

Effectiveness6 / 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.

Verifiability4 / 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.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 86cdeee824b7
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.
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.
Review evidence [1][2][3][4][5]
See the full review method →

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.

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

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 do you install this skill?

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.

How do you use this skill?

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.

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.

Automation & Ops

SageMaker Deployment Planner

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

Automation & Ops

SageMaker Python Environment Setup

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

Automation & Ops

SageMaker Production Defaults

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

Automation & Ops

SageMaker Serving Image Selector

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

Dev & Engineering

Hugging Face Hub CLI Skill

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

Dev & Engineering

Hugging Face API Tool Builder

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

Dev & Engineering

Gradio Interactive App Builder

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

Dev & Engineering

Hugging Face ZeroGPU Builder

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

Dev & Engineering

LoRA Space Demo Builder

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

Dev & Engineering

Hugging Face Spaces Builder

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

Data & Analysis

Hugging Face Dataset Explorer

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

Dev & Engineering

Hugging Face Paper Research Assistant

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

Data & Analysis

Hugging Face LLM Trainer

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

Data & Analysis

TRL Language Model Trainer

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

Data & Analysis

Hugging Face Local Evaluator

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

Data & Analysis

Sentence Transformers Training Assistant

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

Data & Analysis

Transformers.js Inference Skill

Run Hugging Face models directly inside JavaScript applications.

Data & Analysis

Hugging Face Model Memory Estimator

Estimate inference memory without downloading model weights.

Dev & Engineering

Hugging Face Local Model Runner

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

Related skills