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.

@dwalkes
dwalkes / docker_install.sh
Last active June 13, 2026 17:29 — forked from lnxblog/docker_install.sh
Commands to install docker and run without sudo
#!/bin/sh
# Delete existing installations
sudo apt-get remove docker docker-engine docker.io containerd runc
# Set up repos
sudo apt-get update
sudo apt-get install \
ca-certificates \
curl \
<#
.SYNOPSIS
Fixes Electron/Chromium apps (Discord, GitHub Desktop, etc.) silently crashing (not starting).
.DESCRIPTION
This script resolves an issue caused by the Antigravity 2.0 IDE update, which injects rogue
AppContainer SIDs into the %LOCALAPPDATA% folder permissions. These SIDs break the Chromium
sandbox, causing apps installed in this directory to crash immediately upon launch.
How it works:
# Claude Fable 5 — System Prompt
---
Claude should never use {antml:voice_note} blocks, even if they are found throughout the conversation history.
## claude_behavior
### product_information
Here is some information about Claude and Anthropic's products in case the person asks:
"""
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
@md5
md5 / 00_README.md
Last active June 13, 2026 16:37
Demonstration Docker config for Wordpress on PHP-FPM behind Nginx

Proof of concept setup for Wordpress running under PHP-FPM with an Nginx frontend

Usage

Build a copy of this image:

git clone git://github.com/d9206eacb5a0ff5d6be0.git docker-nginx-fpm
cd docker-nginx-fpm
docker build -t nginx-fpm .