Browse / LLM wiki / Second brain / llm-wiki-second-brain
llm-wiki-second-brain
SaqlainXoas
A minimal LLM Wiki template for building a Markdown second brain with Codex, or Claude Code.
Open SaqlainXoas/llm-wiki-second-brain → Manually confirmed as a workspace.
Works with any agent
ships AGENTS.md, the cross-tool instruction file.
In its own words
A clean open-source template for building a Karpathy-style LLM Wiki second brain with Markdown, Git, and coding agents such as Codex or Claude Code.
What This Is
This template is for people who want a simple, durable knowledge system without building a full app.
The model is intentionally small:
raw/contains curated immutable source material.wiki/contains LLM-maintained synthesized Markdown.AGENTS.mdgives persistent instructions to the coding agent.- the human adds sources and asks questions.
- the agent ingests, queries, lints, and maintains the wiki.
Topic pages should emerge from real source material. Do not pre-create many topic pages.
Why This Pattern Works
- Markdown stays readable without any special software.
- Git gives you review, history, and rollback.
- Obsidian works well as a browser and reader.
- Coding agents can maintain the wiki layer consistently over time.
- The system compounds: good query answers can be filed back into the wiki.
Repository Layout
Initial wiki/ contents should only be:
Do not create domain-specific topic pages initially. Let the agent create them during ingest when the sources justify them.
How To Use It
- Drop a curated source into the correct vault's
raw/. - Ask your coding agent to ingest it.
- Review the
git diff. - Commit when the changes look correct.
Quoting 33% of the README. Read the rest on GitHub ↗
Read from the repository's git tree on 2026-08-17.