AW

Manages SageMaker training and deployments. Use this for end-to-end ML model lifecycle management.

Install

mkdir -p .claude/skills/aws-sagemaker && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18832" && unzip -o skill.zip -d .claude/skills/aws-sagemaker && rm skill.zip

Installs to .claude/skills/aws-sagemaker

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

SageMaker via AWS CLI v2 (`aws sagemaker`). Training jobs, models, endpoints, processing, hyperparameter tuning, AutoML, pipelines, experiments, Feature Store, model registry, monitoring, notebooks, HyperPod clusters, Studio domains, MLflow, optimization, labeling, real-time/async inference.
292 charsno explicit “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Create SageMaker training jobs
  • Deploy models to SageMaker endpoints
  • Invoke SageMaker endpoints for inference
  • Run SageMaker processing jobs
  • Create SageMaker hyperparameter tuning jobs
  • Register models in SageMaker Model Registry

How it works

This skill uses AWS CLI v2 commands to interact with Amazon SageMaker services, covering various machine learning lifecycle stages.

Inputs & outputs

You give it
SageMaker configuration parameters via AWS CLI v2 commands
You get back
SageMaker resource creation, updates, or inference results

When to use aws-sagemaker

  • Create ML training jobs
  • Deploy model to endpoint
  • Set up hyperparameter tuning
  • Manage SageMaker pipelines

About this skill

AWS CLI v2 — Amazon SageMaker

Overview

Complete reference for aws sagemaker and aws sagemaker-runtime subcommands in AWS CLI v2. Covers training jobs, model creation, endpoint deployment, processing jobs, hyperparameter tuning, AutoML, pipelines, experiments, Feature Store, model registry, model cards, monitoring, inference experiments, notebook instances, HyperPod clusters, Studio domains, MLflow integration, optimization jobs, labeling, workforce management, custom images, SageMaker Hubs, lineage tracking, edge deployment, partner apps, studio lifecycle configs, batch transform, algorithms, projects, code repositories, search, and real-time/async inference.

Quick Reference — Common Workflows

Create a training job

aws sagemaker create-training-job \
  --training-job-name my-training \
  --role-arn arn:aws:iam::123456789012:role/SageMakerRole \
  --algorithm-specification TrainingImage=382416733822.dkr.ecr.us-east-1.amazonaws.com/xgboost:latest,TrainingInputMode=File \
  --input-data-config '[{"ChannelName":"train","DataSource":{"S3DataSource":{"S3Uri":"s3://bucket/train","S3DataType":"S3Prefix"}}}]' \
  --output-data-config S3OutputPath=s3://bucket/output \
  --resource-config InstanceType=ml.m5.xlarge,InstanceCount=1,VolumeSizeInGB=30 \
  --stopping-condition MaxRuntimeInSeconds=86400

Create a model and deploy to an endpoint

aws sagemaker create-model \
  --model-name my-model \
  --primary-container Image=382416733822.dkr.ecr.us-east-1.amazonaws.com/xgboost:latest,ModelDataUrl=s3://bucket/output/model.tar.gz \
  --execution-role-arn arn:aws:iam::123456789012:role/SageMakerRole

aws sagemaker create-endpoint-config \
  --endpoint-config-name my-config \
  --production-variants '[{"VariantName":"primary","ModelName":"my-model","InstanceType":"ml.m5.xlarge","InitialInstanceCount":1}]'

aws sagemaker create-endpoint \
  --endpoint-name my-endpoint \
  --endpoint-config-name my-config

aws sagemaker wait endpoint-in-service --endpoint-name my-endpoint

Invoke an endpoint

aws sagemaker-runtime invoke-endpoint \
  --endpoint-name my-endpoint \
  --content-type text/csv \
  --body '1.0,2.0,3.0' \
  output.json

Create and run a pipeline

aws sagemaker create-pipeline \
  --pipeline-name my-pipeline \
  --pipeline-definition file://pipeline.json \
  --role-arn arn:aws:iam::123456789012:role/SageMakerRole

aws sagemaker start-pipeline-execution \
  --pipeline-name my-pipeline

Run a processing job

aws sagemaker create-processing-job \
  --processing-job-name my-processing \
  --role-arn arn:aws:iam::123456789012:role/SageMakerRole \
  --processing-resources '{"ClusterConfig":{"InstanceCount":1,"InstanceType":"ml.m5.xlarge","VolumeSizeInGB":30}}' \
  --app-specification ImageUri=382416733822.dkr.ecr.us-east-1.amazonaws.com/sagemaker-scikit-learn:latest

Create a hyperparameter tuning job

