plugins/sagemaker-ai/skills/finetuning-setup/SKILL.md
Selects a base model and fine-tuning technique (SFT, DPO, or RLVR) for the user's use case by querying SageMaker Hub. Use when the user asks which model or technique to use, wants to start fine-tuning, or mentions a model name or family (e.g., "Llama", "Mistral") — always activate even for known model names because the exact Hub model ID must be resolved. Queries available models, validates technique compatibility, and confirms selections.
npx skillsauth add awslabs/agent-plugins finetuning-setupInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Guides the user through selecting a base model and fine-tuning technique based on their use case.
use_case_spec.md file exists. If not, activate the use-case-specification skill to generate it first.List all available SageMaker Hubs in the user's region by calling the SageMaker ListHubs API using the aws___call_aws tool.
From the results, filter out any hub whose HubDescription contains "AI Registry" — these do not contain JumpStart models.
The remaining hubs are eligible (e.g., SageMakerPublicHub and any private hubs).
If exactly one eligible hub exists, use it automatically — do not ask the user.
If multiple eligible hubs exist, present them to the user and ask which one to use. Example:
I found the following model hubs:
- SageMakerPublicHub — SageMaker Public Hub
- Private-Hub-XYZ — Private Hub models
Which hub would you like to use?
Store the selected hub name for use in subsequent steps.
First, retrieve all available SageMaker Hub model names by running: python finetuning-setup/scripts/get_model_names.py <hub-name>.
Present all available models to the user with their licenses before making any recommendations. Cross-reference the model list with references/model-licenses.md and display each as <model name> - [<license>](<url>). For example: "Qwen3-4B - Apache 2.0"
If you already know the model the user wants to use (from conversation context or planning files), confirm that it's in the list, display its license, and move on. Otherwise, help the user pick a model following the instructions in references/model-selection.md.
Important: Make sure to remember this list of available models when helping with model selection. Don't recommend a model that's not available to the user.
references/finetune_technique_selection_guide.md and recommend the best-fit technique (SFT, DPO, or RLVR) for the use case. Present the recommendation and reasoning to the user.python finetuning-setup/scripts/get_recipes.py <model-name> <hub-name>
Present a summary to the user:
Here's what we've selected:
- Base model: [model name]
- Fine-tuning technique: [SFT/DPO/RLVR]
references/model-selection.md — Model selection instructions and benchmark descriptionsreferences/finetune_technique_selection_guide.md — Technique guidancereferences/model-licenses.md — Model license information for display during model selectiondevelopment
Build workflows with AWS Step Functions state machines using the JSONata query language. Covers Amazon States Language (ASL) structure, state types, variables, data transformation, error handling, AWS service integration, and migrating from the JSONPath to the JSONata query language.
tools
Design, build, deploy, test, and debug serverless applications with AWS Lambda. Triggers on phrases like: Lambda function, event source, serverless application, API Gateway, EventBridge, Step Functions, serverless API, event-driven architecture, Lambda trigger. For deploying non-serverless apps to AWS, use deploy-on-aws plugin instead.
development
Validates the user's environment for SageMaker AI operations — checks SDK version, AWS region, and execution role. Use when the user says "set up", "getting started", "check my environment", "configure SDK", or as the first step in any plan involving SageMaker/Bedrock training, evaluation, or deployment.
data-ai
Selects a base model for the user's use case by querying SageMaker Hub. Use when the user asks which model to use, wants to select or change their base model, mentions a model name or family (e.g., "Llama", "Mistral", "Nova"), or wants to evaluate a base model — always activate even for known model names because the exact Hub model ID must be resolved. Queries available models, presents benchmarks and licenses, and confirms selection.