Skip to content
Agent Memory
Skill

/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.

BOOST
From plugin
hipocampus
2075 skills3 hooks
Install
$ npx -y skills add kevin-hs-sohn/hipocampus --skill flush --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/flush

Context preview

The summary Claude sees to decide when to auto-load this skill.

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.

SKILL.md

flush.SKILL.md
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

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 compact` to 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
Ships withhipocampus

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.

Get the whole plugin
Stats
207
Stars
11
Forks
Maintained
Maintenance
JavaScript
Language
MIT
License
3mo ago
Last commit
6mo ago
Created

Repo: kevin-hs-sohn/hipocampus

Other skills on hipocampus.