A knowledge management system powered by LLM, based on the LLM Wiki design philosophy
This is a personal knowledge management system that leverages Large Language Models (LLM) to automatically organize and maintain your knowledge base. Simply add raw documents, and the LLM will extract knowledge, create connections, and build a growing network of information.
- Zero Maintenance: LLM handles all organization work
- Knowledge Compound Interest: Each addition enriches the entire wiki
- Bidirectional Links: Every connection is mutual and discoverable
- Source Traceability: All knowledge traces back to source documents
- Future-Proof: Pure Markdown files, no vendor lock-in
# Clone or create the wiki directory
git init # Optional: for version control# Place a document in the appropriate raw/ subdirectory
# Example: raw/articles/markdown/my-article.mdAsk your LLM assistant:
"Ingest the article in raw/articles/markdown/my-article.md"
The LLM will:
- Read and analyze the document
- Extract entities and concepts
- Create structured wiki pages
- Add cross-references
- Update the index
- Open
wiki/index.mdin Obsidian or any Markdown editor - Follow
[[links]]to navigate between pages - Ask LLM questions about your knowledge
┌─────────────────────────────────────┐
│ Schema Layer (CLAUDE.md) │ ← LLM Instructions
├─────────────────────────────────────┤
│ Wiki Layer (wiki/) │ ← Knowledge Content
├─────────────────────────────────────┤
│ Raw Layer (raw/) │ ← Source Documents
└─────────────────────────────────────┘
- Raw Layer: Immutable source documents (papers, articles, notes, books)
- Wiki Layer: LLM-maintained structured content with cross-references
- Schema Layer: Configuration that guides LLM behavior
- Entities (
wiki/entities/): People, organizations, projects, tools - Concepts (
wiki/concepts/): Theories, frameworks, methods, principles - Sources (
wiki/sources/): Document summaries and analyses - Synthesis (
wiki/synthesis/): Comprehensive analyses and comparisons
personal-wiki/
├── CLAUDE.md # Schema configuration (LLM instructions)
├── README.md # This file
├── site/ # Reserved for static site generation
│ └── .gitkeep
├── raw/ # Source documents (private)
│ ├── articles/ # Articles and blog posts
│ │ ├── markdown/
│ │ ├── pdf/
│ │ └── html/
│ ├── papers/ # Academic papers
│ │ ├── pdf/
│ │ └── notes/
│ ├── notes/ # Personal notes
│ │ ├── journal/
│ │ ├── meeting/
│ │ └── ideas/
│ ├── media/ # Media resources
│ │ ├── images/
│ │ ├── audio/
│ │ └── transcripts/
│ ├── data/ # Data files
│ │ ├── csv/
│ │ └── json/
│ └── books/ # Books and highlights
│ ├── pdf/
│ └── highlights/
├── wiki/ # Knowledge content (can be published)
│ ├── index.md # Main navigation hub
│ ├── log.md # Operation log (private)
│ ├── about.md # About this wiki
│ ├── entities/ # Entity pages
│ ├── concepts/ # Concept pages
│ ├── sources/ # Source summaries
│ └── synthesis/ # Comprehensive analyses
└── templates/ # Page templates
├── entity.md
├── concept.md
└── source.md
Purpose: Transform raw documents into structured knowledge
Usage:
"Ingest the paper in raw/papers/pdf/machine-learning.pdf"
Process:
- LLM reads the source document
- Identifies entities (people, organizations, tools)
- Extracts concepts (ideas, methods, frameworks)
- Creates source summary page
- Creates/updates entity and concept pages
- Adds bidirectional cross-references
- Updates
wiki/index.md - Logs operation in
wiki/log.md
Purpose: Ask questions and discover connections
Usage:
"What are the key concepts in machine learning?"
"How does concept A relate to concept B?"
"What papers discuss neural networks?"
Process:
- LLM searches relevant wiki pages
- Synthesizes information from multiple sources
- Provides comprehensive answer with citations
- Suggests related topics for exploration
Purpose: Verify wiki health and fix issues
Usage:
"Check the wiki health"
"Find orphan pages"
"Identify broken links"
Process:
- LLM scans all wiki pages
- Finds orphan pages (not linked anywhere)
- Detects broken links (pointing to non-existent pages)
- Identifies contradictions across pages
- Suggests improvements and fixes
- Identify document type: Paper, article, book, note, etc.
- Place in appropriate directory:
- Papers →
raw/papers/pdf/ - Articles →
raw/articles/markdown/ - Books →
raw/books/pdf/ - Notes →
raw/notes/journal/
- Papers →
- Ingest with LLM: "Ingest [filename]"
- Open this directory as a vault in Obsidian
- Navigate to
wiki/index.md - Click
[[links]]to explore connected pages - Use graph view to visualize connections
- Open
wiki/index.mdin your editor - Follow links manually (search for link text)
- Use search function to find topics
Use natural language to query your knowledge:
"What did I learn about [topic]?"
"Explain [concept-name]"
"What are the key entities in [domain]?"
"Summarize [source-document]"
Regular Maintenance:
"Check wiki health"
"Find pages that need updates"
"Update statistics in index"
Version Control (Recommended):
git add wiki/
git commit -m "Add knowledge about [topic]"- Markdown (
.md) - Text files (
.txt) - PDF (
.pdf) - HTML (
.html) - JSON (
.json) - CSV (
.csv) - Code files (
.py,.js,.java, etc.)
- Images (
.png,.jpg) - Scanned documents
- Audio (
.mp3,.wav) → Transcribe first - Video (
.mp4) → Extract audio/transcript
- Obsidian: Visual knowledge exploration with graph view
- Any Markdown Editor: Simple viewing and editing
- Git: Version control and history tracking
- LLM Assistant: Claude Code, ChatGPT, or similar
- VitePress: Static site generation for public wiki
- Hugo: Alternative static site generator
- Custom Tools: Specialized wiki management tools
- Use lowercase English with hyphens:
machine-learning-basics.md - Entities:
entity-[name].md - Concepts:
concept-[name].md - Sources:
source-[YYYY-MM-DD]-[short-title].md - Synthesis:
synthesis-[topic].md
This MVP is designed for extensibility:
- Files ready for VitePress/Hugo
- YAML frontmatter placeholders in templates
- English filenames for URL compatibility
- Public/private content separation
- Static site deployment
- Advanced search indexing
- Graph visualization tools
- Integration with note-taking apps
- Collaborative features
This system implements the LLM Wiki concept, treating a structured file system as a knowledge database that LLMs can maintain autonomously.
- Simplicity: Pure Markdown files, no complex infrastructure
- LLM-Native: Designed for LLM maintenance from the ground up
- Bidirectional: Every connection flows both ways
- Traceable: All knowledge links back to sources
- Extensible: Ready for future enhancements
CLAUDE.md contains the LLM schema configuration:
- Role definition
- Directory structure
- Naming conventions
- Operation workflows
- Page templates
You can customize the system by:
- Editing
CLAUDE.mdto change LLM behavior - Modifying templates in
templates/ - Adjusting directory structure as needed
- Adding custom page types
- Organize raw documents by type
- Use descriptive filenames
- Keep raw documents immutable
- Backup important sources
- Verify extracted information
- Review auto-generated pages
- Fix broken links promptly
- Update outdated information
- Be specific in your requests
- Provide context when needed
- Verify critical information
- Use Git for important changes
"Find orphan pages and suggest where to link them"
"Identify and fix broken links"
"Review [page-name] and suggest improvements"
"Find contradictory information in the wiki"
This is a personal wiki system, but you can create similar systems using:
- The provided directory structure
- The
CLAUDE.mdschema configuration - The page templates in
templates/
Personal Knowledge Base - All rights reserved unless otherwise noted.
- LLM Wiki Design: Based on the LLM Wiki concept
- Obsidian: https://obsidian.md
- VitePress: https://vitepress.dev
- Hugo: https://gohugo.io
For issues or questions:
- Check
CLAUDE.mdfor configuration details - Review
wiki/about.mdfor system overview - Consult the LLM Wiki design principles
Built with ❤️ based on LLM Wiki principles
Version: MVP 1.0
Last Updated: 2026-04-08