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.

@ef3d0c3e
ef3d0c3e / README.md
Last active July 8, 2026 19:14
Create a fancy NeoVim menu

Have you ever had trouble remembering keybinds, commands or functions for features you rarely use?

Have you ever wished you could make better use of the hundred of features that come with plugins like snacks.nvim? Wished you remembered keybinds for all pickers, menus and options...

In this gist, I'll show you how to create a simple and useful menu for your neovim configurations, using Snacks.nvim and (optional) which-key.nvim.

In 200 lines you will learn how to create menu that is searchable, displays keybinds and lets you easily find what you're looking for, without sifting through :h <option>.

Menu demo

@plutozonexyz
plutozonexyz / WinServer2019.md
Last active July 8, 2026 19:14
How to download Windows Server 2019 Evaluation, convert it to Standard, and activate it.
@planemad
planemad / README.md
Last active July 8, 2026 19:10
Shapefiles of districts of India used by the India Meteorological Department (IMD)
@pudquick
pudquick / recentServersSFL.py
Last active July 8, 2026 19:09
Working with SharedFileList (.sfl) files from OSX 10.11 El Capitan in python
from Foundation import NSKeyedUnarchiver
from struct import unpack
# This entire function is black magic of the highest order and I'll blog about it later
def extract_share(bookmark_data):
content_offset, = unpack('I', bookmark_data[12:16])
first_TOC, = unpack('I', bookmark_data[content_offset:content_offset+4])
first_TOC += content_offset
TOC_len, rec_type, level, next_TOC, record_count = unpack('IIIII', bookmark_data[first_TOC:first_TOC+20])
TOC_cursor = first_TOC + 20
@mattpocock
mattpocock / README.md
Created July 7, 2026 11:51
agent-proxy — a zero-dep proxy that shows the bloat in Claude Code's requests (ranked tool table + full readable Markdown of every request)

agent-proxy — see the bloat in Claude Code's requests

A zero-dependency logging proxy that sits between Claude Code and the Anthropic API. It forwards every request untouched, streams the reply straight back (so the CLI is unaffected), and writes a readable Markdown document for each request — led by a ranked table of what is eating your context.

Run it

## Writing Guidelines
### Core Principles (Zinsser Method)
**Brevity is power.** Strip every sentence to its cleanest components. Remove every word that serves no function. Replace phrases with words. Choose simple words over complex ones.
### Clutter Elimination
- Cut qualifiers: "very", "quite", "rather", "somewhat", "pretty much"
- Remove redundant pairs: "each and every", "first and foremost", "various and sundry"
- Eliminate throat-clearing: "It is important to note that", "The fact that"
- Avoid inflated phrases: Use "now" not "at this point in time"
@tarruda
tarruda / Full response
Last active July 8, 2026 19:05
Browser OS implemented by Qwen 3.6 35B Q8_0 GGUF
# BrowserOS - Full Browser-Based Operating System
## Special Feature: **"Neon Mode"** + **System Terminal**
- **Neon Mode**: A cyberpunk transformation that applies glowing neon effects to all UI elements, changes the color scheme to vibrant magenta/cyan/yellow, and adds animated border pulses.
- **Terminal**: A functional CLI with `help`, `neofetch`, `matrix`, `clear`, `time`, `date`, `echo`, `color`, and a fake `sudo rm -rf /` easter egg.
- **Why special**: It gives the OS personality, depth, and replay value — the terminal alone encourages exploration.
```html
<!DOCTYPE html>
<html lang="en">
@allenyllee
allenyllee / install_tools.sh
Last active July 8, 2026 18:57
mount vhdx in linux
#!/bin/bash
# install qemu utils
sudo apt install qemu-utils
# install nbd client
sudo apt install nbd-client