HF Cloud Sagemaker Iam Preflight Claude Skill
HF Cloud Sagemaker Iam Preflight is a Claude skill by Hugging Face, and this page shows how to install it. Ensure a usable SageMaker execution role exists before deploying or training.
See all 7 skills by Hugging Face in huggingface/skills.
What It Does
Ensure a usable SageMaker execution role exists before deploying or training. Never blindly call iam:CreateRole - always check for existing roles first. This skill prevents the most common SageMaker deployment failure: trying to create IAM resources from an SSO principal that has no IAM write permissions. Most deployments fail here because the script tried to create a new role without checking if a usable one already existed, then blew up because the caller is an SSO principal. This skill encodes the right order: discover, validate, only create if necessary.
This quote comes from the skill's SKILL.md.
When To Use It
- 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
git clone --depth 1 https://github.com/huggingface/skills.git /tmp/skills mkdir -p ~/.claude/skills/ cp -r /tmp/skills/skills/hf-cloud-sagemaker-iam-preflight ~/.claude/skills/hf-cloud-sagemaker-iam-preflight
The command copies the skill from the author's repo. SkillTrove does not host it.
Are you new to skills? Read How to Use Claude Skills: Install in Claude Code, claude.ai and Codex or browse the Claude Code skills.
Files
- SKILL.md (6.9 KB)
- references/minimum-permissions.json (1.0 KB)
- references/trust-policy.json (197 B)
- scripts/check_role.py (6.7 KB)
- scripts/create_role.py (3.8 KB)
We last checked this skill against its source on 2026-10-13.
Questions
How Do I Install This Skill?
Copy the skills/hf-cloud-sagemaker-iam-preflight folder from https://github.com/huggingface/skills into your agent's skills folder. For Claude Code that folder is ~/.claude/skills/hf-cloud-sagemaker-iam-preflight. The install block on this page has the full commands for each agent.
What License Does This Skill Use?
The license listed for this skill is Apache-2.0. Read the license in the source repo before you reuse it.
Where Is The Source For This Skill?
The source is on GitHub at https://github.com/huggingface/skills/tree/main/skills/hf-cloud-sagemaker-iam-preflight. It is part of the huggingface/skills repo.
Does This Skill Work With Codex Or Cursor?
This listing names these agents: Claude Code, Codex, Cursor, Gemini CLI, OpenClaw.
Related Skills
HF Cloud AWS Context Discovery
Discover the user's local AWS context (active profile, region, account ID, caller identity) at the start of any AWS task. Use this skill before any other AWS...
HF Cloud Sagemaker Production Defaults
Create a SageMaker endpoint (real-time, real-time scale-to-zero, or async) with autoscaling, CloudWatch alarms, and tagging enabled by default. Use this skil...
LLM Wiki
Use when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/c...
Research
Default entry point for any research request - a hybrid router that classifies the question deterministically and either delegates to a specialist research...
Skill Retro
Use when the user wants their skills graded from real session history, asks which installed skills actually work, or wants evidence-backed skill edits. Colle...