aws sagemaker create-hyper-parameter-tuning-job \
  --hyper-parameter-tuning-job-name my-tuning \
  --hyper-parameter-tuning-job-config '{"Strategy":"Bayesian","HyperParameterTuningJobObjective":{"Type":"Maximize","MetricName":"validation:auc"},"ResourceLimits":{"MaxNumberOfTrainingJobs":20,"MaxParallelTrainingJobs":3}}' \
  --training-job-definition file://training-def.json

Create a Feature Store feature group

aws sagemaker create-feature-group \
  --feature-group-name my-features \
  --record-identifier-feature-name customer_id \
  --event-time-feature-name event_time \
  --feature-definitions '[{"FeatureName":"customer_id","FeatureType":"String"},{"FeatureName":"event_time","FeatureType":"String"},{"FeatureName":"age","FeatureType":"Integral"}]' \
  --online-store-config '{"EnableOnlineStore":true}' \
  --role-arn arn:aws:iam::123456789012:role/SageMakerRole

Register a model in Model Registry

aws sagemaker create-model-package \
  --model-package-group-name my-model-group \
  --inference-specification '{"Containers":[{"Image":"382416733822.dkr.ecr.us-east-1.amazonaws.com/xgboost:latest","ModelDataUrl":"s3://bucket/model.tar.gz"}],"SupportedTransformInstanceTypes":["ml.m5.xlarge"],"SupportedRealtimeInferenceInstanceTypes":["ml.m5.xlarge"],"SupportedContentTypes":["text/csv"],"SupportedResponseMIMETypes":["text/csv"]}' \
  --model-approval-status Approved

Command Reference

See index.md for the quick reference table and global options.

GroupFileCommands
Trainingtraining.mdcreate-training-job, describe-training-job, list-training-jobs, stop-training-job, update-training-job, delete-training-job, create-training-plan, describe-training-plan, list-training-plans, search-training-plan-offerings
Modelsmodels.mdcreate-model, describe-model, list-models, delete-model, create-compilation-job, describe-compilation-job, list-compilation-jobs, stop-compilation-job, delete-compilation-job
Endpointsendpoints.mdcreate-endpoint-config, describe-endpoint-config, list-endpoint-configs, delete-endpoint-config, create-endpoint, describe-endpoint, list-endpoints, update-endpoint, update-endpoint-weights-and-capacities, delete-endpoint, create-inference-component, describe-inference-component, list-inference-components, update-inference-component, update-inference-component-runtime-config, delete-inference-component
Processingprocessing.mdcreate-processing-job, describe-processing-job, list-processing-jobs, stop-processing-job, delete-processing-job
Hyperparameter Tuninghyperparameter-tuning.mdcreate-hyper-parameter-tuning-job, describe-hyper-parameter-tuning-job, list-hyper-parameter-tuning-jobs, stop-hyper-parameter-tuning-job, delete-hyper-parameter-tuning-job, list-training-jobs-for-hyper-parameter-tuning-job
AutoMLautoml.mdcreate-auto-ml-job, describe-auto-ml-job, list-auto-ml-jobs, stop-auto-ml-job, create-auto-ml-job-v2, describe-auto-ml-job-v2, list-candidates-for-auto-ml-job
Pipelinespipelines.mdcreate-pipeline, describe-pipeline, list-pipelines, update-pipeline, delete-pipeline, start-pipeline-execution, describe-pipeline-execution, list-pipeline-executions, stop-pipeline-execution, retry-pipeline-execution, update-pipeline-execution, list-pipeline-execution-steps, list-pipeline-parameters-for-execution, describe-pipeline-definition-for-execution, send-pipeline-execution-step-success, send-pipeline-execution-step-failure, list-pipeline-versions, update-pipeline-version
Experimentsexperiments.mdcreate-experiment, describe-experiment, list-experiments, update-experiment, delete-experiment, create-trial, describe-trial, list-trials, update-trial, delete-trial, create-trial-component, describe-trial-component, list-trial-components, update-trial-component, delete-trial-component, associate-trial-component, disassociate-trial-component
Feature Storefeature-store.mdcreate-feature-group, describe-feature-group, list-feature-groups, update-feature-group, delete-feature-group, describe-feature-metadata, update-feature-metadata
Model Registrymodel-registry.mdcreate-model-package-group, describe-model-package-group, list-model-package-groups, delete-model-package-group, get-model-package-group-policy, put-model-package-group-policy, delete-model-package-group-policy, create-model-package, describe-model-package, list-model-packages, update-model-package, delete-model-package, batch-describe-model-package, list-model-metadata
Model Cardsmodel-cards.mdcreate-model-card, describe-model-card, list-model-cards, update-model-card, delete-model-card, list-model-card-versions, create-model-card-export-job, describe-model-card-export-job, list-model-card-export-jobs
Monitoringmonitoring.mdcreate-monitoring-schedule, describe-monitoring-schedule, list-monitoring-schedules, update-monitoring-schedule, delete-monitoring-schedule, start-monitoring-schedule, stop-monitoring-schedule, list-monitoring-executions, list-monitoring-alerts, list-monitoring-alert-history, update-monitoring-alert, create-data-quality-job-definition, describe-data-quality-job-definition, list-data-quality-job-definitions, delete-data-quality-job-definition, create-model-quality-job-definition, describe-model-quality-job-definition, list-model-quality-job-definitions, delete-model-quality-job-definition, create-model-bias-job-definition, describe-model-bias-job-definition, list-model-bias-job-definitions, delete-model-bias-job-definition, create-model-explainability-job-definition, describe-model-explainability-job-definition, list-model-explainability-job-definitions, delete-model-explainability-job-definition
Inference Experimentsinference-experiments.mdcreate-inference-experiment, describe-inference-experiment, list-inference-experiments, update-inference-experiment, start-inference-experiment, stop-inference-experiment, delete-inference-experiment, create-inference-recommendations-job, describe-inference-recommendations-job, list-inference-recommendations-jobs, stop-inference-recommendations-job, list-inference-recommendations-job-steps, get-scaling-configuration-recommendation
Notebooksnotebooks.mdcreate-notebook-instance, describe-notebook-instance, list-notebook-instances, update-notebook-instance, start-notebook-instance, stop-notebook-instance, delete-notebook-instance, create-notebook-instance-lifecycle-config, describe-notebook-instance-lifecycle-config, list-notebook-instance-lifecycle-configs, update-notebook-instance-lifecycle-config, delete-notebook-instance-lifecycle-config, create-presigned-notebook-instance-url
Clustersclusters.mdcreate-

Content truncated.

When not to use it

  • When direct interaction with SageMaker Studio domains is required
  • When managing SageMaker HyperPod clusters outside of CLI commands
  • When managing SageMaker projects or code repositories through a GUI

Limitations

  • Limited to operations supported by AWS CLI v2 for SageMaker
  • Does not provide a graphical user interface for SageMaker Studio domains
  • Does not directly manage SageMaker HyperPod clusters beyond CLI commands

How it compares

This skill provides a programmatic interface for SageMaker operations, enabling automation and scripting compared to manual console interactions.

Compared to similar skills

aws-sagemaker side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
aws-sagemaker (this skill)017dReviewIntermediate
mlops-engineer33moNo flagsAdvanced
modal57moReviewIntermediate
deployment-pipeline-design62moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

mlops-engineer

sickn33

Build comprehensive ML pipelines, experiment tracking, and model registries with MLflow, Kubeflow, and modern MLOps tools. Implements automated training, deployment, and monitoring across cloud platforms. Use PROACTIVELY for ML infrastructure, experiment management, or pipeline automation.

333

modal

davila7

Run Python code in the cloud with serverless containers, GPUs, and autoscaling. Use when deploying ML models, running batch processing jobs, scheduling compute-intensive tasks, or serving APIs that require GPU acceleration or dynamic scaling.

587

deployment-pipeline-design

wshobson

Design multi-stage CI/CD pipelines with approval gates, security checks, and deployment orchestration. Use when architecting deployment workflows, setting up continuous delivery, or implementing GitOps practices.

670

aws-solution-architect

alirezarezvani

Design AWS architectures for startups using serverless patterns and IaC templates. Use when asked to design serverless architecture, create CloudFormation templates, optimize AWS costs, set up CI/CD pipelines, or migrate to AWS. Covers Lambda, API Gateway, DynamoDB, ECS, Aurora, and cost optimization.

2047

terraform-module-library

wshobson

Build reusable Terraform modules for AWS, Azure, and GCP infrastructure following infrastructure-as-code best practices. Use when creating infrastructure modules, standardizing cloud provisioning, or implementing reusable IaC components.

759

cloud-architect

sickn33

Expert cloud architect specializing in AWS/Azure/GCP multi-cloud infrastructure design, advanced IaC (Terraform/OpenTofu/CDK), FinOps cost optimization, and modern architectural patterns. Masters serverless, microservices, security, compliance, and disaster recovery. Use PROACTIVELY for cloud architecture, cost optimization, migration planning, or multi-cloud strategies.

649

Search skills

Search the agent skills registry