Skip to main content

memory

Two-layer memory system with Dream-managed knowledge files.

跳到安装

来源信息

仓库
spin-matrix/RoboClaw
最近来源活动
2026年4月8日 13:37
检测到的 SKILL.md 语言
英语
星标
25
分支
3

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
memory
description
Two-layer memory system with Dream-managed knowledge files.
always
true
# Memory ## Structure - `SOUL.md` — Bot personality and communication style. **Managed by Dream.** Do NOT edit. - `USER.md` — User profile and preferences. **Managed by Dream.** Do NOT edit. - `memory/MEMORY.md` — Long-term facts (project context, important events). **Managed by Dream.** Do NOT edit. - `memory/history.jsonl` — append-only JSONL, not loaded into context. Prefer the built-in `grep` tool to search it. ## Search Past Events `memory/history.jsonl` is JSONL format — each line is a JSON object with `cursor`, `timestamp`, `content`. - For broad searches, start with `grep(..., path="memory", glob="*.jsonl", output_mode="count")` or the default `files_with_matches` mode before expanding to full content - Use `output_mode="content"` plus `context_before` / `context_after` when you need the exact matching lines - Use `fixed_strings=true` for literal timestamps or JSON fragments - Use `head_limit` / `offset` to page through long histories - Use `exec` only as a last-resort fallback when the built-in search cannot express what you need Examples (replace `keyword`): - `grep(pattern="keyword", path="memory/history.jsonl", case_insensitive=true)` - `grep(pattern="2026-04-02 10:00", path="memory/history.jsonl", fixed_strings=true)` - `grep(pattern="keyword", path="memory", glob="*.jsonl", output_mode="count", case_insensitive=true)` - `grep(pattern="oauth|token", path="memory", glob="*.jsonl", output_mode="content", case_insensitive=true)` ## Important - **Do NOT edit SOUL.md, USER.md, or MEMORY.md.** They are automatically managed by Dream. - If you notice outdated information, it will be corrected when Dream runs next. - Users can view Dream's activity with the `/dream-log` command.
在 GitHub 查看