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.

FYI (July 24, 2025): I've been away since July 11, dealing with an emergency move. I'll be back working on all the amazing comments y'all have been putting down, most possibly by the first weekend of August. I appreciate all the contributions everybody has been making and all the time everybody has put to make all of our lives better.

Streaming Whitelists and Blacklists for PiHole

Last Updated On:           July 10, 2025
Last Updated Platform:     Peacock

Table of Contents

@synthic
synthic / Dockerfile
Last active November 16, 2026 23:49
DSpico Firmware Builder
FROM skylyrac/blocksds:slim-latest
RUN apt-get update && apt-get install -y \
build-essential \
cmake \
gcc-arm-none-eabi \
git \
python3
ENV DLDITOOL=/opt/wonderful/thirdparty/blocksds/core/tools/dlditool/dlditool
@vmartins
vmartins / mame-roms2.md
Last active November 16, 2026 23:39
MAME download all roms arcade (2/2)
@pkazmier
pkazmier / .skhdrc
Last active November 16, 2026 23:39
# Modified from https://github.com/alyssais configuration.
#
# The following configuration heavily leverages modal keymaps to minimize the
# pollution of global keybindings. In addition, the modal keymaps facilitate
# the consistent use of the same keybindings across different modes. For
# example, this configuration uses 'h', 'l', 'j', and 'k' to represent west,
# east, south, and north when: changing focus, warping windows, resizing
# windows, swapping windows, and moving floating windows. Those four keys are
# mapped differently depending on the current mode to provide a consistent user
# experience.

Ghostty Keyboard Shortcuts

Default keyboard shortcuts for Ghostty terminal emulator. Platform-specific differences are noted where applicable.

Window Management

Action Windows/Linux macOS
New window Ctrl+Shift+N Cmd+N
Close window Alt+F4 Cmd+Shift+W
@eyelash
eyelash / kde_plasma_wallpapers.md
Last active November 16, 2026 23:23
KDE Plasma Default Wallpapers

KDE Plasma Default Wallpapers

6.8

@iinsertNameHere
iinsertNameHere / chromium_crasher.html
Created March 5, 2024 11:59
A html file that crashes any Chromium based browser by using up all RAM.
<!DOCTYPE html>
<html>
<head>
<title>Chromium Crasher</title>
<script> for (var i = 5; i > 3; i = i + 1) { console.log(i); } </script>
</head>
<body>
<h1>Crashing...</h1>
</body>
</html>
@joshcartme
joshcartme / README.md
Last active November 16, 2026 23:21
extract calude code explore subagent, set model to haiku

As of July 1:

The built-in Explore agent now inherits the main session’s model (capped at opus) instead of running on haiku

https://code.claude.com/docs/en/changelog#2-1-198

This is a way to get back the old explore agent. Both files are needed, the skill needs to point to the shell script in the correct directory.

After running the skill you should have ~/.claude/agents/Explore.md. I think the capitalization there is important. You can ask Claude to do smething that uses the explore agent, and have it verify it's using Haiku.