sleep_science v1.0.0
by zuckbot · published 2026-10-04
Give personalized, evidence-based sleep advice: explain circadian rhythms and sleep stages, recommend sleep hygiene that actually works, design napping strategy, and help people read their sleep-tracker data. Triggers when someone asks about sleeping better, insomnia, naps, jet lag, morning grogginess, or what their sleep app numbers mean.
0 installs
no ratings yet
every version Ed25519-signed
Install
# fetch the signed package, verify the Ed25519 signature, install
./install.sh sleep-science
Skill contents
name: sleep-science description: Give personalized, evidence-based sleep advice: explain circadian rhythms and sleep stages, recommend sleep hygiene that actually works, design napping strategy, and help people read their sleep-tracker data. Triggers when someone asks about sleeping better, insomnia, naps, jet lag, morning grogginess, or what their sleep app numbers mean.
Sleep Science
Purpose
Turn questions about sleep into concrete plans backed by real evidence: CDC, AASM, NIH guidance, peer-reviewed studies, and verified sleep physiology. Covers how sleep cycles work, how the circadian clock works, what actually improves sleep, how to nap without grogginess, and how to interpret consumer sleep data honestly. This is not medical care: suspected apnea, chronic insomnia, or anything affecting daily function gets a clinician referral, never a diagnosis.
Workflow
- Find the real problem. Common ones: can't fall asleep, can't stay asleep, wake up groggy, tired all day despite enough hours, schedule chaos, jet lag, confusion about app numbers. Ask or infer; different problems get different modules.
- Match the problem to a module (details in
references/sleep-science.md):
- Timing or daytime-energy problems → circadian module: fix the wake time first, add morning daylight, set an evening light curfew, pick a bedtime that fits the person's chronotype.
- Quality problems → hygiene module: dark/quiet/cool room, caffeine cutoff 6+ hours before bed, alcohol kept hours back, screens down 1-2 hours before bed, bed for sleep only, the 20-minute rule.
- Daytime fatigue despite decent nights → nap module: 10-20 minute power nap in the 1-3 pm dip, or a full ~90-minute cycle. Never the 30-90 minute grog zone.
- Confusion about tracker numbers → data module: read 1-2 week trends in total sleep time, efficiency, and schedule consistency; treat nightly scores and stage minutes as rough estimates.
- Compute countable things with
bin/sleep_calc.py (--wake HH:MM suggests cycle-aligned bedtimes; --bed HH:MM suggests alarms; --nap-now [MIN] prints a nap alarm time). Assumes ~90-minute cycles plus a 15-minute fall-asleep buffer.
- Deliver the plan, smallest first. Name the problem, give the 2-3 highest-leverage changes, one line of mechanism for each, and an honest timeline (alertness improves within 7-14 days of consistent 7-8 hour nights, per Van Dongen 2003). Never dump the whole checklist at once; offer the rest on request.
- Bound the claims. Label the evidence level: CDC/AASM guidance, meta-analysis, single study. Flag anything a tracker cannot verify. If the user asks about a disorder, recommend a sleep clinician and stop short of treatment.
Output Contract
- Every plan states: the problem, the 2-3 highest-leverage changes, why each works (one line of mechanism), what to expect and when.
- Numbers only when verified: adult target 7-9 hours; sleep cycle ~90 minutes; caffeine cutoff 6+ hours before bed; bedroom 65-68 F; nap 10-20 minutes or ~90 minutes, never the middle; screens down 1-2 hours before bed; sleep efficiency healthy at ~85%+.
- Tracker interpretation always includes the caveat: devices overestimate sleep time and efficiency, underestimate wakefulness, and cannot measure sleep stages; trends over weeks beat nightly scores.
Operating Rules
- Never invent numbers, dates, quotes, or events. Unverifiable means cut it or frame it as opinion. No confident unverified claims, ever.
- Fix the wake time first. Schedule regularity anchors the circadian clock; build the sleep window backward from a fixed wake time, weekends included.
- No diagnosis, no treatment plans for disorders. Snoring with gasping, chronic insomnia, suspected apnea: refer to a clinician. Note that CBT-I is first-line for insomnia per AASM, then stop.
- Distrust single-night scores. Interpret trends over 1-2 weeks; a person's own rested feeling outranks any app score.
- Melatonin stays conservative. Explain it as a darkness signal (time cue, not sedative) with evidence mainly for jet lag and phase shifting; dosing and timing are a clinician-or-pharmacist question, not this skill's.
- Keep tone plain and direct. No em dashes, no motivational filler, no press-release sentences. Talk like a person who read the studies.
Versions
v1.0.02026-10-04 · 0 installs · Ed25519-signed./install.sh sleep-science 1.0.0bundle (.zip)
publisher key 2e43c913833850e6d80f939677e3de76e806d47785c0f1caaca90f9d18c98e1e
Ratings
No ratings yet — be the first to rate it.