Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

walnut-health-sleep-report

Skill by EvanZhang008

Reports the user's last 7 nights of Apple Health sleep against their own 28-night baseline, with plain flags and prior-day work context. It is not a diagnosis.

  • Score 64
  • 142 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install walnut-health-sleep-report

Built from the published package, never by AI.

git clone --depth 1 https://github.com/EvanZhang008/open-walnut /tmp/open-walnut && mkdir -p ~/.claude/skills && cp -r /tmp/open-walnut/src/data/skills/walnut-health-sleep-report ~/.claude/skills/walnut-health-sleep-report

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install walnut-health-sleep-report in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The walnut-health-sleep-report skill reads the last 7 nights of sleep from Apple Health and compares them with the user's own 28-night baseline. It gives a short, honest read of the week, not a diagnosis. Flags are raised only when the numbers support them, such as short sleep, bedtime drift, low deep sleep, HRV below baseline, or a higher resting heart rate.

The assistant calls health_sleep, health_status and day_review through the Walnut CLI on a Mac. It notes possible links between the latest night and the prior day's finished tasks, screen time or calendar, offered as possible links rather than causes. It suits people who want to check their sleep against their usual pattern and their work. Health data is served only to sessions on this Mac and is not synced.

Written from the project's SKILL.md and checked against it.

What it can do

  • health_sleepReads recent nights of sleep data, averages and the 28-night baseline from Apple Health.
  • health_statusChecks the health store and shows which data types have data and the last sync.
  • day_reviewReturns prior-day context, such as tasks, screen time and calendar, for possible links to sleep.
  • Short sleep flagFlags a night under 6 hours or a 7-night average under 6 hours, with the numbers.
  • Bedtime drift flagFlags bedtimes spread over more than 60 minutes or a later average bedtime than baseline.
  • Low deep sleep flagFlags deep sleep under 45 minutes when stage coverage is at least 0.8.
  • HRV below baseline flagFlags a 7-night HRV SDNN average more than 10% below baseline when the baseline has 14 or more nights.
  • Resting heart rate flagFlags a 7-night resting heart rate more than 3 count/min above baseline with 14 or more baseline nights.

What you need

  • Walnut CLI on a Mac
  • Apple Health data synced from an iPhone
  • Apple Watch for sleep stages and full sleep records

Try asking

  • How did I sleep this week?
  • Give me my sleep report for the last 7 nights
  • Am I sleeping enough compared with my own baseline?

Good to know

  • Not a diagnosis and gives no medical claims or supplement or drug advice.
  • Without an Apple Watch only time in bed is recorded, so sleep is not estimated.
  • Stages from a consumer wearable are estimates, and HRV is SDNN, not RMSSD.
  • A thin baseline (fewer than 14 nights) is not compared against.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: src/data/skills/walnut-health-sleep-report/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to walnut-health-sleep-report

All alternatives →

Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database

walnut-health-sleep-report: common questions

Does the sleep report diagnose sleep problems?

No. The skill describes itself as a short, honest read of sleep against the user's own baseline, not a diagnosis, and it suggests a clinician for anything that worries the user.

Is my Apple Health data sent to the cloud?

Walnut serves health data only to sessions on this Mac and never syncs or relays the samples. Written summaries are ordinary Walnut content and do sync.

What happens if only time in bed was recorded?

The skill reports bedtime, wake time and time in bed only, and never estimates sleep from time in bed.

How do I install walnut-health-sleep-report?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is walnut-health-sleep-report free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is walnut-health-sleep-report safe to use?

It scores 64 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to walnut-health-sleep-report?

Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.

walnut-health-sleep-report Install

Add to stack

Loading.