Dreaming Skill — Development skill for Claude Code
Personal Claude Code / Codex CLI skill: non-destructive memory consolidation ("dreaming") over CLAUDE.md/AGENTS.md + recent session transcripts.
How to install Dreaming Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open cg1262/dreaming-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Dreaming Skill does
Personal Claude Code / Codex CLI skill: non-destructive memory consolidation ("dreaming") over CLAUDE.md/AGENTS.md + recent session transcripts.
Alternatives in Development
- Careful — Activate destructive command warnings for the session 2.8k ★
- Project Memory: AgentSys — Cross-tool compatible: Works across all 5 platforms - Claude Code, OpenCode, Codex CLI, Cursor, and Kiro 622 ★
- Memory Statistics — Show statistics about Claude's persistent memory file including total memories, storage size, and recent activ 332 ★
README
dreaming-skill
A personal, cross-tool "dreaming" memory-consolidation skill for **Claude Code** and **Codex CLI**.
What this is
Anthropic's Managed Agents product has a research-preview feature called "dreams": periodically, a background pass reads an agent's accumulated memory plus recent session history and produces a consolidated update — merging duplicate notes, dropping stale/contradicted entries, and folding in new insights.
This repo replicates that *pattern* locally, using tools already on this machine, for the two memory files these CLIs actually maintain:
| Tool | Memory file | Skill location (after install) |
|---|---|---|
| Claude Code | CLAUDE.md |
~/.claude/skills/dreaming/ |
| Codex CLI | AGENTS.md |
~/.codex/skills/dreaming/ |
Claude Code's current docs say it reads `CLAUDE.md`, not `AGENTS.md`. If a repository already uses `AGENTS.md` for other coding agents, create a `CLAUDE.md` that imports it (`@AGENTS.md`) or symlink `CLAUDE.md` to `AGENTS.md`; the Claude dreaming skill still writes a `CLAUDE.dream.*.md` proposal rather than treating `AGENTS.md` as additional native Claude memory.
How it differs from the real "dreams" feature
- Not the same feature, not calling that API. This is a locally-run skill/prompt, invoked manually (or via a slash command / natural-language request), not a managed background job running on Anthropic's infrastructure.
- Never touches the original memory file. The real dreams feature (per
its research-preview description) also produces a proposal for review, but
here that's an absolute, hard-coded rule: the skill is instructed to never
write to
CLAUDE.md/AGENTS.md, only to a newCLAUDE.dream..md/AGENTS.dream..mdfile. You review it and then adopt it yourself — withscripts/promote_dream.sh(see Adopting a dream) or by hand — or delete it.
Related Skills
Mnemo
Persistent memory layer for Claude Code and Codex — your Obsidian vault on autopilot. Seven skills: recall, sa
Mine
Mine recent transcripts for repeated workflows and corrections, then draft up to 10 skill/memory proposals for
Team Room
Self-hosted workspace for Claude Code and Codex across your own computers. Shared project memory, files and a
Claude Gateway
Self-hosted multi-agent gateway for Claude Code — agents that self-improve, manage their memory through nightl
Eigen
Opinionated, terminal-first local coding agent for Go/Linux: one daemon, many resumable sessions, multi-provid
Lore Plugin
Claude Code plugin for persistent long-term memory via Lore. Auto-ingests session transcripts and exposes read
Related Agents
Part 16: autoDream — Automatic Memory Consolidation
Note: OpenClaw 2026.4+ has a built-in dreaming system (Part 22) inside memory-core. If you're on 2026.4+, use
DreamEngineAgent
Executes the bio-inspired 3-phase memory consolidation cycle (SWS, REM, Consolidation) over execution traces.
Memorykeeper
Auto memory librarian. Scans recent conversation transcripts for workflow patterns, recurring lessons, and col