Skip to content
Back to skills

Unsloth

ASecurity

"Use Unsloth Core, CLI, Studio, and export workflows for fast LLM

  • 247 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 9, 2026
toolspythonshellapibackend

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill unsloth --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Unsloth?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Unsloth
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-unsloth/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-unsloth)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: unsloth
description: "Use Unsloth Core, CLI, Studio, and export workflows for fast LLM
  finetuning, local inference, Studio serving, and checkpoint conversion."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# Unsloth

Use this repo skill when a user asks about Unsloth, Unsloth Core, Unsloth Studio, the `unsloth` CLI, fast LoRA/QLoRA/full finetuning, GGUF or merged checkpoint export, local Studio/API serving, or connecting coding agents to an Unsloth Studio server.

## Route First

- Read `sub-skills/core-training/SKILL.md` for code-first Python workflows with `FastLanguageModel`, `FastModel`, `FastVisionModel`, LoRA/full finetuning, chat templates, raw-text/data checks, trainer setup, and backend/import troubleshooting.
- Read `sub-skills/cli-workflows/SKILL.md` for `unsloth train`, `inference`, `chat`, `export`, `list-checkpoints`, `studio`, `run`, `connect`, YAML/JSON config dry-runs, pass-through flags, and CLI parser troubleshooting.
- Read `sub-skills/model-export/SKILL.md` for adapter, merged, GGUF, Ollama, and Hub export planning, tokenizer/output preflight, `unsloth_save_model`, `save_to_gguf`, and export failures.
- Read `sub-skills/studio-runtime/SKILL.md` for Unsloth Studio install/launch/update, secure tunnel vs raw host binding, backend APIs, providers, RAG/data recipes, tool policy, GGUF/llama.cpp runtime, and coding-agent connection.

## Shared References

- Read `references/install-and-backends.md` before advising installation, optional extras, hardware backends, Core-vs-Studio choices, or safe import checks.
- Read `references/troubleshooting.md` for cross-cutting install/import, optional dependency, CUDA/MLX/ROCm, network/cache, token, and routing failures.
- Read `references/repo-provenance.md` when deciding whether this skill is stale relative to the source repository.
- `references/repo-routing-metadata.json` is structured metadata for DisCo import routing; future agents normally do not need to read it manually.

## Shared Script

- Run `scripts/check_unsloth_environment.py --help` to inspect installed package metadata, CLI availability, backend packages, and optional CUDA state without loading a model, downloading weights, starting Studio, or training.

## Start With The User's Interface

- If the user gives Python code, mentions `FastLanguageModel`, `get_peft_model`, `SFTTrainer`, `standardize_sharegpt`, or dataset formats, route to `core-training`.
- If the user gives shell commands, YAML/JSON configs, `unsloth train --dry-run`, `unsloth run`, `unsloth connect`, or parser errors, route to `cli-workflows`.
- If the user asks to save, merge, convert, quantize, upload, create GGUF, create an Ollama model, or list checkpoints, route to `model-export`.
- If the user mentions the web UI, local API server, browser launch, Cloudflare tunnel, API key, providers, RAG, tool execution, llama.cpp, GGUF serving, or agent connection to Studio, route to `studio-runtime`.

## Safe Defaults

- Prefer planning and preflight checks before model downloads, long training, export conversion, Studio setup, or networked provider calls.
- Import Unsloth before `transformers`, `trl`, or `peft` in Python training scripts so its patches apply early.
- Use `unsloth train --dry-run` for CLI training config validation before any real training run.
- Prefer `unsloth studio --secure` for remote access; treat `-H 0.0.0.0` as a raw network exposure that requires explicit risk acceptance.
- Keep tokens out of reusable files and logs; pass Hugging Face, W&B, Studio API, and provider credentials through environment variables or secure stores.
- Do not assume every optional acceleration package is installed. Check `torch`, `unsloth_zoo`, `bitsandbytes`, `xformers`, `flash-attn`, `triton`, `llama.cpp`, and Studio dependencies against the chosen workflow.

## What This Skill Does Not Cover

- It does not reproduce Unsloth benchmarks, run long finetuning jobs, download gated models, push to the Hub, start Studio servers, or mutate user installs without explicit user approval.
- It does not treat source repository tests, notebooks, examples, or install scripts as runtime dependencies; relevant behavior is distilled into bundled references and safe helper scripts.
- It does not replace official Unsloth docs for model catalogs or notebook links; use public docs for live model availability and this skill for repo-specific API/CLI/runtime behavior.

Files in this skill

  • SKILL.md4.4 KB
  • references/install-and-backends.md4 KB
  • references/repo-provenance.md1.6 KB
  • references/repo-routing-metadata.json567 B
  • references/troubleshooting.md3.5 KB
  • scripts/check_unsloth_environment.py4.8 KB
  • sub-skills/cli-workflows/SKILL.md2.6 KB
  • sub-skills/cli-workflows/references/cli-reference.md9.9 KB
  • sub-skills/cli-workflows/references/configuration.md6.4 KB
  • sub-skills/cli-workflows/references/troubleshooting.md7.7 KB
  • sub-skills/cli-workflows/scripts/training_config_template.yaml1.8 KB
  • sub-skills/cli-workflows/scripts/unsloth_cli_smoke.py6.3 KB
  • sub-skills/core-training/SKILL.md2.7 KB
  • sub-skills/core-training/references/api-reference.md10.2 KB
  • sub-skills/core-training/references/data-formats.md5.1 KB
  • sub-skills/core-training/references/troubleshooting.md7.9 KB
  • sub-skills/core-training/references/workflows.md8.1 KB
  • sub-skills/core-training/scripts/inspect_unsloth_core.py6.5 KB
  • sub-skills/core-training/scripts/validate_training_config.py20.4 KB
  • sub-skills/model-export/SKILL.md2.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.