/alchemist-playbook:alchemist-playbookfrom alchemist-playbook
Provides evidence-based model-training recipes and run diagnosis for pretraining, SFT, RLVR, LoRA/QLoRA, and speech training. Defaults to NVIDIA NeMo stack (Nemotron, NeMo-RL, NeMo Gym).
Ships in alchemist-playbook. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn published training runs and official configs into recommendations that fit the user's model, data, and budget. Keep source evidence separate from observations about the user's run and from proposed experiments.
references/nemo-stack.md. Keep a user's existing trainer; name the NeMo
equivalent only where it adds a capability the current stack lacks.
Verify paths and flags against the live checkout before emitting them.These workflow choices draw on the instruction-design sources in
references/sources.md; they do not require a particular agent model.
[config], [paper], or [reported] marking. Mark an extrapolation or
unsupported choice [heuristic]. If sources disagree, explain which
regime fits. Evidence levels are defined in references/sources.md.references/diagnostics.md gives a triage order, not a required sequence
of experiments for every question.scripts/estimate.py for
its supported FLOPs, batch, budget, and LR lookups. Report input
assumptions and units. For unsupported calculations, use another
executable calculation and show the formula; if execution is unavailable,
provide the formula and label the result unverified.references/evaluation.md.references/experiment-tracking.md are defaults.
Keep provenance and decision history in any format.Recover the facts relevant to the task: training stage; model size, architecture and checkpoint; data source, volume and cleaning; hardware and trainer; current optimizer, LR, schedule, batch, sequence length and precision; observed symptom, timing, and recent changes. Missing logs can limit certainty without preventing a useful diagnosis or config draft.
Read the reference sections needed for the task; the table is not a reading checklist. Use multiple routes when the problem crosses topics.
| Topic | File |
|---|---|
| Text-LLM starting config, consensus baseline, peak LR by size, cross-stage LR comparison | references/text-llm-baselines.md |
| Pretraining, cosine/WSD, batch ramp, data mixes, midtraining/annealing (incl. 256K agentic midtraining), distillation, curriculum, edge architectures | references/pretraining.md |
| SFT, DPO, SimPO, ORPO, KTO, PPO, GRPO, RLVR, reward models, model merging, reasoning-data curation | references/post-training.md |
| Loss spikes, NaN, divergence, grad norms, precision, QK-norm, z-loss, MuonClip | references/stability.md |
| LoRA, QLoRA, low-budget fine-tuning | references/peft.md |
| ASR, speech translation, speech SSL, Whisper/OWSM, ESPnet | references/speech.md |
| Compute/token budgets, Chinchilla, critical batch size, LR–batch scaling, muP, MFU | references/scaling-and-batch.md |
| Symptom → cause → fix, monitoring setup, pre-launch checks, incomplete logs | references/diagnostics.md |
| Per-stage metrics and benchmarks, retention suites, midtraining decision protocol, independent release gates | references/evaluation.md |
| Experiment records, optional HTML dashboards, git checkpoints, publishing an authorized report | references/experiment-tracking.md |
| Implementing or launching a recipe on the NVIDIA NeMo stack: Nemotron steps and recipes (Megatron-Bridge, AutoModel, NeMo-RL), NeMo Gym environments and rollouts, Gym evaluation recipes, config key mapping, hardware sizing | references/nemo-stack.md |
| Bibliography and verification status, including workflow-only sources | references/sources.md |
For a substantive tuning or debugging answer, cover the diagnosis, proposed config changes, their evidence, and how to verify or roll back. Use Diagnosis / Recipe / Evidence / Verify headings when they help; a short question or a requested YAML diff can carry the same essentials directly. Do not invent a diagnosis for a pure estimate or rewrite a user's format.
For file changes, run the relevant parser, calculator, or existing checks. Complete repository-required checks, then stop expanding verification unless new edits, failures, or unresolved concerns justify more. A config parsing success is not a successful training run. A reviewed eval definition is not an executed model evaluation. Parallel source reviews or independent evals can help larger tasks when the host permits them; they are not prerequisites.
scripts/estimate.py: flops, chinchilla, batch, and lr commands;
use --help for inputs. Keep assumed utilization and prices explicit.
references/scaling-and-batch.md explains the estimates' limits.assets/templates/: editable pretrain, SFT, DPO, QLoRA, Accelerate and
DeepSpeed configs. Adapt a matching template to the installed trainer;
preserve the user's existing config when editing one.assets/templates/experiment_dashboard.html: optional report starter.
Copy it for a requested dashboard, edit its data block, and consult
references/experiment-tracking.md for applicable reporting detail.uv run nemotron steps list|show|run,
nemotron <model> <stage>) and NVIDIA-NeMo/Gym (gym env start,
gym eval run). references/nemo-stack.md records the pinned commits its
facts were read from; the generic templates above serve other trainers.assets/templates/accelerate_zero3.yaml (opens in a new tab)assets/templates/deepspeed_zero2.json (opens in a new tab)assets/templates/deepspeed_zero3_offload.json (opens in a new tab)assets/templates/dpo_full.yaml (opens in a new tab)assets/templates/experiment_dashboard.html (opens in a new tab)assets/templates/pretrain_1b.yaml (opens in a new tab)assets/templates/qlora_sft.yaml (opens in a new tab)assets/templates/sft_full.yaml (opens in a new tab)references/diagnostics.md (opens in a new tab)references/evaluation.md (opens in a new tab)references/experiment-tracking.md (opens in a new tab)references/nemo-stack.md (opens in a new tab)references/peft.md (opens in a new tab)references/post-training.md (opens in a new tab)references/pretraining.md (opens in a new tab)references/scaling-and-batch.md (opens in a new tab)references/sources.md (opens in a new tab)references/speech.md (opens in a new tab)references/stability.md (opens in a new tab)references/text-llm-baselines.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
model-training, training-recipes, run-diagnosis, nemo, nemotron
npx claudepluginhub voidful/alchemistplaybook --plugin alchemist-playbookOther plugins' skills for the same job