← Back to Skills Marketplace
harrylabsj

Sleep Environment Architect

by haidong · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
21
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install sleep-environment-architect
Description
Audit and upgrade every dimension of your sleep environment — light, sound, temperature, air, bedding, and layout — so your bedroom becomes a sleep sanctuary.
README (SKILL.md)

Sleep Environment Architect

Overview

Sleep Environment Architect helps users systematically audit and improve the physical space where they sleep. It addresses light control, noise management, temperature regulation, air quality, bedding selection, and room layout — the environmental factors that make or break sleep quality regardless of bedtime routine.

This skill provides environmental optimization guidance for sleep. It does not diagnose or treat sleep disorders, insomnia, or medical conditions. Users with chronic sleep difficulties should consult a qualified health professional or sleep specialist.

When to Use

Use this skill when the user asks to:

  • Improve their bedroom for better sleep
  • Block out light or noise that disrupts sleep
  • Choose better bedding, mattress, or pillows
  • Adjust room temperature for optimal sleep
  • Create a sleep-friendly space in a small or shared room
  • Solve specific environmental sleep disruptors

Trigger phrases: "How to make my bedroom better for sleep", "Best temperature for sleeping", "Block out street noise at night", "Best blackout curtains", "Mattress buying guide", "Sleep environment checklist", "Can't sleep because of light/noise/heat"

Workflow

Step 1 — Sleep Environment Audit

Assess the current sleep environment across all dimensions:

Ask the user about:

  • Light: What light enters the room at night? Street lights, neighbor lights, early morning sun? Electronic LEDs? Partner's phone screen? Bathroom light under the door?
  • Sound: Consistent noise (traffic, HVAC, neighbors)? Intermittent noise (partner snoring, pets, plumbing, kids)? Sudden noises (garbage trucks, alarms, doorbells)?
  • Temperature: Room temperature at bedtime and throughout the night? Too hot? Too cold? Temperature fluctuations?
  • Air: Stuffy? Dry? Humid? Allergens (dust, pet dander, pollen)? Odors?
  • Bedding: Mattress age and comfort? Pillow support? Sheets/blankets — too hot, too cold, uncomfortable texture?
  • Layout: Can they move freely? Is the room cluttered? Work materials visible? Electronics in the room?
  • Sharing: Partner or pet sharing the bed? Different temperature preferences? Different schedules?
  • Waking patterns: When do they wake up? Is it always the same cause (light, noise, temperature, bathroom, partner)?

Step 2 — Light Control Plan

Light is the strongest environmental signal to the brain's sleep-wake cycle. Even small amounts of light during sleep suppress melatonin and reduce sleep quality.

Darkness Levels:

Level Description Achieved By
Level 1: Dim Can see shapes, not details Regular curtains, no direct light sources
Level 2: Dark Can barely see hand in front of face Blackout curtains or blinds, covered LEDs
Level 3: Pitch Black Cannot see anything Blackout curtains + eye mask, all LED indicators covered or removed

Target: Level 2 minimum for most people. Level 3 for light-sensitive sleepers.

Light Source Solutions:

Light Source Solution Budget
Street lights through windows Blackout curtains or blackout roller blinds $20-50
Early morning sun through windows Blackout curtains + curtain rod that wraps to wall (no side gaps) $30-80
Door cracks (hallway light) Door draft stopper or towel at base of door $5-15
Electronic LEDs (TV, router, charger) Black electrical tape over LEDs, or remove electronics from bedroom $0-5
Alarm clock display Turn display off or face away from bed. Use analog clock. $0
Partner's phone screen Talk to partner. Eye mask as backup. $5-20
Bathroom light when getting up at night Motion-sensor night light with red spectrum (red preserves night vision, no blue light) $10-20
General ambient light Eye mask (contoured, silk or cotton, adjustable strap) $10-30

Eye Mask Selection:

  • Contoured (domed over eyes) — no pressure on eyelids, good for side sleepers
  • Material: Silk (cool, gentle on skin), cotton (breathable), memory foam (complete blackout)
  • Adjustable strap — not too tight, stays in place
  • Nose bridge baffle — blocks light from below

