walnut-health-sleep-report SKILL.md skillA
walnut-health-sleep-report from evanzhang008/open-walnut is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add evanzhang008/open-walnut/walnut-health-sleep-report@git:20261007.38f5c7aPins git:20261007.38f5c7a in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- evanzhang008/open-walnut
- Path
src/data/skills/walnut-health-sleep-report/SKILL.md- Versions recorded
- 3
- Latest version
- git:20261007.38f5c7a, committed Oct 7, 2026
- First version recorded
- Oct 1, 2026
- Size
- 4,702 bytes
- Repository stars
- 34
- License
- MIT
Report on the user's recent sleep from Apple Health: the last 7 nights against their own 28-night baseline, with plain flags and the prior day's context. Use when the user asks "how did I sleep", "sleep report", "am I sleeping enough", or wants their sleep compared with their work.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Sleep report
A short, honest read of the last week of sleep, measured against the user's own
baseline. Not a diagnosis.
## 1. Read the data
```
walnut tools call health_sleep '{"last_nights":7}'
```
The answer holds `nights` (one per wake date), `averages` for the 7 nights,
`baseline28` (the 28 nights before them, with its own `n`), and `caveats`.
Night statuses:
- `ok`: a full night.
- `in_bed_only`: only time in bed was recorded (an iPhone without an Apple
Watch records nothing else). Bedtime, wake and `inBedMin` are real,
`asleepMin` is null. Say "only time in bed was recorded" and report those
three; never estimate sleep from time in bed, and skip every sleep flag below
except bedtime drift.
- `no_main_night`: only naps were recorded for that wake date; say so.
- `missing`: nothing arrived.
A night that carries `unrecordedGaps` had sleep recorded close to it with
nothing recorded in between (that sleep is listed under `naps`). Walnut cannot
tell a real wake from a recording gap such as a flat battery, so say the
recording has a gap and give the gap (`min`) and the sleep after it
(`otherSleepMin`). Never state that night's wake time, bedtime or hours asleep
…Read the whole file at its exact version.
How to install
mdr add evanzhang008/open-walnut/walnut-health-sleep-report@sha256:5ee3a2d55fec1cbcThe line at the top of this page pins the label git:20261007.38f5c7a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_tra6ouihysdbfkoj)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Oct 1, 2026 and Oct 7, 2026, about one every 3 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261007.38f5c7a latest | 2026-10-07 | 38f5c7a | 4,702 B | A | view · diff |
| git:20261004.ea58c50 | 2026-10-04 | ea58c50 | 4,489 B | A | view · diff |
| git:20261001.792672d | 2026-10-01 | 792672d | 4,256 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4702 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
evanzhang008/open-walnut · 34 stars · license MIT · pushed 2026-10-22 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_tra6ouihysdbfkoj GET https://markdownregistry.com/api/v1/resolve?ref=evanzhang008/open-walnut/walnut-health-sleep-report GET https://markdownregistry.com/api/v1/blob/5ee3a2d55fec1cbc97d05e3b36a937cfc32887cf74a42433424c9efc1a1b1138
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.