Not in the top 1,000 by GitHub stars
kevin-hs-sohn/hipocampus
Drop-in memory harness for AI agents — 3-tier memory, compaction tree, hybrid search. One command to set up. Works with Claude Code and OpenClaw.
History
Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.
View weekly changes
platforms/codex/core/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
df88ca19d42a → df88ca19d42a
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → df88ca19d42a
No earlier version was observed for comparison.
platforms/openclaw/core/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
df88ca19d42a → df88ca19d42a
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → df88ca19d42a
No earlier version was observed for comparison.
platforms/opencode/core/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
df88ca19d42a → df88ca19d42a
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → df88ca19d42a
No earlier version was observed for comparison.
skills/compaction/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
df88ca19d42a → df88ca19d42a
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → df88ca19d42a
No earlier version was observed for comparison.
skills/core/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
df88ca19d42a → df88ca19d42a
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → df88ca19d42a
No earlier version was observed for comparison.
skills/flush/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
df88ca19d42a → df88ca19d42a
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → df88ca19d42a
No earlier version was observed for comparison.
skills/recall/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
df88ca19d42a → df88ca19d42a
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → df88ca19d42a
No earlier version was observed for comparison.
skills/search/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Instructions only → After Instructions only
df88ca19d42a → df88ca19d42a
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → df88ca19d42a
No earlier version was observed for comparison.
Verified commit df88ca19d42a3aba4caeaba4512da46cae7827da
git clone --filter=blob:none --no-checkout https://github.com/kevin-hs-sohn/hipocampus.git .hotskills/kevin-hs-sohn-hipocampus && git -C .hotskills/kevin-hs-sohn-hipocampus checkout --detach df88ca19d42a3aba4caeaba4512da46cae7827da
# Copy each selected skill directory from .hotskills/kevin-hs-sohn-hipocampus into .claude/skills/<skill-name>/Heat
0.3- Star growth, last 7 daysNot available
- Star growth, last 24 hoursNot available
- Rank movement, last 7 daysNot available
- Commits, last 30 daysNot available
- Accounts asking about it through MCP, last 7 daysNot available
- Hot votes this weekNot available
Heat never changes the order by stars, and sponsorship never touches it. How heat works
Stars over time
30-day change not yet available: not enough history.
Individual skills in this repository
- hipocampus-core
platforms/codex/core - hipocampus-core
platforms/openclaw/core - hipocampus-core
platforms/opencode/core - hipocampus-compaction
skills/compaction - hipocampus-core
skills/core - hipocampus-flush
skills/flush - hipocampus-recall
skills/recall - hipocampus-search
skills/search
How it works
hipocampus-core
When your agent uses it
3-tier agent memory system with 5-level compaction tree. Codex CLI version. Defines session start protocol, end-of-task checkpoints, and memory file management. MUST be followed every session.
What it loads into context
Frontmatter
49 tokensAlways available to the agent
SKILL.md
1,699 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Memory Architecture
- Session Start (MANDATORY — run on first user message)
- Memory Recall
- End-of-Task Checkpoint (MANDATORY)
- Proactive Session Dump
- What NOT to Save
- File Size Targets
- Rules
- Edge Cases
Files
../../../.claude-plugin/marketplace.jsonasset497 bytes../../../.claude-plugin/plugin.jsonasset675 bytes../../../hooks/hooks.jsonasset747 bytes../../../hooks/hooks.jsonasset747 bytesSKILL.mdcore7,241 bytesSKILL.mdcore7,241 bytes
Read SKILL.md
# Hipocampus — Agent Memory Protocol (Codex CLI)
## Memory Architecture
```
Layer 1 (System Prompt — read at session start):
SCRATCHPAD.md ~150 lines active working state
WORKING.md ~100 lines current tasks
TASK-QUEUE.md ~50 lines task backlog
memory/ROOT.md ~100 lines topic index of all memory (~3K tokens)
Long-term memory and user profile are managed by Codex's built-in memory system.
Layer 2 (On-Demand — read when needed):View the complete source on GitHubhipocampus-core
When your agent uses it
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.
What it loads into context
Frontmatter
49 tokensAlways available to the agent
SKILL.md
2,535 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Memory Architecture
- Session Start (MANDATORY — run on first user message)
- Memory Recall
- Task Lifecycle (MANDATORY)
- End-of-Task Checkpoint (MANDATORY)
- Proactive Session Dump
- What NOT to Save
- File Size Targets
- Rules
- Edge Cases
Files
SKILL.mdcore10,654 bytes
Read SKILL.md
# Hipocampus — Agent Memory Protocol (OpenClaw)
## Memory Architecture
```
Layer 1 (System Prompt — read at session start):
MEMORY.md ~50 lines long-term memory (Core=frozen, Adaptive=compactable)
USER.md ~50 lines user profile and preferences
SCRATCHPAD.md ~150 lines active working state
WORKING.md ~100 lines current tasks
TASK-QUEUE.md ~50 lines task backlog
memory/ROOT.md ~100 lines topic index of all memory (~3K tokens, via Compaction Root in MEMORY.md)
Layer 2 (On-Demand — read when needed):View the complete source on GitHubhipocampus-core
When your agent uses it
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.
What it loads into context
Frontmatter
48 tokensAlways available to the agent
SKILL.md
1,398 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Memory Architecture
- Session Start (MANDATORY — run on first user message)
- End-of-Task Checkpoint (MANDATORY)
- Proactive Session Dump
- File Size Targets
- Rules
Files
SKILL.mdcore5,947 bytesSKILL.mdcore5,947 bytes
Read SKILL.md
# Hipocampus — Agent Memory Protocol (OpenCode)
## Memory Architecture
```
Layer 1 (System Prompt — read at session start):
MEMORY.md ~50 lines long-term memory (Core=frozen, Adaptive=compactable)
USER.md ~50 lines user profile and preferences
SCRATCHPAD.md ~150 lines active working state
WORKING.md ~100 lines current tasks
TASK-QUEUE.md ~50 lines task backlog
memory/ROOT.md ~100 lines topic index of all memory (~3K tokens, via Compaction Root in MEMORY.md)
Layer 2 (On-Demand — read when needed):View the complete source on GitHubhipocampus-compaction
When your agent uses it
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.
What it loads into context
Frontmatter
50 tokensAlways available to the agent
SKILL.md
3,087 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Hierarchy
- Fixed vs Tentative Nodes
- When to Run
- Trigger Conditions
- Smart Thresholds
- Type-Aware Compaction
- Algorithm
- Guards
- Agent Memory (Optional)
- Edge Cases
Files
SKILL.mdcore12,846 bytesSKILL.mdcore12,846 bytesSKILL.mdcore12,846 bytesSKILL.mdcore12,846 bytesSKILL.mdcore12,846 bytesSKILL.mdcore12,846 bytesSKILL.mdcore12,846 bytesSKILL.mdcore12,846 bytesSKILL.mdcore12,846 bytesSKILL.mdcore12,846 bytes
Read SKILL.md
# Memory Compaction Tree
5-level hierarchical index over raw memory logs. Compaction nodes are **search indices** — originals are never deleted.
## Hierarchy
```
memory/
ROOT.md <- root node (topic index, ~3K tokens, Layer 1)
2026-03-15.md <- raw daily log (permanent, append-only)
daily/2026-03-15.md <- daily compaction node
weekly/2026-W11.md <- weekly compaction node
monthly/2026-03.md <- monthly compaction node
```View the complete source on GitHubhipocampus-core
When your agent uses it
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.
What it loads into context
Frontmatter
48 tokensAlways available to the agent
SKILL.md
1,626 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Memory Architecture
- Session Start (MANDATORY — run on first user message)
- Memory Recall
- End-of-Task Checkpoint (MANDATORY)
- Proactive Session Dump
- What NOT to Save
- File Size Targets
- Rules
- Edge Cases
Files
SKILL.mdcore7,011 bytesSKILL.mdcore7,011 bytes
Read SKILL.md
# Hipocampus — Agent Memory Protocol (Claude Code)
## Memory Architecture
```
Layer 1 (System Prompt — auto-loaded via @import):
SCRATCHPAD.md ~150 lines active working state
WORKING.md ~100 lines current tasks
TASK-QUEUE.md ~50 lines task backlog
memory/ROOT.md ~100 lines topic index of all memory (~3K tokens)
Long-term memory and user profile are managed by Claude Code's platform auto memory.
Layer 2 (On-Demand — read when needed):View the complete source on GitHubhipocampus-flush
When your agent uses it
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.
What it loads into context
Frontmatter
58 tokensAlways available to the agent
SKILL.md
317 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Steps
Files
SKILL.mdcore1,395 bytes
Read 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:
```markdown
## [Topic Name]
- request: what the user askedView the complete source on GitHubhipocampus-recall
When your agent uses it
Memory recall guide. Structured retrieval from hipocampus memory — ROOT.md triage, manifest-based LLM selection, qmd search fallback.
What it loads into context
Frontmatter
39 tokensAlways available to the agent
SKILL.md
729 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Step 1: ROOT.md Triage (O(1) — always try first)
- Step 2: Manifest-Based LLM Selection (when ROOT.md is insufficient)
- Step 3: qmd Search (fallback)
- Freshness Warnings
- When NOT to Use Recall
- Key Principles
Files
SKILL.mdcore2,999 bytesSKILL.mdcore2,999 bytesSKILL.mdcore2,999 bytesSKILL.mdcore2,999 bytes
Read SKILL.md
# Memory Recall Protocol
Use this when the user's question may relate to past memory. Three-step fallback: ROOT.md O(1) lookup → manifest LLM selection → qmd search.
## Step 1: ROOT.md Triage (O(1) — always try first)
Check ROOT.md Topics Index for the query topic.
- **Direct match found** → read the referenced file (knowledge/, daily log date, etc.). Done.
- **Partial match / related topic found** → read referenced file, check if it answers the query. Done if yes.
- **No match at all** → proceed to Step 2.
**Decision rule:** If Topics Index contains a keyword within 1 semantic hop of the query, it's a match. "배포" matches "deployment". "CI/CD" matches "github-actions".
View the complete source on GitHubhipocampus-search
When your agent uses it
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.
What it loads into context
Frontmatter
49 tokensAlways available to the agent
SKILL.md
930 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Quick Reference
- Which Search to Use
- ROOT.md — "Do I Know About This?"
- BM25 Query Construction
- Tree Traversal
- When to Search
- Without qmd
- After Modifying Files
Files
SKILL.mdcore3,885 bytesSKILL.mdcore3,885 bytes
Read SKILL.md
# Hipocampus Search
## Quick Reference
| Action | Command |
|--------|---------|
| Hybrid search (best quality) | `qmd query "keyword1 keyword2"` |
| Keyword search (fast) | `qmd search "keyword1 keyword2"` |
| Vector search only | `qmd vsearch "semantic query"` |
| Find files | `qmd search "query" --files` |
| Read file | `qmd get "path/to/file.md"` |
| Re-index | `qmd update` |
## Which Search to UseView the complete source on GitHubSkills included
- hipocampus-core
- hipocampus-core
- hipocampus-core
- hipocampus-compaction
- hipocampus-core
- hipocampus-flush
- hipocampus-recall
- hipocampus-search
Repository facts
- License
- MIT
- Created
- Mar 15, 2026
- Last pushed
- Jun 8, 2026
- Forks
- 12
- Open issues
- 2
- Project activity
- Slowing
Before you install
Instructions onlyAutomated signals, not a guarantee
Checked Nov 5, 2026
Not fully analyzed: some files were too long, unreadable or missing. This never lowers the level.
Show 19 notes
hooks/hooks.json:1Analysis incomplete: Referenced executable target unavailable; not analyzedplatforms/codex/core/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedhooks/hooks.json:1Plugin-wide analysis incomplete; see repository notesplatforms/opencode/core/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/compaction/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/compaction/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/compaction/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/compaction/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/compaction/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/compaction/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/compaction/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/compaction/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/compaction/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/core/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedhooks/hooks.json:1Plugin-wide analysis incomplete; see repository notesskills/recall/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/recall/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/recall/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/search/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzed
- No broad tool permissions
- No dangerous shell commands
- 7 network referencesin 1 file: .claude-plugin/plugin.json:16
- No hidden or obfuscated text
- No instruction overrides
- No executable scripts
- No access to secrets
- No requests to vote in Hot
Show all 7 signals by file
.claude-plugin/plugin.json
- Network accessline 16
"author": { "name": "Kevin Sohn", "url": "https://github.com/kevin-hs-sohn" - Network accessline 17
"name": "Kevin Sohn", "url": "https://github.com/kevin-hs-sohn" }, - Network accessline 18
"url": "https://github.com/kevin-hs-sohn" - Network accessline 19
}, "license": "MIT", "homepage": "https://github.com/kevin-hs-sohn/hipocampus#readme", - Network accessline 20
"license": "MIT", "homepage": "https://github.com/kevin-hs-sohn/hipocampus#readme", "repository": "https://github.com/kevin-hs-sohn/hipocampus" - Network accessline 21
"homepage": "https://github.com/kevin-hs-sohn/hipocampus#readme", - Network accessline 22
"repository": "https://github.com/kevin-hs-sohn/hipocampus"
How the signals fit together
Facts from a static read of the files at the pinned commit. They describe what the code does, not why.
Some files could not be read; the facts below still hold.
No combined signals at this commit.
Works with
| Agent | Status | Evidence | Install to |
|---|---|---|---|
| Claude Code | Native | Manifest .claude-plugin/marketplace.json | .claude/skills/<skill-name>/ |
| Codex | Compatible | Standard SKILL.md platforms/codex/core/SKILL.md | .agents/skills/<skill-name>/ |
| Cursor | Compatible | Standard SKILL.md platforms/codex/core/SKILL.md | .cursor/skills/<skill-name>/ |
| Gemini CLI | Compatible | Standard SKILL.md platforms/codex/core/SKILL.md | .gemini/skills/<skill-name>/ |
| GitHub Copilot | Compatible | Standard SKILL.md platforms/codex/core/SKILL.md | .github/skills/<skill-name>/ |
| OpenCode | Compatible | Standard SKILL.md platforms/codex/core/SKILL.md | .opencode/skills/<skill-name>/ |
- Native The repository ships a manifest, folder or frontmatter field for this agent.
- Compatible A standard SKILL.md that this agent can read.
- Unknown No evidence either way.
Derived automatically from paths, manifests and frontmatter. Not tested on each agent.