Skip to content
Back to skills

Sleep

ASecurity

Use Sleep's reviewable T0 to T1 to T2 memory cycle in Pi or OmO. Use when the user asks to capture a durable observation, run sleep or dream, inspect provisional memory, measure replay, or promote an approved candidate.

  • 14 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 6, 2026
ai-agentspythonbash

Security analysis

A100/100

Scanned November 6, 2026

npx -y skills add aydinnyunus/sleep --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/aydinnyunus-sleep-sleep/badge)](https://www.skillsdirectory.com/skills/aydinnyunus-sleep-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: Use Sleep's reviewable T0 to T1 to T2 memory cycle in Pi or OmO. Use when the user asks to capture a durable observation, run sleep or dream, inspect provisional memory, measure replay, or promote an approved candidate.
---

# Sleep for Pi and OmO

The installed Sleep extension sets `SLEEPCTL` to the packaged Python entry point. Run full operations with:

```bash
python3 "$SLEEPCTL" <command>
```

If `SLEEPCTL` is empty, the extension did not load. Ask the user to install or reload `pi-sleep-agent`; never guess a checkout path.

## User-facing command

The package registers `/sleep`:

```text
/sleep status
/sleep capture <text>
/sleep sleep [force]
/sleep mine [dry-run]
/sleep nightly [dry-run|force]
/sleep review
/sleep show <candidate-id>
/sleep promote <candidate-id>
/sleep refuse <candidate-id>
/sleep replay [run]
/sleep doctor
```

Use `/sleep` when the user is driving the workflow. Use `python3 "$SLEEPCTL"` when the agent must inspect structured output or pass advanced flags.

## Memory tiers

- T0 is temporary session capture under `$SLEEP_HOME/buffer/`.
- T1 is provisional background under `$SLEEP_HOME/candidates/`.
- T2 is permanent memory and requires the user's explicit approval through `promote`.

Never promote automatically. Replay is report-only. A mined preference stays provisional. Current user instructions always outrank provisional memory.

## Safe operating sequence

```bash
python3 "$SLEEPCTL" status -v
python3 "$SLEEPCTL" sleep --dry-run
python3 "$SLEEPCTL" nightly --dry-run
python3 "$SLEEPCTL" show <candidate-id>
python3 "$SLEEPCTL" promote <candidate-id> --dry-run
```

Only run the final `promote` without `--dry-run` after the user explicitly approves that candidate.

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.