By farzadshbfn
Personal knowledge base management — learn, find, compact, mint, view, and monitor your knowledge.
Sets up the knowledge base for a project. Creates the KB config, directory structure, and appends minimal instructions to the project's CLAUDE.md. Run this once when first using KB skills in a new project.
Compacts KB directories — extracts legacy, unifies terminology, splits oversized notes, fixes indexes, reconciles with skill folders. Default: single directory. Use --deep for recursive bottom-up traversal.
Read-only KB discovery with progressive 4-tier loading and --challenge mode for counter-evidence.
Manages a personal knowledge base with learning tracking. Modes: (1) learn from articles, (2) learn about topics, (3) fix errors. Uses markdown links with relative paths for cross-references. Maintains a rolling changelog, validates links, and keeps a markdown-compatible knowledge base. When a note reaches ~500 lines, suggests /kb-compact.
Mints skills from KB topics, packages skills into plugins, and prepares them for Cowork. Use when asked to create a skill from KB content, convert to a plugin, package for distribution, or make something cowork-ready. Also triggers on `convert this to a skill`, `package as plugin`, `mint a skill`, or `make this a plugin`.
Executes bash commands
Hook triggers when Bash tool is used
Modifies files
Hook triggers on file write and edit operations
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.

You read an article, learn something new, move on. A month later you've forgotten half of it. Claude forgot all of it the moment the conversation ended.
This plugin gives you a shared knowledge base. When you learn something, Claude learns it too, checks it against what you both already know, and keeps it around for next time.
Source code and tests: knowledge-skills.
/plugin marketplace add farzadshbfn/knowledge-plugin
/plugin install kb@farzadshbfn
claude --plugin-dir /path/to/knowledge-plugin
/kb-bootstrap
Creates the config and directory structure. Run once per project.
Tech moves fast. New frameworks, new conventions, a constant stream of articles and release notes. Even when you do read something useful, it's gone from your head a month later.
LLMs can help, but they forget everything between conversations and their training data lags behind. Context windows are expensive and finite. You end up re-explaining the same things, re-looking-up the same references, losing the insights you already earned.
This plugin fills that hole:
| Skill | Purpose |
|---|---|
/kb-learn | Learn from articles, research topics, fix KB errors |
/kb-find | Look up existing knowledge with progressive, token-efficient loading |
/kb-compact | Split oversized notes, unify terminology, fix indexes |
/kb-mint | Convert KB topics into skills, package as distributable plugins |
/kb-view | Local web renderer with fuzzy search, markdown rendering, and knowledge graph |
/kb-monitor | Track access patterns, surface skill candidates, check skill health |
/kb-bootstrap | First-time setup, run once per project |
/kb-learn runs a multi-agent pipeline:
--challenge)/kb-learn article <url> # Extract and assess claims from an article
/kb-learn topic "raft consensus" # Research a topic, fill gaps in your KB
/kb-learn fix "X actually works like Y" # Correct a mistake
After learning, ask Claude to summarize what it found, explain trade-offs, or compare against what you already knew.
/kb-find progressively loads only what's relevant:
Tier 1 → Topic tree (names + descriptions only)
Tier 2 → Frontmatter scan (first 15 lines of candidates)
Tier 3 → TOC + targeted sections
Tier 4 → Full note read (only when necessary)
A lookup in a 10,000-line KB might only load 50 lines into context. Challenge mode (--challenge) looks for contradicting evidence.
/kb-view starts a local HTTP server with a single-page app:

/kb-compact keeps your KB healthy as it grows. It splits large notes, merges duplicates, unifies terminology, and rebuilds indexes. --deep mode traverses the entire KB bottom-up.
Access patterns are tracked across conversations. When topics keep coming back, they're flagged as skill candidates. These are topics mature enough to be a dedicated skill rather than a loose collection of notes.
/kb-mint converts those candidates into standalone skills or packaged plugins for distribution. The pipeline: raw notes, then structured knowledge, then reusable skill, then distributable plugin.
A single centralized KB works until you're juggling multiple domains, then you're loading irrelevant context every time.
Multi-KB lets you co-locate knowledge with the domain it serves:
npx claudepluginhub farzadshbfn/knowledge-plugin --plugin kbLLM-powered personal wiki — autonomous knowledge base with research-on-miss, ingestion, search, a browsable web UI, and universal data gravity. Saves and retrieves knowledge automatically whenever relevant.
Build and maintain LLM-powered knowledge bases as Obsidian wikis with compile, query, lint, and evolve workflows
Karpathy-style local-first LLM Wiki / Knowledge Compiler for Claude Code. Ingest sources, build a structured markdown knowledge base, and maintain it with AI-powered workflows.
Long-term memory for Claude Code powered by Memex. Provides persistent knowledge capture, retrieval, and memory-augmented workflows across all projects.
LLM-maintained personal wiki skills for Claude Code. Implements Karpathy's LLM Wiki pattern — persistent, compounding knowledge base for research, codebase documentation, or any long-term knowledge accumulation.
Karpathy LLM Wiki 知识库 — Ingest / Query / Lint 三操作维护个人 LLM 知识体系