hipocampus-flush

hipocampus-flush is a skill for Claude Code from kevin-hs-sohn/hipocampus. It costs 48 tokens per session (317 once invoked), scanned A, original, MIT.

A manual session-memory export guide. It saves a structured summary of the current conversation to a daily log and then updates the longer-term memory index.

In plain words
What is it for?
Recording requests, analysis, decisions, file changes, and references in the day’s memory file, then running the follow-up compaction process.
Why use it?
It preserves important decisions and results before the session is compressed or forgotten.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions subagents.

Part of the hipocampus plugin — 5 skills, 3 hooks shipped together

Good fit Recording requests, analysis, decisions, file changes, and references in the day’s memory file, then running the follow-up compaction process.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kevin-hs-sohn/hipocampus/flush
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add kevin-hs-sohn/hipocampus --skill flush
Clone the repo
git clone --depth 1 https://github.com/kevin-hs-sohn/hipocampus

Made for: Claude Code.

Or install hipocampus, the plugin that ships this one along with the rest of its 5 skills, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hipocampus-flush

README.md
[![agentmods](https://agentmods.dev/badge/skills/kevin-hs-sohn/hipocampus/flush/github.svg)](https://agentmods.dev/skills/kevin-hs-sohn/hipocampus/flush)
Your own site
<a href="https://agentmods.dev/skills/kevin-hs-sohn/hipocampus/flush"><img src="https://agentmods.dev/badge/skills/kevin-hs-sohn/hipocampus/flush/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hipocampus-flush

Your own site · 80×15
<a href="https://agentmods.dev/skills/kevin-hs-sohn/hipocampus/flush"><img src="https://agentmods.dev/badge/skills/kevin-hs-sohn/hipocampus/flush.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 317 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.00317
Opus 5 $0.00024 $0.00159
Sonnet 5 $0.00010 $0.00063
Haiku 4.5 $0.00005 $0.00032

Measured 10d ago against content hash 78756e8499b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

hipocampus-flush scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/flush/SKILL.md · 42 lines

What it actually says

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
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 42 lines · 48 tokens per session scan A 78756e8499b5

Subscribe to this mod's changes

hipocampus-flush is a skill published in the GitHub repository kevin-hs-sohn/hipocampus (206 stars, last pushed 3mo ago), licensed MIT. It adds 48 tokens to every session and 317 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

mnemo-cortex

Installs and wires Mnemo Cortex (local-first persistent memory) into OpenClaw and other MCP-capable agents. Use for cross-session recall, decision history, or multi-agent shared memory.

GuyMannDude/mnemo-cortex · 44 tokens

capture-knowledge

A guide for saving useful, reusable knowledge from conversations and documents into a structured personal knowledge base. It separates original source material from concise pages about individual concepts.

YusenZhang0601/context-canopy · 92 tokens

second-brain-doctor

A read-only health check for an agent’s connection to a local Second Brain. It checks the authoritative files, installed skills, supporting service, access rules, version drift, and behavior in a new session.

YusenZhang0601/context-canopy · 117 tokens

second-brain-learn

A learning tool that reviews the current conversation and work evidence to find durable preferences, project rules, reusable methods, and lessons. It routes each finding to the appropriate long-term owner or leaves it unsaved when it has no lasting value.

YusenZhang0601/context-canopy · 145 tokens

second-brain-attach

A setup process for connecting a new or reset AI agent to a local Second Brain—a personal collection of rules, identity information, and reusable skills. It installs the required skills, connects the supporting service, and checks the setup in a fresh session.

YusenZhang0601/context-canopy · 111 tokens

second-brain-distill

A skill for extracting reusable knowledge from selected historical AI-agent conversations and archiving the results. It can process conversations only within a clearly defined, authorized batch.

YusenZhang0601/context-canopy · 123 tokens