Step 3 — Sound Management Plan

Sound Assessment:

  • Measure: Use a free sound meter app at bedside during typical sleeping hours. Target: under 35 dB. Above 40 dB can disrupt sleep even without full waking.
  • Type: Is the noise constant (white/pink/brown noise maskable) or intermittent (harder to mask)?

Solution Ladder (least to most intervention):

Level Solution Best For Cost
1 Earplugs (foam, silicone, or wax) General noise reduction, partner snoring $5-15
2 White noise machine (mechanical fan-based) Consistent masking sound, no electronics worry $20-50
3 White noise app on old phone / dedicated speaker Flexible sound options (white, pink, brown noise, rain, ocean, fan) Free-$30
4 Smart speaker with sleep sounds Already have device, voice-controlled Free-$50
5 Soundproofing: heavy curtains, door seals, window inserts Street noise, loud neighbors $50-500+
6 Acoustic panels on walls Echo reduction, neighbor wall noise $30-100

For Partner Snoring:

  • Earplugs (Level 1)
  • White noise machine placed closer to the listener's side (Level 2)
  • Encourage partner to try: side sleeping, nasal strips, elevated pillow, allergy management, and — importantly — sleep apnea screening if snoring is loud with gasping/choking sounds

For Street/Traffic Noise:

  • Heavy thermal/blackout curtains (dual purpose: light + sound dampening)
  • Window inserts (acrylic panels that create air gap — reduces noise 50-70%)
  • Weather stripping around windows
  • White noise to mask remaining sound

Step 4 — Temperature and Climate Control

The Science: Your body needs to drop core temperature by ~1-2°C (2-3°F) to initiate and maintain sleep. A room that's too warm prevents this drop. A room that's too cold causes waking and muscle tension.

Optimal Range: 18-20°C (65-68°F) for most adults.

Temperature Problem-Solving:

Problem Solutions
Room too hot in summer Window AC unit or fan. Cooling mattress topper (gel-infused). Breathable linen or bamboo sheets. Cold shower before bed. Freeze a water bottle and place near feet. Sleep with minimal clothing.
Room too cold in winter Programmable thermostat (warmer at bedtime, cooler overnight). Flannel or fleece sheets. Weighted blanket (also helps anxiety). Hot water bottle at feet. Wear socks (warming feet dilates blood vessels, signals sleep to brain).
Temperature fluctuations Layered bedding (top sheet, thin blanket, comforter). Smart thermostat with sleep schedule. Fan with timer for summer.
Partner has different preference Separate blankets/duvets (Scandinavian method). Cooling mattress pad on one side. Individual bed fans.

Humidity:

  • Optimal: 30-50% relative humidity
  • Too dry (\x3C30%): Sore throat, dry nasal passages, static. -> Cool mist humidifier, $30-60.
  • Too humid (>60%): Stuffy, mold risk, dust mites thrive. -> Dehumidifier or AC, $40-200.

Step 5 — Bedding Assessment

Mattress:

  • Typical lifespan: 7-10 years
  • Signs you need a new mattress: waking up stiff/sore, visible sagging >2.5cm (1 inch), sleeping better in hotels, mattress older than 8 years
  • Types: Memory foam (contouring, motion isolation, can sleep hot), latex (responsive, breathable, natural option, heavier), hybrid (coils + foam, balance of support and comfort), innerspring (traditional, bouncy, cooler, less motion isolation)
  • Firmness: Side sleepers -> medium to medium-soft. Back sleepers -> medium to medium-firm. Stomach sleepers -> medium-firm to firm. Combination sleepers -> medium.

Pillow:

  • Replace every 1-2 years
  • Side sleepers -> high loft (thick, fills gap between shoulder and head), firm
  • Back sleepers -> medium loft, supports neck curve without pushing head forward
  • Stomach sleepers -> low loft (thin, almost flat), soft
  • Materials: Memory foam (contouring), latex (responsive, durable), down/feather (moldable, soft, needs fluffing), buckwheat (firm, adjustable, crunchy sound), cooling gel (for hot sleepers)

Sheets and Blankets:

  • Material guide:
    • Cotton percale: Crisp, cool, breathable — best for hot sleepers and summer
    • Cotton sateen: Smooth, slightly warmer — good year-round
    • Linen: Extremely breathable, moisture-wicking, gets softer over time — best for hot sleepers
    • Bamboo: Soft, breathable, eco-friendly options
    • Flannel: Warm, cozy — winter only
    • Microfiber: Budget option, can trap heat
  • Thread count: 200-400 for cotton percale, 300-600 for cotton sateen. Above 600 often marketing hype.
  • Duvet/comforter: Choose weight for season. Consider TOG rating: 2.5-4.5 (summer), 7-10.5 (spring/fall), 12-15 (winter).

Step 6 — Room Layout and Psychology

The Bedroom Should Signal "Sleep" to Your Brain:

Element Guideline
Bed position Headboard against solid wall. Door visible (not directly in line). Not under window or in line with door.
Work separation No desk if possible. If must have desk, use room divider, screen, or at minimum face desk away from bed. Cover/close laptop.
Electronics Remove TV if possible. Phone charges outside bedroom or across room. No blue LEDs visible.
Clutter Clear floor, clear bedside table, clothes put away. Clutter = visual stress = harder to relax.
Colors Calm, muted tones: soft blues, greens, lavenders, warm grays, earth tones. Avoid: bright red, orange, neon anything.
Scent Lavender, chamomile, cedarwood, vanilla — calming. Use diffuser, pillow spray, or sachet.
Plants Snake plant, peace lily, lavender, aloe vera — air-purifying, calming. Avoid strong-fragrance flowering plants.

Bed as Sleep-Only Zone (If Possible):

  • The strongest psychological signal: bed = sleep (and intimacy) only
  • No working, eating, scrolling, arguing in bed
  • If space requires bed for daytime sitting: use different pillows/throw during day, convert to sleep mode at night as ritual

Step 7 — Special Situations

Small Apartments / Studio:

  • Room divider or curtain to separate bed from living area
  • Murphy bed or daybed that transforms
  • Under-bed storage to reduce clutter
  • Eye mask + earplugs are essential
  • Consistent wind-down routine compensates for lack of separate bedroom

Shared Bedroom (Kids, Roommates, Partners on Different Schedules):

  • Negotiated quiet hours (e.g., "lights out, headphones only after 10 PM")
  • Individual reading lights (amber/red spectrum, neck-mounted for precision)
  • Sound machine on each side
  • Sleep mask
  • Visual privacy: canopy, curtain, or screen around bed

Travel / Hotel Sleep Kit:

  • Pack: eye mask, earplugs, travel white noise (phone app), familiar sleep scent (small pillow spray or essential oil roller)
  • Request: room away from elevator/ice machine, higher floor, extra pillows
  • Use: binder clips to close stubborn curtain gaps in hotels

Shift Workers:

  • Blackout: absolute darkness during sleep hours regardless of time of day
  • Blackout curtains + window film (static cling) — double layer for maximum darkness
  • Temperature: harder to control during daytime. Use AC, fan, cooling bedding.
  • Sound: daytime noise is unavoidable. White noise machine + earplugs.
  • Consistency: keep same sleep environment every day, even on days off

Step 8 — Implementation Plan

Immediate Fixes (Today, $0-20):

  1. Cover all LED indicators with black tape
  2. Face alarm clock away from bed
  3. Charge phone outside bedroom or across the room
  4. Clear bedside table of non-sleep items
  5. Open window 5-10 min before bed for fresh air
  6. Remove visible work materials from bedroom

Week 1 Fixes ($20-100):

  1. Install blackout curtains or blackout roller blinds
  2. Get contoured eye mask
  3. Get earplugs or basic white noise machine
  4. Adjust thermostat or get seasonal bedding

Month 1 Fixes ($100-500):

  1. New pillows (if needed)
  2. Better bedding for current season
  3. Window film or inserts for noise
  4. Humidifier or dehumidifier

Long-Term (when budget allows):

  1. New mattress
  2. Acoustic panels
  3. Smart thermostat
  4. Room layout redesign

Safety Boundaries

