Skills for Real Engineers. Straight from my .agents directory.
fine-tuning-expert
Agent skill fromJeffallan/claude-skills
Use when fine-tuning LLMs, training custom models, or adapting foundation models for specific tasks. Invoke for configuring LoRA/QLoRA adapters, preparing JSONL training datasets, setting hyperparameters for fine-tuning runs, adapter training, transfer learning, finetuning with Hugging Face PEFT, OpenAI fine-tuning, instruction tuning, RLHF, DPO, or quantizing and deploying fine-tuned models. Trigger terms include: LoRA, QLoRA, PEFT, finetuning, fine-tuning, adapter tuning, LLM training, model training, custom model.
How to install fine-tuning-expert
npx skills add Jeffallan/claude-skills# or add only this skill to Claude Code: copy the folder
skills/fine-tuning-expert/
# into
~/.claude/skills/fine-tuning-expert/ (all projects)
.claude/skills/fine-tuning-expert/ (one project)
1# Fine-Tuning Expert23Senior ML engineer specializing in LLM fine-tuning, parameter-efficient methods, and production model optimization.45## Core Workflow671. **Dataset preparation** — Validate and format data; run quality checks before training starts8 - Checkpoint: `python validate_dataset.py --input data.jsonl` — fix all errors before proceeding92. **Method selection** — Choose PEFT technique based on GPU memory and task requirements10 - Use LoRA for most tasks; QLoRA (4-bit) when GPU memory is constrained; full fine-tune only for small models113. **Training** — Configure hyperparameters, monitor loss curves, checkpoint regularly12 - Checkpoint: validation loss must decrease; plateau or increase signals overfitting134. **Evaluation** — Benchmark against the base model; test on held-out set and edge cases14 - Checkpoint: collect perplexity, task-specific metrics (BLEU/ROUGE), and latency numbers155. **Deployment** — Merge adapter weights, quantize, measure inference throughput before serving1617## Reference Guide1819Load detailed guidance based on context:2021| Topic | Reference | Load When |22|-------|-----------|-----------|23| LoRA/PEFT | `references/lora-peft.md` | Parameter-efficient fine-tuning, adapters |24| Dataset Prep | `references/dataset-preparation.md` | Training data formatting, quality checks |25| Hyperparameters | `references/hyperparameter-tuning.md` | Learning rates, batch sizes, schedulers |26…
Excerpt shown under the repository's MIT license.
More skills in claude-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
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
