Ensure a usable SageMaker execution role exists before deploying or training. Use this skill whenever about to create a SageMaker endpoint, model, training job, or any resource that requires an execution role. Use it especially when the user has not provided a role ARN explicitly, when scripts are about to call `iam:CreateRole`, or when an AccessDenied error mentions an IAM action.
Install
npx skills add huggingface/skills --skill hf-cloud-sagemaker-iam-preflightnpx skills add huggingface/skills --skill hf-cloud-sagemaker-iam-preflight -a claude-code -gnpx skills add huggingface/skills --skill hf-cloud-sagemaker-iam-preflight -a codex -ggemini skills install https://github.com/huggingface/skills.git --path skills/hf-cloud-sagemaker-iam-preflightgh skill install huggingface/skills hf-cloud-sagemaker-iam-preflightgit clone --depth 1 https://github.com/huggingface/skills /tmp/huggingface__skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/huggingface__skills/skills/hf-cloud-sagemaker-iam-preflight ~/.claude/skills/hf-cloud-sagemaker-iam-preflight # Claude Code
cp -R /tmp/huggingface__skills/skills/hf-cloud-sagemaker-iam-preflight ~/.agents/skills/hf-cloud-sagemaker-iam-preflight # Codex, Cursor, Gemini CLI, Copilot, OpenCode