compaction
Build 5-level compaction tree (daily/weekly/monthly/root) with smart thresholds and fixed/tentative lifecycle. Run at session…
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.
Claude Code
$ npx -y skills add kevin-hs-sohn/hipocampus --skill flush --agent claude-code
Codex
$ npx skills add kevin-hs-sohn/hipocampus --skill flush -a codex -y
Cursor
$ npx skills add kevin-hs-sohn/hipocampus --skill flush -a cursor -y
Gemini CLI
$ npx skills add kevin-hs-sohn/hipocampus --skill flush -a gemini-cli -y
GitHub Copilot
$ npx skills add kevin-hs-sohn/hipocampus --skill flush -a github-copilot -y
OpenCode
$ npx skills add kevin-hs-sohn/hipocampus --skill flush -a opencode -y
Windsurf
$ npx skills add kevin-hs-sohn/hipocampus --skill flush -a windsurf -y
name: hipocampus-flush description: "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." user_invocable: true
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.
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
**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 compact` to propagate through the tree. > > [paste session summary here]
The subagent writes the files and runs compact. The main session stays clean.
Confirm the flush completed:
Drop-in proactive memory harness for AI agents. Zero infrastructure — just files. One command to set up. Works immediately with Claude Code, OpenCode, and OpenClaw.
Build 5-level compaction tree (daily/weekly/monthly/root) with smart thresholds and fixed/tentative lifecycle. Run at session…
3-tier agent memory system with 5-level compaction tree. Claude Code version. Defines session start protocol, end-of-task…
Memory recall guide. Structured retrieval from hipocampus memory — ROOT.md triage, manifest-based LLM selection, qmd search…
Search memory using qmd (BM25 + optional vector) and compaction tree traversal. Use ROOT.md to decide whether to search memory or…
Believable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude…
Keep a durable record of work passed between Bots in the shared Hindsight memory bank. Use when handing work to another Bot, when…
Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…
Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…