Experiment Design
Design structured, progressive experiment plans for research papers.
Input
$0 — Research idea, plan, or method description
References
- 4-stage progressive experiment prompts:
~/.claude/skills/experiment-design/references/stage-prompts.md
Scripts
Generate experiment design
python ~/.claude/skills/experiment-design/scripts/design_experiments.py --plan research_plan.json --output experiment_design.json
python ~/.claude/skills/experiment-design/scripts/design_experiments.py --method "contrastive learning" --task classification --format markdown
Generates baselines, ablation matrix, hyperparameter grid, metric selection. Stdlib-only.
4-Stage Progressive Framework (from AI-Scientist-v2)
Stage 1: Initial Implementation
- Focus on getting a basic working implementation
- Use a simple dataset
- Aim for basic functional correctness
- Completion: at least one working (non-buggy) implementation
Stage 2: Baseline Tuning
- Tune hyperparameters (learning rate, epochs, batch size)
- Do NOT change model architecture
- Test on at least TWO datasets
- Completion: stable training curves, improvement over Stage 1
Stage 3: Creative Research
- Explore novel improvements and insights
- Be creative and think outside the box
- Test on at least THREE datasets
- Completion: demonstrated novel improvement
Stage 4: Ablation Studies
- Systematic component analysis
- Each ablation tests a different aspect
- Use same datasets as Stage 3
- Completion: all planned ablations done
Output Format
{
"stages": [
{
"name": "initial_implementation",
"goals": ["Basic working baseline", "Simple dataset"],
"max_iterations": 5,
"completion_criteria": "Working implementation with non-zero accuracy"
}
],
"baselines": ["Method A", "Method B"],
"datasets": ["Dataset1", "Dataset2", "Dataset3"],
"metrics": ["accuracy", "F1", "inference_time"],
"ablation_components": ["component_A", "component_B"],
"hyperparameter_grid": {
"lr": [1e-4, 1e-3, 1e-2],
"batch_size": [32, 64, 128]
},
"num_seeds": 3
}
Rules
- Always start simple (Stage 1) before complex experiments
- Each stage builds on the best result from the previous stage
- Multi-seed evaluation for statistical significance
- Document every experiment run in notes.txt
- Generate figures for training curves and comparisons
Related Skills
1---2name: experiment-design3description: Design experiment plans with progressive stages — initial implementation, baseline tuning, creative research, and ablation studies. Plan baselines, datasets, hyperparameter sweeps, and evaluation metrics. Use when planning experiments for a research paper.4argument-hint: [idea-or-plan]5metadata:6 source: https://skillmd.com/skills/om-scogo/experiment-design7---89# Experiment Design1011Design structured, progressive experiment plans for research papers.1213## Input1415- `$0` — Research idea, plan, or method description1617## References1819- 4-stage progressive experiment prompts: `~/.claude/skills/experiment-design/references/stage-prompts.md`2021## Scripts2223### Generate experiment design24```bash25python ~/.claude/skills/experiment-design/scripts/design_experiments.py --plan research_plan.json --output experiment_design.json26python ~/.claude/skills/experiment-design/scripts/design_experiments.py --method "contrastive learning" --task classification --format markdown27```2829Generates baselines, ablation matrix, hyperparameter grid, metric selection. Stdlib-only.3031## 4-Stage Progressive Framework (from AI-Scientist-v2)3233### Stage 1: Initial Implementation34- Focus on getting a basic working implementation35- Use a simple dataset36- Aim for basic functional correctness37- Completion: at least one working (non-buggy) implementation3839### Stage 2: Baseline Tuning40- Tune hyperparameters (learning rate, epochs, batch size)41- Do NOT change model architecture42- Test on at least TWO datasets43- Completion: stable training curves, improvement over Stage 14445### Stage 3: Creative Research46- Explore novel improvements and insights47- Be creative and think outside the box48- Test on at least THREE datasets49- Completion: demonstrated novel improvement5051### Stage 4: Ablation Studies52- Systematic component analysis53- Each ablation tests a different aspect54- Use same datasets as Stage 355- Completion: all planned ablations done5657## Output Format5859```json60{61 "stages": [62 {63 "name": "initial_implementation",64 "goals": ["Basic working baseline", "Simple dataset"],65 "max_iterations": 5,66 "completion_criteria": "Working implementation with non-zero accuracy"67 }68 ],69 "baselines": ["Method A", "Method B"],70 "datasets": ["Dataset1", "Dataset2", "Dataset3"],71 "metrics": ["accuracy", "F1", "inference_time"],72 "ablation_components": ["component_A", "component_B"],73 "hyperparameter_grid": {74 "lr": [1e-4, 1e-3, 1e-2],75 "batch_size": [32, 64, 128]76 },77 "num_seeds": 378}79```8081## Rules8283- Always start simple (Stage 1) before complex experiments84- Each stage builds on the best result from the previous stage85- Multi-seed evaluation for statistical significance86- Document every experiment run in notes.txt87- Generate figures for training curves and comparisons8889## Related Skills90- Upstream: [research-planning](../research-planning/), [idea-generation](../idea-generation/)91- Downstream: [experiment-code](../experiment-code/), [data-analysis](../data-analysis/)92- See also: [paper-assembly](../paper-assembly/)