DISCLAIMERS:

  • This skill provides environmental optimization guidance for sleep
  • It does not diagnose or treat sleep disorders, insomnia, sleep apnea, or medical conditions
  • If you consistently cannot sleep despite an optimal environment, consult a sleep specialist
  • Mattress and bedding advice is general — individual comfort varies
  • Electrical safety: follow manufacturer instructions for all electronic devices in bedroom
  • Fire safety: do not block heating vents, keep space heaters away from bedding

Tone and Style

  • Practical and solution-oriented
  • Science-informed, citing sleep research when relevant
  • Budget-conscious — solutions at every price point
  • Non-judgmental about current setup — any improvement counts
  • Clear and actionable — every recommendation has a "how to do it"

Output Structure

  1. Current Environment Scorecard: Dimension-by-dimension audit with problem areas highlighted
  2. Priority Fixes: Top 3 changes with biggest impact for least effort/cost
  3. Light Control Plan: Specific solutions for each light source identified
  4. Sound Management Plan: Level-appropriate noise reduction strategy
  5. Temperature & Air Plan: Optimal settings and equipment recommendations
  6. Bedding Recommendations: What to keep, what to change, what to buy (with budget tiers)
  7. Room Layout Suggestions: Simple rearrangements that improve sleep psychology
  8. Implementation Timeline: Immediate -> week 1 -> month 1 -> long-term
  9. Total Cost Estimate: Summed by time horizon, with budget-friendly alternatives

Sleep Environment Architect — Your bedroom should be the easiest place in the world to fall asleep. Let's make it that.

Usage Guidance
This appears low risk based on the provided artifacts. It may ask about your bedroom, sleep disruptions, and preferences, and may suggest consumer products, so only share details you are comfortable sharing and confirm any purchases yourself. For chronic or serious sleep problems, follow the skill’s own guidance to consult a qualified health professional.
Capability Analysis
Type: OpenClaw Skill Name: sleep-environment-architect Version: 1.0.0 The 'Sleep Environment Architect' skill is a document-only prompt-flow designed to provide informational guidance on sleep hygiene and bedroom optimization. It contains no executable code, requires no network or credential access, and includes clear safety boundaries and medical disclaimers. The instructions in SKILL.md and the metadata in skill.json are consistent with its stated purpose of wellness and home improvement.
Capability Tags
cryptocan-make-purchases
Capability Assessment
Purpose & Capability
The visible artifacts align around bedroom sleep-environment auditing and recommendations for light, sound, temperature, air, bedding, and layout.
Instruction Scope
The visible instructions ask user-directed questions and provide wellness guidance; they include boundaries against diagnosing or treating sleep disorders.
Install Mechanism
There is no install spec, no required binaries, no environment variables, no credentials, and no code files.
Credentials
The requested user information is limited to sleep-environment context and is proportionate to the stated purpose; no network or local-system access is requested.
Persistence & Privilege
No persistence, background activity, memory use, credential/session access, privilege escalation, or autonomous mutation authority is shown.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install sleep-environment-architect
  3. After installation, invoke the skill by name or use /sleep-environment-architect
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of Sleep Environment Architect. - Audit and improve all aspects of the sleep environment: light, sound, temperature, air, bedding, and room layout. - Provides actionable guidance to create optimal conditions for sleep quality. - Includes step-by-step assessment and targeted recommendations for common disruptors (light leakage, noise, uncomfortable temperatures, etc.). - Suggests practical solutions across various budgets, from DIY fixes to specialized products. - Designed for anyone aiming to optimize their bedroom environment for better sleep.
Metadata
Slug sleep-environment-architect
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Sleep Environment Architect?

Audit and upgrade every dimension of your sleep environment — light, sound, temperature, air, bedding, and layout — so your bedroom becomes a sleep sanctuary. It is an AI Agent Skill for Claude Code / OpenClaw, with 21 downloads so far.

How do I install Sleep Environment Architect?

Run "/install sleep-environment-architect" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Sleep Environment Architect free?

Yes, Sleep Environment Architect is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Sleep Environment Architect support?

Sleep Environment Architect is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Sleep Environment Architect?

It is built and maintained by haidong (@harrylabsj); the current version is v1.0.0.

💬 Comments