hf-cloud-sagemaker-iam-preflight
by huggingface (GitHub) in huggingface/skills
What it does
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. 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.
Quoted from the skill's SKILL.md under its Apache-2.0 license.
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.
New to skills? Read How to Add and Use Claude Skills or browse Claude Code skills.
Files
- SKILL.md
- references/minimum-permissions.json
- references/trust-policy.json
- scripts/check_role.py
- scripts/create_role.py
Source: https://github.com/huggingface/skills/tree/main/skills/hf-cloud-sagemaker-iam-preflight. Checked 2026-10-13.
Similar skills
context-engineering
Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks, or when you need to configu...
using-agent-skills
Discovers and invokes agent skills. Use when starting a session, or when you need to decide which skill or workflow applies to the piece of work at hand. Thi...
claude-handoff
Hand the current conversation off to a fresh background agent that picks up the work immediately.
dispatching-parallel-agents
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
research
Investigate a question against high-trust primary sources and capture the findings as a Markdown file in the repo. Use when the user wants a topic researched...
hf-cli
Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and more on the Hugging Face Hub...