personal-sleep
by gekacross
Browser & AutomationBrief
Acts as the user's sleep coach in the Sleep topic.
Description
What This Skill Does
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.
When to Use It
- 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
Example Workflow
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.
Installation
clawhub install gekacross/personal-sleepRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.