/superpowers-lab:hyperparameter-sweepfrom superpowers-lab
Grid or random search across hyperparameter space with systematic tracking.
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:hyperparameter-sweep 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.
Grid or random search across hyperparameter space with systematic tracking.
Triggers:
Use when: User wants to systematically search hyperparameter space.
Don't use when: Only testing a single config (use regular experiment workflow).
Ask user:
Example:
learning_rate: [0.001, 0.0001, 0.00001]
batch_size: [32, 64, 128]
dropout: [0.0, 0.1, 0.2, 0.5]
Ask user:
Grid search:
Random search:
For each config in the sweep:
EXP-YYYYMMDD-XX-sweep-NNexperiment-planning skillAdd sweep tracking to LEDGER:
## Sweep: EXP-YYYYMMDD-XX-sweep
- **Status:** In Progress
- **Total experiments:** 12
- **Completed:** 0/12
- **Best so far:** -
For each experiment in the sweep:
experiment-execution skillexperiment-analysis skillOptionally run in parallel (if resources allow):
After all experiments complete:
# Hyperparameter Sweep: EXP-YYYYMMDD-XX-sweep
## Search Space
- learning_rate: [0.001, 0.0001, 0.00001]
- batch_size: [32, 64, 128]
- dropout: [0.0, 0.1, 0.2, 0.5]
## Strategy
- Grid search (36 combinations)
## Results
| Config | Accuracy | Rank |
|--------|----------|------|
| lr=0.0001, bs=64, do=0.1 | 86.2% | 🥇 |
| lr=0.0001, bs=128, do=0.1 | 85.9% | 🥈 |
| lr=0.001, bs=64, do=0.1 | 85.7% | 🥉 |
| ... | ... | ... |
## Best Config
- **learning_rate:** 0.0001
- **batch_size:** 64
- **dropout:** 0.1
- **Accuracy:** 86.2% (+0.7% vs baseline)
## Recommendations
- Use best config for future experiments
- learning_rate=0.0001 consistently performs well
- Larger batch sizes (128) don't help
Save to: experiments/EXP-YYYYMMDD-XX-sweep-report.md
Link to sweep report from base experiment plan.
❌ Too large search space:
❌ Different seeds across sweep:
❌ Not tracking sweep in LEDGER:
User: "Do a hyperparameter sweep"
Agent: "I'll help you design a sweep.
Which hyperparameters to tune?
User: "learning rate, batch size, dropout"
Agent: "What ranges?
User: "lr: 0.001 to 0.00001, bs: 32-128, dropout: 0-0.5"
Agent: "Grid search or random search?
User: "grid search"
Agent: "This will generate 36 experiments. Proceed?
User: "yes"
Agent: "Creating 36 experiment plans...
[Creates all experiments]
Sweep: EXP-20260323-02-sweep
- Total: 36 experiments
- Status: In Progress
Running experiment 1/36: lr=0.001, bs=32, do=0.0...
[Runs and analyzes...]
Running experiment 2/36: lr=0.001, bs=32, do=0.1...
...
Sweep complete!
Best config: lr=0.0001, bs=64, do=0.1 → 86.2%
Report saved to: experiments/EXP-20260323-02-sweep-report.md"
@SKILLS/experimentation-protocol.md @skills/experiment-planning/SKILL.md @skills/experiment-execution/SKILL.md @skills/experiment-analysis/SKILL.md
- [ ] **Step 2: Commit hyperparameter-sweep skill**
```bash
git add skills/hyperparameter-sweep/SKILL.md
git commit -m "feat: add hyperparameter-sweep 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
/ablation-studyAblation StudySystematically remove or vary components to isolate what contributes to performance./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./reproducibility-checkReproducibility CheckVerify that an experiment can be recreated exactly from its documentation.