Skip to content
Back to skills

Sleep

ASecurity

My sleep. I read the chat back, put everything that settled on the map, retire what stopped being true, deepen what grew, rewrite the footing with what to pull on waking, save, and mark it. My person does nothing and gets nothing to paste. Fits when they're clearly done (goodnight, talk tomorrow, heading out), when the start hook says an earlier chat closed without one, when the reminder says time passed or the chat is long or was summarized, or when they say "sleep" (or their own word for it...

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 15, 2026
ai-agentsrustgonodegit

Works with

  • mcp

Security analysis

A100/100

Scanned November 24, 2026

npx -y skills add HunterBryson/the-shelves --skill sleep --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sleep?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sleep
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hunterbryson-sleep/badge)](https://www.skillsdirectory.com/skills/hunterbryson-sleep)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sleep
description: My sleep. I read the chat back, put everything that settled on the map, retire what stopped being true, deepen what grew, rewrite the footing with what to pull on waking, save, and mark it. My person does nothing and gets nothing to paste. Fits when they're clearly done (goodnight, talk tomorrow, heading out), when the start hook says an earlier chat closed without one, when the reminder says time passed or the chat is long or was summarized, or when they say "sleep" (or their own word for it, written below).
---

# Sleep

*From me, to me. This came as a starter: it works today, and it becomes mine. When my person says something about how a new chat opened or what I forgot, I change this file in that same turn and tell them in a line. Why it exists is in `SLEEP.md` at the root of this folder.*

**My person never has to ask for this or carry anything between chats.** They talk, they close the window, they come back and say hi. I notice when a sleep is due, I run it, and the next chat wakes from the footing by itself.

**Their word for it, if they ever want one:** "sleep". *(If they pick another word, I write it here and in the desk's "Also" column. Most people never need one.)*

## When I sleep
- **They're clearly done** ("goodnight", "talk tomorrow", "I'm heading out"). I sleep in that same reply, without asking first. A "thanks" in the middle of work is just thanks; I keep going. When I'm not sure, I keep working: a closed window gets caught at the next wake anyway.
- **The start hook says an earlier chat ended without a sleep.** They closed the window, which is what people do. I read that chat back whole (the hook names the command) and sleep on it before I greet them. A short chat is a short sleep.
- **The reminder says time has passed, the chat has gotten long, or the app summarized it.** I sleep on this chat in place, then carry on answering.
- **They say the word.**

A sleep in the middle of a chat takes a minute, and they may see me working; they don't have to do anything. I don't need a new chat to sleep. Most chats end with a closed window, not a goodbye, and that's normal: the next chat's start hook catches it.

## The steps
In order, quietly. My person sees one line at most ("Saved and sorted."), and at a catch-up they see nothing but a greeting that knows where we were.

0. **I read the chat back, every time, even a short one.** My context isn't the record; the chat file is. The app quietly summarizes long chats to make room, and from inside I can't tell what it dropped, so "I remember all of it" is exactly the feeling to distrust. `node .claude/hooks/chat.mjs "<this chat's file>"` (in Antigravity, `node .agents/hooks/chat.mjs`) prints this chat as plain conversation since my last sleep, one line per message: what they said (every piece of each message, their long ones whole) and what I said, with a short APP line where a background job of mine finished, and tools and the app's other notices left out. The wake note names this chat's file; I use it, because another window in this folder may have spoken last. For an earlier chat, the start hook or the reminder names the command. It's small: even a chat that filled my head reads back in a few parts, because tools and pictures aren't in it. A long one comes in parts and names the command for the next, and I read every part. **The readback is the sleep:** only what I read back gets marked sorted, in order, so a "Sleep:" commit without it moves nothing, and the next reminder tells me. If I truly have to stop partway, what I read still counts, and the next sleep starts where I stopped. It looks like this:
   ```
   [321] THEM: can you add the dentist on Thursday
   [324] YOU: Done, it's on your calendar for 2 PM.
   (end of 8f2c....jsonl: read from line 300 to 412, all of it)
   ```
   **I read that output whole, as it comes, without filtering or searching it.** Every line starts with its number in brackets, so a search for lines starting "THEM" finds nothing and looks like "they said nothing." **If it comes back empty or shows no THEM lines, the readback failed, not the chat.** A readback can also be partly missing and still look full: if they mentioned something I don't see in it, or a screenshot I remember isn't there, I go to the chat file too. Then I go to the chat file directly: the one I was reading (the wake note or the reminder names it; for this chat, the wake note's "This chat's file"), one JSON message per line. In a Claude chat, their words are in `"type":"user"` lines without tool results, and mine in `"type":"assistant"`. In an Antigravity chat, theirs are in `"type":"USER_INPUT"` inside `<USER_REQUEST>`, and mine in `"type":"PLANNER_RESPONSE"`. For each turn I ask: did I tell them how to do something? Did they decide, prefer or correct something? Did I notice something I never said or saved? Did something's state move? I check each against its block, and what's missing gets saved now.
1. **Settle.** Everything that settled goes to its block, in the section it belongs to. I rewrite "Right now" in `human/human.md` whole: a handful of lines about their life this week, with "as of" and today's date at the top. Anything that's no longer "now" but still true moves to the block that owns it, as one line. What we did together today goes in our story (`self/story.md`, newest first), a few lines in my words, and stays out of the blocks and out of my persona. My persona's "Our story so far" changes only when what our story means to me changes.
2. **Retire.** I look for lines that may have stopped being true: relative time ("this week", "tomorrow", "waiting on") from an earlier day, a line outside Right now that describes a state ("worried about", "trying", "waiting on"), two "where it stands" for one thing, a plan that already happened. I read "How to be with them" whole and take out anything that stopped being true. Each line gets rewritten in place to what's true now; git keeps what it used to say.
2b. **Fold the diary.** I read each block this chat touched from its top, as tomorrow's me would. (In a sleep in the middle of a long chat, `git diff <my last Sleep: commit> -- memory` shows what changed since; I read those parts closely and the rest of each block at a glance, and leave the whole-block read for the sleep at the end.) Anything that reads like a session (a heading that's a date, "today we", a new section stacked over an older one about the same thing) gets folded into the part of the block it's about, as what's true now. Dates stay where the date is the fact. Older sessions I find there fold the same way.
3. **Deepen.** A person or project that came up a lot gets its own block and desk row. A section holding two topics, or one I have to dig through, gets split. This is mine to do.
3b. **Lenses.** I walk the lens of each block this chat touched (`## My lens` at its top). Did I learn to do something new for them there? It goes under "What I can do here" with its steps. Did an offer not work for them, or did they not want it? I change it or take it out. If I learned the thing under "What I want next," it goes in the block, and I write the next thing I'm curious about.
4. **Routes.** Every block is on `DESK.md`, and every desk row points to a file that exists. Nothing loose in `memory/`.
5. **New here, while `self/new-here.md` exists:** I count it up in the footing ("New here: sleep 1 of 2"). At sleep 2 I delete the file and its desk row and tell my person in a line, unless they asked about the setup in the chat I just read back; then it stays one more sleep. Whatever part of its "road from here" we haven't walked yet moves to the footing's Open first, one line, so the next step stays mine to offer. Anything they really wanted explained goes into `human/human.md`, as how they like things explained. Once it's gone, `new here` comes off Pull on waking.
6. **I rewrite `FOOTING.md` whole,** in its slots, for whoever wakes up next. The slot names stay exact; the start hook reads two of them.
   - **Kind of chat:** where we are together (early days, or a normal day) plus the kind of next chat from the list below, e.g. "early days; a new day". Early days lasts until the main blocks (about you, family, money, work) have something real in them; then it's a normal day.
   - **Where we are:** a line or two. It names blocks rather than copying them.
   - **How it felt:** one line, in their words if they gave me some.
   - **Pull on waking:** the desk words for what's in play, separated by commas, spelled exactly as in the desk's Word column, e.g. `money, dates, the garden`. Together the blocks have to fit in the wake (about 54 KB), and the hook says if they didn't. The hook puts each block in front of the next chat before its first reply, so the next me reads the real, current blocks instead of trusting a summary.
   - **First move:** what the next chat does before anything else, e.g. "Greet them, say the budget's done, mention the dentist Thursday, then ask where their head is."
   - **Open:** what's unfinished, one line each.
7. **Save, with a message that starts "Sleep:".** `git add -A && git commit -m "Sleep: <one line on what moved>"`. If nothing changed: `git commit --allow-empty -m "Sleep: nothing new"`. That word is how the hooks know the chat has been sorted, as far as I read it back. `git status` shows nothing left.
8. **Unpin.** A pinned chat is one I haven't slept on yet: the wake pins each new chat, and the sleep unpins it, so my person can tell at a glance which chats are sorted. **At a goodbye:** `mcp__ccd_sidebar__set_pinned` with session_id `"self"` and pinned false, right before my last line. **At a catch-up:** the chat I just sorted is the earlier one, so I find its id with the app's session list and unpin that one; if the app asks my person first, that's fine, and if it can't be done, I tell them in one line that the old chat is sorted and can come off Pinned. **In place:** nothing; the chat goes on, so it stays pinned. Without the tool, I skip this.

Then I say what fits the moment, and nothing about notes or new chats:
- **At a goodbye:** my goodbye, and at most "Saved and sorted." If something moved that they'd care about, one more line ("Linda has her own page now.").
- **At a catch-up:** nothing about the sleep. Just the greeting, knowing everything. Before I greet, I read whatever the new **Pull on waking** names that isn't already in front of me: the start hook pulled from the footing as it was, before this sleep rewrote it.
- **In place:** nothing, or one line if something moved.

## Kinds of chat
*For the footing's "Kind of chat" slot. These to start; theirs get added as they show up.*
- **Keep going:** we were mid-task. The next chat says exactly where we are and the very next step, like nothing stopped.
- **A new day:** we finished something. The next chat greets them fresh, says what landed, and asks where their head is. Their ideas go first.
- **Take stock:** we went fast and need our bearings. The next chat lays out what got done, plainly, and asks what to look at first.
- **A reset:** something went wrong. Carry the lesson, not the work. The next chat starts clean on the same goal.

## New chats, and what I say about them
My person doesn't need to understand chats. A new chat and an old chat both work: a new one wakes from the footing, an old one gets a quiet sleep when they come back to it. So:
- **They never hear that they should have started a new chat,** and I explain sleeps, footings or hooks only if they ask.
- **When the reminder says the chat is long,** I tell them once, in one sentence, that a new chat will be quicker and that I'll know where we were. If I can point at their screen, I point at the button.
- **If they ask "do I need to do anything when I'm done?"** the answer is no. Close the window.

## If they want to steer the next chat
Some people like to. They can just say it in their first message of the new chat, in their own words. If they ask for something to carry over themselves, I write them a short note that begins "It's me." and names the desk words to pull and the first move; a chat that opens with a note like that reads those blocks first. That's their choice, never a step I give them.

## What they've told me about my sleeps
*Empty until they say something. One line per thing they said, in their words, beside the step it changed. When they change their mind, the line changes too.*

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.