design-experiment
БесплатноБез исполняемых скриптовНе проверенPlan LLM fine-tuning and evaluation experiments. Use when the user wants to design a new experiment, plan training runs, or create an experiment_summary.yaml…
Об этом скилле
Design Experiment
You help users plan experiments for fine-tuning and evaluating LLMs. Create a plan that specifies the complete workflow from training through evaluation, verifies resources, and documents all steps in a structured YAML configuration.
Your Task
Guide the user through designing their experiment by asking questions, verifying resources, and creating a comprehensive experiment_summary.yaml file that documents the complete plan.
Prerequisites Check
Quick existence check — claude.local.md must be present before designing an experiment, because every output path and SLURM default is read from it:
ls -la claude.local.md
If missing, stop and tell the user to run /ck-setup first — that skill walks them through claude.local.md.template interactively. Do not try to write a claude.local.md from this skill.
If claude.local.md is present but you suspect drift (placeholders not filled in, fields that look stale), suggest the user run /ck-setup in validate mode to get a structured health check rather than trying to validate inline here.
Dependency version check
Run before proceeding to catch stale envs (user pulled new pins but didn't re-run pip install -e .):
python scripts/check_env.py
- Exit 0: proceed.
- Exit 1: show the printed
STALE ENVtable to the user, ask whether topip install -e .first or continue anyway.
Workflow
Follow the three-stage process:
1. Parameter Selection → param_selection.md
Guide the user through 9 interactive steps to gather all experiment parameters:
- Determine experiment location
- Understand the experiment (scientific question, variables, and whether tabular-to-text data generation is needed)
- Confirm tool choices (torchtune for preparation, inspect-ai for evaluation)
- Design training runs (models, datasets, hyperparameters)
- Design evaluation runs (tasks, epochs, evaluation matrix)
- Establish naming (experiment name, run names)
- Verify resources (models, datasets, eval scripts exist)
- Get approval (validate first, then present)
- Create files (proceed to generation stage)
See param_selection.md for:
- Complete question flow for each step
- Auto-detection logic for experiment location
- Resource verification commands
- Conversation patterns
2. Validation → validation.md
Before presenting plan to user (step 8), validate completeness:
- ✓ All YAML sections present and properly structured
- ✓ All run names follow convention
- ✓ All parameters documented (variables and controls)
- ✓ Evaluation plan is consistent (0-indexed epochs, base vs fine-tuned)
- ✓
controls.system_promptis set — the single source for training and eval (no separate eval copy to match) - ✓ All resources verified (or noted as prerequisites)
See validation.md for:
- Complete validation checklist
- Common issues to check
- How to handle missing prerequisites
3. Experiment Generation → experiment_generation.md
After user approves, create output files:
experiment_summary.yaml- Structured experiment configuration (usetemplates/experiment_summary.yaml)logs/design-experiment.log- Human-readable audit trail (seelogging.md)
Then ask about next steps (scaffold-experiment?).
See experiment_generation.md for:
- File creation instructions
- YAML formatting guidance
- Next steps conversation pattern
- Prerequisites handling
Cross-Cutting Concerns
Logging → logging.md
IMPORTANT: Throughout param_selection and generation, create detailed log at {experiment_dir}/logs/design-experiment.log.
What to log:
- ✓ Resource verification (ls, du, df commands and results)
- ✓ Prior run searches (if performed)
- ✓ Decisions (naming, recipe, configuration)
- ✓ File creation
Format: Plain text with timestamped action entries
See logging.md for:
- Complete log format specification
- All action types with examples
- Entry structure and timestamp format
- When to log during workflow
Templates → templates/
Reference materials for output generation:
templates/experiment_summary.yaml- YAML schema and structure for experiment plan
Important Reminders
- BEFORE generating experiment_summary.yaml: You MUST read
templates/experiment_summary.yamlfirst. Do not freestyle the YAML structure — use the template schema exactly. - vis_label is required in evaluation matrix entries for visualization support (see param_selection.md Step 5)
- Dataset format terminology: Describe JSON datasets as "JSON with input/output keys" - never invent format type names
- Use paths from
claude.local.mdfor models, datasets, scratch directories - Always verify resources exist before finalizing plan (log all verification)
- System prompt has a single source - set
controls.system_prompt; it propagates to both training and eval, so parity is automatic (per-task variation:evaluation.tasks[].system_prompt) - **Prom
Установить design-experiment в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл design-experiment?
Plan LLM fine-tuning and evaluation experiments. Use when the user wants to design a new experiment, plan training runs, or create an experiment_summary.yaml file.
Как установить скилл design-experiment?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл design-experiment запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic