AI i agenci · Integracja z narzędziem
setup-guide
/setup-guide
Prowadzi przez pierwszą instalację i konfigurację treningu LLM w training_hub w bieżącym środowisku.
- Repozytorium
- training_hub ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 22.10.2026
Ocena i bezpieczeństwo
100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Przestarzałość
Brak sygnałów. Repozytorium zmienione 22.10.2026, bez odwołań do wycofanych modeli i API.
Licencja
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
Co robi i kiedy
Prowadzi przez pierwszą instalację i konfigurację treningu LLM w training_hub w bieżącym środowisku.
Oryginalny opis (EN)
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.
Jak działa
- Step 1: Detect Environment
- Step 2: Install if Needed
- Step 3: Check GPU
- Step 4: Quick Setup or Custom
- Full Configuration
- Step 5: Hyperparameters
- Step 6: Logging Config (Optional)
- Step 7: Save Config
- Step 8: Offer Memory Estimation
- Updating Config
Sekcje z nagłówków SKILL.md, w oryginale · 98 linii, 511 słów
Podgląd SKILL.md
---
name: setup-guide
description: "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."
allowed-tools: ["Bash(${CLAUDE_PLUGIN_ROOT}/scripts/th_detect.sh:*)", "Bash(${CLAUDE_PLUGIN_ROOT}/scripts/th_estimate.sh:*)"]
---
# 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`: run `uv pip install training-hub`
- If yes and `installer=pip`: run `pip 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
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: `4096`
>
> You'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**:
1. **Algorithm**: "Which training algorithm do you want to use?" — consult the `training-hub-guide` skill for algorithm selection guidance if the user is unsure.
2. **Model path**: "What's the model identifier?" — e.g., `meta-llama/Llama-3.1-8B-Instruct`, or a local path.
3. **Data path**: "Where is your training data?" — Path to a JSONL file with `messages` field.
4. **Output directory**: "Where should checkpoints be saved?" — Default: `./output`
5. **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`:
```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?"
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · red-hat-ai-innovation-team/training_hub | 100 | Apache-2.0 |
| SchulzWill/weekpost | 100 | MIT |
| red-hat-ai-innovation-team/its_hub | 100 | Apache-2.0 |
| red-hat-ai-innovation-team/sdg_hub | 100 | Apache-2.0 |
| Azure/sap-automation-qa | 100 | MIT |
| DojoCodingLabs/remotion-superpowers | 90 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 7c3e9cfb5b2f (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100codex-cli-install
Prowadzi przez instalację i konfigurację Codex CLI w trzech częściach: instalacja, konfiguracja bez logowania oraz własny launcher z kluczem API, dopasowane do systemu operacyjnego. - 100mongodb-mcp-setup
Prowadzi przez konfigurację kluczowych opcji serwera MongoDB MCP, gdy brakuje zmiennych środowiskowych lub poświadczeń do połączenia z MongoDB i Atlas. - 100mongodb-mcp-setup
Prowadzi przez konfigurację kluczowych opcji serwera MongoDB MCP, gdy brakuje zmiennych środowiskowych lub poświadczeń do połączenia z MongoDB i Atlas. - 90pipefy-toolkit-setup
Prowadzi przez pierwszą konfigurację zestawu narzędzi AI Pipefy: wtyczkę, zdalny serwer MCP lub lokalną instalację. - 100sync-setup
Prowadzi pierwszą konfigurację synchronizacji ustawień Claude Code: połączenie z GitHubem i ponowna inicjalizacja repozytorium kopii zapasowej. - 100claude-code-install
Instaluje i konfiguruje Claude Code na bieżącym hoście w trzech częściach: instalacja, konfiguracja z pominięciem logowania i własny launcher z kluczem API, dostosowane do systemu.