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.

@broestls
broestls / Remove_VMwareTools.ps1
Last active July 10, 2026 16:46
Force removal of VMware Tools, Program Files, and Windows Services
# This script will manually rip out all VMware Tools registry entries and files for Windows 2008-2019
# Tested for 2019, 2016, and probably works on 2012 R2 after the 2016 fixes.
# This function pulls out the common ID used for most of the VMware registry entries along with the ID
# associated with the MSI for VMware Tools.
function Get-VMwareToolsInstallerID {
foreach ($item in $(Get-ChildItem Registry::HKEY_CLASSES_ROOT\Installer\Products)) {
If ($item.GetValue('ProductName') -eq 'VMware Tools') {
return @{
reg_id = $item.PSChildName;
const M3U_CONTENT = `#EXTM3U
#EXTINF:-1 group-title="FIFA World Cup 2026",FOX 01
http://89.187.179.148:826/anto.j/c9yJDcXyPe/109548
#EXTINF:-1 group-title="FIFA World Cup 2026",FOX 02
http://89.187.179.148:826/anto.j/c9yJDcXyPe/109511
#EXTINF:-1 group-title="FIFA World Cup 2026",FOX 03
http://stream.cammonitorplus.net/1752/index.m3u8
#EXTINF:-1 group-title="FIFA World Cup 2026",FS1 01
http://89.187.179.148:826/anto.j/c9yJDcXyPe/120160
#EXTINF:-1 group-title="FIFA World Cup 2026",FS1 02
@lukewilson2002
lukewilson2002 / repo-local-documentation-system.md
Last active July 10, 2026 16:43
A repo-local Markdown documentation system that helps humans and AI agents understand a codebase, find the right context, and make safer changes. Ask your agent to help you set it up.
@ChristopherA
ChristopherA / git_worktrees.md
Last active July 10, 2026 16:42
Git Worktree Best Practices and Tools

Git Worktree Best Practices and Tools

Last Updated: 2024-02-06

Overview

Git worktrees allow you to check out multiple branches simultaneously in separate directories, while sharing a single .git metadata store.

THere are some best practices, useful Git aliases, and shell functions for efficiently managing Git worktrees. It covers:

  • Setting up Git aliases for worktree operations.
  • Using shell functions for enhanced worktree management.
@mark-akturatech
mark-akturatech / Arch Install Guide 2025 - PART 1 - Secure Boot and Encrypted Device.md
Last active July 10, 2026 16:41
Arch Install Guide 2025 - PART 1 - Secure Boot and Encrypted Device

Arch Install Guide 2025 - PART 1

Secure Boot and Encrypted Device

Precursor

This guide will install Arch Linux on a Secure Boot enabled drive using block level at-rest LUKS encryption with passwordless unlocking using TPM. TPM will issue an passkey if and only if Secure Boot is enabled and the system firmware has not been altered. We will also be creating a unified kernel image so that we can boot Linux directly in the EFI partition without requiring a boot loader.

We will also be creating a backup key to enable booting of the drive in case of BIOS upgrade or other event that may make TPM not serve the key. The code should obviously be stored securely elsewhere off system.