English | 한국어
Hypomnema

LLM-native personal wiki for Claude Code. Knowledge that compounds.
Make Claude take notes, and measure whether it actually does.
Quick Start • How It Compares • Design Decisions • Features • Architecture • Contributing
It started from Andrej Karpathy's "LLM-native wiki" sketch, then took shape over ten months of personal AI-workflow experiments and a month of dogfooding before release. The whole cycle (capture a source, synthesize it, find it again, pick a paused session back up) ships as Claude Code commands and hooks.
New to the terms below? Keep the Term decoder open in another tab. It defines frontmatter, wikilink, projection, hook, hot.md, and session-state.md, one line each.
Where automation stands today
Wiki work (ingest, query, session-close) still starts from an explicit /hypo:* command or plain language. The v2 goal is full autonomy: Claude reading, writing, and synthesizing the wiki without being asked.
An observability score measures how often the wiki is actually used per session. These already run without a prompt:
- Freshness signaling. A page whose
verify_by_date has passed is flagged [STALE ...] when it's injected at session start or via lookup, and lookup usage is tracked locally so crystallize can surface a page not injected via lookup in the last 90 days as a cold candidate.
- Edit feedback in one place and the rest follows.
pages/feedback/ is the single source of truth for behavior corrections, and Hypomnema derives MEMORY.md and the <learned_behaviors> block inside ~/.claude/CLAUDE.md from it automatically.
- Project-aware resume when Claude changes directories in-session. When Claude runs a shell command that moves the working directory to one matching a wiki project's
working_dir, and that project's hot.md has content and is visible on this machine, it arms a one-line "Resuming <project>" cue: Claude's reply leads with that line, as long as your next prompt comes within 10 minutes of the move. (cding in the terminal before you start Claude takes a different path: SessionStart puts that hot.md directly in context, no cue needed.) A terminal notification also fires, carrying up to 3,000 characters of that project's hot.md. Per the hook reference it is a brief terminal notification that doesn't reach the SDK message stream; the reference doesn't say whether it reaches the model, and tracing Claude Code 2.1.276 and 2.1.283 found no path that does (see the transmission note below). To put the project's hot.md in front of the model, run /hypo:resume.
- Auto-project creation. Starting a session inside a git repo with a project marker (
package.json, Cargo.toml, etc.) and no matching wiki project puts the create-a-project offer in Claude's own context, so it can act on it right away, provided the same offer for that exact directory has not already fired in the last 5 minutes. That cooldown is shared with the mid-session cd path and with the claude() shell function's throwaway pre-run (see the shell-setup note under installation), so a session launched through that function can find the offer already suppressed before Claude ever sees a prompt. cding into the same kind of directory mid-session raises the identical offer, but only as the terminal toast described in the resume bullet above, which Claude never sees. A directory you declined once is never offered again. If the offer doesn't show, ask Claude to create the project directly rather than waiting: a session started through the default claude() function records the cooldown again in its pre-run, so waiting 5 minutes does not guarantee the offer comes back.