Skills for Agents
Amazon SageMaker AI agent skills are a capability of Amazon SageMaker AI for data scientists and developers who use AI coding assistants, such as Kiro, Claude Code, Codex, and Cursor. The skills give your coding assistant validated workflows for model customization and deployment, so that it follows Amazon SageMaker AI best practices instead of relying on general knowledge. This saves you time and reduces errors compared to writing each step by hand.
You describe your use case in natural language, in an IDE or at the command line. Your coding assistant then uses the skills to plan the work, prepare data, select a model, fine-tune, evaluate, and deploy. It generates code that calls Amazon SageMaker AI APIs and Model Context Protocol (MCP) tools for you.
AWS publishes the skills as the open-source aws-ai-ml skill in the
aws-core plugin. To view the source, see the Agent Toolkit for AWS repository
on the GitHub websiteSKILL.md format of the Agent Skills open standard, so it works in any
compatible coding environment.
Getting started
The aws-ai-ml skill is part of the aws-core plugin in the
Agent Toolkit for AWS. A plugin bundles the agent skills with the configuration for the
AWS MCP Server, which gives your coding assistant access to AWS APIs, sandboxed script
execution, and current AWS documentation.
Before you install the skills, make sure that you have the following:
An AI coding assistant that supports agent skills or plugins
The uv package manager on the Astral website
, which runs the AWS MCP Server An AWS account with credentials configured locally, which you must have to call AWS APIs and run scripts
For installation commands and MCP Server configuration for each coding assistant, see
the Agent Toolkit
for AWS quick start on the GitHub website
After you install the skills, describe your task to your coding assistant. For example, "Fine-tune a model to classify my support tickets using the data in my S3 bucket." The assistant loads only the parts of the skill that the task needs.
What the skills support
The aws-ai-ml skill covers the model customization lifecycle on
Amazon SageMaker AI, from planning through production deployment. It includes deployment
paths for Amazon Nova and open-source models, Amazon SageMaker HyperPod, and the Amazon SageMaker AI Python SDK
v3.
The following table lists the capabilities of the skill. Your coding assistant matches your request to a capability and loads only the guidance for that capability.
| Capability | Purpose |
|---|---|
| Project planning | Plans a model customization or deployment project, scopes the work, and resumes or modifies an existing plan. Your coding assistant starts here when a request spans more than one capability. |
| Use case specification | Defines the business problem, requirements, and success criteria before you choose a model. This is the default first step in a plan, unless you choose to skip it. |
| Model selection | Recommends a base model to customize or deploy based on your requirements, and resolves its exact model ID. It confirms whether you want to fine-tune the model or deploy it as is. |
| Fine-tuning technique selection | Recommends supervised fine-tuning (SFT), direct preference optimization (DPO), reinforcement learning with verifiable rewards (RLVR), or reinforcement learning from AI feedback (RLAIF) for the selected model, and validates the choice against the model's recipes. |
| Dataset quality evaluation | Validates the dataset format and runs a dataset quality evaluation job that reports on duplicates, languages, personally identifiable information (PII), diversity, toxicity, and topic coverage. Topic coverage is available in US East (N. Virginia) only. |
| Dataset transformation | Reformats, deduplicates, splits, merges, filters, redacts PII from, or converts the schema of a local or Amazon S3 dataset with generated code, built-in operations, or your own code. |
| Synthetic data generation | Generates realistic data for training, augmentation, database seeding, or tabular datasets, in formats such as CSV, Parquet, or SQLite. |
| Human annotation and review | Sets up human review cycles in chat or in Label Studio, summarizes the annotation results, and applies the corrections to your dataset. |
| Auto-labeling | Labels, tags, or classifies unlabeled data at scale with a labeling spec and a jury of models, refines the spec, and measures labeling accuracy. |
| Fine-tuning | Generates fine-tuning code and starts training with SFT, DPO, RLVR, or RLAIF trainers. |
| Training jobs | Runs Amazon SageMaker AI training jobs with recipes, JumpStart traditional ML algorithms, custom training scripts or containers, or distributed training, and diagnoses training job failures. |
| Processing jobs | Runs Amazon SageMaker AI processing jobs for preprocessing, feature engineering, evaluation, transformation, or ETL with scripts, framework processors, Spark, custom containers, Amazon Athena, or Amazon Redshift, and diagnoses processing job failures. |
| Model evaluation | Evaluates, benchmarks, and compares models with LLM-as-a-judge or a custom scorer. |
| Model deployment and optimization | Deploys models to Amazon SageMaker AI endpoints or to Amazon Bedrock, with deployment paths for Amazon Nova and open-source models. For Amazon SageMaker AI real-time endpoints, it also benchmarks endpoints, finds the most cost-effective instance for a performance goal, and right-sizes deployed models. |
| Environment setup | Sets up and checks AWS Identity and Access Management (IAM) roles, Amazon S3 buckets, and SDK configuration for Amazon SageMaker AI training, evaluation, and deployment. |
| MLflow app management | Sets up, updates, or deletes an Amazon SageMaker AI managed MLflow app, and connects it when a workflow needs an MLflow backend. |
| Endpoint diagnostics | Diagnoses Amazon SageMaker AI endpoint status, errors, latency, inference failures, failed deployments, instance counts, and container logs. |
| HyperPod cluster commands | Runs commands on the nodes of a HyperPod cluster (Amazon EKS or Slurm), such as checking GPUs or disk space, reading a log or configuration file, or installing a package. |
When your request involves more than one capability, your coding assistant follows these rules:
It plans the work first, and then runs each task in the plan.
It defines the use case before it selects a model, unless you provide a specific model ID or choose to skip that step.
It uses the skill's validated workflows for dataset quality, human annotation, and auto-labeling instead of general knowledge.
If you ask for a model on AWS without naming a service, it compares Amazon SageMaker AI and Amazon Bedrock, or asks you which one to use.
For Amazon Bedrock-native work, such as Amazon Bedrock Agents, Knowledge Bases, or Guardrails, your coding assistant gives best-effort guidance and tells you when a task is outside the skill's validated workflows.
For more information
For more information, see the following resources: