⏳ This skill is pending AI review.

Scores will appear once the review pipeline completes.

v1.4.0

llm-wiki-manager

@sametbrr⭐ 71 stars

Build, maintain, and query a personal LLM-managed wiki — a markdown knowledge base where the LLM owns all writing, cross-referencing, and bookkeeping while the user curates sources. Use this skill when the user wants to (1) bootstrap a new wiki, second brain, or research notebook; (2) ingest a new source (article, PDF, paper, transcript) and update relevant entity/concept pages, the index, and log; (3) query an existing wiki and synthesize an answer with citations, filing it back if useful; (4) update the wiki when a new source supersedes a claim across multiple pages (diff-before-write sweep); (5) lint the wiki for orphan pages, broken links, index drift, or stub pages — auto-dated reports. Trigger this when the user mentions a "second brain", "research wiki", "knowledge base", or "Memex", or asks Claude to track sources across sessions. Bundles four idempotent scripts and enforces the bookkeeping discipline that makes wikis compound rather than rot.

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

—/10

// RATINGS

⭐GitHub Stars
⭐⭐ 71 on GitHubGitHub ↗

Growing

🟢ProSkills Score
—
📍

Not yet listed on ClawHub or SkillsMP

// README

Release License: MIT Agent Skills

LLM Wiki Manager

A Claude Code skill for building and maintaining a personal LLM-managed wiki — a persistent, compounding knowledge base where the LLM does all the writing, cross-referencing, and bookkeeping while you curate sources and ask questions.

🇹🇷 Türkçe için README.tr.md


Quick Start

git clone https://github.com/sametbrr/llm-wiki-manager ~/.claude/skills/llm-wiki-manager

Start a new Claude Code session in your research folder:

mkdir ~/research/my-topic && cd ~/research/my-topic && claude
> "Set up an LLM wiki here. Topic: history of nutrition science."

Features

Instead of RAG — where the LLM rediscovers answers from raw documents on every query — this pattern has the LLM compile raw sources into a persistent, interlinked markdown wiki. Each new source enriches existing pages. Cross-references are built eagerly. Contradictions are flagged. Knowledge compounds over time.

Implements Karpathy's LLM Wiki pattern as a full Claude Code skill with 8 operating modes (including multi-wiki routing), 5 idempotent Python scripts, 8 page templates, and 11 reference documents.

Without this pattern          With this pattern
────────────────────          ──────────────────
Query 1 → re-read 50 docs     Query 1 → read compiled wiki (already synthesized)
Query 2 → re-read 50 docs     Query 2 → read updated wiki (cross-refs already there)
Query 3 → re-read 50 docs     Query 3 → read updated wiki (contradictions already flagged)

Requirements

  • Claude Code or any agentskills.io-compatible agent
  • Python 3.9+ (stdlib only, for the 5 included scripts — no pip install needed)

Installation

Option 1 — git clone (recommended)

git clone https://github.com/sametbrr/llm-wiki-manager ~/.claude/skills/llm-wiki-manager

Option 2 — GitHub CLI (requires gh CLI v2.90+)

gh skill install sametbrr/llm-wiki-manager

Option 3 — .skill file

curl -L -o llm-wiki-manager.skill \
  https://github.com/sametbrr/llm-wiki-manager/releases/latest/download/llm-wiki-manager.skill
unzip llm-wiki-manager.skill -d ~/.claude/skills/llm-wiki-manager

After installing, start a new Claude Code session. The skill loads automatically when relevant.


Usage

The skill auto-detects which mode applies from natural language. No slash commands needed.

Modes

ModeTrigger examplesWhat happens
Bootstrap"Set up a wiki", "start a knowledge base here"Scaffolds raw/, wiki/, CLAUDE.md from templates
Ingest"Add this PDF to the wiki", "I just read X, file it"Reads source → writes summary → updates entity/concept pages → indexes → logs
Query"What does the wiki say about X?", "Compare X and Y"Reads index → candidate pages → synthesizes answer with citations → offers to file back
Update"Smith 2024 supersedes Keys 1980, update the wiki"Semantic sweep across all pages → diff-before-write per page → single log entry
Lint"Health check the wiki", "anything broken?"Runs lint_wiki.py → auto-saves wiki/reports/lint-YYYY-MM-DD.md → auto-tracks in index and log
Schema-evolve"We should always do X going forward"Updates CLAUDE.md so future sessions inherit the convention
Multi-wiki"Add this to my global wiki", "promote this page to global"Routes between project wiki and global wiki using the External Wiki: declaration in project CLAUDE.md
Teach"How does this pattern work?", "explain the LLM wiki idea"Explains the pattern, compares with RAG, walks through a concrete example

