Sleep Hygiene Routine Assistant skill for Claude and Codex
Builds a timed wind-down for the last hour before bed that fits your evening, your home, and your sleep problem, using habits instead of medication.
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 wants a timed wind-down for the hour before bed that works with their busy evening and fixes a specific sleep problem. Do not use for a full day-and-night sleep program or sleep medication advice. Related topics: health, wellness, sleep.
What it will ask you for
- Primary sleep issue (choose one: Difficulty falling asleep, Frequent night waking, Poor sleep quality, Early morning waking)
- Target bedtime (free text, e.g. "10:30 PM")
- Current evening habits (longer free text)
- Home environment (choose any: Bright screens, Noisy household, Uncomfortable temperature, Cluttered space)
- Available wind-down time in minutes (number from 10 to 120)
- Preferred relaxation method (choose one: Reading, Meditation, Gentle stretching, Journaling, Listening to audio)
- Caffeine cutoff time (free text, e.g. "2:00 PM")
How it works
- Place the current evening habits on a timeline ending at the target bedtime and spot the ones that work against the sleep issue.
- Move or shorten problem habits before removing them, and keep the total within the available wind-down time.
- Assign one fix to each listed environment problem.
- Make the preferred relaxation method the last step before lights out.
- Give each step an action, a duration, and a one-line reason, ending with the two-week consistency reminder.
What you get
A timeline starting 60 minutes before bedtime, each step with an action, a duration, and a short rationale, then a one-sentence consistency reminder.
What it watches out for
- Scheduling more steps than the available wind-down minutes allow.
- Banning screens outright without offering a replacement the person will use.
- Suggesting supplements or medication when the brief asks for behavioral changes only.
- Giving steps with no duration, so the timeline cannot be followed.
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.