@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.
Read next
- How it works - the 3-minute version.
- Installation - prerequisites and first-time setup.
- Daily use - the loop you’ll run week to week.
- CLI reference - every command, one page.
- Troubleshooting - when something looks wrong.
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.