hf-cloud-aws-context-discovery

Identify and validate local AWS profiles, regions, and caller identity.

1|Updated Jul 12, 2026
One-click install
npx skills add https://github.com/Tyler-R-Kendrick/slm-training --skill hf-cloud-aws-context-discovery-tyler-r-kendrick
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hf-cloud-aws-context-discovery
Source: https://github.com/Tyler-R-Kendrick/slm-training/tree/main/.agents/skills/hf-cloud-aws-context-discovery
Command: npx skills add https://github.com/Tyler-R-Kendrick/slm-training --skill hf-cloud-aws-context-discovery-tyler-r-kendrick

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates configuration errors and deployment failures by automatically identifying your active AWS profile, region, and caller identity before any cloud operations begin.

Core Features & Use Cases

  • Context Resolution: Automatically detects AWS_PROFILE, region, and account ID from your local environment or configuration files.
  • Identity Validation: Confirms credentials are valid and identifies if you are using an SSO assumed-role, which often restricts IAM permissions.
  • Use Case: Before running a deployment script, use this skill to ensure you are targeting the correct account and region, preventing accidental resource creation in the wrong environment.

Quick Start

Run the hf-cloud-aws-context-discovery skill to verify your current AWS environment settings and permissions before starting your deployment.

Frequently Asked Questions about hf-cloud-aws-context-discovery

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check my current AWS profile and region before deploying?

To validate your AWS environment and prevent deployment errors, you must detect your active AWS profile, region, and account ID. This confirms you are targeting the correct cloud infrastructure before operations begin.

How does AWS caller identity validation work for SSO assumed-roles?

AWS caller identity validation confirms your credentials are valid and identifies if you are using an SSO assumed-role. This mechanism highlights potential IAM permission restrictions applied to your local environment context.

Do I need the AWS CLI installed to detect my local cloud configuration?

Yes, you need the AWS CLI installed and configured to detect your local cloud configuration. The discovery process requires executing AWS identity and configuration commands to resolve your environment context.

What is the best way to prevent AWS deployment failures caused by configuration errors?

The best way to prevent AWS deployment failures from configuration errors is automatic context resolution. Identifying your active AWS profile, region, and caller identity before cloud operations ensures you target the correct account.

Why does my AWS deployment fail due to restricted IAM permissions?

Your AWS deployment may fail due to restricted IAM permissions if you are using an SSO assumed-role. Identity validation detects this caller identity context, helping you understand and prevent deployment errors.