Full walkthrough

# 1. Go to your research folder
mkdir ~/research/my-topic && cd ~/research/my-topic && claude

# 2. Bootstrap the wiki
> "Set up an LLM wiki here. Topic: history of nutrition science."

# 3. Drop a source
cp ~/Downloads/pollan-2008.pdf raw/

# 4. Ingest it
> "Ingest Pollan's In Defense of Food"

# 5. Ask questions
> "What does the wiki say about nutritionism?"

# 6. Health check (auto-saves dated report to wiki/reports/)
> "Lint the wiki"

The three-layer model

your-wiki/
├── CLAUDE.md          # Schema — conventions for this wiki (co-evolved over time)
├── raw/               # YOUR layer — immutable sources you curate. LLM reads, never writes.
└── wiki/              # LLM layer — all pages written and maintained by the LLM
    ├── index.md       # Content catalog (updated on every ingest)
    ├── log.md         # Append-only operation log (greppable)
    ├── hot.md         # Hot cache — most recently ingested sources and active references
    ├── sources/       # One summary page per ingested source
    ├── entities/      # People, organizations, places, products
    ├── concepts/      # Ideas, theories, frameworks, terms
    ├── notes/         # Filed-back query answers and loose pages
    └── reports/       # Auto-generated dated lint reports (wiki/reports/lint-YYYY-MM-DD.md)

Division of labor:

You doThe LLM does
Curate sources (decide what to read)Read sources end-to-end
Ask questions, steer directionWrite summaries, entity and concept pages
Review the wiki, follow linksUpdate cross-references in-place
Decide what mattersMaintain index.md and log.md
Own raw/Flag contradictions, surface gaps

You almost never write wiki pages by hand. The LLM does the bookkeeping — that's what makes the wiki compound instead of collapse.


Core disciplines

  1. LLM owns wiki/. You own raw/. No exceptions.
  2. Every operation logs to log.md via append_log.py. Greppable: grep "^## \[" log.md | tail -20
  3. Every new or updated page touches index.md via update_index.py. Stale index = wiki that feels lost.
  4. Cross-reference aggressively. When a source mentions an entity that already has a page, update that page. Don't leave connections implicit.
  5. Cite back to raw/. Every claim is traceable to a specific source file.
  6. Flag contradictions, don't overwrite. New source disagrees with old claim? Both stay, marked with their source, with a > [!warning] Sources disagree callout.
  7. Schema lives in CLAUDE.md. When a convention works, write it down. The next session starts informed.

What's inside

Scripts (Python stdlib, no dependencies, all idempotent)

ScriptPurpose
scripts/init_wiki.pyScaffold a new wiki — creates raw/, wiki/, CLAUDE.md, index.md, log.md, and hot.md. Idempotent.
scripts/append_log.pyAppend a ## [YYYY-MM-DD] action | title entry to log.md. Supports flexible log path detection.
scripts/update_index.pyAdd or update an entry under a category in index.md. Upserts by (category, title). Flexible index path detection.
scripts/lint_wiki.pyHealth check. Detects orphan pages and index drift in both standard markdown and Obsidian wiki-link ([[...]]) format. Default: writes wiki/reports/lint-<today>.md and auto-tracks. Run --stdout for terminal output.
scripts/migrate_wiki.pySchema upgrade (v1 → v2). Deduplicates index.md, moves dated changelog blocks from hot.md into log.md, stamps the schema version. Idempotent.

Templates

TemplateUsed for
wiki-CLAUDE.md.tmplThe schema file dropped into a fresh wiki
source-summary.md.tmplOne ingested source — claims, methodology, cross-links, open questions
entity-page.md.tmplPeople

// HOW IT'S BUILT

KEY FILES

SKILL.mdREADME.md

// REPO STATS

71 stars