Labs Wiki banner
jbl306 jbl306

Labs Wiki

AI community

Description

🧠 LLM-powered personal wiki β€” Karpathy pattern implementation with Claude Code skills, incremental compilation, and multi-agent support

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

labs-wiki

A personal LLM-powered knowledge wiki based on [Karpathy's LLM Wiki](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f) pattern, enhanced with best-of-breed features from top community implementations.

How It Works

graph LR
    subgraph "Capture"
        P[πŸ“± Phone] --> API[Ingest API]
        B[πŸ’» Browser] --> API
        T[⌨️ Terminal] --> API
    end

    subgraph "Auto-Ingest"
        API --> RAW[raw/]
        RAW --> W[File Watcher]
        W --> LLM[Codex CLI Compilation]
    end

    subgraph "Wiki"
        LLM --> S[wiki/sources/]
        LLM --> C[wiki/concepts/]
        LLM --> E[wiki/entities/]
    end

    style RAW fill:#e1f5fe
    style S fill:#f3e5f5
    style C fill:#f3e5f5
    style E fill:#f3e5f5
    style API fill:#e8f5e9

**Sources** are captured from any device via the Ingest API β†’ written to `raw/` β†’ **automatically processed** by the auto-ingest service through Codex CLI β†’ wiki pages created with cross-references. Twitter/X and GitHub repo URLs get specialized deterministic fetch/extraction before compilation. **AGENTS.md** defines the schema that all AI tools follow.

Architecture

labs-wiki/
β”œβ”€β”€ raw/                    # Layer 1: Source documents + durable URL snapshots
β”‚   └── assets/             # Binary files (images, PDFs)
β”œβ”€β”€ wiki/                   # Layer 2: LLM-compiled knowledge
β”‚   β”œβ”€β”€ sources/            # Source summaries (1:1 with raw/)
β”‚   β”œβ”€β”€ concepts/           # Concept deep-dives
β”‚   β”œβ”€β”€ entities/           # Named entities (tools, people, orgs)
β”‚   β”œβ”€β”€ synthesis/          # Cross-cutting analysis
β”‚   β”œβ”€β”€ index.md            # Auto-generated topic-clustered catalog
β”‚   └── log.md              # Structured audit log
β”œβ”€β”€ templates/              # Page templates with frontmatter
β”œβ”€β”€ scripts/                # Python utilities (scaffold, lint, index, auto-ingest)
β”œβ”€β”€ wiki-ingest-api/        # FastAPI capture service
β”œβ”€β”€ Dockerfile.auto-ingest  # Auto-ingest watcher service