OpenParable
Skip to content
← Back to skills

Hipocampus Flush

Agent Building
hipocampus-flush

Hipocampus Flush is an Agent Skill for agent building published in the kevin-hs-sohn/hipocampus repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/kevin-hs-sohn/hipocampus/blob/HEAD/skills/flush/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/hipocampus-flush, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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