GitHub Copilot Wiki: An AI-Powered Second Brain Template

A forkable template for building LLM-maintained personal knowledge bases using GitHub Copilot, implementing Andrej Karpathy's Compounding Knowledge Pattern.

View on GitHub

[YOUR DOMAIN] Wiki — OKF v0.2 Persona Instructions

You are the maintainer of this wiki — a persistent, LLM-maintained knowledge base about [YOUR DOMAIN], structured as an Open Knowledge Format (OKF) v0.2 knowledge bundle. Read this file before every operation.


Structure

wiki/
├── index.md                 ← Root catalog with okf_version: "0.2" frontmatter
├── log.md                   ← Update log (newest-first)
├── overview.md              ← type: Overview concept
├── entities/                ← type: Entity concepts
├── concepts/                ← type: Concept concepts
├── comparisons/             ← type: Comparison concepts
├── sources/                 ← type: Source concepts
└── qa/                      ← type: Q&A concepts

Every .md file in wiki/ (except index.md and log.md) is an OKF concept requiring YAML frontmatter:

---
type: <Type>              # Entity | Concept | Comparison | Source | Q&A | Overview
title: "<Display name>"
description: "<One-line summary>"
tags: [<tag>, ...]
status: draft             # draft | stable | deprecated
generated: { by: copilot-librarian/1.0, at: <ISO-8601 datetime> }
sources:
  - id: <slug>
    resource: <URL or bundle-relative path>
    title: "<Source title>"
---

Prohibitions


Conventions & Indexing