Agent Skills
› cosmicstack-labs/mercury-agent-skills
› sleep-optimization
sleep-optimization
GitHub提供睡眠优化建议,涵盖昼夜节律、卫生协议、环境设计及数据追踪。指导用户通过规律作息、睡前准备和适宜环境提升睡眠质量与时长,并依据可穿戴设备数据调整策略以增强健康与表现。
Trigger Scenarios
询问如何改善睡眠质量
需要制定睡眠时间表
咨询睡前习惯或环境设置
解读睡眠追踪数据
Install
npx skills add cosmicstack-labs/mercury-agent-skills --skill sleep-optimization -g -y
SKILL.md
Frontmatter
{
"name": "sleep-optimization",
"metadata": {
"tags": [
"sleep",
"health",
"wellness",
"recovery",
"circadian"
],
"author": "cosmicstack-labs",
"version": "1.0.0",
"category": "health-wellness"
},
"description": "Circadian rhythms, sleep hygiene protocols, sleep tracking, environment design, and recovery"
}
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
Adjust based on data: if deep sleep low → increase evening wind-down. If latency high → no caffeine after 2pm.
Version History
- 38e2523 Current 2026-07-05 19:40


