finetuning
Skill1.6k starsChanged 16 days agoMITView on GitHub
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).
10 other projects use a version of this, 1 of them edited.
Trending
More talk lately.about the whole repository
Most recently taken up by
- jgeofil/agent-skillsword for word, first seen Nov 8, 2026
- microsoft/frontier-ai-governance-rvasword for word, first seen Oct 25, 2026
- microsoft/frontier-ai-starter-kit-rvasword for word, first seen Oct 13, 2026
- microsoft/frontier-agentic-cobuild-rvasword for word, first seen Oct 13, 2026
- microsoft/GitHub-Copilot-for-Azureword for word, first seen Oct 13, 2026
- awslabs/agent-pluginstheir own version, first seen Oct 13, 2026
Who's talking about microsoft/azure-skills
- microsoft/apm“Fold marketplace authoring config into apm.yml as the single APM surface”GitHub · Apr 29, 2026 · 2 reactions
- salaboy/skills-oci“Support for Skill Collections”GitHub · Jul 3, 2026 · 1 reactions
- Azure/azure-dev“Add `azd tool install/upgrade azure-skills` with per-host selection”GitHub · Jun 18, 2026 · 1 reactions
- microsoft/apm“feat(pack): unify 'apm pack' to produce bundle and marketplace.json (closes #722)”GitHub · Apr 29, 2026 · 1 reactions
- microsoft/GitHub-Copilot-for-Azure“Update CHANGELOG.md when syncing plugin content”GitHub · Apr 16, 2026 · 1 reactions
The biggest 5 of 50 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 50
Talked about on GitHub (50 times).
On GitHub · 50
- Apr 29, 2026Fold marketplace authoring config into apm.yml as the single APM surface — microsoft/apm2 reactions
- Jul 3, 2026Support for Skill Collections — salaboy/skills-oci1 reaction
- Jun 18, 2026Add `azd tool install/upgrade azure-skills` with per-host selection — Azure/azure-dev1 reaction · 1 comment
- Apr 29, 2026feat(pack): unify 'apm pack' to produce bundle and marketplace.json (closes #722) — microsoft/apm1 reaction · 1 comment
- Apr 16, 2026Update CHANGELOG.md when syncing plugin content — microsoft/GitHub-Copilot-for-Azure1 reaction · 2 comments
45 more on GitHub
- Nov 7, 2026claude-code-marketplaces.github.microsoft.azure-skills: 1.2.114 → 1.2.115 — sudosubin/agents.nix0 reactions
- Nov 6, 2026agent-skills.github.microsoft.azure-skills: 1.2.114 → 1.2.115 — sudosubin/agents.nix0 reactions
- Nov 6, 2026claude-code-plugins.github.microsoft.azure-skills: 1.2.114 → 1.2.115 — sudosubin/agents.nix0 reactions
- Nov 6, 2026agent-plugins.github.microsoft.azure-skills: 1.2.114 → 1.2.115 — sudosubin/agents.nix0 reactions
- Nov 6, 2026copilot-plugins.github.microsoft.azure-skills: 1.2.114 → 1.2.115 — sudosubin/agents.nix0 reactions
- Nov 6, 2026agent-skills.github.microsoft.azure-skills: 1.2.113 → 1.2.114 — sudosubin/agents.nix0 reactions
- Nov 5, 2026claude-code-plugins.github.microsoft.azure-skills: 1.2.113 → 1.2.114 — sudosubin/agents.nix0 reactions
- Nov 5, 2026agent-plugins.github.microsoft.azure-skills: 1.2.113 → 1.2.114 — sudosubin/agents.nix0 reactions
- Nov 5, 2026copilot-plugins.github.microsoft.azure-skills: 1.2.113 → 1.2.114 — sudosubin/agents.nix0 reactions
- Nov 5, 2026claude-code-marketplaces.github.microsoft.azure-skills: 1.2.113 → 1.2.114 — sudosubin/agents.nix0 reactions
- Nov 5, 2026agent-plugins.github.microsoft.azure-skills: init at 1.2.113 — sudosubin/agents.nix0 reactions
- Nov 4, 2026agent-skills.github.microsoft.azure-skills: 1.2.111 → 1.2.113 — sudosubin/agents.nix0 reactions
- Nov 4, 2026claude-code-plugins.github.microsoft.azure-skills: 1.2.111 → 1.2.113 — sudosubin/agents.nix0 reactions
- Nov 4, 2026copilot-plugins.github.microsoft.azure-skills: 1.2.111 → 1.2.113 — sudosubin/agents.nix0 reactions
- Nov 4, 2026claude-code-marketplaces.github.microsoft.azure-skills: 1.2.111 → 1.2.113 — sudosubin/agents.nix0 reactions
- Nov 4, 2026agent-skills.github.microsoft.azure-skills: 1.2.110 → 1.2.111 — sudosubin/agents.nix0 reactions
- Nov 3, 2026claude-code-marketplaces.github.microsoft.azure-skills: 1.2.110 → 1.2.111 — sudosubin/agents.nix0 reactions
- Nov 3, 2026claude-code-plugins.github.microsoft.azure-skills: 1.2.110 → 1.2.111 — sudosubin/agents.nix0 reactions
- Nov 3, 2026copilot-plugins.github.microsoft.azure-skills: 1.2.110 → 1.2.111 — sudosubin/agents.nix0 reactions
- Nov 2, 2026agent-skills.github.microsoft.azure-skills: 1.2.109 → 1.2.110 — sudosubin/agents.nix0 reactions
- Nov 2, 2026claude-code-marketplaces.github.microsoft.azure-skills: 1.2.109 → 1.2.110 — sudosubin/agents.nix0 reactions
- Nov 2, 2026claude-code-plugins.github.microsoft.azure-skills: 1.2.109 → 1.2.110 — sudosubin/agents.nix0 reactions
- Nov 2, 2026copilot-plugins.github.microsoft.azure-skills: 1.2.109 → 1.2.110 — sudosubin/agents.nix0 reactions
- Nov 2, 2026chore: bump external skill pins — jthiruveedula/agentkit0 reactions
- Oct 30, 2026copilot-plugins.github.microsoft.azure-skills: 1.2.108 → 1.2.109 — sudosubin/agents.nix0 reactions
- Oct 30, 2026claude-code-plugins.github.microsoft.azure-skills: 1.2.108 → 1.2.109 — sudosubin/agents.nix0 reactions
- Oct 30, 2026agent-skills.github.microsoft.azure-skills: 1.2.108 → 1.2.109 — sudosubin/agents.nix0 reactions
- Oct 30, 2026claude-code-marketplaces.github.microsoft.azure-skills: 1.2.108 → 1.2.109 — sudosubin/agents.nix0 reactions
- Oct 29, 2026claude-code-plugins.github.microsoft.azure-skills: 1.2.106 → 1.2.108 — sudosubin/agents.nix0 reactions
- Oct 29, 2026claude-code-marketplaces.github.microsoft.azure-skills: 1.2.106 → 1.2.108 — sudosubin/agents.nix0 reactions
- Oct 29, 2026agent-skills.github.microsoft.azure-skills: 1.2.106 → 1.2.108 — sudosubin/agents.nix0 reactions
- Oct 29, 2026copilot-plugins.github.microsoft.azure-skills: 1.2.106 → 1.2.108 — sudosubin/agents.nix0 reactions
- Oct 28, 2026agent-skills.github.microsoft.azure-skills: 1.2.103 → 1.2.106 — sudosubin/agents.nix0 reactions
- Oct 28, 2026copilot-plugins.github.microsoft.azure-skills: 1.2.103 → 1.2.106 — sudosubin/agents.nix0 reactions
- Oct 28, 2026claude-code-plugins.github.microsoft.azure-skills: 1.2.103 → 1.2.106 — sudosubin/agents.nix0 reactions
- Oct 28, 2026claude-code-marketplaces.github.microsoft.azure-skills: init at 1.2.106 — sudosubin/agents.nix0 reactions
- Oct 27, 2026agent-skills.github.microsoft.azure-skills: 1.2.100 → 1.2.103 — sudosubin/agents.nix0 reactions
- Oct 27, 2026claude-code-plugins.github.microsoft.azure-skills: 1.2.100 → 1.2.103 — sudosubin/agents.nix0 reactions
- Oct 27, 2026copilot-plugins.github.microsoft.azure-skills: 1.2.100 → 1.2.103 — sudosubin/agents.nix0 reactions
- Oct 26, 2026agent-skills.github.microsoft.azure-skills: 1.2.99 → 1.2.100 — sudosubin/agents.nix0 reactions
- Oct 23, 2026agent-skills.github.microsoft.azure-skills: 1.2.98 → 1.2.99 — sudosubin/agents.nix0 reactions
- Oct 22, 2026agent-skills.github.microsoft.azure-skills: 1.2.97 → 1.2.98 — sudosubin/agents.nix0 reactions
- Oct 21, 2026agent-skills.github.microsoft.azure-skills: 1.2.96 → 1.2.97 — sudosubin/agents.nix0 reactions
- Oct 20, 2026agent-skills.github.microsoft.azure-skills: 1.2.95 → 1.2.96 — sudosubin/agents.nix0 reactions
- Oct 20, 2026[New Skill]: azure-mysql — microsoft/GitHub-Copilot-for-Azure0 reactions · 1 comment
Used with
Projects with it also use humanize-content, excalidraw-diagram and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillhumanize-content
Write or revise human-readable text in the project's saved tone of voice. Use whenever composing prose, including documentation, emails, articles, social posts, UI copy, and user-facing explanations or replies, even without an explicit humanization request or slash command. Cut filler, stale content, and needless complexity; create TONE-OF-VOICE.md on first use and reuse it on later runs.
Also in 3 projects that use this
MicrosoftSkillexcalidraw-diagram
Create Excalidraw diagram JSON files that make visual arguments. Use when the user wants to visualize workflows, architectures, or concepts.
Also in 3 projects that use this
- +1 more from microsoft
Other versions10 projects use a version of this.
Word for word · 8
- microsoft/agent-skills★ 3.2k100% same
- microsoft/skills★ 3.2k100% same
- microsoft/GitHub-Copilot-for-Azure★ 262100% same
- microsoft/frontier-agentic-cobuild-rvas★ 7100% same
- microsoft/frontier-ai-starter-kit-rvas★ 7100% same
- microsoft/frontier-ai-governance-rvas★ 1100% same
- jgeofil/agent-skills★ 0100% same
- patterson-agents/skills★ 0100% same
Edited · 1
- jorgeasaurus/agent-skills★ 1498% same
Wrote their own version · 1
- awslabs/agent-plugins★ 918same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository87 other files it gives its agents.
- aks-cost-optimizationSkill
- aks-gpu-inferenceSkill
- aks-known-issuesSkill
- aks-network-captureSkill
- aks-troubleshootingSkill
- azure-search-navSkill
- azure-advisor-actionabilitySkill
- azure-advisorSkill
- cost-analysisSkill
- cost-estimationSkill
- cost-governanceSkill
- cost-optimizationSkill
- azure-kusto-graphSkill
- azure-kusto-irql-graphSkill
- azure-kusto-irqlSkill
- azure-local-multi-rackSkill
- azure-localSkill
- airunway-aks-setupSkill
- appinsights-instrumentationSkill
- azure-aigatewaySkill
- azure-aiSkill
- azure-app-onboard-prereqSkill
- azure-app-onboardSkill
- azure-cloud-migrateSkill
- azure-complianceSkill
- azure-computeSkill
- azure-deploySkill
- azure-diagnosticsSkill
- azure-enterprise-infra-plannerSkill
- azure-kubernetes-app-deploySkill
- azure-kubernetes-automatic-readinessSkill
- azure-kubernetesSkill
- azure-kustoSkill
- azure-messagingSkill
- azure-prepareSkill
- azure-quotasSkill
- azure-reliabilitySkill
- azure-resource-lookupSkill
- azure-resource-visualizerSkill
- azure-storageSkill
- azure-upgradeSkill
- azure-validateSkill
- discover-azure-skillsSkill
- entra-agent-idSkill
- entra-app-registrationSkill
- capacitySkill
- customizeSkill
- presetSkill
- deploy-modelSkill
- microsoft-foundrySkill
- python-appservice-deploySkill
- foundry-iqSkill
- airunway-aks-setupSkill
- appinsights-instrumentationSkill
- azure-aigatewaySkill
- azure-aiSkill
- azure-app-onboard-prereqSkill
- azure-app-onboardSkill
- azure-cloud-migrateSkill
- azure-complianceSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Use this sub-skill when the user asks about:
- Very specific: line 75
Validate data: before submitting — run scripts/validate/validate_sft.py
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Fine-Tuning on Microsoft Foundry
Fine-tune models using SFT (supervised), DPO (preference), or RFT (reinforcement with graders). Covers dataset prep, training, deployment, and evaluation.
When to Use
Use this sub-skill when the user asks about:
- Fine-tuning a model (SFT, DPO, or RFT)
- Preparing, validating, or formatting training data
- Submitting, monitoring, or diagnosing training jobs
- Calibrating graders or pass thresholds for RFT
- Deploying or evaluating a fine-tuned model
- Choosing between training types (SFT vs DPO vs RFT)
- Distillation, synthetic data generation, or dataset quality scoring
- Large file uploads for training data
- Cleaning up fine-tuning resources (files, deployments)
Do NOT use for: General model deployment without fine-tuning (use deploy-model), agent creation (use agents), prompt optimization without training (use prompt-optimizer).
Workflows
| Stage | Guide |
| Quick start | workflows/quickstart.md |
| Full pipeline | workflows/full-pipeline.md |
| Create data | workflows/dataset-creation.md |
| Iterate | workflows/iterative-training.md |
| Diagnose | workflows/diagnose-poor-results.md |
References
| Topic | File |
| SFT vs DPO vs RFT | references/training-types.md |
| Hyperparameters | references/hyperparameters.md |
| Data formats | references/dataset-formats.md |
| Grader design (RFT) | references/grader-design.md |
| Reward hacking | references/reward-hacking.md |
| Agentic RFT (tools) | references/agentic-rft.md |
| Deployment | references/deployment.md |
| Training curves | references/training-curves.md |
| Evaluation | references/evaluation.md |
| Vision fine-tuning | references/vision-fine-tuning.md |
| Large file uploads | references/large-file-uploads.md |
| Platform gotchas | references/platform-gotchas.md |
Scripts
| Script | Purpose |
scripts/submit_training.py | Submit SFT/DPO/RFT jobs |
scripts/monitor_training.py | Poll job until completion |
scripts/calibrate_grader.py | Find optimal RFT pass_threshold |
scripts/check_training.py | Analyze curves, list checkpoints |
scripts/deploy_model.py | Deploy via ARM REST API |
scripts/evaluate_model.py | LLM judge evaluation |
scripts/convert_dataset.py | Convert between SFT/DPO/RFT formats |
scripts/generate_distillation_data.py | Generate synthetic training data |
scripts/score_dataset.py | Quality scoring on training data |
scripts/cleanup.py | Delete old files and deployments |
scripts/validate/ | Data validators (SFT, DPO, RFT) + stats |
Rules
- Always baseline first — evaluate the base model before fine-tuning
- Validate data before submitting — run
scripts/validate/validate_sft.py - Calibrate RFT graders — target 25-50% failure rate on the base model
- Evaluate checkpoints — don't blindly deploy the final one
- Measure token cost alongside accuracy when comparing models
Quick Reference
| Task | Command |
| Validate SFT data | python scripts/validate/validate_sft.py data.jsonl |
| Submit SFT job | python scripts/submit_training.py --model gpt-4.1-mini --training-file train.jsonl --validation-file val.jsonl --type sft |
| Monitor job | python scripts/monitor_training.py --job-id ftjob-xxx |
| Analyze curves | python scripts/check_training.py --job-id ftjob-xxx |
| Deploy model | python scripts/deploy_model.py --model-id ft:gpt-4.1-mini:... --name my-eval |
| Evaluate model | python scripts/evaluate_model.py --deployment-name my-eval --test-file test.jsonl |
Error Handling
| Error | Cause | Fix |
| "API version not supported" | Older openai SDK on /v1/ endpoint | Upgrade to openai>=1.0 |
| "does not support fine-tuning with Standard TrainingType" | OSS model needs globalStandard | Use --use-rest flag or script auto-falls back |
| Job stuck in post-training eval | Under-provisioned tool endpoint (RFT) | Scale to S2+, enable Always On |
| "DeploymentNotReady" after ARM succeeds | ARM/data-plane race condition | Delete and recreate deployment, wait 5 min |
| Content safety block at deployment | PII-dense training data | Remove problematic document types |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

