hf-cloud-sagemaker-iam-preflight

Discover, validate, and create AWS SageMaker IAM execution roles.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill resolves common SageMaker deployment failures caused by missing or misconfigured execution roles, particularly when users are authenticated via SSO and lack the permissions to create IAM resources.

Core Features & Use Cases

  • Intelligent Discovery: Automatically identifies existing SageMaker execution roles and ranks them by usage frequency to ensure the most relevant role is selected.
  • Validation: Verifies that roles possess the necessary trust policies to allow SageMaker to assume them.
  • Safe Provisioning: Provides a structured path to create new roles with minimal required permissions, preventing over-privileged access.

Quick Start

Use the hf-cloud-sagemaker-iam-preflight skill to discover and validate the most appropriate SageMaker execution role for your current environment.

Frequently Asked Questions about hf-cloud-sagemaker-iam-preflight

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

FAQPage Schema
Why does my SageMaker deployment fail when using an SSO-authenticated AWS CLI profile?

SageMaker deployment failures often occur because SSO-authenticated sessions lack the IAM permissions required to create or assume SageMaker execution roles. This skill automates role discovery and validation to resolve these missing IAM configurations.

How do I find and validate an existing IAM execution role for SageMaker training?

You can find and validate an IAM execution role for SageMaker by using this skill to automatically discover existing roles, rank them by usage frequency, and verify their trust policies allow SageMaker to assume them.

What is the safest way to automate IAM role provisioning for SageMaker in a restricted environment?

The safest way to automate IAM role provisioning for SageMaker is by using this skill to create new roles with minimal required permissions, preventing over-privileged access while ensuring successful model deployment and training.

Do I need AWS CLI configured to automate SageMaker IAM role discovery?

Yes, you need the AWS CLI pre-configured and authenticated in your host shell to perform IAM operations. This skill relies on the CLI to automate the discovery, validation, and creation of SageMaker execution roles.

Can I use this approach to create a new SageMaker execution role without granting overly broad permissions?

Yes, this skill provides a structured path to create new SageMaker execution roles with only the minimal required permissions. This prevents over-privileged access while ensuring successful model deployment and training.