Claude starts every session knowing nothing about my projects. Its built-in memory is a handful of short notes per project. My real memory is a wiki: hundreds of linked Markdown notes, one set per project, plus pages on general lessons that apply across all of them. Claude keeps it up to date itself, and every session reads from it. It also holds my task board, so the work and the reasons behind it sit side by side.
Install obsidian-wiki. It's a set of skills based on Andrej Karpathy's "LLM wiki" idea: rather than searching raw documents every time, Claude digests what it learns into linked notes once and keeps them current. Run its setup.sh and point it at a folder (or an existing Obsidian vault). The two skills used everywhere are wiki-query (search the wiki and answer from it) and wiki-update (write what this project has taught into the wiki).
Make checking the wiki a standing rule. In the global ~/.claude/CLAUDE.md:
- Check the wiki before assuming, asking, or reading code. When a project,
tool, workflow, or concept comes up, or before reading a project's source
to understand it, use the wiki-query skill first. Fall back to asking me
or reading code only if the wiki doesn't cover it.
- Update the wiki without being asked. When a piece of work is finished
(committed, or applied and confirmed by me) and it produced something
worth knowing in three months (a decision and its why, a changed rule,
a lesson learned), run the wiki-update skill as the last step and say in
one line what it recorded. Skip it for questions and trivial fixes.
Add a reminder at the moment it matters. A rule in CLAUDE.md is easy to skip once Claude is busy, so a hook reminds it the first time it opens a file in each session, and then stays quiet:
#!/usr/bin/env bash
# PreToolUse hook, matcher "Read|Grep|Glob": nudge once per session.
input=$(cat)
session_id=$(printf '%s' "$input" | jq -r '.session_id // "unknown"')
marker="${TMPDIR:-/tmp}/claude-wiki-first-${session_id}"
[ -e "$marker" ] && exit 0
touch "$marker"
cat <<'JSON'
{"hookSpecificOutput":{"hookEventName":"PreToolUse","additionalContext":"Reminder: before reading project code to understand it, check the wiki first with the wiki-query skill. Ignore this if you already have, or if this isn't a code-understanding task."}}
JSON
It adds a note to Claude's context and blocks nothing.
Give Claude a real search engine. Once a wiki grows past a few hundred pages, searching for exact words starts to miss things. qmd indexes the folder on my own computer, mixing keyword and meaning-based search, and Claude reaches it through its MCP server. One tip: if queries time out on a Mac, turn off qmd's re-ranking step. Results come back in seconds and are no worse.
Write back once per batch, not once per task. The workflow's wrap-up step runs wiki-update a single time after the merges, so the wiki records one account of the batch instead of a pile of near-duplicates.
Each task is a Markdown note with a little structured data at the top:
---
type: task
title: Undo after deleting a chapter restores the wrong text
status: todo # inbox, todo, doing, waiting, deferred, done, ignored
priority: 2
project: my-app
labels: [type/bug, topic/undo]
description: Pressing undo right after a delete brings back the previous chapter.
---
next, list, add, set, comment). A hand-edited note with broken formatting silently drops off the board. The tool also keeps reads cheap: "what's next" costs one command, not a page of notes loaded into Claude's context.doing when it starts and moves it on when it finishes. Anything waiting on me carries one label saying what I need to do, and testable work always uses the same one, so I look in a single place.ignored tasks and shown every time Claude plans new work, so it stops proposing them.