unsloth — Claude Code skill: fast LoRA fine-tuning
A skill that feeds your agent Unsloth docs, so fine-tuning scripts come out right: 2-5x faster training, 50-80% less memory.
npx skills add Orchestra-Research/AI-Research-SKILLs --skill unsloth -a claude-codeWhat unsloth does
This skill gives the agent a reference for Unsloth, the library for fast LLM fine-tuning. Ask it to write a training script or debug a crash, and it pulls the relevant docs instead of guessing from memory.
The package is a SKILL.md file plus a references/ folder with documentation scraped from official sources. There is a quick reference section with code examples and a table of contents for navigation. The agent opens a specific file when it needs detail.
The skill itself has no runtime dependencies, but the code it helps you write needs unsloth, torch, transformers, trl, datasets and peft. Without those, the examples will not run. One caveat: the docs were generated automatically, so they can lag behind a fresh library release. Worth checking the API against the official docs before you commit to a config.
What it helps with
- write a LoRA fine-tuning script for a base model
- figure out why training runs out of GPU memory
- switch an existing training loop to QLoRA
- find a working config for Llama or Qwen
- fix an error in Unsloth training code
Example prompts for the agent
- write a fine-tuning script for Qwen with Unsloth on my dataset
- convert this training code to QLoRA so it fits on one GPU
- why does my Unsloth run keep hitting OOM?
How to install unsloth
1Skills CLI (Vercel)
npx skills add Orchestra-Research/AI-Research-SKILLs --skill unsloth -a claude-code2Manually: put the files in place
~/.claude/skills/unsloth/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/unsloth/
1Skills CLI (Vercel)
npx skills add Orchestra-Research/AI-Research-SKILLs --skill unsloth -a codex2Manually: put the files in place
.agents/skills/unsloth/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add Orchestra-Research/AI-Research-SKILLs --skill unsloth -a cursor2Manually: put the files in place
.cursor/skills/unsloth/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install Orchestra-Research/AI-Research-SKILLs unsloth2Manually: put the files in place
.github/skills/unsloth/SKILL.md1Skills CLI (Vercel)
npx skills add Orchestra-Research/AI-Research-SKILLs --skill unsloth -a gemini-cli2Platform CLI
gemini skills install https://github.com/Orchestra-Research/AI-Research-SKILLs --path 03-fine-tuning/unslothManually: put the files in place
.devin/skills/unsloth/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add Orchestra-Research/AI-Research-SKILLs --skill unsloth -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about unsloth
How do I install the unsloth skill in Claude?
Run npx skills add Orchestra-Research/AI-Research-SKILLs --skill unsloth -a claude-code. The skill lands at ~/.claude/skills/unsloth/SKILL.md.
What does the unsloth skill do?
It hands the agent a reference on the Unsloth library: code examples, LoRA and QLoRA settings, and notes on common fine-tuning errors.
What do I need to run the examples?
The unsloth, torch, transformers, trl, datasets and peft packages. The skill itself is just text files and needs nothing installed.
Source text
SKILL.md · MIT
--- name: unsloth description: Expert guidance for fast fine-tuning with Unsloth - 2-5x faster training, 50-80% less memory, LoRA/QLoRA optimization version: 1.0.0 author: Orchestra Research license: MIT tags: [Fine-Tuning, Unsloth, Fast Training, LoRA, QLoRA, Memory-Efficient, Optimization, Llama, Mistral, Gemma, Qwen] dependencies: [unsloth, torch, transformers, trl, datasets, peft] --- # Unsloth Skill Comprehensive assistance with unsloth development, generated from official documentation. ## When to Use This Skill This skill should be triggered when: - Working with unsloth - Asking about unsloth features or APIs - Implementing unsloth solutions - Debugging unsloth code - Learning unsloth best practices ## Quick Reference ### Common Patterns *Quick reference patterns will be added as you use the skill.* ## Reference Files This skill includes comprehensive documentation in `references/`: - **llms-txt.md** - Llms-Txt documentation Use `view` to read specific reference files when detailed information is needed. ## Working with This Skill ### For Beginners Start with the getting_started or tutorials reference files for foundational concepts. ### For Specific Features Use the appropriate category reference file (api, guides, etc.) for detailed information. ### For Code Examples The quick reference section above contains common patterns extracted from the official docs. ## Resources ### references/ Organized documentation extracted from official sources. These files contain: - Detailed explanations - Code examples with language annotations - Links to original documentation - Table of contents for quick navigation ### scripts/ Add helper scripts here for common automation tasks. ### assets/ Add templates, boilerplate, or example projects here. ## Notes - This skill was automatically generated from official documentation - Reference files preserve the structure and examples from source docs - Code examples include language detection for better syntax highlighting - Quick reference patterns are extracted from common usage examples in the docs ## Updating To refresh this skill with updated documentation: 1. Re-run the scraper with the same configuration 2. The skill will be rebuilt with the latest information <!-- Trigger re-upload 1763621536 -->
© Orchestra Research · MIT · Orchestra-Research/AI-Research-SKILLs