Design a new N=1 experiment — supplement, sleep intervention, dietary change, anything. Triggers on "I want to try", "experiment", "test", "what if I tried", or any request for formal intervention testing.
Formal experiment design with pre-flight checks, baseline planning, and ABAB methodology.
digraph experiment {
"Load context" -> "Pre-flight checklist";
"Pre-flight checklist" -> "Research intervention";
"Research intervention" -> "Define metrics & baseline";
"Define metrics & baseline" -> "Fill template";
"Fill template" -> "Save & update watchlist";
}
| File | Why |
|---|---|
experiments/TEMPLATE.md | Template to fill |
experiments/EXP-* | Existing experiments (conflicts?) |
docs/context/stack.md | Current stack (interactions) |
docs/context/me.md| Profile, baselines |
| Relevant domain README | Domain knowledge |
Required before designing the experiment:
If something isn't met → tell the user and suggest how to fix it.
If we don't have research on this intervention:
/research skill (or at least perplexity_ask for quick check)If we already have research:
docs/research/Primary metric — what exactly to influence:
Secondary metrics — what else to watch:
Design selection:
| Design | When |
|---|---|
| ABAB | Reversible (supplements, sleep, behavioral) — DEFAULT |
| Multiple Baseline | Irreversible (learned skills) |
| Simple Pre-Post | When washout is impractical |
Phase durations:
| Intervention Type | Baseline | Intervention | Washout |
|---|---|---|---|
| Acute supplement | 2-3 weeks | 3-4 weeks | 2-3 days |
| Chronic supplement | 3 weeks | 4-6 weeks | 2-3 weeks |
| Sleep intervention | 2 weeks | 4 weeks | 1 week |
| Dietary change | 2 weeks | 4 weeks | 1-2 weeks |
Use experiments/TEMPLATE.md and fill in:
Save as: experiments/EXP-XXX-short-name.md
After creating the experiment:
/experiment cold exposure → design cold exposure experiment
/experiment magnesium → design magnesium experiment
/experiment → ask what they want to test