dream-memory
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseDream Memory
Dream Memory
Use this skill when you want a deliberate memory-consolidation pass instead of storing more raw notes.
This bundle is intentionally portable. It borrows the workflow shape from Claude Code's dream system, but it does not depend on Claude Code internals.
当你需要进行专门的记忆整合流程,而非存储更多原始笔记时,可以使用这个Skill。
这个工具包专门设计为可移植的。它借鉴了Claude Code梦境系统的工作流形态,但不依赖Claude Code的内部实现。
Use It For
适用场景
- nightly or manual memory cleanup
- merging overlapping memory notes
- normalizing relative dates into absolute dates
- pruning stale or contradicted memories
- keeping small and index-like
MEMORY.md
- 夜间或手动记忆清理
- 合并存在重叠的记忆笔记
- 将相对日期标准化为绝对日期
- 清理过时或存在冲突的记忆
- 保持体积小巧、类似索引的形态
MEMORY.md
Avoid It For
不适用场景
- saving a single new memory from the current turn
- persisting code facts that should be re-read from source
- replacing plans, task boards, or issue trackers
- 保存当前会话的单条新记忆
- 持久化需要从源码重新读取的代码相关信息
- 替代计划、任务看板或问题追踪器
Quick Start
快速开始
Inspect a memory directory before running the consolidation prompt:
bash
python3 {baseDir}/scripts/dream_memory.py --memory-root /path/to/memory --transcripts-dir /path/to/transcriptsThen use the portable prompt in references/prompt-template.md.
运行整合Prompt前,先检查记忆目录:
bash
python3 {baseDir}/scripts/dream_memory.py --memory-root /path/to/memory --transcripts-dir /path/to/transcripts然后使用references/prompt-template.md中的可移植Prompt。
Workflow
工作流
- Inspect , topic files, and recent logs or transcripts.
MEMORY.md - Identify durable facts worth keeping.
- Merge into topic files instead of creating near-duplicates.
- Remove stale or contradicted memory.
- Rewrite as a concise index.
MEMORY.md
- 检查、主题文件以及近期日志或会话记录
MEMORY.md - 筛选出值得保留的持久化事实
- 合并到现有主题文件中,避免创建近似重复的文件
- 移除过时或存在冲突的记忆
- 将重写为简洁的索引
MEMORY.md
Rules
规则
- is an index, not a content dump.
MEMORY.md - Prefer topic merges over new file creation.
- Convert relative dates to absolute dates.
- Do not store code-state facts that can drift.
- 是索引,不是内容转储
MEMORY.md - 优先合并到现有主题,而非创建新文件
- 将相对日期转换为绝对日期
- 不要存储可能会发生变更的代码状态信息
Supporting Files
配套文件
- Prompt template: references/prompt-template.md
- Source notes: references/source-notes.md
- Helper script:
python3 {baseDir}/scripts/dream_memory.py ...
- Prompt模板:references/prompt-template.md
- 源笔记:references/source-notes.md
- 辅助脚本:
python3 {baseDir}/scripts/dream_memory.py ...