LLM Knowledge Bases
LLM wiki kit
First committed by rvk7895
Published in rvk7895/llm-knowledge-bases. Publisher page
35 GitHub stars
What it is
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.
AutoGineer overview, from the brain’s own files
LLM Knowledge Bases is a plugin for Claude Code designed to automate the creation and maintenance of a personal knowledge base in Obsidian. By treating the LLM as a knowledge compiler, the system ingests raw materials—such as articles, papers, and transcripts—and organizes them into a structured, interlinked wiki. Users interact with the system by feeding raw data into a designated folder, while the agent handles the compilation, indexing, and health maintenance of the vault. It supports multiple query depths, ranging from quick index lookups to deep, multi-agent research pipelines, ensuring that the knowledge base evolves alongside the user's research interests.
How it works
Memory model: LLM wiki
AutoGineer overview, from the brain’s own files
The system operates by ingesting raw source documents from a raw folder. It then compiles these into an Obsidian vault containing summaries, backlinks, and indexes. Users can query the knowledge base at three levels of depth: quick, standard, or deep. The system also performs automated maintenance tasks like linting for broken links or orphans and provides tools for deep research, which involves generating outlines and deploying parallel agents to research specific topics. All outputs are saved to an output folder or integrated back into the wiki.
| Folder | Role | Files |
|---|---|---|
| .claude | agent-config | 1 |
| docs | docs | 2 |
| .claude-plugin | folder | 1 |
| plugins | folder | 12 |
Requirements
Works with: Claude Code, OpenCode
Set it up
This brain runs code automatically: 1 script. Review plugins/kb/setup.sh before opening the folder in Claude Code. No step below turns a hook on for you.
plugins/kb/setup.sh:sh plugins/kb/setup.sh
- Download the brain as a ZIP and unzip it where you keep your notes or project: https://mp-staging.autogineer.com/agent-brains/rvk7895/llm-knowledge-bases/download
Claude Code reads CLAUDE.md from this folder automatically.
cd llm-knowledge-bases && claude
AutoGineer scanned these files at commit 342686f.
- Not scanned by AutoGineerThe author’s README also describes installing it as a Claude Code plugin marketplace. Read its install section: AutoGineer did not scan that path. https://github.com/rvk7895/llm-knowledge-bases/blob/342686f4cdf0e969872601eabbcc10466da91431/README.md#installation
First committed by rvk7895. Published in rvk7895/llm-knowledge-bases. Licence: MIT License.
Usage
AutoGineer overview, from the brain’s own files
- Initialize a new knowledge base structure
- Compile raw research documents into an Obsidian wiki
- Query the knowledge base for information at varying depths
- Perform automated health checks on the wiki
- Execute deep research on specific topics using multi-agent pipelines
- “/kb compile”
- The agent processes all files in the raw/ directory and updates the Obsidian wiki with new summaries and backlinks.
- “/research-deep Artificial Intelligence trends”
- The agent generates a research outline and launches parallel agents to conduct deep research on each item in the outline.
- “/kb lint”
- The agent scans the wiki for broken links, orphans, and inconsistencies, reporting them for resolution.
Documentation by rvk7895
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
Ingest -- Raw documents (articles, papers, repos, YouTube transcripts, images, datasets) go into
raw/Compile -- Claude builds a structured Obsidian vault with summaries, backlinks, concept articles, and auto-generated indexes
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
Output -- Markdown reports, Marp slides, matplotlib charts -- saved to
output/and optionally filed back into the wikiMaintain -- Automated health checks (broken links, orphans, inconsistencies) and suggestions for new articles and connections
Prerequisites
Claude Code (CLI), installed and authenticated
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-basesAll 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-deepAvailable 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 ClaudeX/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 cookiesOnce 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
docs/plans/2026-04-03-kb-skills-implementation.md
LLM Knowledge Base Skills Implementation Plan
For Claude: REQUIRED SUB-SKILL: Use superpowers:executing-plans to implement this plan task-by-task.
Goal: Create two Claude Code skills (kb-init and kb) that enable LLM-maintained Obsidian wikis from raw source documents.
Architecture: Two skills as SKILL.md files in skills/. Research skills copied from ~/.claude/skills/research* with attribution. README and CLAUDE.md at project root for repo documentation and future-session context.
Tech Stack: Claude Code skills (markdown), YAML config, Obsidian-compatible markdown formatting.
Task 1: Create kb-init Skill
Files:
Create:
skills/kb-init/SKILL.md
Step 1: Write the skill file
---
name: kb-init
description: Use when setting up a new knowledge base project, bootstrapping an Obsidian vault for LLM-maintained wikis, or when the user says "init kb" or "new knowledge base"
---
# Knowledge Base Init
## Overview
One-time (or re-runnable) setup that bootstraps a knowledge base project as an Obsidian vault. Walks the user through configuration, scaffolds directories, and prepares the project for the `kb` skill workflows.
## Prerequisites
Inform the user:
- Obsidian must be installed (https://obsidian.md)
- Recommended Obsidian plugins: Web Clipper, Marp Slides, Dataview
## Flow
### Step 1: Vault Setup
Ask the user:
- **"Create a new Obsidian vault, or use an existing directory?"**
- New vault: scaffold `.obsidian/` config directory
- Existing: verify the directory exists, check for conflicts
### Step 2: Source Gathering Strategy
Ask: **"How do you want to get raw data into the knowledge base?"**
- **Self-serve** -- You drop files into `raw/` yourself. I'll provide guidance per source type:
- **Web articles**: Install Obsidian Web Clipper browser extension. Clip articles to `raw/articles/`
- **Academic papers (PDF)**: Download to `raw/papers/`
- **GitHub repos**: Clone or download snapshots to `raw/repos/`
- **Local markdown/text**: Copy to `raw/notes/`
- **Images/diagrams**: Place in `raw/images/`
- **YouTube transcripts**: Use a transcript tool, save to `raw/transcripts/`
- **Datasets (CSV, JSON)**: Place in `raw/datasets/`
- **Assisted** -- Tell me what to fetch. I'll use WebFetch for articles, Bash for cloning repos, download PDFs, and pull transcripts.
- **Mixed** -- Some of each.
### Step 3: Output Format Preferences
Ask: **"Which output formats do you want for query results?"**
Present options:
- Markdown articles (default, always on)
- Marp slides (presentation decks)
- Matplotlib/chart images
- HTML pages
- CSV/table exports
- Excalidraw diagrams
- Other (user specifies)
The skill teaches Claude an extensible pattern: for any format, generate the content, save to `output/`, and it's viewable in Obsidian or externally.
### Step 4: Maintenance Cadence
Inform the user about health check options:
- **Daily/hourly**: Use `/loop` (e.g., `/loop 1d kb lint`)
- **Weekly/monthly**: Use `/schedule` to create a cron-based remote agent
- **Manual**: Just ask "lint the wiki" anytime
Ask which they prefer, or skip for now.
### Step 5: Generate Config
Write `kb.yaml` at project root:
```yaml
name: "<user-provided or 'My Knowledge Base'>"
paths:
raw: raw/
wiki: wiki/
output: output/
output_formats:
- markdown
- <user selections>
obsidian:
wikilinks: true
recommended_plugins:
- obsidian-web-clipper
- obsidian-marp-slides
- dataviewStep 6: Scaffold Directories
Create the directory structure:
raw/
articles/
papers/
repos/
notes/
images/
transcripts/
datasets/
wiki/
output/If new vault, also create .obsidian/ with minimal config.
Step 7: Write Project Files
Write CLAUDE.md at project root with content:
This is an LLM Knowledge Base project
Use the
kbskill for all wiki operationsRead
kb.yamlfor configurationAlways use Obsidian-compatible formatting (wikilinks, YAML frontmatter, embeds)
Never manually edit wiki articles -- use the kb skill workflows
Write README.md at project root with:
Project description and purpose
Prerequisites (Obsidian, recommended plugins)
Setup instructions (run kb-init)
Available workflows (compile, query, lint, evolve)
Directory structure explanation
Attribution for research skills
Step 8: Next Steps Guidance
After scaffolding, tell the user:
"Your knowledge base is ready! Here's what to do next:"
Add raw sources -- Drop files into the appropriate
raw/subdirectory, use Web Clipper, or ask me to fetch content for youCompile the wiki -- Once you have sources in
raw/, say "compile the wiki" (uses thekbskill)Query -- Ask questions against your wiki at three depth levels (quick, standard, deep)
Lint -- Run health checks to find broken links, orphans, inconsistencies
Evolve -- Ask me to suggest improvements, find gaps, and discover connections
If you set up a maintenance cadence, confirm it's active.
Common Mistakes
Forgetting to install Obsidian plugins before trying to view Marp slides or Dataview queries
Putting raw files directly in
wiki/instead ofraw/-- the compile workflow handles the conversionEditing wiki articles manually instead of letting the compile workflow maintain them
**Step 2: Commit**
```bash
git add skills/kb-init/SKILL.md
git commit -m "feat: add kb-init skill for knowledge base bootstrapping"Task 2: Create kb Skill
Files:
Create:
skills/kb/SKILL.md
Step 1: Write the skill file
---
name: kb
description: Use when operating on an LLM knowledge base -- compiling raw sources into wiki articles, querying the wiki, running health checks, or evolving the wiki with new connections and content
---
# Knowledge Base
## Overview
The main operating skill for LLM-maintained knowledge bases. Four workflows: compile, query, lint, evolve. All opus-orchestrated with model-aware subagent dispatch.
**First:** Read `kb.yaml` at project root for paths and preferences. If it doesn't exist, inform user to run the `kb-init` skill first.
## Obsidian-Native Formatting
All wiki output MUST use:
- YAML frontmatter delimited by `---`
- `[[wikilinks]]` for all internal links (NEVER markdown-style `[text](path)` links)
- `[[wikilinks|display text]]` when display name differs from article title
- Tags in frontmatter: `tags: [concept, topic]`
- Aliases in frontmatter: `aliases: [alternate name, abbreviation]`
- Image embeds: `![[image-name.png]]`
- Standard markdown for headings, lists, code blocks, tables
## Model Strategy
Opus orchestrates every workflow. Delegate volume work to cheaper models. Always verify before writing to wiki.
| Task | Executor | Verifier |
|------|----------|----------|
| Index scanning, link checking, file diffing | **haiku** subagents | -- (mechanical) |
| Summarizing individual sources | **haiku** subagents | **opus** spot-checks |
| Wiki article writing | **sonnet** subagents | **opus** reviews before committing |
| Deep research | **sonnet** subagents | **opus** orchestrates + verifies |
| Research synthesis / final reports | **opus** | -- |
| Lint issue detection | **sonnet** subagents | **opus** prioritizes + filters |
| Query answering | **opus** | -- |
| Consistency checks | **sonnet** subagents | **opus** makes final judgment |
When dispatching subagents, always set the `model` parameter explicitly.
## Workflow 1: Compile
**Trigger:** User adds new files to `raw/` and says "compile," "update the wiki," or similar.
### Incremental Detection
1. Read `wiki/_index.md` -- it lists every raw source with its last-compiled hash
2. Scan `raw/` directory recursively with Glob
3. Diff against the index: identify new, changed, and deleted files
4. Only process what's changed
### Per-File Compilation
For each new/changed file, dispatch a **sonnet** subagent to:
1. Read the raw source file
2. Determine its type (article, paper, repo, dataset, image, transcript, etc.)
3. Extract key concepts, claims, entities, relationships
4. Return structured extraction as JSON
Then **opus** orchestrator:
5. For each concept that doesn't have a wiki article -- create one
6. For each concept that already exists -- update/enrich with new information from this source
7. Add source backlinks
8. Auto-categorize into folder structure (evolve categories organically as wiki grows)
### Wiki Article Format
title: <Article Title> aliases: [<alternate names>] tags: [<relevant tags>] sources: [<raw file paths that contributed>] last_updated: <YYYY-MM-DD>
<Article Title>
<Article body with wikilinks to related concepts>
Sources
Sources/<source-name> - <brief description>
### Index Maintenance
After compilation, update these files:
- `wiki/_index.md` -- master list: every article with a one-line summary and its compiled-from hash
- `wiki/_sources.md` -- every raw source and which wiki articles it contributed to
- `wiki/_categories.md` -- auto-maintained category tree reflecting current folder structure
These indexes are critical -- they're what makes Q&A work without RAG. Claude reads indexes first to find relevant articles.
## Workflow 2: Query
**Trigger:** User asks a question against the wiki.
### Step 1: Ask Query Depth
- **Quick** -- Wiki-only. Read `wiki/_index.md`, find relevant articles, read them, synthesize answer. Fast, no external calls.
- **Standard** -- Wiki + web search. Read wiki first, then supplement gaps with WebSearch/WebFetch.
- **Deep** -- Full research pipeline. Invoke the `/research` skill to generate an outline, then `/research-deep` dispatches **sonnet** subagents for structured research. **Opus** orchestrates and verifies all findings. Best for big open-ended questions.
### Step 2: Execute
At the chosen depth. For Deep queries, the research skills handle orchestration -- see `skills/research/` for details.
### Step 3: Render Output
Read `output_formats` from `kb.yaml`. Render in the user's preferred format:
- **Markdown**: Write `.md` to `output/`
- **Marp slides**: Write Marp-formatted `.md` with `marp: true` frontmatter to `output/`
- **Matplotlib**: Generate a Python script, run it, save image to `output/`
- **Other formats**: Follow the same pattern -- generate content, save to `output/`
For any format not in the list, ask the user how they'd like it rendered and follow the pattern.
### Step 4: Smart Suggest Filing
If the output contains genuinely new knowledge (not just a reformatting of existing wiki articles), suggest:
**"This adds new insight about X. Want me to file it into the wiki?"**
Only suggest when:
- Standard/Deep queries pulled in external data not in the wiki
- The synthesis revealed a new connection between existing concepts
- The answer contradicts or significantly updates existing wiki content
If the user agrees, run the Compile workflow on the new material.
## Workflow 3: Lint
**Trigger:** User says "health check," "lint the wiki," or it runs via `/loop`/`/schedule`.
### Checks
Dispatch **sonnet** subagents in parallel, each handling a category of checks:
1. **Broken links** -- Find `[[wikilinks]]` pointing to non-existent articles
2. **Orphan articles** -- Articles with zero inbound `[[wikilinks]]` from other articles
3. **Orphan sources** -- Files in `raw/` that never got compiled into the wiki
4. **Stale articles** -- Source material changed since last compile (hash mismatch)
5. **Consistency** -- Conflicting claims across articles (e.g., different dates for the same event)
6. **Missing backlinks** -- References that should be bidirectional but aren't
7. **Sparse articles** -- Articles below ~200 words that could be enriched
**Opus** collates results, filters false positives, prioritizes by severity.
### Output
Write report to `output/lint-YYYY-MM-DD.md`:
- Issues grouped by severity (critical, warning, suggestion)
- For each issue: what's wrong, where, and a specific suggested fix
- Ask user: "Want me to auto-fix any of these?"
## Workflow 4: Evolve
**Trigger:** User says "evolve the wiki," "suggest improvements," or "what's missing."
### Flow
1. **Opus** reads `wiki/_index.md`, `wiki/_categories.md` to understand current state
2. Dispatch **sonnet** subagents to analyze clusters of articles, looking for:
- **Gaps** -- Concepts referenced in `[[wikilinks]]` but never given their own article
- **Connections** -- Articles in different categories that share unexplored relationships
- **Missing data** -- Claims or fields that could be filled/verified with a web search
- **Questions** -- Interesting questions the wiki could answer but doesn't yet
3. **Opus** collates suggestions, deduplicates, ranks by value
4. Present ranked suggestions to user as a numbered list
5. User picks which to pursue
6. Claude executes: create new articles (Compile), answer questions (Query), fill gaps (web search + Compile)
## Common Mistakes
- Running compile on the entire `raw/` directory when only a few files changed -- always check the index first
- Writing markdown-style links instead of `[[wikilinks]]` -- Obsidian won't resolve them
- Skipping index updates after compile -- this breaks Q&A discovery
- Filing every query output back into the wiki -- only file genuinely new knowledge
- Running Deep queries for simple factual questions -- use Quick first, escalate if neededStep 2: Commit
git add skills/kb/SKILL.md
git commit -m "feat: add kb skill with compile, query, lint, evolve workflows"Task 3: Copy Research Skills with Attribution
Files:
Create:
skills/research/SKILL.md(copied from~/.claude/skills/research/SKILL.md)Create:
skills/research/validate_json.py(copied from~/.claude/skills/research/validate_json.py)Create:
skills/research-deep/SKILL.md(copied from~/.claude/skills/research-deep/SKILL.md)Create:
skills/research-add-fields/SKILL.md(copied from~/.claude/skills/research-add-fields/SKILL.md)Create:
skills/research-add-items/SKILL.md(copied from~/.claude/skills/research-add-items/SKILL.md)Create:
skills/research-report/SKILL.md(copied from~/.claude/skills/research-report/SKILL.md)
Step 1: Copy all research skill files
cp -r ~/.claude/skills/research skills/research
cp -r ~/.claude/skills/research-deep skills/research-deep
cp -r ~/.claude/skills/research-add-fields skills/research-add-fields
cp -r ~/.claude/skills/research-add-items skills/research-add-items
cp -r ~/.claude/skills/research-report skills/research-reportStep 2: Add attribution header to each copied SKILL.md
Add to the top of each file (after frontmatter):
> **Attribution:** This skill was originally authored by [ORIGINAL AUTHOR - ask user].
> Included in this repo with permission for use in the Deep query workflow.Step 3: Ask user for original author details
Before committing, ask the user who authored the research skills so attribution is correct.
Step 4: Commit
git add skills/research/ skills/research-deep/ skills/research-add-fields/ skills/research-add-items/ skills/research-report/
git commit -m "feat: add research skills for deep query workflow (with attribution)"Task 4: Write README.md
Files:
Create:
README.md
Step 1: Write README
Content should cover:
Project title and description (LLM-powered personal knowledge bases as Obsidian wikis)
Prerequisites (Obsidian, recommended plugins, Claude Code with skills)
Quick start (run
kb-init, add sources, compile)Available workflows with brief descriptions (compile, query, lint, evolve)
Directory structure explanation
Configuration (
kb.yamlreference)Research skills attribution
The concept: raw data → LLM compilation → wiki → Q&A → evolution loop
Step 2: Commit
git add README.md
git commit -m "docs: add project README"Task 5: Write CLAUDE.md
Files:
Create:
CLAUDE.md
Step 1: Write project-level Claude instructions
Content:
This is an LLM Knowledge Base project
Always read
kb.yamlfor configuration before operatingUse
kb-initskill for setup,kbskill for all wiki operationsAlways use Obsidian-compatible formatting (wikilinks, YAML frontmatter, image embeds)
Never manually edit wiki articles outside of the kb skill workflows
Follow the model strategy: opus orchestrates, haiku/sonnet for subagent work
Research skills in
skills/research*power the Deep query workflow
Step 2: Commit
git add CLAUDE.md
git commit -m "docs: add CLAUDE.md with project-level instructions"Task 6: Manual Verification
Step 1: Verify directory structure
find . -type f | head -30Expected:
./kb.yaml # (not yet -- created by kb-init at runtime)
./README.md
./CLAUDE.md
./skills/kb-init/SKILL.md
./skills/kb/SKILL.md
./skills/research/SKILL.md
./skills/research/validate_json.py
./skills/research-deep/SKILL.md
./skills/research-add-fields/SKILL.md
./skills/research-add-items/SKILL.md
./skills/research-report/SKILL.md
./docs/plans/2026-04-03-kb-skills-design.md
./docs/plans/2026-04-03-kb-skills-implementation.mdStep 2: Verify each SKILL.md has valid frontmatter
for f in skills/*/SKILL.md; do echo "--- $f ---"; head -4 "$f"; echo; doneEach should have ---, name:, description:, ---.
Step 3: Verify research skills have attribution
grep -l "Attribution" skills/research*/SKILL.mdShould match all 5 research skill files.
21 files
- .claude-plugin/marketplace.json
- .claude/settings.local.json
- ATTRIBUTION.md
- AUTOGINEER-RUNS.md
- CLAUDE.md
- LICENSE
- README.md
- docs/plans/2026-04-03-kb-skills-design.md
- docs/plans/2026-04-03-kb-skills-implementation.md
- plugins/kb/.claude-plugin/plugin.json
- plugins/kb/references/report-style-guide.md
- plugins/kb/setup.sh
- plugins/kb/skills/kb-init/SKILL.md
- plugins/kb/skills/kb-preferences/SKILL.md
- plugins/kb/skills/kb/SKILL.md
- plugins/kb/skills/research-add-fields/SKILL.md
- plugins/kb/skills/research-add-items/SKILL.md
- plugins/kb/skills/research-deep/SKILL.md
- plugins/kb/skills/research-report/SKILL.md
- plugins/kb/skills/research/SKILL.md
- plugins/kb/skills/research/validate_json.py
Advantages
- Automates the maintenance of interlinked wiki articles and indexes, reducing manual effort. evidence: README.md
- Supports multi-agent research pipelines for deep, parallel investigation of topics. evidence: README.md
Limitations
- Requires Claude Code CLI and Obsidian to function. evidence: README.md
- The LLM owns the wiki, and manual editing of articles outside of the provided workflows is discouraged. evidence: CLAUDE.md
Security
Risk level: Medium risk
This brain runs
Install scripts (1)
plugins/kb/setup.sh:sh plugins/kb/setup.sh· uses the network
Agent instructions that run or fetch something (44)
plugins/kb/skills/kb-init/SKILL.md:After confirming the vault path, run the bundled setup script via Bash tool:plugins/kb/skills/kb-init/SKILL.md:The script is idempotent — safe to re-run.plugins/kb/skills/kb-init/SKILL.md:python -c "import pptx" 2>/dev/null && echo "python-pptx: available" || echo "python-pptx: not installed (needed for slide extraction)"plugins/kb/skills/kb-init/SKILL.md:python -c "import pandas" 2>/dev/null && echo "pandas: available" || echo "pandas: not installed (needed for dataset analysis)"plugins/kb/skills/kb-init/SKILL.md:When the user sets up Smaug (during init or later), save the install path here.plugins/kb/skills/kb-preferences/SKILL.md:If missing, tell the user to run `kb-init` and stop.plugins/kb/skills/kb-preferences/SKILL.md:| Invocation | Mode | Action | |---|---|---| | `/kb-preferences` (bare) | interactive | Show current prefs, ask what to update | | `/kb-preferences init` | init | Re-run the 5 init questions, regenerate all fields from style-guide + user answers | | `/kb-preferences update <field>` | up …[+30 chars]plugins/kb/skills/kb-preferences/SKILL.md:re-ask matching question or accept free-text | | `/kb-preferences add-note "..."` | add-note | Append the quoted string as a new line/paragraph under `notes:` | | `/kb-preferences reflect` | reflect-now | Run the reflection step against the current conversation explicitly | | `/kb-pref …[+164 chars]plugins/kb/skills/kb-preferences/SKILL.md:If missing, tell user to run `/kb-preferences init` first and stop.plugins/kb/skills/kb-preferences/SKILL.md:Confirm loudly: "This will replace all 9 fields with factory defaults and re-run the 5 init questions.plugins/kb/skills/kb/SKILL.md:If missing, tell the user to run `kb-init` and stop.plugins/kb/skills/kb/SKILL.md:Run `/kb-preferences init` to customize."plugins/kb/skills/kb/SKILL.md:After a compile or query finishes writing its output, run a **lightweight reflection step** — only propose preference updates for **high-confidence signals**:plugins/kb/skills/kb/SKILL.md:The user can run `/kb-preferences reflect` manually if they want a forced pass.plugins/kb/skills/kb/SKILL.md:Run lightweight reflection at the end.plugins/kb/skills/kb/SKILL.md:**Detection heuristic:** Run this check for each file:plugins/kb/skills/kb/SKILL.md:Please provide a transcript, or install: pip install openai-whisper"plugins/kb/skills/kb/SKILL.md:Try: `yt-dlp --write-auto-sub --sub-lang en --skip-download --output "/tmp/%(id)s" "<url>"` to get subtitles· uses the networkplugins/kb/skills/kb/SKILL.md:Try extracting with python-pptx: `python -c "from pptx import Presentation;plugins/kb/skills/kb/SKILL.md:For Parquet: `python -c "import pandas as pd;plugins/kb/skills/kb/SKILL.md:Run lightweight reflection at the end (after the answer is delivered;plugins/kb/skills/kb/SKILL.md:Run the appropriate pipeline.plugins/kb/skills/kb/SKILL.md:Run the graph health script if available:plugins/kb/skills/kb/SKILL.md:python plugins/kb/scripts/graph_health.py "<vault_path>" --json --fix-suggestionsplugins/kb/skills/kb/SKILL.md:Run the evaluation script if available:plugins/kb/skills/kb/SKILL.md:python experiments/evaluate.py "<vault_path>" --jsonplugins/kb/skills/kb/SKILL.md:If user approves, execute the improvementsplugins/kb/skills/kb/SKILL.md:Re-run evaluation to measure improvementplugins/kb/skills/kb/SKILL.md:Run: `npx smaug fetch <tweet_id>` then `npx smaug process`plugins/kb/skills/kb/SKILL.md:**Install Smaug** (recommended) — `git clone https://github.com/alexknowshtml/smaug && cd smaug && npm install`, then `npx smaug setup` to configure X session cookies (`auth_token` + `ct0` from browser DevTools → Cookies → x.com).· uses the networkplugins/kb/skills/kb/SKILL.md:After setup, **save the install path to `kb.yaml`** under `integrations.smaug.path`.plugins/kb/skills/kb/SKILL.md:Try to fetch transcript: `yt-dlp --write-auto-sub --sub-lang en --skip-download --output "/tmp/%(id)s" "<url>" 2>&1`· uses the networkplugins/kb/skills/kb/SKILL.md:If yt-dlp not installed: try `pip install yt-dlp` then retryplugins/kb/skills/kb/SKILL.md:Extract video metadata: `yt-dlp --dump-json "<url>" 2>/dev/null | python -c "import sys,json;· uses the networkplugins/kb/skills/kb/SKILL.md:On the next `/kb compile` run (for compile-time context searches)plugins/kb/skills/kb/SKILL.md:Forgetting to dispatch the auto-evolve subagent after a query -- it must always run, even if it usually exits silentlyplugins/kb/skills/research-add-items/SKILL.md:Execute simultaneously:plugins/kb/skills/research-deep/SKILL.md:Execute in batches by batch_size (need user approval to proceed to next batch after completing one)plugins/kb/skills/research-deep/SKILL.md:After completing JSON output, run validation script to ensure complete field coverage:plugins/kb/skills/research-deep/SKILL.md:python ~/.claude/skills/research/validate_json.py -f {fields_path} -j {output_path}plugins/kb/skills/research-deep/SKILL.md:After completing JSON output, run validation script to ensure complete field coverage:plugins/kb/skills/research-deep/SKILL.md:python ~/.claude/skills/research/validate_json.py -f /home/weizhena/AIcoding/aicoding-history/fields.yaml -j /home/weizhena/AIcoding/aicoding-history/results/GitHub_Copilot.jsonplugins/kb/skills/research-report/SKILL.md:**If `kb.yaml` itself is missing:** tell the user to run `kb-init` and stop.plugins/kb/skills/research-report/SKILL.md:Run `python {topic}/generate_report.py`
- Medium risk: runs-install-script-network-variable-host (plugins/kb/setup.sh)
- Medium risk: network-variable-host (plugins/kb/setup.sh:81)
- Medium risk: runs-instruction-instruction-network (plugins/kb/skills/kb/SKILL.md:206)
- Medium risk: runs-instruction-instruction-network (plugins/kb/skills/kb/SKILL.md:571)
- Medium risk: runs-instruction-instruction-network (plugins/kb/skills/kb/SKILL.md:596)
- Medium risk: runs-instruction-instruction-network (plugins/kb/skills/kb/SKILL.md:600)
- Low risk: network-instructions (.claude/settings.local.json:14)
- Low risk: scripts-present (plugins/kb/setup.sh)
- Low risk: network-instructions (plugins/kb/skills/kb/SKILL.md:202)
- Low risk: autonomy-phrase (plugins/kb/skills/kb/SKILL.md:402)
Attribution and licence
- First committed by
rvk7895
- Publisher
- Ritvik Aryan Kalra (Community)
- Source
- rvk7895/llm-knowledge-bases · commit 342686f
- Licence
- MIT License (files served here)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
- Contributors
- ritvik-sarvam, rvk7895
AutoGineer is not affiliated with or endorsed by rvk7895.
Download
The ZIP holds the files AutoGineer serves, with ATTRIBUTION.md and the licence. Download llm-knowledge-bases.zip