setup-guide
Skill104 starsChanged 5 months agoApache-2.0View on GitHub
Use when the user wants to set up LLM training for the first time, or when training_hub is not yet installed/configured in the current environment.
- Installs packages
6 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- DojoCodingLabs/remotion-superpowerstheir own version, first seen Oct 27, 2026
- kristian-presso/claude-operator-skillstheir own version, first seen Oct 20, 2026
- Ming00777/ai-workflow-advisortheir own version, first seen Sep 15, 2026
- Azure/sap-automation-qatheir own version, first seen Sep 4, 2026
- Red-Hat-AI-Innovation-Team/sdg_hubedited, first seen May 9, 2026
- aakash-dhar/claude-skillstheir own version, first seen Feb 19, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- Red-Hat-AI-Innovation-Team/sdg_hub★ 16118% same
Wrote their own version · 5
- DojoCodingLabs/remotion-superpowers★ 153same name
- Azure/sap-automation-qa★ 14same name
- Ming00777/ai-workflow-advisor★ 1same name
- aakash-dhar/claude-skills★ 0same name
- kristian-presso/claude-operator-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- memory-estimationSkill
- training-guideSkill
- training-hub-guideSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 5 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Ask permission: "training_hub isn't installed.
- Very specific: line 21
If yes and installer=uv: run uv pip install training-hub
- Very specific: line 23
If installer=none: tell the user they need Python and pip/uv installed first
- Very specific: line 33
If gpu=unavailable, warn: "No GPU detected.
- Distinctive: line 39
If the user has a clear task ("fine-tune Llama on my data"), offer a fast path with sensible defaults:
- Distinctive: line 50
If the user accepts, ask only for model path and data path, then skip to Step 7.
- Distinctive: line 56
Ask these questions one at a time:
- Very specific: line 70
Ask: "Do you want to configure experiment tracking?" (W&B, MLflow, or TensorBoard).
- Very specific: line 74
Write the config to .training-hub/config.json:
- Very specific: line 89
Add .training-hub/ to .gitignore if not already present.
- Distinctive: line 93
Ask: "Want me to estimate GPU memory requirements before training?"
- Distinctive: line 102
If this skill is invoked again and a config already exists, ask: "You already have a configuration.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
training_hub Setup Guide
You are helping the user set up LLM training. For algorithm selection guidance, hyperparameter tuning, and troubleshooting, consult the training-hub-guide skill.
Step 1: Detect Environment
"${CLAUDE_PLUGIN_ROOT}/scripts/th_detect.sh"Step 2: Install if Needed
If library=missing:
- Ask permission: "training_hub isn't installed. I can install it for you — want me to proceed?"
- If yes and
installer=uv: runuv pip install training-hub - If yes and
installer=pip: runpip install training-hub - If
installer=none: tell the user they need Python and pip/uv installed first - Ask about extras:
- CUDA:
training-hub[cuda]— flash-attn, bitsandbytes for GPU acceleration - LoRA:
training-hub[lora]— Unsloth, TRL for parameter-efficient fine-tuning - GRPO:
training-hub[grpo]— ART, veRL for reinforcement learning
- CUDA:
For installation issues, consult the training-hub-guide skill (installation-troubleshooting section).
Step 3: Check GPU
If gpu=unavailable, warn: "No GPU detected. Training requires CUDA-capable GPUs. You can still configure, but training will fail without a GPU."
Report GPU count if available.
Step 4: Quick Setup or Custom
If the user has a clear task ("fine-tune Llama on my data"), offer a fast path with sensible defaults:
"I detected N GPU(s). I can set up with these defaults:
- Algorithm:
lora_sft(parameter-efficient, works on a single GPU)- Learning rate:
1e-5- Epochs:
2- Batch size:
64- Max sequence length:
4096You'll just need to provide your model path and data path. Accept these defaults, or customize?"
If the user accepts, ask only for model path and data path, then skip to Step 7.
If the user wants to customize, proceed with the full configuration.
Full Configuration
Ask these questions one at a time:
- Algorithm: "Which training algorithm do you want to use?" — consult the
training-hub-guideskill for algorithm selection guidance if the user is unsure. - Model path: "What's the model identifier?" — e.g.,
meta-llama/Llama-3.1-8B-Instruct, or a local path. - Data path: "Where is your training data?" — Path to a JSONL file with
messagesfield. - Output directory: "Where should checkpoints be saved?" — Default:
./output - GPU count: "How many GPUs should be used?" — Default: detected count or 1.
Step 5: Hyperparameters
Collect hyperparameters based on the chosen algorithm. Consult the training-hub-guide skill (hyperparameter-guide section) for recommended defaults by dataset size and algorithm.
Step 6: Logging Config (Optional)
Ask: "Do you want to configure experiment tracking?" (W&B, MLflow, or TensorBoard). See the training-hub-guide skill for logger details.
Step 7: Save Config
Write the config to .training-hub/config.json:
{
"algorithm": "<algorithm>",
"model_path": "<model_path>",
"data_path": "<data_path>",
"ckpt_output_dir": "<output_dir>",
"nproc_per_node": N,
"hyperparams": { ... },
"algorithm_config": { ... },
"logging": { ... }
}Add .training-hub/ to .gitignore if not already present.
Step 8: Offer Memory Estimation
Ask: "Want me to estimate GPU memory requirements before training?"
If yes, run:
"${CLAUDE_PLUGIN_ROOT}/scripts/th_estimate.sh"Updating Config
If this skill is invoked again and a config already exists, ask: "You already have a configuration. Do you want to update it or start fresh?"
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

