Browse / Second brain / LLM wiki / second-brain-template

second-brain-template

Liakhov

An LLM-maintained markdown second brain: a wiki from your sources + project docs, cross-linked.

Open Liakhov/second-brain-template → Checked against the four rules.

knowledge-basellm-wikimarkdownobsidianproject-trackingsecond-brain

Works with any agent

ships AGENTS.md, the cross-tool instruction file.

In its own words

AboutLiakhov/second-brain-template

Any AGENTS.md agent.

README.md

Personal LLM-powered knowledge base. You curate sources and ask questions; the agent (Claude Code, Codex, Cursor, or any that reads AGENTS.md) does the bookkeeping — distilling sources into wiki pages, cross-linking them, learning your corrections.

Inspired by Karpathy's LLM Wiki gist and McFarland's content wiki.

Philosophy

The LLM writes and maintains the wiki; the human reads and asks questions.

Topic pages grow over time. New sources add paragraphs, not new files. Three page types — that's the whole framework.

Page types

  • **wiki/sources/** — one file per ingested source. A short summary

of what it claims, with examples and the key takeaway. Created once, rarely edited.

  • **wiki/topics/** — your synthesized position on a subject. Grows

as new sources touch it; never splits until it has to.

  • **wiki/patterns/** — emergent insights that recur across 3+

sources. Rare — typically under ten in the whole vault.

Structure

Full schema in AGENTS.md.

Quick start

Web Clipper extension.

  • Configure Web Clipper:
  • Destination: this vault.
  • Note location: raw.
  • File name: {{date}}-{{title|safe_name}}.
  • Frontmatter: title, source, author, published, tags.
  • Open the folder in Obsidian (Open folder as vault).
  • Run an agent that reads AGENTS.md:
  • Claude Code
  • or Codex, Cursor, opencode, etc.

The repository's own description, then 46% of its README. Read the rest on GitHub ↗

Read from the repository's git tree on 2026-08-17.