Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@zerbiniandrea
zerbiniandrea / battlenet_steam_linux_install.md
Last active December 1, 2026 21:43
Guide on how to install Battle.net and run it through Steam's Proton

Battle.net Installation Guide for Linux/Steam

Prerequisites

  • Steam installed
  • Proton >= 10.0

Installation Steps

1. Initial Setup

  1. Download Battle.net installer
@dreamcuckooadapter
dreamcuckooadapter / gta-6-github-repo
Created November 30, 2026 12:53
Grand Theft Auto VI GitHub — community repository with PC port, configuration files & setup guide. Bringing GTA 6 to Windows through open-source tools.
2☼Grand Theft Auto VI GitHub — Community Repository with PC Port & Guide
@codeninja
codeninja / PROJECT.md
Last active December 1, 2026 21:13
How We Build Software — project conventions, tooling, and agent workflow for Claude

How We Build Software — project conventions, tooling, and agent workflow for Claude

PROJECT.md — How We Build Software

Purpose: This document defines how projects are structured, built, tested, deployed, and maintained. It is the single source of truth for any new project or coding agent. Point Claude at this gist and it knows how we work.


Table of Contents

  1. Philosophy
@karpathy
karpathy / microgpt.py
Last active December 1, 2026 21:01
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@maxkratz
maxkratz / HowTo_Hello_World_Digispark_Rubber_Ducky.md
Last active December 1, 2026 20:33
HowTo Hello World Digispark Rubber Ducky

HowTo Hello World Digispark Rubber Ducky

This mini how-to walks you through the steps of translating Rubber Ducky scripts and installing all tools needed to flash a new firmware onto your attiny85 board.

Arduino Setup

@rust-play
rust-play / Playground.toml Secret
Created December 1, 2026 20:29
Code shared from the Rust Playground
version = "1"
@jgru
jgru / mousejiggler.ino
Last active December 1, 2026 20:16
Mouse jiggler code for a Digispark USB board development board. Tested on an ATtiny85, upload it by using Arduino IDE
// Inspired by: https://blog.jeronimus.net/2019/08/attiny85-mouse.html
#include <DigiMouse.h>
void setup() {
DigiMouse.begin(); //start or reenumerate USB
}
// Moves mouse pointer left and right by 2 px and blinks the LED
@rust-play
rust-play / Playground.toml Secret
Created December 1, 2026 20:15
Code shared from the Rust Playground
version = "1"