Sleep Hygiene Routine Coach skill for Claude and Codex
Turns your bedtime, wake time, and sleep disruptors into an evening schedule with timing, actions, and room changes that protect a set sleep duration.
Install it once and Claude or Codex runs it for you. When your request matches, your AI loads the skill, asks for anything it is missing, and works through the template itself. Prefer to fill it in by hand? See the full prompt template.
Download the skill (.zip) · View SKILL.md
When it is used
Use when an adult with disrupted sleep wants an evening schedule based on their wake time, disruptors, and the hours of sleep they need. Do not use for a morning routine or a short list of steps with no clock times. Related topics: health, wellness, sleep.
What it will ask you for
- Current bedtime (free text, e.g. "HH:MM")
- Typical wake-up time (free text, e.g. "HH:MM")
- Main sleep disruptors (choose any: Screen use, Noise, Stress, Temperature, Late meals, Caffeine)
- Preferred relaxation activity (choose one: Reading, Meditation, Light stretching, Warm shower, Listening to music)
- Bedroom night-light use after bedtime (choose one: Yes, No)
- Latest caffeine intake (free text, e.g. "HH:MM or None")
- Desired sleep duration in hours (number from 4 to 10)
How it works
- Work back from the wake-up time and desired duration to the bedtime that delivers it and compare with the current bedtime.
- Give each selected disruptor one fix with a clock time attached.
- Set the caffeine cutoff from the latest intake and the screen cutoff before the target bedtime.
- Place the preferred relaxation activity as the last item before lights out.
- Write the schedule in plain text, with time, action, and any room change on each line.
What you get
A plain-text bullet schedule of the evening, each item with a time, a specific action, and any environmental adjustment.
What it watches out for
- Keeping the current bedtime even when it cannot deliver the desired sleep duration.
- Giving fixes with no clock time, such as 'cut back on caffeine'.
- Recommending a bright night light, which defeats the point of a dark room.
- Ignoring the disruptors the person actually selected.
How to install
Claude.ai and the Claude desktop app
- Download the skill .zip.
- Open Settings, then Capabilities, and find Skills.
- Choose Upload skill and select the .zip.
- Ask Claude for help with the task. It loads the skill when your request matches.
Claude Code
- Download the skill .zip.
- Unzip it into ~/.claude/skills/ (or .claude/skills/ inside a project).
- Start a new session. Claude Code loads the skill when your request matches.
Codex
- Download the skill .zip.
- Unzip it into ~/.agents/skills/ (or .agents/skills/ inside a project).
- Codex picks it up on its own. Type $ and the skill name to use it, or just ask for the task.
Cursor
- Download the Cursor rule (.mdc).
- Save it in .cursor/rules/ inside your project.
- Cursor's agent applies the rule when your request matches its description.
AGENTS.md (Codex, Cursor, and other coding agents)
- Copy the AGENTS.md section.
- Paste it into AGENTS.md at the root of your repository, creating the file if needed.
- Coding agents that read AGENTS.md follow it when your request fits.