llm-knowledge-bases

skill
Guvenlik Denetimi
Basarisiz
Health Uyari
  • No license — Repository has no license file
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 12 GitHub stars
Code Basarisiz
  • rm -rf — Recursive force deletion command in plugins/kb/setup.sh
Permissions Gecti
  • Permissions — No dangerous permissions requested
Purpose
This tool is a Claude Code plugin that transforms raw research documents into a structured, LLM-maintained Obsidian wiki. It automates the compilation, querying, linting, and evolution of a personal knowledge base.

Security Assessment
The overall risk is rated as Medium. The tool does not request dangerous account permissions and relies on the existing Claude Code CLI for its operations. However, the automated code scan flagged a `rm -rf` recursive force deletion command inside the setup script (`plugins/kb/setup.sh`). If this command is improperly configured, it could unintentionally delete local files and directories. The tool inherently accesses your local file system to read raw documents and write new wiki files. No hardcoded secrets were detected.

Quality Assessment
The project appears actively maintained, with its most recent code push occurring today. It has a small but growing community footprint with 12 GitHub stars. However, it fails a basic open-source health check: the repository currently lacks a formal license file. Without a license, the code is technically under exclusive copyright, meaning you do not have explicit legal permission to use, modify, or distribute it.

Verdict
Use with caution — the setup script contains a risky deletion command that warrants a manual code review before execution, and the lack of a license is a significant barrier for any serious adoption.
SUMMARY

Claude Code plugin for building LLM-maintained Obsidian wikis from raw research — compile, query, lint, and evolve your personal knowledge base. Inspired by Karpathy's knowledge base workflow.

README.md

LLM Knowledge Bases

A Claude Code plugin that turns raw research material into an LLM-maintained Obsidian wiki -- inspired by Andrej Karpathy's description of using LLMs as knowledge compilers rather than just code manipulators.

You drop source material into raw/, run a single command, and Claude handles the rest: compiling interlinked wiki articles, maintaining indexes and backlinks, answering complex questions at multiple depth levels, and continuously improving the knowledge base over time.

The LLM owns the wiki. You rarely edit it manually -- just explore in Obsidian and keep feeding it raw data.

How It Works

  1. Ingest -- Raw documents (articles, papers, repos, YouTube transcripts, images, datasets) go into raw/
  2. Compile -- Claude builds a structured Obsidian vault with summaries, backlinks, concept articles, and auto-generated indexes
  3. Query -- Three depth levels:
    • Quick -- Answers from wiki indexes and summaries alone
    • Standard -- Cross-references the full wiki, supplements with web search
    • Deep -- Multi-agent research pipeline with parallel web search agents
  4. Output -- Markdown reports, Marp slides, matplotlib charts -- saved to output/ and optionally filed back into the wiki
  5. Maintain -- Automated health checks (broken links, orphans, inconsistencies) and suggestions for new articles and connections

Prerequisites

Obsidian plugins (Dataview, Obsidian Git, etc.) are installed automatically by the setup script during /kb-init.

Installation

In Claude Code, run:

/plugin marketplace add rvk7895/llm-knowledge-bases
/plugin install kb@llm-knowledge-bases

All skills are installed as a single plugin.

Quick Start

# Initialize a new knowledge base
/kb-init

# Add sources to raw/, then compile the wiki
/kb compile

# Query the knowledge base
/kb query

# Run a health check
/kb lint

# Deep multi-agent research on a topic
/research <topic>
/research-deep

Available Skills

Skill Purpose
kb-init One-time setup: scaffolds directories, generates config, writes project files
kb Main skill with four workflows: compile, query, lint, evolve
research Generate a structured research outline for a topic
research-deep Launch parallel agents for deep research on each outline item
research-add-fields Add field definitions to an existing research outline
research-add-items Add research targets to an existing outline
research-report Compile deep research results into a markdown report

Directory Structure (after /kb-init)

raw/           -- Raw source documents
wiki/          -- LLM-compiled Obsidian vault
output/        -- Query results, slides, charts, reports
kb.yaml        -- Configuration
CLAUDE.md      -- Project instructions for Claude

X/Twitter Integration (Optional)

To ingest tweets, threads, and bookmarks from X, install Smaug:

npm install -g @steipete/bird
git clone https://github.com/alexknowshtml/smaug && cd smaug && npm install
npx smaug setup  # configures X session cookies

Once configured, paste any x.com link and the kb skill will fetch and compile it automatically. Without Smaug, you can still add X content by pasting tweet text directly or using Thread Reader App for threads.

Note: Smaug uses X session cookies for read-only access to your own data. This is not officially supported by X's TOS. Practical risk for personal use is very low, but be aware.

Attribution

  • Andrej Karpathy -- Original vision for LLM-maintained knowledge bases
  • Weizhena -- Deep Research skills adapted for the research pipeline

Yorumlar (0)

Sonuc bulunamadi