plugins marketplace
← All plugins

llm-finetuning

v1.0.0

Eval-gated LLM fine-tuning lifecycle: LoRA/QLoRA SFT, preference optimization (DPO/ORPO/KTO), GRPO/RLVR, vision SFT, and quantized export — Unsloth-first with TRL fallback, no eval harness means no fine-tune

CodexClaude Code10 skills

by Seth HobsonMIT38.6kupdated 4 days ago

Source

git clone https://github.com/wshobson/agents

Clone the source, then follow the repository's marketplace instructions for your runtime. The plugin root is plugins/llm-finetuning/ inside the repository.

Layout

plugins/llm-finetuning/
├── .codex-plugin/plugin.json
├── .claude-plugin/plugin.json
├── skills/checkpoint-promotion/SKILL.md
├── skills/dataset-curation/SKILL.md
├── skills/eval-harness-first/SKILL.md
├── skills/finetuning-method-selection/SKILL.md
├── skills/grpo-rlvr-training/SKILL.md
├── skills/lora-qlora-recipes/SKILL.md
├── skills/preference-optimization/SKILL.md
├── skills/quantized-export/SKILL.md
├── skills/trace-to-training-data/SKILL.md
└── skills/vision-sft/SKILL.md

Skills10

checkpoint-promotionskills/checkpoint-promotion/SKILL.md

Gate fine-tuned checkpoints with drift budgets, paired comparison, and forgetting checks before promotion. Use after a training run produces a checkpoint, when deciding whether a tuned model ships, or when a promoted model needs re-gating against updated goldens.

dataset-curationskills/dataset-curation/SKILL.md

Prepare, format, and validate datasets for supervised fine-tuning and preference training. Use when converting raw data into training format, applying chat templates, configuring sequence packing, generating synthetic training data, or writing a dataset card before a run.

eval-harness-firstskills/eval-harness-first/SKILL.md

Build the evaluation harness that gates every fine-tuning run — golden sets, per-failure-mode graders, judge calibration, and base-model baselines. Use when starting a fine-tuning effort, when converting traces into an eval set, or when calibrating a judge against human labels.

finetuning-method-selectionskills/finetuning-method-selection/SKILL.md

Decide whether to fine-tune at all, and route to the right method (SFT, DPO/ORPO/KTO, GRPO/RLVR, continued pretraining) and base model. Use when starting any fine-tuning effort, when unsure whether RAG or prompting would suffice, or when choosing between preference-optimization and reinforcement methods.

grpo-rlvr-trainingskills/grpo-rlvr-training/SKILL.md

Train reasoning and verifiable-task behavior with GRPO and reinforcement learning from verifiable rewards (RLVR). Use when task success is algorithmically checkable (math, code, tool calls, structured output), when designing GRPO reward functions, or when a GRPO run diverges or reward-hacks.

lora-qlora-recipesskills/lora-qlora-recipes/SKILL.md

Configure LoRA and QLoRA supervised fine-tuning with current best-practice hyperparameters. Use when writing or reviewing a LoRA/QLoRA training configuration, choosing rank/alpha/target modules, or deciding between LoRA, QLoRA, and full fine-tuning.

preference-optimizationskills/preference-optimization/SKILL.md

Align a fine-tuned model with preference data using DPO, ORPO, KTO, or SimPO. Use when preference pairs or thumbs-up/down feedback exist, when choosing between preference-optimization methods, or when a DPO run needs hyperparameters or debugging.

quantized-exportskills/quantized-export/SKILL.md

Export a promoted fine-tuned model in the right deployment format — merged safetensors, LoRA-only, GGUF with imatrix, or FP8. Use after a checkpoint passes promotion, when choosing a quantization format for a target device, or when an exported model fails its smoke test.

trace-to-training-dataskills/trace-to-training-data/SKILL.md

Convert evaluation traces and production logs into SFT examples and preference pairs. Use when graded traces or failure examples exist and need to become training data, when applying rejection sampling to model outputs, or when building DPO pairs from passing and failing runs.

vision-sftskills/vision-sft/SKILL.md

Fine-tune vision-language models (VLMs) with supervised learning on image+text data. Use when adapting a VLM to a visual domain or task, configuring frozen-vision-tower LoRA, or debugging a VLM fine-tune that trains without learning.

Manifests2

plugins/llm-finetuning/.codex-plugin/plugin.json
{
  "name": "llm-finetuning",
  "version": "1.0.0",
  "description": "Eval-gated LLM fine-tuning lifecycle: LoRA/QLoRA SFT, preference optimization (DPO/ORPO/KTO), GRPO/RLVR, vision SFT, and quantized export — Unsloth-first with TRL fallback, no eval harness means no fine-tune",
  "skills": "./skills/",
  "author": {
    "name": "Seth Hobson",
    "email": "seth@major7apps.com"
  },
  "license": "MIT",
  "interface": {
    "displayName": "Llm Finetuning",
    "shortDescription": "Eval-gated LLM fine-tuning lifecycle: LoRA/QLoRA SFT, preference optimization (DPO/ORPO/KTO), GRPO/RLVR, vision SFT…",
    "category": "Coding"
  }
}
plugins/llm-finetuning/.claude-plugin/plugin.json
{
  "name": "llm-finetuning",
  "version": "1.0.0",
  "description": "Eval-gated LLM fine-tuning lifecycle: LoRA/QLoRA SFT, preference optimization (DPO/ORPO/KTO), GRPO/RLVR, vision SFT, and quantized export — Unsloth-first with TRL fallback, no eval harness means no fine-tune",
  "author": {
    "name": "Seth Hobson",
    "email": "seth@major7apps.com"
  },
  "license": "MIT"
}