rajivmehtaflex/power-utility/unsloth-workflows

Claude Code and agent skill by rajivmehtaflex/power-utility

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Explain, prepare, and execute Unsloth workflows on Linux/NVIDIA machines. Covers Unsloth Studio/Desktop, environment setup, datasets/Data Recipes, SFT, LoRA/QLoRA/QAT, CPT, GRPO/GSPO/RL, multimodal models, evaluation, export, Dynamic 3.0 GGUFs, and local/agent serving (OpenAI/Anthropic APIs, Claude Code, Hermes Agent).

Install

npx vskill@latest install rajivmehtaflex/power-utility/unsloth-workflows

SKILL.md

The same SKILL.md was published earlier as rajivmehtaflex/power-utility/unsloth-workflows.

Unsloth Workflows

Use this skill as a framework guide and a shell workflow runner. Keep three modes distinct:

  • Discuss: explain concepts, explore models, or inspect a request. Covers Unsloth Studio/Desktop, cross-platform hardware, and agent runtimes. Do not install, write files, download models, or train.
  • Prepare: create reviewable configuration or task-specific scripts (e.g. custom RL reward functions, Data Recipes, multimodal pipelines). Do not install dependencies or start GPU work.
  • Execute: perform the requested operation after preflight. Installation and model downloads are side effects and must be limited to the selected project.

Route a request

  1. Identify the objective: domain adaptation (CPT), supervised demonstrations (SFT), preferences (DPO/ORPO/KTO/SimPO), reinforcement learning (GRPO/GSPO/Agent RL), quantization-aware training (QAT), multi-token prediction (MTP), multimodal (vision/audio), embeddings, or serving/export.
  2. Identify parameter method and precision: full fine-tuning, LoRA, QLoRA, FP8, or Dynamic NVFP4.
  3. Inspect inputs and targets: model family/revision, chat/tool template, dataset schema, sequence length (up to 500K context), GPU memory, and target runtime (vLLM, GGUF, local API, Claude Code, Hermes Agent).
  4. Select mode:
  • For Discuss, use the references and live documentation queries without modifying disk state.
  • For Prepare, author reviewable JSON configs and adaptation scripts.
  • For Execute, run the runner commands below from this skill directory.

Runner

bash
python scripts/unsloth_workflow.py doctor --project .
python scripts/unsloth_workflow.py setup --project .
python scripts/unsloth_workflow.py validate-data --dataset data/train.jsonl
python scripts/unsloth_workflow.py train --project . --config run.json --dry-run
python scripts/unsloth_workflow.py train --project . --config run.json
python scripts/unsloth_workflow.py evaluate --project . --config run.json
python scripts/unsloth_workflow.py export --project . --config run.json

The runner lives in scripts/. The reusable text path accepts ChatML messages records or Alpaca instruction/input/output records. Its configuration is strict: unknown keys and invalid methods fail before installation or GPU work. Use --dry-run to inspect a resolved operation; it must not create an environment, output directory, or downloaded artifact.

Environment rules

Execution targets Linux/NVIDIA only. setup first requires a visible NVIDIA GPU, then owns .unsloth/ inside the selected project, prefers uv, creates a Python 3.12 environment at .unsloth/venv, installs Unsloth with the automatic PyTorch backend, and proves imports, dependency consistency, CUDA availability, and a small CUDA computation before recording version evidence. It reuses only a verified environment and never replaces system drivers or an unrelated active environment.

Evidence and safety

Report these separately: configuration validated, environment verified, training completed, evaluation completed, and export reloaded successfully. Preserve the model name/revision, dataset paths and hashes, tokenizer/template, dependency versions, training settings, logs, checkpoints, and artifact paths. Never silently change model, method, precision, chat template, or evaluation split after an error.

Read only the reference needed for the current request:

  • framework-map.md for the mental model, ecosystem components, and dynamic documentation queries.
  • linux-nvidia.md for setup, NVIDIA architectures (including Blackwell/NVFP4), and capability checks.
  • data-and-templates.md for schemas, Data Recipes, tool calling, and loss masking.
  • training.md for SFT, LoRA/QLoRA, QAT, 500K context, MTP, kernels + packing, and checkpoints.
  • rl-and-specialized.md for preferences, GRPO, GSPO, VLM RL, Agent RL, reward hacking mitigations, and 12x MoE.
  • efficiency-and-scale.md for Dynamic 3.0 GGUFs, 1.58-bit quants, NVFP4, and multi-GPU DDP.
  • evaluation-and-serving.md for evaluation, export, local OpenAI/Anthropic APIs, coding agent integrations, and mobile ExecuTorch.

The references summarize the official map at Unsloth documentation. They distinguish upstream-documented behavior, local detection, and smoke-tested behavior; do not present an untested combination as verified.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/rajivmehtaflex/power-utility/unsloth-workflows/badge)](https://verified-skill.com/skills/rajivmehtaflex/power-utility/unsloth-workflows)

Something wrong with this skill or its page? Tell us.