Tooluck logoTooluck
SKILL.md

finetuning

Agent skill fromawslabs/agent-plugins

Generates code that fine-tunes a base model using SageMaker serverless training jobs. Use when the user says "start training", "fine-tune my model", "I'm ready to train", or when the plan reaches the finetuning step. Supports SFT, DPO, RLVR, and RLAIF trainers, including RLVR Lambda reward function and RLAIF custom prompt creation.

How to install finetuning

install finetuning
# install the agent-plugins pack with the skills CLI
npx skills add awslabs/agent-plugins

# or add only this skill to Claude Code: copy the folder

plugins/sagemaker-ai/skills/finetuning/

# into

~/.claude/skills/finetuning/ (all projects)

.claude/skills/finetuning/ (one project)

plugins/sagemaker-ai/skills/finetuning/SKILL.md

Apache-2.0Full file
1# Prerequisites
2
3Before starting this workflow, verify:
4
51. A `use_case_spec.md` file exists
6 - If missing: Activate the `use-case-specification` skill first, then resume
7 - DON'T EVER offer to create a use case spec without activating the use-case-specification skill.
8
92. A fine-tuning technique (SFT, DPO, RLVR, RLAIF, or CPT/RFT (for Nova)) and base model have already been selected
10 - If missing: Activate the `model-selection` and/or `finetuning-technique` skills to collect what's missing, then resume
11 - Don't make recommendations on the spot. You MUST activate the appropriate skill.
12
133. A base model name available on SageMakerHub has been identified
14 - If missing: Activate the `model-selection` skill to get it
15 - **Important:** Only use the model name that `model-selection` retrieves, as it may differ from other commonly used names for the same model
16
174. The SDK environment has been verified (SDK version, region, execution role)
18 - If not done: Activate the `sdk-getting-started` skill first, then resume
19
205. A training dataset uploaded to a bucket in the environment's default region.
21 - If not met: Help the user upload the dataset to the correct S3
22
23---
24
25# Critical Rules
26
27## Code Generation Rules
28
29- ✅ Use EXACTLY the imports shown in each code template
30- ❌ Do NOT add additional imports even if they seem helpful
31- ❌ Do NOT create variables before they're needed in that section
32- 📋 Copy the code structure precisely - no improvisation
33…

Excerpt shown under the repository's Apache-2.0 license.

More skills in agent-plugins

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates