Pixel-art drawing of a small orange character asleep in bed under a night window
Video coming soon

Claude skill · Memory

Give your agent a better night's sleep

Dream Mode tidies the notes your agent keeps. It checks whether saved rules are actually followed, shortens a bloated memory index and archives stale notes.

Works in Claude Code on a computer. Not in the Claude phone app.

Install in a terminal

git clone https://github.com/adam-moreno/terra-dream-skill.git
mkdir -p ~/.claude/skills
cp -R terra-dream-skill/skills/terra-dream-skill ~/.claude/skills/

Or, in Claude Code, ask: “Install the Dream Mode skill from github.com/adam-moreno/terra-dream-skill.” Then say “run dream mode”.

What it does, and doesn't

  • Dry run first

    You read the plan before anything changes.

  • One-command undo

    A snapshot is taken before every change.

  • Nothing deleted

    Retired notes move to an archive folder.

  • No network code

    One Python file; it sends nothing anywhere.

It does not train or change a model. It reorganises the Markdown files an agent reads.

Research

“Language Models Need Sleep” by Ali Behrouz (Google, Cornell University), Farnoosh Hashemi (Cornell University), Adel Javanmard (Google, University of Southern California) and Vahab Mirrokni.

Version 0.1.0 · MIT license · 12 tests pass on a fresh clone (Nov 22, 2026)

For agents

This skill's entry in /skills.json, the list an agent reads instead of this page.

{
  "name": "terra-dream-skill",
  "title": "Dream Mode",
  "slug": "dream",
  "version": "0.1.0",
  "license": "MIT",
  "topic": "Memory",
  "summary": "Dream Mode tidies the notes your agent keeps. It checks whether saved rules are actually followed, shortens a bloated memory index and archives stale notes.",
  "repo": "https://github.com/adam-moreno/terra-dream-skill",
  "skill_md": "https://raw.githubusercontent.com/adam-moreno/terra-dream-skill/main/skills/terra-dream-skill/SKILL.md",
  "install": [
    "git clone https://github.com/adam-moreno/terra-dream-skill.git",
    "mkdir -p ~/.claude/skills",
    "cp -R terra-dream-skill/skills/terra-dream-skill ~/.claude/skills/"
  ],
  "ask_claude": "Install the Dream Mode skill from github.com/adam-moreno/terra-dream-skill.",
  "first_run": "run dream mode",
  "network": "none",
  "tests": "12 of 12 pass (fresh clone, 2026-11-22)",
  "page": "https://www.terramore.io/skills/dream"
}