Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 AI & Technology Second Brain

A personal knowledge base for building deep, compounding expertise in AI and technology. Built on the LLM Wiki pattern by Andrej Karpathy.

Raw sources go in. A structured, interlinked wiki comes out. Knowledge accumulates permanently instead of being rediscovered from scratch.


How it works

The core idea is simple: instead of asking an AI questions and forgetting the answers, the AI writes and maintains a wiki on your behalf.

You drop articles into raw/
        ↓
Claude reads, extracts, and structures knowledge
        ↓
Wiki pages are created in wiki/ with full wikilinks
        ↓
You browse, query, and build on it in Obsidian
        ↓
Everything is version-controlled on GitHub

No RAG. No vector databases. Just markdown files that compound over time.


Vault Structure

vault/
β”œβ”€β”€ .claude/
β”‚   └── commands/           # Slash commands for Claude Code
β”‚       β”œβ”€β”€ ingest.md       # /ingest
β”‚       β”œβ”€β”€ lint.md         # /lint
β”‚       β”œβ”€β”€ query.md        # /query
β”‚       β”œβ”€β”€ report.md       # /report
β”‚       └── update.md       # /update
β”œβ”€β”€ raw/                    # Drop source articles here
β”‚   β”œβ”€β”€ archive/            # Processed sources moved here automatically
β”‚   └── assets/             # Images and attachments
β”œβ”€β”€ wiki/
β”‚   β”œβ”€β”€ concepts/           # Algorithms, architectures, techniques
β”‚   β”œβ”€β”€ entities/           # People, labs, models, papers
β”‚   β”œβ”€β”€ synthesis/          # Cross-topic analyses and open questions
β”‚   β”œβ”€β”€ index.md            # Master catalog of all pages
β”‚   └── log.md              # Chronological record of all operations
β”œβ”€β”€ output/                 # Generated reports and briefings
β”œβ”€β”€ CLAUDE.md               # Agent config and operating rules
└── README.md               # This file

Domain Coverage

Core:

  • Machine learning fundamentals (transformers, diffusion, RL, optimisation)
  • Large language models (architecture, training, alignment, inference)
  • AI agents and tool use (scaffolding, memory, multi-agent systems)
  • AI infrastructure (compute, distributed training, serving, quantisation)
  • Frontier labs (Anthropic, OpenAI, DeepMind, Meta AI, Mistral)
  • Emerging techniques (MoE, RLHF, DPO, RAG, speculative decoding)

Adjacent:

  • Hardware as it relates to AI capability
  • AI safety and alignment research
  • Regulation and policy

Getting Started

Prerequisites

  • Obsidian β€” for browsing the wiki and graph view
  • Claude Code β€” the AI agent that runs the wiki
  • Node.js β€” required for Claude Code
  • A GitHub account β€” for version control

Setup

1. Clone this repo

git clone https://github.com/yeewliang/AI-LLM-Wiki.git
cd AI-LLM-Wiki

2. Install Claude Code

npm install -g @anthropic/claude-code

3. Open the vault in Obsidian File οΏ½οΏ½ Open Vault β†’ select this folder

4. Open Claude Code in the vault directory

claude

Claude reads CLAUDE.md automatically on every session.


Daily Workflow

Add new sources

Drop any article, PDF, or note into raw/. Name it with a date prefix:

raw/2026-05-02-attention-is-all-you-need.md

Use the Obsidian Web Clipper browser extension to clip articles directly into raw/ with automatic date-prefixed filenames.

Run ingest

/ingest

Claude processes all new files in raw/, builds wiki pages, updates the index, archives the sources, and commits to GitHub.

Query your wiki

/query what are the trade-offs between RLHF and DPO
/query what do my sources say about speculative decoding

Answers come only from your own ingested knowledge, with citations.

Generate a briefing

/report transformer inference optimisation
/report state of AI agents 2026

Saved to output/ as a timestamped markdown file.

Housekeeping

/lint

Run monthly. Fixes broken wikilinks, orphan pages, missing frontmatter, and stale entity pages.


Commands

Command What it does
/ingest Process new files in raw/, build wiki pages, archive, commit
/query [question] Answer from wiki only, cite pages, write synthesis if needed
/report [topic] Generate structured briefing, save to output/
/update [page] Refresh a specific page with new information
/lint Audit wiki for broken links, orphans, missing frontmatter

Browsing the Wiki

Open Obsidian and use:

  • Graph View β€” see all concepts and entities as a connected graph. Clusters reveal the shape of your knowledge. Gaps appear as thin or isolated nodes.
  • Wikilinks β€” follow [[concept]] links between pages like a personal web.
  • Search β€” full-text search across everything you've ever ingested.
  • wiki/index.md β€” the master catalog, organised by type.

Inspiration

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages