Sleep Hygiene Routine Refiner skill for Claude and Codex
Gives a short list of five to seven timed steps for tonight's routine, fixing the screens, caffeine, light, and stress that keep your bedtime inconsistent.
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 a person with a shifting bedtime wants a compact 5 to 7 step routine that fixes their biggest sleep disruptors. Do not use for a detailed night and morning plan or a long explanation of sleep science. Related topics: health, wellness, sleep.
What it will ask you for
- Current bedtime (free text, e.g. "11:30 PM")
- Desired wake-up time (free text, e.g. "6:00 AM")
- Pre-sleep screen use (choose one: None, Under 30 min, 30 to 60 min, Over 60 min)
- Evening caffeine intake (choose one: Yes, No)
- Bedroom light level (choose one: Dark, Dim, Light)
- Stress level before bed from 1 to 10 (number from 1 to 10)
- Preferred relaxation activity (choose any: Reading, Meditation, Stretching, Warm shower, Light music)
How it works
- Rank the person's disruptors (caffeine, screens, light, stress) and select the changes that matter most.
- Move the bedtime toward the desired wake-up time in steps of 15 to 30 minutes rather than all at once.
- Write 5 to 7 steps, each under 30 words, each with a clock time or countdown from bedtime.
- Use the preferred relaxation activities as the final one or two steps.
- Check the list against the word limit and the step count before returning it.
What you get
A markdown bullet list of 5 to 7 steps, each under 30 words and each with a timing.
What it watches out for
- Shifting bedtime by an hour or more overnight, which people abandon within days.
- Writing steps over 30 words, which breaks the brief and becomes unreadable.
- Leaving out timing on some steps.
- Recommending a stress release the person did not choose and will not do.
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.