# Finetuning

> Finetuning is an open-source agent skill for ai models and llm tooling. Fine-tune models on Microsoft Foundry using SFT (supervised), DPO (preference), or RFT (reinforcement with graders). It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/microsoft/skills/tree/main/.github/plugins/azure-skills/skills/microsoft-foundry/finetuning
- **Repository:** https://github.com/microsoft/skills
- **GitHub stars:** 3,214
- **License:** MIT
- **Skill name:** finetuning
- **Collection:** https://github.com/microsoft/skills
- **Categories:** AI models and LLM tooling
- **Listing updated:** 2026-11-17

## About

Fine-tune models on Microsoft Foundry using SFT (supervised), DPO (preference), or RFT (reinforcement with graders). Covers dataset preparation, training job submission, deployment, and evaluation. USE FOR: fine-tune, SFT, DPO, RFT, training data, grader, distillation, fine-tuned model, training job, large file upload, calibrate grader, deploy fine-tuned model, evaluate fine-tuned model. DO NOT USE FOR: general model deployment without fine-tuning (use deploy-model), agent creation (use agents), prompt optimization without training (use prompt-optimizer).

## When your agent uses it

> Fine-tune models on Microsoft Foundry using SFT (supervised), DPO (preference), or RFT (reinforcement with graders). Covers dataset preparation, training job submission, deployment, and evaluation. USE FOR: fine-tune, SFT, DPO, RFT, training data, grader, distillation, fine-tuned model, training job, large file upload, calibrate grader, deploy fine-tuned model, evaluate fine-tuned model. DO NOT USE FOR: general model deployment without fine-tuning (use deploy-model), agent creation (use agents), prompt optimization without training (use prompt-optimizer).

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/microsoft/skills/tree/HEAD/.github/plugins/azure-skills/skills/microsoft-foundry/finetuning)
- [Network calls found in its scripts](https://github.com/microsoft/skills/tree/HEAD/.github/plugins/azure-skills/skills/microsoft-foundry/finetuning)
- [License: MIT](https://github.com/microsoft/skills/tree/HEAD/.github/plugins/azure-skills/skills/microsoft-foundry/finetuning)

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/finetuning` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/finetuning &&
cp -R "$tmp/.github/plugins/azure-skills/skills/microsoft-foundry/finetuning" ~/.claude/skills/finetuning &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/finetuning` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/finetuning` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/finetuning &&
cp -R "$tmp/.github/plugins/azure-skills/skills/microsoft-foundry/finetuning" ~/.agents/skills/finetuning &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/finetuning` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/finetuning` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/finetuning &&
cp -R "$tmp/.github/plugins/azure-skills/skills/microsoft-foundry/finetuning" ~/.cursor/skills/finetuning &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/finetuning` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/microsoft/skills.git --path .github/plugins/azure-skills/skills/microsoft-foundry/finetuning
```

Or copy the folder to `~/.gemini/skills/finetuning` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/finetuning`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/finetuning &&
cp -R "$tmp/.github/plugins/azure-skills/skills/microsoft-foundry/finetuning" ~/.copilot/skills/finetuning &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/finetuning` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/microsoft/skills.git
```

Then copy `skills/.github/plugins/azure-skills/skills/microsoft-foundry/finetuning` into your agent's skills folder as `finetuning`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Finetuning in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/finetuning to use it in all your projects, or to .claude/skills/finetuning in one project.

### Does Finetuning run scripts?

Yes. It runs Python scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Finetuning?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Finetuning?

The closest alternatives to Finetuning are Academy guide, MCP builder, Claude API, Nano banana pro openrouter and Generate image.

## Alternatives

- [Academy guide](https://ai-powered.com/skills/academy-guide): Academy guide is an agent skill for ai models and llm tooling.
- [MCP builder](https://ai-powered.com/skills/mcp-builder): MCP builder is an agent skill for ai models and llm tooling.
- [Claude API](https://ai-powered.com/skills/claude-api): Claude API is an agent skill for ai models and llm tooling.
- [Nano banana pro openrouter](https://ai-powered.com/skills/nano-banana-pro-openrouter): Nano banana pro openrouter is an open-source agent skill for design and media.
- [Generate image](https://ai-powered.com/skills/generate-image): Generate image is an open-source agent skill for design and media.
- [Phoenix evals](https://ai-powered.com/skills/phoenix-evals): Phoenix evals is an open-source agent skill for ai models and llm tooling.
- [Tldr prompt](https://ai-powered.com/skills/tldr-prompt): Tldr prompt is an open-source agent skill for ai models and llm tooling.
- [Arize evaluator](https://ai-powered.com/skills/arize-evaluator): Arize evaluator is an open-source agent skill for ai models and llm tooling.

---
Source: https://ai-powered.com/skills/finetuning
