@e0ipso/ai-knowledge-base

A per-repo knowledge base built from your Claude Code sessions. Your AI conversations produce project-specific knowledge - conventions, gotchas, named modules - and most of it evaporates when the session ends. This tool captures it, lets you review it, and injects it back into every future session.

Quick start

npx @e0ipso/ai-knowledge-base init --harnesses claude
npx @e0ipso/ai-knowledge-base doctor

Then code normally. When you want to turn captured material into knowledge nodes, run /kb-curate inside a Claude Code session (or npx @e0ipso/ai-knowledge-base curate in a shell). New nodes appear in nodes/; review with git diff and commit the ones you want to keep.

Curious how INDEX.md actually reaches the harness on every session start? See Internals → Hooks. These are the harness’s own hooks (Claude Code’s SessionStart, Stop, etc.) that we register into, not an extension API exposed by ai-knowledge-base.

Contributors: see Internals.


This site uses Just the Docs, a documentation theme for Jekyll.