Skip to content

Guide · Agent skill

How to use the LLM Fine-Tuning Expert agent skill for LoRA

Updated · written with AI from the project's own documentation and checked against our catalogue data

The llm-finetuning skill gives an AI agent a practical playbook for adapting an existing large language model to a specific task or domain with LoRA or QLoRA, instead of retraining the whole model. This guide explains what the skill does, how to install it, how to ask for help with natural requests, and what to watch out for. By the end you will know how to get useful planning and review help for a fine-tuning project. The skill provides guidance only; it does not run any training itself.

LLM Fine-Tuning ExpertRightNow-AI/openfang · Apache-2.0

Quick start

  1. 1Download the ZIP. Download the llm-finetuning ZIP from our page. The skill is a single SKILL.md file inside the bundle.
  2. 2Unzip into a skills folder. Unzip it into ~/.claude/skills/ for personal use, or into .claude/skills/ in your project for a project-only install.
  3. 3Or upload in the Claude apps. In the Claude apps, go to Settings → Capabilities → Skills and upload the skill there instead.
  4. 4Describe your fine-tuning task. Ask in plain language, naming your base model, task, data format and hardware, using terms such as LoRA or QLoRA.
  5. 5Review the plan before training. Check the suggested dataset format, settings and evaluation plan, and run any training yourself with your own ML tooling.

What the llm-finetuning skill makes the agent do

An agent skill is a folder containing a SKILL.md file with instructions that the agent reads when a task matches its description. This one covers LoRA, QLoRA, dataset preparation, hyperparameter choices, evaluation and adapter deployment, using the Hugging Face PEFT ecosystem.

With the skill loaded, the agent can help you prepare instruction-response training data, choose settings such as LoRA rank, alpha, target modules, learning rate and number of epochs, plan an evaluation beyond simple loss scores, and save or merge the resulting adapter files. The skill is know-how only: the file itself does not run any training.

Install the llm-finetuning skill

Download the llm-finetuning ZIP from our page and unzip it. The skill ships as a single file, SKILL.md, so the folder you extract should contain that file.

For a personal install, unzip it into ~/.claude/skills/. For a single project, unzip it into the project's .claude/skills/ folder instead.

In the Claude apps you can instead upload the skill under Settings → Capabilities → Skills.

  • Personal: ~/.claude/skills/
  • Project only: .claude/skills/ inside your project
  • Claude apps: Settings → Capabilities → Skills, then upload

How to trigger the skill with natural requests

You do not need a special command. Describe a fine-tuning task in plain language and mention the relevant terms, such as LoRA, QLoRA, adapter, dataset or fine-tuning, so the agent recognises that the skill applies.

Be specific about your situation: the base model you plan to use, the task, the amount and format of your data, and the hardware you have. The more detail you give, the more tailored the guidance will be.

  • Plan a LoRA run for a legal-document summarisation model on a single GPU.
  • Review my instruction-response dataset for a medical FAQ assistant before I train.
  • Which LoRA rank and learning rate should I start with for a 7B model?
  • Help me decide whether QLoRA is worth it for my memory limits.
  • How do I save a LoRA adapter and merge it into the base model for inference?

Get the most from the skill: dataset, settings and evaluation

The skill stresses that dataset quality matters more than quantity. It recommends formatting data as instruction-response pairs with a consistent template, with a system field for persona or context, an instruction field for the task and a response field for the expected output. It also suggests starting with the strongest base model you can afford to run.

For settings, the skill describes LoRA rank in the range r=8 to 64, alpha typically at 2x rank, and learning rates between 1e-5 and 2e-4 with a cosine schedule. It suggests 1 to 5 epochs, watching for overfitting, and a warmup ratio of 0.03 to 0.1. Treat these as starting points, because the skill warns that different base models respond differently.

For evaluation, ask the agent to combine validation loss, task-specific metrics such as ROUGE for summarisation or exact match for QA, and structured human review on a held-out set. Perplexity alone can miss output quality.

  • Keep evaluation examples out of training data (decontaminate).
  • Record hyperparameters, dataset versions and base model checkpoints for every run.
  • Stop early if outputs become repetitive or templated.

Safety notes: data, scripts and network

The skill declares that it runs no scripts and uses no network access. It lists no required tools or accounts. Actual training, however, needs GPUs and machine learning tooling that you install and run yourself, and the skill does not provide them.

The skill warns against fine-tuning on personally identifiable information, copyrighted content or harmful material without proper review and filtering. Because the agent could otherwise help move such data into a training pipeline, check your data sources and add a review step before any training run, especially for medical, financial or legal records.

  • No scripts are run by the skill.
  • No network use is declared.
  • Review and filter sensitive or copyrighted data before training.

Who should use this skill and who should not

The skill suits machine learning engineers planning or reviewing a LoRA or QLoRA run, teams preparing instruction-response datasets for a domain model, and developers learning the Hugging Face PEFT workflow step by step.

It is not aimed at people who only want to get more out of an existing chatbot. Changing model weights requires GPUs and ML tooling, so if you only need better prompts, a prompting guide will serve you better.

What people use it for

  • Planning a LoRA run to teach a base model legal or financial terminology and output formats.
  • Reviewing an instruction-response dataset for consistent templates and possible contamination with evaluation data.
  • Choosing starting values for LoRA rank, alpha, learning rate and epochs for a new base model.
  • Writing an evaluation plan that combines validation loss, task metrics and held-out human review.

Frequently asked questions

How do I install the llm-finetuning agent skill?

Download the ZIP from our page and unzip it into ~/.claude/skills/ for personal use, or into .claude/skills/ in a project. You can also upload it in the Claude apps under Settings → Capabilities → Skills.

Is the llm-finetuning skill free to use?

The skill is published under the Apache-2.0 licence, as listed on this page. Check the repository's licence file for the full terms before reuse.

What do I need to run LoRA or QLoRA training?

The skill itself lists no requirements and runs no scripts. Actual training needs GPUs and machine learning tooling, such as the Hugging Face PEFT workflow, which you set up yourself.

Does the skill train a model for me?

No. The skill is guidance and know-how only. It helps plan, review and explain a fine-tuning run, but the training itself is not performed by the file.

What is the difference between LoRA and QLoRA?

LoRA attaches small trainable adapters to a base model. QLoRA does the same but loads the base model in 4-bit NormalFloat quantization to reduce memory, which the skill recommends for memory-constrained setups.

Why does my fine-tuned model give repetitive answers?

The skill says this is a common sign of overfitting, often from training for too many epochs on a small dataset. Reduce epochs, check validation loss, and use held-out evaluation examples.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

Use this skill if you are an ML engineer or developer who wants an assistant to plan, review or explain a LoRA or QLoRA run, or who is preparing instruction-response data for a domain model. Pick something else if you only want better everyday use of a chatbot, or if you need a tool that actually runs training, since this skill provides guidance only.

Download the skill