Sleep Optimization

Circadian rhythms, sleep hygiene protocols, sleep tracking, environment design, and recovery

492 stars 68 forksOther

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add cosmicstack-labs/mercury-agent-skills --skill sleep-optimization
Manual install
git clone --depth 1 https://github.com/cosmicstack-labs/mercury-agent-skills.git /tmp/mercury-agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/mercury-agent-skills/categories/health-wellness/sleep-optimization ~/.claude/skills/sleep-optimization

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Sleep Optimization

Optimize sleep quality and duration for health and performance.

## Sleep Science Basics

### Sleep Cycles (90 min each)
- **NREM (75%)**: Deep restorative sleep — tissue repair, immune function
- **REM (25%)**: Dream sleep — memory consolidation, emotional processing

### Optimal Schedule
- **7-9 hours** for adults
- Consistent bedtime + wake time (even weekends)
- Wake up at the end of a cycle (multiples of 90 min from bedtime)

## Sleep Hygiene Protocol

### 2 Hours Before Bed
- [ ] Dim lights, use warm color temperature
- [ ] No screens (or blue light blockers)
- [ ] No intense exercise
- [ ] No heavy meals, caffeine, or alcohol
- [ ] Room temperature: 65-68°F (18-20°C)
- [ ] White noise or earplugs if needed

### 30 Minutes Before Bed
- [ ] Wind-down routine (same order every night)
- [ ] Read fiction (not work-related)
- [ ] Journal to offload racing thoughts
- [ ] Stretch or gentle yoga
- [ ] Avoid bright bathroom lights

## Environment Design
- **Complete darkness**: Blackout curtains, tape LED lights
- **Cool temperature**: Cooler room = deeper sleep
- **Quiet**: Earplugs or white noise machine
- **Comfortable bed**: Mattress 7-10 years lifespan
- **Clean air**: Open window or air purifier

## Tracking & Adjustment
Use wearable (Oura, Apple Watch, Fitbit) to track:
- Time in bed vs actual sleep
- Deep sleep percentage (>15% ideal)
- HRV trend (higher = better recovery)
- Consistency score
Read the full skill on GitHub

Details

Skill name
sleep-optimization
Path
categories/health-wellness/sleep-optimization/SKILL.md
License
MIT
Repo updated
25 August 2026

FAQ

What does the Sleep Optimization skill do?

Circadian rhythms, sleep hygiene protocols, sleep tracking, environment design, and recovery

How do I install the Sleep Optimization skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add cosmicstack-labs/mercury-agent-skills --skill sleep-optimization. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Sleep Optimization popular?

It lives in cosmicstack-labs/mercury-agent-skills, which has 492 GitHub stars and 68 forks.

Related skills

Browse the most popular Claude skills, all other skills, or write your own with the skills generator.