memory
Two-layer memory system with SQLite-based recall.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Two-layer memory system with SQLite-based recall.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | memory |
| description | Two-layer memory system with SQLite-based recall. |
| always | true |
memory/MEMORY.md — Long-term facts (preferences, project context, relationships). Always loaded into your context.session_messages table — Complete conversation history stored in database.Use the search_history tool to search conversation history:
search_history({
keyword: "meeting",
limit: 20, // optional, default 20
channel: "telegram", // optional, filter by channel
days: 7 // optional, search last N days, default 30
})
Supported filters:
keyword: Search keyword (required, fuzzy match)channel: Filter by channel (cli, telegram, discord, web, etc.)days: Time range in days (default 30)limit: Result count limit (default 20)Write important facts immediately using edit_file or write_file:
Old conversations are automatically summarized and appended to MEMORY.md when the session grows large. Long-term facts are extracted to MEMORY.md. You don't need to manage this.