personal-sleep
由 gekacross 提供
Browser & Automation简介
Acts as the user's sleep coach in the Sleep topic.
描述
该技能的功能
A personal sleep coach that logs bedtime, wake time, sleep quality, and naps into a persistent file. Tracks patterns over time and looks for correlations between sleep quality and daily habits like exercise or caffeine. Gives advice on sleep hygiene without judgment.
Advice is grounded in your own logged history rather than generic recommendations, so patterns like "bad sleep always follows late coffee" are surfaced from your actual data.
何时使用
- Logging last night's sleep with a one-line note
- Checking if late workouts are affecting sleep quality
- Setting a target sleep schedule and tracking deviations
- Recording a nap and seeing how it impacts overnight sleep
- Getting a weekly summary of average sleep duration and trends
示例工作流
User says: went to bed at 2, woke up at 9, felt pretty good
- 1
Read knowledge/personal/sleep.md to load existing log and current target schedule
- 2
Parse bedtime 02:00, wake time 09:00, duration 7 hours, quality noted as good
- 3
Append new row to the sleep log table with today's date
- 4
Check for correlations with recent entries (e.g. deviation from target schedule)
- 5
Update observations section if a new pattern is detected
Logged: 02:00 → 09:00, 7h, quality ~7/10. You went to bed 2 hours later than your target. Running average this week is 6.8h.
安装
clawhub install gekacross/personal-sleep运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。