Personal knowledge base plugin for Claude Code — capture, organize, and search knowledge from AI conversations
npx claudepluginhub foresx/mindbase-pluginMindBase — Personal knowledge base for AI-augmented learning
A Claude Code plugin for building and managing a personal knowledge base from AI conversations.
Inspired by Karpathy's LLM Knowledge Bases — instead of letting knowledge from AI conversations evaporate, MindBase captures it into a structured, searchable, Obsidian-compatible wiki.
We learn constantly through AI conversations, but most of that knowledge is lost the moment the session ends. MindBase solves this with a simple /kb:record command that extracts and archives knowledge into organized markdown files — making both you and your AI tools smarter over time.
| Command | Description |
|---|---|
/kb:record | Extract knowledge from the current conversation and save to MindBase |
/kb:think <topic> | Guided thinking partner — explore ideas deeply through questions, then record insights |
/kb:sort | Health check: find duplicates, fix broken links, triage inbox, rebuild indexes |
/kb:search <query> | Search the knowledge base by keyword, tag, or question |
/kb:setup | Initialize MindBase — set knowledge base directory and create PARA structure |
MindBase uses the PARA method. The knowledge base directory is configured during setup (default: ~/Documents/MindBase/):
$MINDBASE_PATH/
├── index.md # Auto-maintained master index
├── 00_Inbox/ # Quick captures, unsorted
├── 01_Projects/ # Time-bound goals with deadlines
├── 02_Areas/ # Ongoing domains of responsibility/interest
├── 03_Resources/ # Reference material, concepts, solutions
└── 04_Archive/ # Completed/inactive content
Each entry is a markdown file with YAML frontmatter (title, para category, tags, date, source, confidence) and structured sections. All entries use [[wikilinks]] for cross-references, making the knowledge base fully browsable in Obsidian.
MindBase also includes AGENTS.md and CLAUDE.md in the knowledge base directory, so other AI coding tools (Codex, OpenCode, Cursor) can understand and operate on the same knowledge base without the plugin.
/plugin marketplace add foresx/mindbase-plugin
/plugin install kb@mindbase
claude --plugin-dir /path/to/mindbase-plugin
After installing the plugin, run the setup command to configure your knowledge base directory:
/kb:setup
This will:
~/Documents/MindBase/)~/.claude/plugins/mindbase/config.jsonThe configuration persists across all conversations — you only need to run setup once.
/kb:record — the AI analyzes the conversation and extracts knowledge pointsUse /kb:think when you want to explore a topic deeply — it acts as a thinking partner that asks questions instead of giving answers, then optionally records the insights.
Over time, your knowledge base grows into a personal wiki that:
MIT