Agent skill
hipocampus-flush
Manual memory flush: dump current session context to daily raw log via subagent. Invoke with /hipocampus:flush. Run hipocampus:compaction afterwards for tree propagation and qmd reindex.
Install this agent skill to your Project
npx add-skill https://github.com/kevin-hs-sohn/hipocampus/tree/main/skills/flush
SKILL.md
Hipocampus Memory Flush
Dump current session context to the daily raw log. Use when you want to persist what happened in this session without waiting for End-of-Task Checkpoint or context compression.
For full compaction (needs-summarization processing, tree propagation, qmd reindex), run hipocampus:compaction skill after this.
Steps
1. Compose session summary
Gather a summary of everything discussed in this session so far. For each topic:
## [Topic Name]
- request: what the user asked
- analysis: what you researched/analyzed
- decisions: choices made with rationale
- outcome: what was done, files changed
- references: knowledge/ files, external sources
2. Dispatch subagent
Dispatch a subagent with the session summary and this task:
Hipocampus memory flush. Append the following structured log to memory/YYYY-MM-DD.md (today's date). Then run
hipocampus compactto propagate through the tree.[paste session summary here]
The subagent writes the files and runs compact. The main session stays clean.
3. Report
Confirm the flush completed:
- Topics flushed
- Subagent status
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
hipocampus-core
3-tier agent memory system with 5-level compaction tree. OpenClaw version. Defines session start protocol, end-of-task checkpoints, and memory file management. MUST be followed every session.
hipocampus-core
3-tier agent memory system with 5-level compaction tree. OpenCode version. Defines session start protocol, end-of-task checkpoints, and memory file management. MUST be followed every session.
hipocampus-core
3-tier agent memory system with 5-level compaction tree. Claude Code version. Defines session start protocol, end-of-task checkpoints, and memory file management. MUST be followed every session.
hipocampus-recall
Memory recall guide. Structured retrieval from hipocampus memory — ROOT.md triage, manifest-based LLM selection, qmd search fallback.
hipocampus-search
Search memory using qmd (BM25 + optional vector) and compaction tree traversal. Use ROOT.md to decide whether to search memory or look externally. Always check memory before external lookups.
hipocampus-compaction
Build 5-level compaction tree (daily/weekly/monthly/root) with smart thresholds and fixed/tentative lifecycle. Run at session start when triggers are met, or via external scheduler.
Didn't find tool you were looking for?