/superpowers-lab:ablation-studyfrom superpowers-lab
Systematically remove or vary components to isolate what contributes to performance.
Claude never picks this skill on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /superpowers-lab:ablation-study still runs it.
What the skill costs in Claude's context, stage by stage
No description Claude Code can read, so Claude's list leaves it out: only you can start it.
SKILL.md joins the conversation and stays.
Systematically remove or vary components to isolate what contributes to performance.
Triggers:
Use when: User wants to understand which components of a model/config are responsible for performance.
Don't use when: No baseline experiment exists to ablate from.
Load the "full" experiment to ablate: experiments/EXP-YYYYMMDD-XX.md
From user:
Or suggest from config:
For each component, create an experiment that removes/disables it.
Example:
Base: Full model (attention + layer_norm + dropout)
Ablation 1: Remove attention
Ablation 2: Remove layer_norm
Ablation 3: Remove dropout
For each ablation:
experiment-planning skillEXP-YYYYMMDD-XX-ablate-<component>For each ablation experiment:
experiment-execution skillexperiment-analysis skillCreate ablation study report:
# Ablation Study: EXP-YYYYMMDD-XX
## Base Model
- **Metric:** 85.5% accuracy
- **Components:** attention, layer_norm, dropout
## Ablation Results
| Component Removed | Accuracy | Delta | Conclusion |
|-------------------|----------|-------|------------|
| None (base) | 85.5% | - | - |
| Attention | 82.1% | -3.4% | Attention critical |
| Layer Norm | 84.8% | -0.7% | Minor contribution |
| Dropout | 85.8% | +0.3% | Dropout not needed |
## Recommendations
- **Keep:** Attention (major contribution)
- **Keep:** Layer Norm (small but positive)
- **Remove:** Dropout (hurts performance)
Save to: experiments/EXP-YYYYMMDD-XX-ablation-study.md
Link to ablation study from base experiment plan:
## Related Experiments
- Ablation study: [EXP-YYYYMMDD-XX-ablation-study](./EXP-YYYYMMDD-XX-ablation-study.md)
❌ Changing multiple variables:
❌ Different seed/data:
❌ Not documenting what was removed:
User: "Run an ablation study on EXP-20260323-01"
Agent: "I'll ablate the components from EXP-20260323-01.
Components found: attention, layer_norm, dropout
Ablation plan:
1. Remove attention
2. Remove layer_norm
3. Remove dropout
Each will use same seed (42), data (v3), commit (abc123).
Creating ablation experiments...
[Creates 3 child experiments]
Running ablation 1/3: Remove attention...
[Runs and analyzes...]
Running ablation 2/3: Remove layer_norm...
[Runs and analyzes...]
Running ablation 3/3: Remove dropout...
[Runs and analyzes...]
Ablation study complete!
Base: 85.5% (attention + layer_norm + dropout)
- Remove attention: 82.1% (-3.4%) ← Critical
- Remove layer_norm: 84.8% (-0.7%) ← Minor
- Remove dropout: 85.8% (+0.3%) ← Not needed
Recommendation: Keep attention and layer_norm, remove dropout.
Report saved to: experiments/EXP-20260323-01-ablation-study.md"
@SKILLS/experimentation-protocol.md @skills/experiment-planning/SKILL.md @skills/experiment-execution/SKILL.md @skills/experiment-analysis/SKILL.md
- [ ] **Step 2: Commit ablation-study skill**
```bash
git add skills/ablation-study/SKILL.md
git commit -m "feat: add ablation-study skill"
What SKILL.md sets; muted values are Claude Code's defaults
None: SKILL.md is the whole skill.
Other plugins' skills for the same job
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: author: Invalid input: expected object, received string, skills.0: Invalid string: must start with "./", skills.1: Invalid string: must start with "./", skills.2: Invalid string: must start with "./", skills.3: Invalid string: must start with "./", skills.4: Invalid string: must start with "./", skills.5: Invalid string: must start with "./", skills.6: Invalid string: must start with "./", skills.7: Invalid string: must start with "./"
.claude-plugin/plugin.json: author: Invalid input: expected object, received string, skills.0: Invalid string: must start with "./", skills.1: Invalid string: must start with "./", skills.2: Invalid string: must start with "./", skills.3: Invalid string: must start with "./", skills.4: Invalid string: must start with "./", skills.5: Invalid string: must start with "./", skills.6: Invalid string: must start with "./", skills.7: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
8 skills in this plugin
/baseline-comparisonBaseline ComparisonHead-to-head comparison between two models/configs to determine which is better./experiment-analysisExperiment AnalysisCompare results vs baseline, collect artifacts, assess outcome (WIN/LOSS/NEUTRAL/INVALID)./experiment-executionExperiment ExecutionRun experiments with full reproducibility tracking and artifact collection./experiment-planningExperiment PlanningTransform rough experiment ideas into comprehensive written plans./hyperparameter-sweepHyperparameter SweepGrid or random search across hyperparameter space with systematic tracking./reproducibility-checkReproducibility CheckVerify that an experiment can be recreated exactly from its documentation.