███████╗███████╗ ██████╗ ██████╗ ███╗ ██╗██████╗ ██████╗ ██████╗ █████╗ ██╗███╗ ██╗
██╔════╝██╔════╝██╔════╝██╔═══██╗████╗ ██║██╔══██╗ ██╔══██╗██╔══██╗██╔══██╗██║████╗ ██║
███████╗█████╗ ██║ ██║ ██║██╔██╗ ██║██║ ██║█████╗██████╔╝██████╔╝███████║██║██╔██╗ ██║
╚════██║██╔══╝ ██║ ██║ ██║██║╚██╗██║██║ ██║╚════╝██╔══██╗██╔══██╗██╔══██║██║██║╚██╗██║
███████║███████╗╚██████╗╚██████╔╝██║ ╚████║██████╔╝ ██████╔╝██║ ██║██║ ██║██║██║ ╚████║
╚══════╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝
██████╗ ██╗ ██╗ ██╗ ██████╗ ██╗███╗ ██╗███████╗
██╔══██╗██║ ██║ ██║██╔════╝ ██║████╗ ██║██╔════╝
██████╔╝██║ ██║ ██║██║ ███╗██║██╔██╗ ██║███████╗
██╔═══╝ ██║ ██║ ██║██║ ██║██║██║╚██╗██║╚════██║
██║ ███████╗╚██████╔╝╚██████╔╝██║██║ ╚████║███████║
╚═╝ ╚══════╝ ╚═════╝ ╚═════╝ ╚═╝╚═╝ ╚═══╝╚══════╝
Claude Code plugins for personal knowledge management
A collection of Claude Code plugins that turn scattered notes, papers, and conversations into a structured, searchable, interconnected knowledge graph. Each plugin is a self-contained personal-knowledge-management system with its own commands, agents, skills, and Python CLI — with Claude doing the heavy lifting of ingesting, compiling, and linking your second brain.
| Karpathy-style wiki | The karpathy-llm-wiki plugin ingests files, compiles them into atomic permanent notes, and maintains a semantic knowledge base. |
| Semantic search | A local LanceDB vector index over sentence-transformers embeddings — query your notes by meaning, not keywords. |
| Ingest anything | Pull in Markdown, raw text, or PDFs (via Marker, opt-in [pdf] extra) into a staging inbox, then compile the best material into the permanent wiki. |
| Health & analytics | kb lint and /kb-health report schema, link, and staleness health; kb charts auto-generates tag-distribution, growth, and knowledge-type plots from the live vault. |
| Scheduled maintenance | kb maintenance enable installs cron jobs to incrementally re-index, lint, and regenerate charts on a nightly/weekly cadence. |
| Auto-lint & auto-index hooks | Plugin ships a PostToolUse hook that lints and incrementally re-indexes whenever Claude edits a permanent note — no manual kb index needed. |
| Slash commands + CLI | Drive everything from Claude Code (/kb-init, /kb-ingest, /kb-compile, /kb-query, /kb-health, …) or from the standalone kb Python CLI. |
Available plugins
| Plugin | Description |
|---|
| karpathy-llm-wiki | Karpathy-style knowledge wiki — ingest, compile, search, and maintain a semantic knowledge base |
Installation
As a Claude Code plugin (recommended)
Add this repo as a marketplace, then install the plugin:
claude plugin marketplace add https://code.aws.dev/proserve/product-and-solutions/tools/knowledge-management/second-brain-plugins
claude plugin install karpathy-llm-wiki@second-brain-plugins
The plugin registers slash commands (/kb-init, /kb-ingest, /kb-compile, /kb-query, /kb-index, /kb-lint, /kb-health, /kb-test) for use directly inside Claude Code.
As a standalone CLI
The wiki engine ships as a Python package (kb) you can run without Claude Code. Dependencies are heavier here (vector index + embedding model), so uv is recommended:
cd plugins/karpathy-llm-wiki/llm-wiki-core
uv sync --all-extras # includes the [pdf] extra (Marker)
uv run kb --help
If you don't need PDF ingest, drop --all-extras for a lighter install.
Usage
Inside Claude Code
# Initialize a wiki in any directory
cd ~/my-wiki
/kb-init