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.

@phpfour
phpfour / optimize.md
Created June 9, 2026 17:29
Claude Fable 5 Prompt

Act as a Principal Software Architect and Performance Engineer.

Your task is to perform a comprehensive performance audit and refactor of this entire codebase.

Before making any changes:

  1. Thoroughly analyze the architecture, code structure, dependencies, database access patterns, caching strategy, queues, API endpoints, background jobs, asset loading, and deployment configuration.

  2. Identify all performance bottlenecks, including but not limited to:

  • N+1 database queries
@pb111
pb111 / Random Forest Classification with Python and Scikit-Learn.ipynb
Created May 26, 2019 00:48
Random Forest Classification with Python and Scikit-Learn
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Makkuusen
Makkuusen / trackguide.md
Last active June 9, 2026 18:51
How to create a track on BoatLabs

Creating a track

To create a track, you must use the track create command. In this guide I will use /te and /t instead of /trackedit and /track as the acronyms are faster to type out.

/te create [TRACK NAME]

When running this command, your current position and rotation is set as the track spawn, and the item you are currently holding is set as the TT menu item. If you are not holding an item, it will give you a default one. Both of these can be changed later on.

To edit a track, you need to select the track you want to edit. When you create a track the first time, it will automatically be selected for you. But if you want to continue edit it after a server restart, you can select any track by doing /te select [TRACK NAME]. To check which track you have selected you can do /te to display information about your currently selected track.

Creating regions

@moseye
moseye / ss14chem.md
Created April 8, 2024 17:39
SS14 Chemistry Basics

Basic Medecines

Inaprovaline

Inap - Crit Asphyx

  1. Grab 4 jugs from chemvend
    1. Empty
    2. Oxygen
    3. Carbon
    4. Sugar
  2. Pour 50u of each into empty jug, repeat four times
@dmcbane
dmcbane / README.md
Last active June 9, 2026 18:46
Setup Ubuntu for PIN login

Setup Ubuntu for PIN Login Instead of Long Password

  • Install packages if they aren't already installed.
sudo apt install libpam-pwdfile whois
  • Backup the Original PAM Configuration File
@rahaaatul
rahaaatul / zsh_on_termux.md
Last active June 9, 2026 18:40
Installing ZSH on Termux including themes & useful plugins

ZSH on Termux!

Spice up termux with beautiful themes and productivity plugins to make your life easier!

Install ZSH, GIT & LSD

pkg install zsh git lsd vim

Install Oh-My-Zsh