本文へスキップ
Kitbay
スキル公式

hf-cloud-sagemaker-iam-preflight

Apache-2.02026年11月11日 更新11,334GitHubスタースクリプトあり

A Hugging Face skill that makes sure a working SageMaker execution role exists before an agent creates endpoints, models or training jobs.

スキルの内容

A Hugging Face skill that makes sure a working SageMaker execution role exists before an agent creates endpoints, models or training jobs. It sets an order: validate the role the user supplied, otherwise look for a usable existing role, and only create a new one when nothing fits, which avoids failures for single sign-on users who cannot create roles. It lists the minimum permissions a role needs and gives plain AWS CLI fallbacks. Bundled Python helpers check and create roles by calling the AWS CLI from the shell where it already works, with a warning about Windows Bash shims.

できること

  • Validate a SageMaker execution role
  • Find a usable existing IAM role
  • Create a role only when none fits
  • List minimum role permissions