Instruction file imported from vbarsoum1/llm-wiki-compiler (
.cursor/rules/klore.mdc). Copyright stays with the author.
Klore — LLM Knowledge Compiler
You have access to the klore CLI for building and maintaining knowledge bases.
Commands
| Command | What it does |
|---|---|
klore init [name] |
Create a new knowledge base |
klore add <file|url> |
Add a source (PDF, markdown, HTML, image, URL) |
klore ingest <file|url> |
Add a source and compile in one step |
klore compile |
Compile sources into the wiki (incremental) |
klore compile --full |
Force full recompilation |
klore ask "question" |
Ask a question against the wiki |
klore ask --save "question" |
Ask and save the answer as a wiki report |
klore watch |
Watch raw/ for changes and auto-compile |
klore lint |
Run health checks (contradictions, broken links) |
klore status |
Show source/concept counts, compilation state |
Context
- If the current directory has a
.klore/folder, this is a klore knowledge base. - If
wiki/index.mdexists, read it to understand what knowledge is available. - Prerequisites: Python 3.10+,
kloreinstalled (pipx install klore),OPENROUTER_API_KEYset.