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.

@rjescobar
rjescobar / extend-trial-jetbrains-windows.bat
Created August 31, 2021 02:53
JetBrains IDE trial reset windows
REM Delete eval folder with licence key and options.xml which contains a reference to it
for %%I in ("WebStorm", "IntelliJ", "CLion", "Rider", "GoLand", "PhpStorm", "Resharper", "PyCharm") do (
for /d %%a in ("%USERPROFILE%\.%%I*") do (
rd /s /q "%%a/config/eval"
del /q "%%a\config\options\other.xml"
)
)
REM Delete registry key and jetbrains folder (not sure if needet but however)
rmdir /s /q "%APPDATA%\JetBrains"
@Vendicated
Vendicated / evidence.md
Last active June 20, 2026 13:43
Nightcord is actually malware

Nightcord is actually malware

Version 1.18.2 of Nightcord contained a TokenLogger

Never lose your Discord token ever again, thanks to Nightcord's ✨ PREMIUM SYNC ✨ services! This code found in v1.18.2 uploads your Discord token to Nightcord's Server. image

Details How to verify this is real
@rohitg00
rohitg00 / llm-wiki.md
Last active June 20, 2026 13:41 — forked from karpathy/llm-wiki.md
LLM Wiki v2 — extending Karpathy's LLM Wiki pattern with lessons from building agentmemory

LLM Wiki v2

A pattern for building personal knowledge bases using LLMs. Extended with lessons from building agentmemory 20K+ Stars ⭐️, a persistent memory engine for AI coding agents.

This builds on Andrej Karpathy's original LLM Wiki idea file. Everything in the original still applies. This document adds what we learned running the pattern in production: what breaks at scale, what's missing, and what separates a wiki that stays useful from one that rots.

What the original gets right

The core insight is correct: stop re-deriving, start compiling. RAG retrieves and forgets. A wiki accumulates and compounds. The three-layer architecture (raw sources, wiki, schema) works. The operations (ingest, query, lint) cover the basics. If you haven't read the original, start there.

@qwertyuiop8899
qwertyuiop8899 / Addons.md
Last active June 20, 2026 13:35
Migliori addon Stremio ITA

━━━━━━━━━━━━━━━━━━━━━ 🔥 CONFIGURAZIONE BASE CONSIGLIATA 🔥 ━━━━━━━━━━━━━━━━━━━━━

🧲 Torrentio

🔍 Cerca torrent da fonti selezionate. 🔗 CLICCA QUI PER CONFIGURARE 🔗 FILE GIÀ CONFIGURATO (il link nella pagina addons del tuo stremio)

🧲 Torrentio ITA

CavalryOnLinux

A guide to running the Cavalry motion graphics software on Linux using Wine.

This guide has been tested exclusively on Wine 11.

Initial setup

Set up a new prefix

# Habity Bedside Clock - Pin Map
ESP32-S3 (16MB flash, 8MB octal PSRAM), native USB-Serial/JTAG console.
No flash encryption / secure boot. Reverse-engineered + verified on hardware.
| GPIO | Signal | Notes |
|----:|---|---|
| 2 | BATT_SENSE | ADC1_CH1, VBAT via 300k/80k. V_batt = V_adc × 4.75 |
| 3 | DS3231_INT | RTC alarm, idles HIGH |
| 4 | EPD_BUSY | LOW=busy, HIGH=idle (UC8253) |
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active June 20, 2026 13:33
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@Cariaga
Cariaga / Rhino Generator trapazoid, dovetail
Created June 20, 2026 13:32
Rhino3d Generator trapazoid, dovetail,pleats
import Rhino
import Rhino.UI
import Rhino.Geometry as rg
import scriptcontext as sc
import System.Collections.Generic as g
import Eto.Forms as forms
import Eto.Drawing as drawing
class TrapezoidPatternDialog(forms.Dialog[bool]):
def __init__(self):