memory
Two-layer memory system with SQLite-based recall.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Two-layer memory system with SQLite-based recall.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| 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.