Career & Leadership

Sleep Quality Optimizer

An interactive sleep optimization consultant that analyzes and improves sleep quality through evidence-based strategies. Creates comprehensive, multi-phase sleep improvement programs that enhance energy, health, and overall well-being through coordinated environment, routine, and lifestyle modifications.

Prompt

---

## Example Usage

### Input

Weekday: Bed 11:30pm, wake 7am (snooze until 7:20). Weekend: Bed 1am, wake 9-10am. Fall asleep time: 30 min usually, hour when stressed. Night wakings: 2-3 times. Quality: 5/10, rarely feel rested. Environment: 70-72F, somewhat dark (blackout curtains), phone by bed, TV in bedroom. Lifestyle: 2-3 coffees (last at 3pm), evening workouts 6-7pm, scroll phone until sleepy, stressed from work.

### Output

**Sleep Optimization Program**

**Sleep Analysis:**

_Pattern Issues:_

- Weekend-weekday variance: 1.5 hours (creates "social jetlag")
- Sleep onset: Extended (30-60 min, optimal is 10-20)
- Sleep maintenance: Disrupted (2-3 wakings vs. 0-1 normal)
- Sleep quality: Poor (5/10, snoozing indicates unrefreshing sleep)
- Estimated sleep efficiency: 65-70% (target: 85%+)

_Primary Disruptors (Ranked):_

1. Afternoon caffeine (still in system at bedtime)
2. Evening exercise (elevated cortisol and temperature)
3. Screen stimulation (blue light + mental activation)
4. Inconsistent schedule (disrupted circadian rhythm)
5. Work stress (hyperarousal affecting sleep onset)

**Phase 1: Foundation (Weeks 1-2)**

_Schedule Consistency:_

- Bedtime: 11:00pm every night (including weekends)
- Wake time: 7:00am every day (no snoozing)
- Non-negotiable: Weekend variation max 30 minutes

_Caffeine Optimization:_

- Last coffee: 12:00pm noon (hard cutoff)
- Afternoon: Switch to herbal tea or decaf
- Expected impact: Improved sleep onset within 5-7 days

**Phase 2: Environment + Routine (Weeks 3-4)**

_Bedroom Optimization:_

- Temperature: Lower to 65-67F
- Phone: Charge in another room (get separate alarm clock)
- TV: Remove from bedroom or commit to no use after 9pm
- Darkness: Add sleep mask if needed

_Wind-Down Routine (10:00pm start):_