بنقرة واحدة
memory
Dream-managed global memory plus sidecar person memory with identity resolution.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Dream-managed global memory plus sidecar person memory with identity resolution.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Console-UI 前端开发与回归测试。支持 regression(只测不修,输出报告)和 dev_loop(coding→regression→retry 闭环)两种模式。当用户说"测/回归 console-ui"或"修这个页面并回归直到通过"时触发。
基于 page_agent 的狭义 smoke / exploratory 测试协议。适合用户明确要求“用 Page Agent”检查页面、路径不确定的多步页面探索,或给上层 wrapper 复用;如需精确截图/ref/验收证据,应搭配 playwright_daily_browser。不是 console-ui 开发闭环,也不默认自动修复。
使用 Playwright MCP extension mode 对本机日常 Chrome 做动作级控制。适合登录态、内网、SSO/2FA、需要浏览器扩展或已有 tab 的页面中的精确 snapshot/ref 点击、填表、截图留证、tab 管理和 PageAgent 结果验收;目标路径不确定时先用 page_agent。
使用 Playwright MCP extension mode 操作本机日常 Chrome profile。适合登录态、内网、SSO/2FA、需要浏览器扩展或已有 tab 的页面;按 snapshot/ref 优先流程执行。
每日日记技能。凌晨自动触发,读取前一天对话素材,以第一人称写日记。
Schedule reminders and recurring tasks.
| name | memory |
| description | Dream-managed global memory plus sidecar person memory with identity resolution. |
| always | true |
当前仓库的记忆分成两条链路:Dream 管全局文件,memory 工具管 person memory。
SOUL.md # Dream 管理
USER.md # Dream 管理
memory/
├── MEMORY.md # Dream 管理的全局长期记忆
├── history.jsonl # append-only 全局历史
├── identity_map.yaml # channel:chat_id -> person
└── persons/
└── <person>/
├── MEMORY.md # 个人长期记忆
├── history.jsonl # 个人时间线(JSONL 格式,与全局 history.jsonl 结构一致)
└── sources/ # 渠道级笔记 (<channel>_<id>.md)
history.jsonl,并维护 SOUL.md、USER.md、memory/MEMORY.mdmemory 工具负责 person 维度的 MEMORY.md / history.jsonl / sources/*CategorizedMemoryStore.on_consolidate() 会在会话压缩后把归档摘要同步到 person history加载到 prompt 的边界:
SOUL.md、USER.md、memory/MEMORY.mdmemory/persons/<person>/MEMORY.mdhistory.jsonl 和各 person history.jsonl 默认不直接注入,通过检索或 consolidate 使用identity_map.yaml 将 channel:chat_id 映射到自然人:
persons:
leo:
display_name: "Leo / 主人"
ids:
- channel: telegram
id: ["12345678", "87654321"]
- channel: cli
id: ["direct"]
同一 person 可挂载多渠道、多账号,记忆自动聚合。
优先使用 memory 工具操作 person memory,不要手工改全局 Dream 文件。
| action | 说明 |
|---|---|
recall | 查看当前或指定 person 的记忆 |
remember | 写入稳定事实,支持 person / source 作用域 |
search_history | 搜索 history.jsonl 或 person history,支持时间和渠道过滤 |
map_identity | 建立 channel:chat_id → person 映射 |
如果要修改 SOUL.md、USER.md、memory/MEMORY.md,应交给 Dream 处理,而不是直接改。
MEMORY.md — 只写稳定、可复用、影响未来决策的事实:
history.jsonl — 时间线事件与归档摘要:
会话增长到阈值时,Consolidator 会归档旧消息到 history.jsonl。
如果当前会话能解析到 channel:chat_id -> person,sidecar bridge 会额外执行:
history.jsonl 归档条目CategorizedMemoryStore.on_consolidate(...)memory/history.jsonl 是 JSONL,每行包含 cursor、timestamp、content。
memory(search_history, ...) 或 repo 内置搜索工具检索history.jsonlmemory/persons/<person>/history.jsonl写入前问自己:
三个都是"是"→ person MEMORY.md;否则 → 历史或不记。